Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
e3ab9862
提交
e3ab9862
编写于
4月 12, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixed
上级
2fc8bd46
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
26 行增加
和
4 行删除
+26
-4
planManage.js
src/store/followup/planManage.js
+1
-0
plan-modify.vue
src/views/followup/plan-manage/plan-modify.vue
+9
-2
resident-list.vue
src/views/followup/plan-manage/resident-list.vue
+16
-2
未找到文件。
src/store/followup/planManage.js
浏览文件 @
e3ab9862
...
@@ -267,6 +267,7 @@ export default {
...
@@ -267,6 +267,7 @@ export default {
},
},
getSelectResident
(
context
,
payload
)
{
getSelectResident
(
context
,
payload
)
{
getResidentList
({
getResidentList
({
needEnd
:
1
,
...
payload
...
payload
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
context
.
commit
(
'GET_SELECT_RESIDENT'
,
data
);
context
.
commit
(
'GET_SELECT_RESIDENT'
,
data
);
...
...
src/views/followup/plan-manage/plan-modify.vue
浏览文件 @
e3ab9862
...
@@ -187,7 +187,7 @@
...
@@ -187,7 +187,7 @@
let
getArguments
=
arguments
[
0
];
let
getArguments
=
arguments
[
0
];
this
.
isShowSelectPatient
=
getArguments
[
0
];
this
.
isShowSelectPatient
=
getArguments
[
0
];
const
newAddPatientList
=
getArguments
[
1
];
// 新选中的人
const
newAddPatientList
=
getArguments
[
1
];
// 新选中的人
cons
t
showNames
=
[];
le
t
showNames
=
[];
const
newIds
=
[];
const
newIds
=
[];
newAddPatientList
.
forEach
(
item
=>
{
newAddPatientList
.
forEach
(
item
=>
{
showNames
.
push
(
item
.
nickname
)
showNames
.
push
(
item
.
nickname
)
...
@@ -197,10 +197,17 @@
...
@@ -197,10 +197,17 @@
this
.
newHasSelectedList
=
this
.
newHasSelectedList
.
concat
(
newAddPatientList
);
this
.
newHasSelectedList
=
this
.
newHasSelectedList
.
concat
(
newAddPatientList
);
if
(
this
.
newHasSelectedList
.
length
>
this
.
hasSelectedList
.
length
)
{
if
(
this
.
newHasSelectedList
.
length
>
this
.
hasSelectedList
.
length
)
{
this
.
showAddPatientTime
=
true
;
this
.
showAddPatientTime
=
true
;
if
(
showNames
.
length
>
4
)
{
const
le
=
showNames
.
length
showNames
=
showNames
.
slice
(
0
,
4
)
showNames
=
`
${
showNames
.
join
(
'、'
)}
等
${
le
}
人`
}
else
{
showNames
=
showNames
.
join
(
'、'
)
}
this
.
addPatientData
=
{
this
.
addPatientData
=
{
id
:
this
.
$route
.
query
.
planId
,
id
:
this
.
$route
.
query
.
planId
,
addPatients
:
true
,
addPatients
:
true
,
patientNames
:
showNames
.
join
(
'、'
)
,
patientNames
:
showNames
,
}
}
}
else
{
}
else
{
this
.
hasSelectedList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
newHasSelectedList
));
this
.
hasSelectedList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
newHasSelectedList
));
...
...
src/views/followup/plan-manage/resident-list.vue
浏览文件 @
e3ab9862
...
@@ -336,10 +336,17 @@
...
@@ -336,10 +336,17 @@
patientNames
.
push
(
item
.
patientName
)
patientNames
.
push
(
item
.
patientName
)
});
});
console
.
log
(
patientIds
)
console
.
log
(
patientIds
)
if
(
patientNames
.
length
>
4
)
{
const
le
=
patientNames
.
length
patientNames
=
patientNames
.
slice
(
0
,
4
)
patientNames
=
`
${
patientNames
.
join
(
'、'
)}
等
${
le
}
人`
}
else
{
patientNames
=
patientNames
.
join
(
'、'
)
}
this
.
finishData
=
{
this
.
finishData
=
{
changeCode
:
this
.
status
,
changeCode
:
this
.
status
,
planId
:
this
.
$route
.
query
.
planId
,
planId
:
this
.
$route
.
query
.
planId
,
patientName
:
patientNames
.
join
(
'、'
)
,
patientName
:
patientNames
,
patientIdList
:
patientIds
,
patientIdList
:
patientIds
,
title
:
this
.
status
==
3
?
'恢复随访'
:
'结束随访'
,
title
:
this
.
status
==
3
?
'恢复随访'
:
'结束随访'
,
reasonName
:
this
.
status
==
3
?
'恢复原因:'
:
'结束原因:'
,
reasonName
:
this
.
status
==
3
?
'恢复原因:'
:
'结束原因:'
,
...
@@ -382,11 +389,18 @@
...
@@ -382,11 +389,18 @@
patientIds
.
push
(
item
.
patientId
)
patientIds
.
push
(
item
.
patientId
)
patientNames
.
push
(
item
.
nickname
)
patientNames
.
push
(
item
.
nickname
)
})
})
if
(
patientNames
.
length
>
4
)
{
const
le
=
patientNames
.
length
patientNames
=
patientNames
.
slice
(
0
,
4
)
patientNames
=
`
${
patientNames
.
join
(
'、'
)}
等
${
le
}
人`
}
else
{
patientNames
=
patientNames
.
join
(
'、'
)
}
this
.
addPatientData
=
{
this
.
addPatientData
=
{
id
:
this
.
$route
.
query
.
planId
,
id
:
this
.
$route
.
query
.
planId
,
addPatients
:
true
,
addPatients
:
true
,
patientIdList
:
patientIds
,
patientIdList
:
patientIds
,
patientNames
:
patientNames
.
join
(
'、'
)
,
patientNames
:
patientNames
,
status
:
this
.
status
status
:
this
.
status
}
}
this
.
showAddPatientTime
=
true
this
.
showAddPatientTime
=
true
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录