Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4faeb060
提交
4faeb060
编写于
5月 13, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
路由配置1
上级
7774284b
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
60 行增加
和
3 行删除
+60
-3
patients.js
src/router/patients.js
+23
-2
slidebar.vue
src/views/layout/slidebar.vue
+5
-0
labels-manage.vue
src/views/patients/labels-manage/labels-manage.vue
+9
-0
layout.vue
src/views/patients/labels-manage/layout.vue
+13
-0
patients-list.vue
src/views/patients/mypatients-manage/patients-list.vue
+1
-1
new-patient.vue
src/views/patients/new-manage/new-patient.vue
+9
-0
未找到文件。
src/router/patients.js
浏览文件 @
4faeb060
...
...
@@ -7,7 +7,9 @@ const patientsList = r => require.ensure([], () => r(require('../views/patients/
const
newManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/patients/new-manage/layout.vue'
)),
'newManage'
);
const
newPatient
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/patients/new-manage/new-patient.vue'
)),
'newPatient'
);
/*分组管理*/
const
labelsManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/patients/labels-manage/layout.vue'
)),
'labelsManage'
);
const
labelsList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/patients/labels-manage/labels-manage.vue'
)),
'labelsList'
);
const
patientsRouters
=
{
path
:
'/patients-manage'
,
...
...
@@ -55,7 +57,26 @@ const patientsRouters = {
title
:
'新增居民'
,
},
},
{
path
:
'labels-manage'
,
component
:
labelsManage
,
name
:
'labelsManage'
,
redirect
:
'labels-manage/labels-manage'
,
children
:
[
{
path
:
'labels-manage'
,
component
:
labelsList
,
name
:
'labelsList'
,
meta
:
{
title
:
'分组管理'
,
keepAlive
:
false
},
},
],
meta
:
{
title
:
'分组管理'
,
},
},
],
};
...
...
src/views/layout/slidebar.vue
浏览文件 @
4faeb060
...
...
@@ -83,6 +83,11 @@ export default {
title
:
'新增居民'
,
icon
:
'el-icon-setting'
,
index
:
'patients-manage/new-manage/new-patient'
},
{
title
:
'分组管理'
,
icon
:
'el-icon-setting'
,
index
:
'patients-manage/labels-manage/labels-manage'
}
]
}
...
...
src/views/patients/labels-manage/labels-manage.vue
0 → 100644
浏览文件 @
4faeb060
<
template
>
<p>
分组管理
</p>
</
template
>
<
script
>
</
script
>
<
style
scoped
>
</
style
>
src/views/patients/labels-manage/layout.vue
0 → 100644
浏览文件 @
4faeb060
<
template
>
<router-view></router-view>
</
template
>
<
script
>
export
default
{
name
:
"layout"
}
</
script
>
<
style
scoped
>
</
style
>
src/views/patients/mypatients-manage/patients-list.vue
浏览文件 @
4faeb060
<
template
>
<p>
你好laldl
</p>
<p>
居民管理
</p>
</
template
>
<
script
>
...
...
src/views/patients/new-manage/new-patient.vue
浏览文件 @
4faeb060
<
template
>
<p>
新增居民
</p>
</
template
>
<
script
>
</
script
>
<
style
scoped
>
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录