Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
b4043b02
提交
b4043b02
编写于
4月 12, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed
上级
ec5b0553
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
14 行增加
和
4 行删除
+14
-4
finish-followup.vue
src/views/followup/plan-manage/dialog/finish-followup.vue
+3
-2
resident-detail.vue
src/views/followup/plan-manage/resident-detail.vue
+4
-1
resident-list.vue
src/views/followup/plan-manage/resident-list.vue
+7
-1
未找到文件。
src/views/followup/plan-manage/dialog/finish-followup.vue
浏览文件 @
b4043b02
...
@@ -65,18 +65,19 @@
...
@@ -65,18 +65,19 @@
}
}
},
},
methods
:
{
methods
:
{
...
mapActions
(
'planManage'
,
[
'getResidentList'
]),
...
mapActions
(
'planManage'
,
[
'getResidentList'
,
'getResidentDetail'
]),
clickClose
()
{
clickClose
()
{
this
.
$emit
(
'closeFinishFollowup'
,
false
)
this
.
$emit
(
'closeFinishFollowup'
,
false
)
},
},
finishFollowUp
()
{
finishFollowUp
()
{
this
.
$refs
[
'finishData'
].
validate
(
valid
=>
{
this
.
$refs
[
'finishData'
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
const
{
changeCode
,
planId
,
patientIdList
}
=
this
.
finishData
;
const
{
changeCode
,
planId
,
patientIdList
,
planPatientsIdList
}
=
this
.
finishData
;
finishPlan
({
finishPlan
({
changeCode
,
changeCode
,
planId
,
planId
,
patientIdList
,
patientIdList
,
planPatientsIdList
}).
then
((
data
)
=>
{
}).
then
((
data
)
=>
{
if
(
data
.
code
==
'000000'
)
{
if
(
data
.
code
==
'000000'
)
{
this
.
$message
({
this
.
$message
({
...
...
src/views/followup/plan-manage/resident-detail.vue
浏览文件 @
b4043b02
...
@@ -174,14 +174,17 @@
...
@@ -174,14 +174,17 @@
},
},
finishFollowup
()
{
finishFollowup
()
{
let
patientIdList
=
[];
let
patientIdList
=
[];
let
planPatientsIdList
=
[];
patientIdList
.
push
(
this
.
residentDetail
.
patientId
)
patientIdList
.
push
(
this
.
residentDetail
.
patientId
)
planPatientsIdList
.
push
(
this
.
residentDetail
.
fPlanDto
.
planPatientsId
)
this
.
finishData
=
{
this
.
finishData
=
{
changeCode
:
this
.
status
,
changeCode
:
this
.
status
,
planId
:
this
.
residentDetail
.
fPlanDto
.
id
,
planId
:
this
.
residentDetail
.
fPlanDto
.
id
,
patientName
:
this
.
residentDetail
.
patientName
,
patientName
:
this
.
residentDetail
.
patientName
,
patientIdList
:
patientIdList
,
patientIdList
:
patientIdList
,
title
:
this
.
status
==
3
?
'恢复随访'
:
'结束随访'
,
title
:
this
.
status
==
3
?
'恢复随访'
:
'结束随访'
,
reasonName
:
this
.
status
==
3
?
'恢复原因:'
:
'结束原因:'
reasonName
:
this
.
status
==
3
?
'恢复原因:'
:
'结束原因:'
,
planPatientsIdList
:
this
.
residentDetail
.
planPatientsId
}
}
this
.
showFinishFollowup
=
true
;
this
.
showFinishFollowup
=
true
;
},
},
...
...
src/views/followup/plan-manage/resident-list.vue
浏览文件 @
b4043b02
...
@@ -341,9 +341,11 @@
...
@@ -341,9 +341,11 @@
}
}
let
patientIds
=
[];
let
patientIds
=
[];
let
patientNames
=
[];
let
patientNames
=
[];
let
planPatientsIdList
=
[];
this
.
finishPatientList
.
forEach
(
function
(
item
,
index
)
{
this
.
finishPatientList
.
forEach
(
function
(
item
,
index
)
{
patientIds
.
push
(
item
.
patientId
)
patientIds
.
push
(
item
.
patientId
)
patientNames
.
push
(
item
.
patientName
)
patientNames
.
push
(
item
.
patientName
)
planPatientsIdList
.
push
(
item
.
fuPlanPatientId
)
});
});
console
.
log
(
patientIds
)
console
.
log
(
patientIds
)
if
(
patientNames
.
length
>
4
)
{
if
(
patientNames
.
length
>
4
)
{
...
@@ -360,17 +362,21 @@
...
@@ -360,17 +362,21 @@
patientIdList
:
patientIds
,
patientIdList
:
patientIds
,
title
:
this
.
status
==
3
?
'恢复随访'
:
'结束随访'
,
title
:
this
.
status
==
3
?
'恢复随访'
:
'结束随访'
,
reasonName
:
this
.
status
==
3
?
'恢复原因:'
:
'结束原因:'
,
reasonName
:
this
.
status
==
3
?
'恢复原因:'
:
'结束原因:'
,
planPatientsIdList
:
planPatientsIdList
};
};
}
else
{
}
else
{
let
patientIds
=
[];
let
patientIds
=
[];
let
planPatientsIdList
=
[];
patientIds
.
push
(
row
.
patientId
)
patientIds
.
push
(
row
.
patientId
)
planPatientsIdList
.
push
(
row
.
fuPlanPatientId
)
this
.
finishData
=
{
this
.
finishData
=
{
changeCode
:
this
.
status
,
changeCode
:
this
.
status
,
planId
:
this
.
$route
.
query
.
planId
,
planId
:
this
.
$route
.
query
.
planId
,
patientName
:
row
.
patientName
,
patientName
:
row
.
patientName
,
patientIdList
:
patientIds
,
patientIdList
:
patientIds
,
title
:
this
.
status
==
3
?
'恢复随访'
:
'结束随访'
,
title
:
this
.
status
==
3
?
'恢复随访'
:
'结束随访'
,
reasonName
:
this
.
status
==
3
?
'恢复原因:'
:
'结束原因:'
reasonName
:
this
.
status
==
3
?
'恢复原因:'
:
'结束原因:'
,
planPatientsIdList
:
planPatientsIdList
};
};
}
}
this
.
showFinishFollowup
=
true
;
this
.
showFinishFollowup
=
true
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录