Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
972051d8
提交
972051d8
编写于
3月 15, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add 居民详情页
上级
ced66fe8
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
77 行增加
和
12 行删除
+77
-12
follow.js
src/router/follow.js
+10
-0
resident-detail.vue
src/views/followup/plan-manage/resident-detail.vue
+15
-0
resident-list.vue
src/views/followup/plan-manage/resident-list.vue
+52
-12
未找到文件。
src/router/follow.js
浏览文件 @
972051d8
...
@@ -3,6 +3,7 @@ const followUp = r => require.ensure([], () => r(require('../views/followup/layo
...
@@ -3,6 +3,7 @@ const followUp = r => require.ensure([], () => r(require('../views/followup/layo
const
planManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/plan-manage/layout.vue'
)),
'planManage'
);
const
planManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/plan-manage/layout.vue'
)),
'planManage'
);
const
planList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/plan-manage/plan-list.vue'
)),
'planList'
);
const
planList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/plan-manage/plan-list.vue'
)),
'planList'
);
const
residentList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/plan-manage/resident-list.vue'
)),
'residentList'
);
const
residentList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/plan-manage/resident-list.vue'
)),
'residentList'
);
const
residentDetail
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/plan-manage/resident-detail.vue'
)),
'residentDetail'
);
const
reservationManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/reservation-manage/layout.vue'
)),
'reservationManage'
);
const
reservationManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/reservation-manage/layout.vue'
)),
'reservationManage'
);
const
reservationList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/reservation-manage/reservation-list.vue'
)),
'reservationList'
);
const
reservationList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/followup/reservation-manage/reservation-list.vue'
)),
'reservationList'
);
...
@@ -43,6 +44,15 @@ const followRouters = {
...
@@ -43,6 +44,15 @@ const followRouters = {
keepAlive
:
false
//页面不需要缓存
keepAlive
:
false
//页面不需要缓存
},
},
},
},
{
path
:
'resident-detail'
,
component
:
residentDetail
,
name
:
'residentDetail'
,
meta
:
{
title
:
'居民详情'
,
keepAlive
:
false
//页面不需要缓存
},
},
],
],
meta
:
{
meta
:
{
title
:
'计划管理'
,
title
:
'计划管理'
,
...
...
src/views/followup/plan-manage/resident-detail.vue
0 → 100644
浏览文件 @
972051d8
<
template
>
<div
class=
"resident-detail"
>
居民详情页
</div>
</
template
>
<
script
>
export
default
{
name
:
"resident-detail"
}
</
script
>
<
style
scoped
>
</
style
>
src/views/followup/plan-manage/resident-list.vue
浏览文件 @
972051d8
...
@@ -46,9 +46,9 @@
...
@@ -46,9 +46,9 @@
</div>
</div>
<div
class=
"resident-table table-content"
>
<div
class=
"resident-table table-content"
>
<el-radio-group
v-model=
"tableType"
>
<el-radio-group
v-model=
"tableType"
>
<el-radio-button
label=
"
1
"
>
未完成(200)
</el-radio-button>
<el-radio-button
label=
"
0
"
>
未完成(200)
</el-radio-button>
<el-radio-button
label=
"
2
"
>
进行中(200)
</el-radio-button>
<el-radio-button
label=
"
1
"
>
进行中(200)
</el-radio-button>
<el-radio-button
label=
"
3
"
>
已结束(100)
</el-radio-button>
<el-radio-button
label=
"
2
"
>
已结束(100)
</el-radio-button>
</el-radio-group>
</el-radio-group>
<el-table
<el-table
:data=
"residentData"
:data=
"residentData"
...
@@ -59,27 +59,30 @@
...
@@ -59,27 +59,30 @@
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
dat
e"
prop=
"
patientNam
e"
label=
"姓名"
label=
"姓名"
align=
"center"
>
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"goPatientDetail(scope.row.patientId)"
>
{{
scope
.
row
.
patientName
}}
</el-button>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
dat
e"
prop=
"
sexNam
e"
label=
"性别"
label=
"性别"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
dat
e"
prop=
"
mobilePhon
e"
label=
"手机"
label=
"手机"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
dat
e"
prop=
"
tim
e"
label=
"随访开始时间"
label=
"随访开始时间"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
dat
e"
prop=
"
labelNam
e"
label=
"分组"
label=
"分组"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
...
@@ -93,6 +96,17 @@
...
@@ -93,6 +96,17 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
background
v-if=
"residentData.length"
@
size-change=
"handleSizeChangePre"
@
current-change=
"handleCurrentChangePre"
layout=
"total, sizes, prev, pager, next, jumper"
:current-page=
"pageNum"
:page-sizes=
"[100, 200, 300, 400]"
:page-size=
"pageSize"
:total=
"total"
>
</el-pagination>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -119,10 +133,36 @@
...
@@ -119,10 +133,36 @@
value
:
'全部'
,
value
:
'全部'
,
label
:
'全部'
label
:
'全部'
}],
}],
tableType
:
''
,
//列表筛选条件
tableType
:
0
,
//列表筛选条件
residentData
:
[{
residentData
:
[
date
:
'11'
{
}],
//居民列表
"patientId"
:
"居民ID"
,
"patientName"
:
"居民姓名"
,
"sex"
:
"性别"
,
"sexName"
:
"性别名字"
,
"time"
:
"随访开始时间"
,
"labelId"
:
"分组ID"
,
"labelName"
:
"分组名字"
}
],
//居民列表
pageNum
:
1
,
pageSize
:
15
,
total
:
100
,
}
},
mounted
()
{},
methods
:
{
handleSizeChangePre
()
{
},
handleCurrentChangePre
()
{
},
goPatientDetail
(
patientId
)
{
//居民详情页
alert
(
1
+
patientId
)
this
.
$router
.
push
(
'/followup/plan-manage/resident-detail'
)
}
}
}
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录