Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
0c1d85df
提交
0c1d85df
编写于
4月 09, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
cc2d2f27
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
39 行增加
和
15 行删除
+39
-15
set-time-form.vue
src/views/followup/plan-manage/dialog/set-time-form.vue
+37
-14
set-time-node.vue
src/views/followup/plan-manage/dialog/set-time-node.vue
+1
-1
plan-modify.vue
src/views/followup/plan-manage/plan-modify.vue
+1
-0
未找到文件。
src/views/followup/plan-manage/dialog/set-time-form.vue
浏览文件 @
0c1d85df
...
...
@@ -14,7 +14,7 @@
clearable
/>
</el-form-item>
<el-form-item
prop=
"timeUnit"
class=
"ml20"
>
<el-select
v-if=
"!isStandedTemplate"
v-model=
"timeForm.timeUnit"
placeholder=
"请选择"
:disabled=
"timeForm.isDisabled"
>
<el-select
v-if=
"!isStandedTemplate
&& !planId
"
v-model=
"timeForm.timeUnit"
placeholder=
"请选择"
:disabled=
"timeForm.isDisabled"
>
<el-option
v-for=
"(item,index) in markOptions"
:key=
"index"
...
...
@@ -22,7 +22,7 @@
:value=
"item.no"
>
</el-option>
</el-select>
<el-select
v-if=
"isStandedTemplate"
v-model=
"timeForm.timeUnit"
placeholder=
"请选择"
:disabled=
"isStandedTemplate"
>
<el-select
v-if=
"isStandedTemplate
|| planId
"
v-model=
"timeForm.timeUnit"
placeholder=
"请选择"
:disabled=
"isStandedTemplate"
>
<el-option
v-for=
"(item,index) in markOptions"
:key=
"index"
...
...
@@ -40,7 +40,7 @@
</el-form-item>
<el-form-item
label=
"提醒医生预约居民"
>
<el-select
v-if=
"!isStandedTemplate"
v-if=
"!isStandedTemplate
&& !planId
"
v-model=
"timeForm.remindDay"
multiple
:multiple-limit=
3
...
...
@@ -56,7 +56,7 @@
<!--固定模板需要填充-->
<el-select
v-if=
"isStandedTemplate"
v-if=
"isStandedTemplate
|| planId
"
v-model=
"timeForm.remindDay"
multiple
:multiple-limit=
3
...
...
@@ -74,7 +74,7 @@
<div
style=
"display: flex"
>
<el-select
v-if=
"!isStandedTemplate"
v-if=
"!isStandedTemplate
&& !planId
"
v-model=
"timeForm.pushDay"
placeholder=
"选择推送时间"
clearable
...
...
@@ -89,7 +89,7 @@
<!--固定模板需要填充-->
<el-select
v-if=
"isStandedTemplate"
v-if=
"isStandedTemplate
|| planId
"
v-model=
"timeForm.pushDay"
placeholder=
"选择推送时间"
clearable
...
...
@@ -100,11 +100,11 @@
:value=
"timeForm.pushDay"
>
</el-option>
</el-select>
<el-button
plain
class=
"ml20"
@
click=
"goSelectCartoon"
v-if=
"!timeForm.hasSelected && !isStandedTemplate"
>
选择健康漫画
</el-button>
<el-button
plain
class=
"ml20"
@
click=
"goSelectCartoon"
v-if=
"!timeForm.hasSelected && !isStandedTemplate
&& !planId
"
>
选择健康漫画
</el-button>
<div
class=
"selected-div ml20"
v-if=
"timeForm.hasSelected"
>
<span>
《
{{
timeForm
.
comentMsg
.
header_name
}}
》
</span>
<el-button
type=
"text"
@
click=
"goSelectCartoon"
v-if=
"!isStandedTemplate"
>
重选
</el-button>
<el-button
type=
"text"
@
click=
"deleteClick"
v-if=
"!isStandedTemplate"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"goSelectCartoon"
v-if=
"!isStandedTemplate
&& !planId
"
>
重选
</el-button>
<el-button
type=
"text"
@
click=
"deleteClick"
v-if=
"!isStandedTemplate
&& !planId
"
>
删除
</el-button>
</div>
</div>
</el-form-item>
...
...
@@ -114,7 +114,7 @@
</div>
<el-form-item
label=
"随访登记表"
>
<el-select
v-if=
"!isStandedTemplate"
v-if=
"!isStandedTemplate
&& !planId
"
v-model=
"timeForm.followResourceId"
multiple
:multiple-limit=
3
...
...
@@ -130,7 +130,7 @@
<!--固定模板需要填充-->
<el-select
v-if=
"isStandedTemplate"
v-if=
"isStandedTemplate
|| planId
"
v-model=
"timeForm.followResourceId"
multiple
:multiple-limit=
3
...
...
@@ -196,19 +196,22 @@
planId
:
String
},
watch
:
{
patientIdList
(
val
){
},
timeForm
(
val
){
this
.
timeForm
=
val
if
(
this
.
isStandedTemplate
||
this
.
planId
){
// console.log('表单子组件监听到的form数据',this.timeForm)
this
.
timeForm
.
isDisabled
=
true
if
(
this
.
timeForm
.
remindList
.
length
>
0
){
// remindDay
if
(
this
.
timeForm
.
remindList
&&
this
.
timeForm
.
remindList
.
length
>
0
){
// remindDay
this
.
remindOptionsCopy
=
this
.
timeForm
.
remindList
this
.
timeForm
.
remindDay
=
[]
this
.
timeForm
.
remindList
.
forEach
((
item
)
=>
{
this
.
timeForm
.
remindDay
.
push
(
item
.
startDays
)
})
}
if
(
this
.
timeForm
.
pushContentList
.
length
>
0
){
//pushDay
if
(
this
.
timeForm
.
pushContentList
&&
this
.
timeForm
.
pushContentList
.
length
>
0
){
//pushDay
let
pushData
=
this
.
timeForm
.
pushContentList
[
0
]
this
.
timeForm
.
pushDay
=
pushData
.
startDays
this
.
timeForm
.
startDaysStr
=
pushData
.
startDaysStr
...
...
@@ -221,7 +224,7 @@
hasSelected
:
this
.
timeForm
.
comentMsg
})
}
if
(
this
.
timeForm
.
followupList
.
length
>
0
){
//followResourceId
if
(
this
.
timeForm
.
followupList
&&
this
.
timeForm
.
followupList
.
length
>
0
){
//followResourceId
this
.
formOptionsCopy
=
this
.
timeForm
.
followupList
this
.
timeForm
.
followResourceId
=
[]
this
.
timeForm
.
followupList
.
forEach
((
item
)
=>
{
...
...
@@ -229,6 +232,26 @@
})
}
getPatientNumber
({
patientIdList
:
this
.
patientIdList
}).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
this
.
timeForm
.
wechatPatientNum
=
res
.
data
.
wechatPatientNum
;
this
.
timeForm
.
messagePatientNum
=
res
.
data
.
messagePatientNum
;
this
.
timeForm
.
totalNumber
=
this
.
timeForm
.
wechatPatientNum
+
this
.
timeForm
.
messagePatientNum
}
else
{
this
.
$notify
.
success
({
title
:
'提交失败'
,
message
:
res
.
message
,
showClose
:
false
});
}
})
// console.log(this.isStandedTemplate)
// console.log(this.formOptions)
// console.log(this.formOptionsCopy)
}
},
formOptions
(
val
){
...
...
src/views/followup/plan-manage/dialog/set-time-node.vue
浏览文件 @
0c1d85df
...
...
@@ -9,7 +9,7 @@
v-if=
"setTimeNodeList.length > 0"
v-for=
"(item, index) in setTimeNodeList1"
:key=
"index"
:label=
"index"
>
开始后
{{
item
.
timeNo
+
item
.
timeUnitStr
}}
:label=
"index"
>
开始后
{{
String
(
item
.
timeNo
)
+
item
.
timeUnitStr
}}
<i
class=
"el-icon-circle-close-outline"
v-if=
"!isStandedTemplate"
@
click=
"deleteTimeNode(item, index)"
></i>
</el-radio-button>
<el-radio-button
...
...
src/views/followup/plan-manage/plan-modify.vue
浏览文件 @
0c1d85df
...
...
@@ -51,6 +51,7 @@
<set-time-node
:isStandedTemplate=
"isStandedTemplate"
:setTimeNodeList=
"setTimeNodeList"
:patientIdList=
"patientIdList"
@
setTimeNodeListOnCom=
"setTimeNodeListOnCom"
:checkForm=
"checkForm"
:planId=
"planId"
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录