Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
638d18d4
提交
638d18d4
编写于
4月 01, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed
上级
5f59fc9c
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
65 行增加
和
23 行删除
+65
-23
plan-detail.vue
src/views/followup/plan-manage/plan-detail.vue
+2
-2
plan-modify.vue
src/views/followup/plan-manage/plan-modify.vue
+37
-18
resident-list.vue
src/views/followup/plan-manage/resident-list.vue
+23
-3
reservation-list.vue
src/views/followup/reservation-manage/reservation-list.vue
+3
-0
未找到文件。
src/views/followup/plan-manage/plan-detail.vue
浏览文件 @
638d18d4
...
@@ -127,10 +127,10 @@
...
@@ -127,10 +127,10 @@
this
.
showFollowTime
=
true
this
.
showFollowTime
=
true
},
},
goToResidentList
()
{
goToResidentList
()
{
this
.
$router
.
push
({
path
:
'/followup/plan-manage/resident-list'
,
query
:
{
planId
:
'1'
}})
this
.
$router
.
push
({
path
:
'/followup/plan-manage/resident-list'
,
query
:
{
planId
:
this
.
$route
.
query
.
planId
}})
},
},
changePlan
()
{
changePlan
()
{
this
.
$router
.
push
({
path
:
'/followup/plan-manage/plan-modify'
,
query
:
{
planId
:
'1'
}})
this
.
$router
.
push
({
path
:
'/followup/plan-manage/plan-modify'
,
query
:
{
planId
:
this
.
$route
.
query
.
planId
}})
},
},
closeFollowTime
(
isShow
)
{
closeFollowTime
(
isShow
)
{
this
.
showFollowTime
=
isShow
this
.
showFollowTime
=
isShow
...
...
src/views/followup/plan-manage/plan-modify.vue
浏览文件 @
638d18d4
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</div>
</div>
<div
class=
"plan-btns-group"
>
<div
class=
"plan-btns-group"
>
<el-button
class=
"button-white"
plain
@
click=
"cancelEdit"
>
取 消
</el-button>
<el-button
class=
"button-white"
plain
@
click=
"cancelEdit"
>
取 消
</el-button>
<el-button
class=
"button-green"
type=
"primary"
@
click=
"
cancelEdit
"
>
保 存
</el-button>
<el-button
class=
"button-green"
type=
"primary"
@
click=
"
saveModify
"
>
保 存
</el-button>
</div>
</div>
</div>
</div>
<el-form
ref=
"baseInfo"
:model=
"planDetail"
:rules=
"rules"
label-suffix=
":"
label-width=
"140px"
>
<el-form
ref=
"baseInfo"
:model=
"planDetail"
:rules=
"rules"
label-suffix=
":"
label-width=
"140px"
>
...
@@ -22,22 +22,12 @@
...
@@ -22,22 +22,12 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"随访居民"
required
>
<el-form-item
label=
"随访居民"
required
>
<div
class=
"select-patients"
>
<div
class=
"select-patients"
>
<el-button
plain
icon=
"el-icon-plus"
@
click=
"selectPatientHandler"
>
{{
planDetail
.
num
?
'继续添加'
:
'选择居民'
}}
</el-button><br>
<el-button
plain
icon=
"el-icon-plus"
@
click=
"selectPatientHandler"
>
{{
planDetail
.
patientIdList
?
'继续添加'
:
'选择居民'
}}
</el-button><br>
<el-button
type=
"text"
class=
"mt10"
@
click=
"seeSelectedHandler"
v-if=
"planDetail.
num"
>
已选
{{
planDetail
.
num
}}
人
<i
class=
"el-icon-arrow-right"
></i></el-button>
<el-button
type=
"text"
class=
"mt10"
@
click=
"seeSelectedHandler"
v-if=
"planDetail.
patientIdList"
>
已选
{{
planDetail
.
patientIdList
.
length
}}
人
<i
class=
"el-icon-arrow-right"
></i></el-button>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"随访模板"
prop=
"resourceName"
>
<el-form-item
label=
"随访模板"
prop=
"resourceName"
>
<el-select
{{
planDetail
.
resourceName
}}
v-model=
"planDetail.followupTemplate"
placeholder=
"请选择随访模板"
clearable
>
<el-option
v-for=
"item in templateOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"随访开始时间"
prop=
"timeStr"
>
<el-form-item
label=
"随访开始时间"
prop=
"timeStr"
>
{{
planDetail
.
timeStr
}}
<el-button
class=
"btn-text"
type=
"text"
@
click=
"goToFollowTime"
>
查看全部>
</el-button>
{{
planDetail
.
timeStr
}}
<el-button
class=
"btn-text"
type=
"text"
@
click=
"goToFollowTime"
>
查看全部>
</el-button>
...
@@ -65,7 +55,7 @@
...
@@ -65,7 +55,7 @@
@
closeSelectPatient=
"closeSelectPatient"
@
closeSelectPatient=
"closeSelectPatient"
@
sureSelectPatient=
"sureSelectPatient(arguments)"
>
@
sureSelectPatient=
"sureSelectPatient(arguments)"
>
</select-patient>
</select-patient>
<has-selected-patient
:isShowSelectedDialog=
"isShowSelectedDialog"
:hasSelectedList=
"residentList.fPlanPatientInfoDtoList"
@
closeSelectedDialog=
"closeSelectedDialog"
@
continueAdd=
"continueAdd"
></has-selected-patient>
<follow-time
:showThisPage=
"showFollowTime"
:nodeTimeList=
"nodeTimeList"
@
closeFollowTime=
"closeFollowTime"
></follow-time>
<follow-time
:showThisPage=
"showFollowTime"
:nodeTimeList=
"nodeTimeList"
@
closeFollowTime=
"closeFollowTime"
></follow-time>
</div>
</div>
</
template
>
</
template
>
...
@@ -122,6 +112,7 @@
...
@@ -122,6 +112,7 @@
}
}
],
],
isShowSelectPatient
:
false
,
//显示居民选择框
isShowSelectPatient
:
false
,
//显示居民选择框
isShowSelectedDialog
:
false
,
//显示已选居民
hasSelectedList
:
[],
//已选居民
hasSelectedList
:
[],
//已选居民
showFollowTime
:
false
,
//是否展示全部时间
showFollowTime
:
false
,
//是否展示全部时间
}
}
...
@@ -129,15 +120,19 @@
...
@@ -129,15 +120,19 @@
mounted
()
{
mounted
()
{
this
.
getPlanDetail
(
this
.
$route
.
query
.
planId
);
//获取计划详情
this
.
getPlanDetail
(
this
.
$route
.
query
.
planId
);
//获取计划详情
this
.
getNodeTimeList
(
this
.
$route
.
query
.
planId
);
// 获取随访时间列表
this
.
getNodeTimeList
(
this
.
$route
.
query
.
planId
);
// 获取随访时间列表
this
.
getResidentList
({
planId
:
this
.
$route
.
query
.
planId
});
//已选居民
},
},
computed
:
{
computed
:
{
...
mapState
(
'planManage'
,
{
...
mapState
(
'planManage'
,
{
planDetail
:
state
=>
state
.
planDetail
,
planDetail
:
state
=>
state
.
planDetail
,
nodeTimeList
:
state
=>
state
.
nodeTimeList
nodeTimeList
:
state
=>
state
.
nodeTimeList
,
residentList
:
state
=>
state
.
residentList
,
})
})
},
},
methods
:
{
methods
:
{
...
mapActions
(
'planManage'
,
[
'getPlanDetail'
,
'getNodeTimeList'
]),
...
mapActions
(
'planManage'
,
[
'getPlanDetail'
,
'getNodeTimeList'
,
'getResidentList'
]),
selectPatientHandler
()
{
selectPatientHandler
()
{
this
.
isShowSelectPatient
=
true
;
this
.
isShowSelectPatient
=
true
;
},
},
...
@@ -147,14 +142,21 @@
...
@@ -147,14 +142,21 @@
seeSelectedHandler
()
{
seeSelectedHandler
()
{
this
.
isShowSelectedDialog
=
true
;
this
.
isShowSelectedDialog
=
true
;
},
},
closeSelectedDialog
(
val
)
{
this
.
isShowSelectedDialog
=
val
;
},
sureSelectPatient
()
{
sureSelectPatient
()
{
let
getArguments
=
arguments
[
0
];
let
getArguments
=
arguments
[
0
];
this
.
isShowSelectPatient
=
getArguments
[
0
];
this
.
isShowSelectPatient
=
getArguments
[
0
];
this
.
hasSelectedList
=
getArguments
[
1
];
this
.
hasSelectedList
=
getArguments
[
1
];
this
.
modifyInfo
.
hasSelectedNum
=
getArguments
[
1
].
length
;
this
.
modifyInfo
.
hasSelectedNum
=
getArguments
[
1
].
length
;
},
},
continueAdd
(
val
)
{
this
.
isShowSelectedDialog
=
val
;
this
.
isShowSelectPatient
=
true
;
},
cancelEdit
()
{
cancelEdit
()
{
this
.
$confirm
(
'是否放弃本次修改
,放弃后数据不能被保存
'
,
''
,
{
this
.
$confirm
(
'是否放弃本次修改
?
'
,
''
,
{
confirmButtonText
:
'继续修改'
,
confirmButtonText
:
'继续修改'
,
cancelButtonText
:
'确定放弃'
,
cancelButtonText
:
'确定放弃'
,
type
:
'warning'
type
:
'warning'
...
@@ -165,6 +167,23 @@
...
@@ -165,6 +167,23 @@
this
.
$router
.
back
(
-
1
)
this
.
$router
.
back
(
-
1
)
});
});
},
},
saveModify
()
{
this
.
$confirm
(
'是否确认保存修改内容?'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
// 关闭弹层,继续创建
this
.
$message
({
message
:
'修改成功!'
,
type
:
'success'
});
this
.
$router
.
back
(
-
1
)
}).
catch
(()
=>
{
// 确定放弃,跳出当前编辑页面
});
},
goToFollowTime
()
{
goToFollowTime
()
{
this
.
showFollowTime
=
true
this
.
showFollowTime
=
true
},
},
...
...
src/views/followup/plan-manage/resident-list.vue
浏览文件 @
638d18d4
...
@@ -58,6 +58,7 @@
...
@@ -58,6 +58,7 @@
<el-table
<el-table
:data=
"residentList.fPlanPatientInfoDtoList"
:data=
"residentList.fPlanPatientInfoDtoList"
center
center
@
selection-change=
"handleSelectionChange"
style=
"width: 100%;margin-top: 20px;"
>
style=
"width: 100%;margin-top: 20px;"
>
<el-table-column
<el-table-column
type=
"selection"
type=
"selection"
...
@@ -167,6 +168,7 @@
...
@@ -167,6 +168,7 @@
finishData
:
{},
//结束数据
finishData
:
{},
//结束数据
isShowSelectPatient
:
false
,
//显示居民选择框
isShowSelectPatient
:
false
,
//显示居民选择框
hasSelectedList
:
[],
//已选居民
hasSelectedList
:
[],
//已选居民
finishPatientList
:
[],
//结束随访居民(多选)
}
}
},
},
created
()
{
created
()
{
...
@@ -228,9 +230,23 @@
...
@@ -228,9 +230,23 @@
this
.
showChangePlan
=
isShow
this
.
showChangePlan
=
isShow
},
},
finishFollowup
(
row
)
{
finishFollowup
(
row
)
{
this
.
finishData
=
{
if
(
row
==
'all'
)
{
patientName
:
row
.
patientName
,
if
(
this
.
finishPatientList
.
length
<=
0
)
{
};
this
.
$message
({
message
:
'请选择居民!'
,
type
:
'warning'
});
return
;
}
this
.
finishData
=
{
patientName
:
row
.
patientName
,
};
}
else
{
this
.
finishData
=
{
patientName
:
row
.
patientName
,
};
}
this
.
showFinishFollowup
=
true
;
this
.
showFinishFollowup
=
true
;
},
},
closeFinishFollowup
(
isShow
)
{
closeFinishFollowup
(
isShow
)
{
...
@@ -248,6 +264,10 @@
...
@@ -248,6 +264,10 @@
this
.
hasSelectedList
=
getArguments
[
1
];
this
.
hasSelectedList
=
getArguments
[
1
];
this
.
modifyInfo
.
hasSelectedNum
=
getArguments
[
1
].
length
;
this
.
modifyInfo
.
hasSelectedNum
=
getArguments
[
1
].
length
;
},
},
handleSelectionChange
(
val
)
{
console
.
log
(
'已选居民'
,
val
)
this
.
finishPatientList
=
val
;
}
},
},
watch
:
{
watch
:
{
status
(
val
)
{
status
(
val
)
{
...
...
src/views/followup/reservation-manage/reservation-list.vue
浏览文件 @
638d18d4
...
@@ -84,16 +84,19 @@
...
@@ -84,16 +84,19 @@
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
width=
"160"
prop=
"planTime"
prop=
"planTime"
label=
"随访计划时间"
label=
"随访计划时间"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
width=
"160"
prop=
"appointmentTime"
prop=
"appointmentTime"
label=
"随访预约时间"
label=
"随访预约时间"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
width=
"180"
fixed=
"right"
fixed=
"right"
label=
"操作"
label=
"操作"
align=
"center"
>
align=
"center"
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录