Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
3a9afebc
提交
3a9afebc
编写于
4月 15, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
899c68ee
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
23 行增加
和
2 行删除
+23
-2
set-time-node.vue
src/views/followup/plan-manage/dialog/set-time-node.vue
+20
-0
new-plan.vue
src/views/followup/plan-manage/new-plan.vue
+3
-2
未找到文件。
src/views/followup/plan-manage/dialog/set-time-node.vue
浏览文件 @
3a9afebc
...
@@ -179,9 +179,11 @@
...
@@ -179,9 +179,11 @@
wechatPatientNum
:
0
,
wechatPatientNum
:
0
,
messagePatientNum
:
0
,
messagePatientNum
:
0
,
totalNumber
:
0
,
totalNumber
:
0
,
activeResourceId
:
''
,
}
}
},
},
props
:
{
props
:
{
resourceId
:
String
,
standedTimeNodeList
:
Array
,
standedTimeNodeList
:
Array
,
patientIdList
:
Array
,
patientIdList
:
Array
,
checkForm
:
Boolean
,
checkForm
:
Boolean
,
...
@@ -192,6 +194,7 @@
...
@@ -192,6 +194,7 @@
this
.
getConstData
();
this
.
getConstData
();
},
},
mounted
(){
mounted
(){
console
.
log
(
this
.
resourceId
)
if
(
!
this
.
planId
){
//新建计划
if
(
!
this
.
planId
){
//新建计划
this
.
initNewForm
();
this
.
initNewForm
();
}
}
...
@@ -205,6 +208,23 @@
...
@@ -205,6 +208,23 @@
this
.
$forceUpdate
();
this
.
$forceUpdate
();
}
}
},
},
resourceId
(
val
){
console
.
log
(
'props='
,
val
)
console
.
log
(
'activeResourceId='
,
this
.
activeResourceId
)
if
(
parseFloat
(
val
)
>=
0
){
if
(
val
!==
this
.
activeResourceId
){
this
.
activeTab
=
0
+
''
;
this
.
setTimeNodeList
=
this
.
standedTimeNodeList
;
this
.
$forceUpdate
();
if
(
this
.
isStandedTemplate
){
// 系统固定模板
}
else
{
//自定义模板
this
.
initNewForm
();
}
}
}
},
setTimeNodeList
(
val
){
setTimeNodeList
(
val
){
this
.
setTimeNodeList
=
val
;
this
.
setTimeNodeList
=
val
;
if
(
this
.
setTimeNodeList
.
length
>
0
){
if
(
this
.
setTimeNodeList
.
length
>
0
){
...
...
src/views/followup/plan-manage/new-plan.vue
浏览文件 @
3a9afebc
...
@@ -81,6 +81,7 @@
...
@@ -81,6 +81,7 @@
<div
class=
"edit-plan-content"
v-show=
"activeTab === 'second'"
>
<div
class=
"edit-plan-content"
v-show=
"activeTab === 'second'"
>
<set-time-node
<set-time-node
:resourceId=
"resourceId"
:standedTimeNodeList=
"standedTimeNodeList"
:standedTimeNodeList=
"standedTimeNodeList"
:isStandedTemplate=
"isStandedTemplate"
:isStandedTemplate=
"isStandedTemplate"
:patientIdList=
"baseInfo.patientIdList"
:patientIdList=
"baseInfo.patientIdList"
...
@@ -277,8 +278,8 @@
...
@@ -277,8 +278,8 @@
this
.
noChoice
=
false
this
.
noChoice
=
false
}
}
if
(
valid
)
{
if
(
valid
)
{
//
console.log('当前选择的随访模板id为',this.baseInfo.resourceId)
console
.
log
(
'当前选择的随访模板id为'
,
this
.
baseInfo
.
resourceId
)
this
.
resourceId
=
this
.
baseInfo
.
resourceId
this
.
resourceId
=
String
(
this
.
baseInfo
.
resourceId
)
// console.log( this.baseInfo.resourceId)
// console.log( this.baseInfo.resourceId)
if
(
this
.
baseInfo
.
resourceId
){
if
(
this
.
baseInfo
.
resourceId
){
getFollowupTableTemplate
(
this
.
baseInfo
.
resourceId
).
then
(
res
=>
{
getFollowupTableTemplate
(
this
.
baseInfo
.
resourceId
).
then
(
res
=>
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录