Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
6fbe25e4
提交
6fbe25e4
编写于
4月 03, 2019
作者:
tao.wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
7ea9e0bd
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
19 行增加
和
8 行删除
+19
-8
planManage.js
src/store/followup/planManage.js
+3
-0
set-time-node.vue
src/views/followup/plan-manage/dialog/set-time-node.vue
+7
-4
new-plan.vue
src/views/followup/plan-manage/new-plan.vue
+9
-4
未找到文件。
src/store/followup/planManage.js
浏览文件 @
6fbe25e4
...
@@ -130,6 +130,9 @@ export default {
...
@@ -130,6 +130,9 @@ export default {
// context.commit('GET_PLAN_OPTION', data);
// context.commit('GET_PLAN_OPTION', data);
});
});
},
},
getTimeNodeList
(
context
,
payload
){
context
.
commit
(
'SET_TIME_NODE_LIST'
,
payload
);
},
async
getPlanList
(
context
,
payload
)
{
async
getPlanList
(
context
,
payload
)
{
await
getPlanList
({
await
getPlanList
({
...
payload
...
payload
...
...
src/views/followup/plan-manage/dialog/set-time-node.vue
浏览文件 @
6fbe25e4
...
@@ -133,11 +133,13 @@
...
@@ -133,11 +133,13 @@
},
},
}
}
},
},
props
:
{},
props
:
{
setTimeNodeList
:
Array
},
computed
:
{
computed
:
{
...
mapState
(
'planManage'
,{
//
...mapState('planManage',{
setTimeNodeList
:
state
=>
state
.
setTimeNodeList
,
//
setTimeNodeList: state => state.setTimeNodeList,
}),
//
}),
setTimeNodeList1
(){
setTimeNodeList1
(){
return
this
.
sortKey
(
this
.
setTimeNodeList
,
'followupTime'
)
return
this
.
sortKey
(
this
.
setTimeNodeList
,
'followupTime'
)
},
},
...
@@ -192,6 +194,7 @@
...
@@ -192,6 +194,7 @@
this
.
timeForm
=
_
.
cloneDeep
(
timeFormInit
);
this
.
timeForm
=
_
.
cloneDeep
(
timeFormInit
);
this
.
timeForm
.
formRef
=
this
.
getNowTime
();
this
.
timeForm
.
formRef
=
this
.
getNowTime
();
this
.
timeForm
.
isDisabled
=
true
;
this
.
timeForm
.
isDisabled
=
true
;
this
.
$emit
(
'setTimeNodeListOnCom'
,
this
.
setTimeNodeList
)
}
else
{
}
else
{
return
;
return
;
}
}
...
...
src/views/followup/plan-manage/new-plan.vue
浏览文件 @
6fbe25e4
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</div>
</div>
<div
class=
"edit-plan-content"
v-if=
"activeTab === 'second'"
>
<div
class=
"edit-plan-content"
v-if=
"activeTab === 'second'"
>
<set-time-node
ref=
"getTimeNodeList"
></set-time-node>
<set-time-node
ref=
"getTimeNodeList"
:setTimeNodeList=
"setTimeNodeList"
@
setTimeNodeListOnCom=
"setTimeNodeListOnCom"
></set-time-node>
</div>
</div>
</div>
</div>
...
@@ -163,7 +163,10 @@
...
@@ -163,7 +163,10 @@
})
})
},
},
methods
:
{
methods
:
{
// ...mapActions('planManage', ['getResidentList', 'getGroupList']),
...
mapActions
(
'planManage'
,
[
'getTimeNodeList'
]),
setTimeNodeListOnCom
(
val
){
this
.
getTimeNodeList
(
val
)
},
selectPatientHandler
()
{
selectPatientHandler
()
{
this
.
isShowSelectPatient
=
true
;
this
.
isShowSelectPatient
=
true
;
},
},
...
@@ -221,8 +224,10 @@
...
@@ -221,8 +224,10 @@
this
.
activeTab
=
'first'
;
this
.
activeTab
=
'first'
;
},
},
saveEdit
()
{
saveEdit
()
{
console
.
log
(
'保存setTimeNodeList1'
,
this
.
$refs
.
getTimeNodeList
.
setTimeNodeList1
)
// console.log('保存setTimeNodeList1',this.$refs.getTimeNodeList.setTimeNodeList1)
console
.
log
(
'保存timeForm'
,
this
.
$refs
.
getTimeNodeList
.
timeForm
)
// console.log('保存timeForm',this.$refs.getTimeNodeList.timeForm)
// 各种校验通过后,提交编辑内容,toast提示
// 各种校验通过后,提交编辑内容,toast提示
this
.
$notify
.
success
({
this
.
$notify
.
success
({
title
:
''
,
title
:
''
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录