Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
0f315b74
提交
0f315b74
编写于
4月 03, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
录入列表接口调整
上级
c910c5bb
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
57 行增加
和
24 行删除
+57
-24
set-time-node.vue
src/views/followup/plan-manage/dialog/set-time-node.vue
+0
-1
plan-list.vue
src/views/followup/plan-manage/plan-list.vue
+35
-3
record-list.vue
src/views/followup/record-manage/record-list.vue
+22
-20
未找到文件。
src/views/followup/plan-manage/dialog/set-time-node.vue
浏览文件 @
0f315b74
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
</div>
</div>
<div
class=
"form-div"
v-if=
"activeTab == 'setNewRef'"
>
<div
class=
"form-div"
v-if=
"activeTab == 'setNewRef'"
>
<!--
<set-time-form
:timeForm=
"timeForm"
:valBegin=
"valBegin"
:checkCallback=
"checkCallback"
/>
-->
<el-form
:ref=
"timeForm.formRef"
:model=
"timeForm"
:rules=
"timeFormRules"
label-suffix=
":"
label-width=
"140px"
:inline-message=
"true"
size=
"small"
>
<el-form
:ref=
"timeForm.formRef"
:model=
"timeForm"
:rules=
"timeFormRules"
label-suffix=
":"
label-width=
"140px"
:inline-message=
"true"
size=
"small"
>
<el-form-item
label=
"本次随访时间"
required
>
<el-form-item
label=
"本次随访时间"
required
>
<div
style=
"display: flex;"
>
<div
style=
"display: flex;"
>
...
...
src/views/followup/plan-manage/plan-list.vue
浏览文件 @
0f315b74
...
@@ -80,13 +80,45 @@
...
@@ -80,13 +80,45 @@
name
:
''
,
name
:
''
,
startYear
:
'0'
,
startYear
:
'0'
,
},
},
timeRangeList
:[{
timeRangeList
:[
{
label
:
'2019年'
,
label
:
'2019年'
,
value
:
1
value
:
1
},{
},{
label
:
'20
18
年'
,
label
:
'20
20
年'
,
value
:
2
value
:
2
}],
},
{
label
:
'2021年'
,
value
:
3
},{
label
:
'2022年'
,
value
:
4
},{
label
:
'2023年'
,
value
:
5
},{
label
:
'2024年'
,
value
:
6
},{
label
:
'2025年'
,
value
:
7
},{
label
:
'2026年'
,
value
:
8
},{
label
:
'2027年'
,
value
:
9
},{
label
:
'2028年'
,
value
:
10
},{
label
:
'2029年'
,
value
:
11
},{
label
:
'2030年'
,
value
:
12
}
],
paginationSet
:
{
paginationSet
:
{
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
10
,
pageSize
:
10
,
...
...
src/views/followup/record-manage/record-list.vue
浏览文件 @
0f315b74
...
@@ -36,11 +36,11 @@
...
@@ -36,11 +36,11 @@
</div>
</div>
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<el-radio-group
v-model=
"activeName"
@
change=
"handlerClick"
size=
"small"
>
<el-radio-group
v-model=
"activeName"
@
change=
"handlerClick"
size=
"small"
>
<el-radio-button
label=
"
0"
>
全部(
{{
recordList
.
count
}}
)
</el-radio-button>
<el-radio-button
label=
"
"
>
全部(
{{
recordList
.
count
}}
)
</el-radio-button>
<el-radio-button
label=
"
1"
>
已完成(
{{
recordList
.
acceptCount
}}
)
</el-radio-button>
<el-radio-button
label=
"
2"
>
已完成(
{{
recordList
.
finishedCount
}}
)
</el-radio-button>
<el-radio-button
label=
"
2"
>
未完成(
{{
recordList
.
refuseCount
}}
)
</el-radio-button>
<el-radio-button
label=
"
1"
>
未完成(
{{
recordList
.
unfinishedCount
}}
)
</el-radio-button>
</el-radio-group>
</el-radio-group>
<el-table
:data=
"recordList.
fuPlanInfoList
"
style=
"width: 100%;margin-top: 20px;"
>
<el-table
:data=
"recordList.
enteringDtos
"
style=
"width: 100%;margin-top: 20px;"
>
<el-table-column
prop=
"nickname"
label=
"姓名"
min-width=
"100"
align=
"center"
>
<el-table-column
prop=
"nickname"
label=
"姓名"
min-width=
"100"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer"
@
click=
"visitDetail(scope.row)"
>
{{
scope
.
row
.
nickname
}}
</span>
<span
style=
"cursor: pointer"
@
click=
"visitDetail(scope.row)"
>
{{
scope
.
row
.
nickname
}}
</span>
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
<el-row
type=
"flex"
justify=
"end"
class=
"margin-top20"
>
<el-row
type=
"flex"
justify=
"end"
class=
"margin-top20"
>
<el-pagination
<el-pagination
background
background
v-if=
"recordList.
fuPlanInfoList
"
v-if=
"recordList.
enteringDtos
"
@
size-change=
"handleSizeChangePre"
@
size-change=
"handleSizeChangePre"
@
current-change=
"handleCurrentChangePre"
@
current-change=
"handleCurrentChangePre"
layout=
"total, sizes, prev, pager, next, jumper"
layout=
"total, sizes, prev, pager, next, jumper"
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
nickname
:
''
,
nickname
:
''
,
mobilePhone
:
''
mobilePhone
:
''
},
},
activeName
:
0
,
activeName
:
''
,
paginationSet
:
{
paginationSet
:
{
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
10
,
pageSize
:
10
,
...
@@ -146,30 +146,31 @@
...
@@ -146,30 +146,31 @@
// ...mapActions('reservationManage', ['getConstantsData']),
// ...mapActions('reservationManage', ['getConstantsData']),
...
mapActions
(
'recordManage'
,
[
'getRecordList'
,
'getEnteringInfo'
]),
...
mapActions
(
'recordManage'
,
[
'getRecordList'
,
'getEnteringInfo'
]),
async
search
(
currentPage
){
async
search
(
currentPage
){
if
(
this
.
timeRangeList
.
length
>
0
)
{
if
(
this
.
timeRangeList
)
{
this
.
searchData
.
beginTime
=
this
.
timeRangeList
[
0
];
this
.
searchData
.
beginTime
=
this
.
timeRangeList
[
0
];
this
.
searchData
.
endTime
=
this
.
timeRangeList
[
1
];
this
.
searchData
.
endTime
=
this
.
timeRangeList
[
1
];
}
else
{
this
.
searchData
.
beginTime
=
''
;
this
.
searchData
.
endTime
=
''
;
}
}
await
this
.
getRecordList
({
await
this
.
getRecordList
({
info
:
{
...
this
.
searchData
,
...
this
.
searchData
,
status
:
this
.
activeName
,
status
:
this
.
activeName
,
pageNo
:
currentPage
||
this
.
paginationSet
.
pageNo
,
pageNo
:
currentPage
||
this
.
paginationSet
.
pageNo
,
pageSize
:
this
.
paginationSet
.
pageSize
,
pageSize
:
this
.
paginationSet
.
pageSize
,
},
});
});
const
{
pageNo
,
pageSize
,
count
,
acceptCount
,
refuse
Count
}
=
this
.
recordList
;
const
{
pageNo
,
pageSize
,
count
,
finishedCount
,
unfinished
Count
}
=
this
.
recordList
;
if
(
this
.
activeName
==
0
){
if
(
this
.
activeName
==
''
){
this
.
paginationSet
.
total
=
count
;
this
.
paginationSet
.
total
=
count
;
}
else
if
(
this
.
activeName
==
2
){
this
.
paginationSet
.
total
=
finishedCount
;
}
else
if
(
this
.
activeName
==
1
){
}
else
if
(
this
.
activeName
==
1
){
this
.
paginationSet
.
total
=
acceptCount
;
this
.
paginationSet
.
total
=
unfinishedCount
;
}
else
{
this
.
paginationSet
.
total
=
refuseCount
;
}
}
this
.
paginationSet
=
{
this
.
paginationSet
=
{
...
this
.
paginationSet
,
...
this
.
paginationSet
,
pageNo
,
pageNo
,
pageSize
:
10
,
pageSize
:
pageSize
,
}
}
},
},
reseat
(){
reseat
(){
...
@@ -177,11 +178,12 @@
...
@@ -177,11 +178,12 @@
this
.
searchData
.
nickname
=
''
;
this
.
searchData
.
nickname
=
''
;
this
.
searchData
.
mobilePhone
=
''
;
this
.
searchData
.
mobilePhone
=
''
;
this
.
timeRangeList
=
[];
this
.
timeRangeList
=
[];
this
.
searchData
.
beginTime
=
''
;
this
.
searchData
.
endTime
=
''
;
this
.
search
(
1
);
this
.
search
(
1
);
},
},
async
visitDetail
(
row
){
async
visitDetail
(
row
){
await
this
.
getEnteringInfo
({
patientId
:
row
.
patientId
,
fuPlanPatientTimesId
:
row
.
fuPlanPatientTimesId
});
await
this
.
getEnteringInfo
({
patientId
:
row
.
patientId
,
fuPlanPatientTimesId
:
row
.
fuPlanPatientTimesId
});
//await this.getEnteringInfo({});
this
.
dialogDetailShow
=
true
;
this
.
dialogDetailShow
=
true
;
// this.enteringRow = row;
// this.enteringRow = row;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录