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
提交
43a14983
提交
43a14983
编写于
4月 01, 2019
作者:
Yuanzhao.dai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
计划修改
上级
94f2e118
变更
5
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
47 行增加
和
25 行删除
+47
-25
planManage.js
src/store/followup/planManage.js
+1
-3
followapis.js
src/utils/followup/followapis.js
+1
-2
plan-detail.vue
src/views/followup/plan-manage/plan-detail.vue
+2
-2
plan-modify.vue
src/views/followup/plan-manage/plan-modify.vue
+41
-18
resident-list.vue
src/views/followup/plan-manage/resident-list.vue
+2
-0
未找到文件。
src/store/followup/planManage.js
浏览文件 @
43a14983
...
...
@@ -89,9 +89,7 @@ export default {
});
},
getNodeTimeContent
(
context
,
payload
)
{
getNodeTimeContent
({},
{
urlSuffix
:
payload
}).
then
(({
data
})
=>
{
getNodeTimeContent
(
payload
).
then
(({
data
})
=>
{
context
.
commit
(
'GET_NODE_CONTENT'
,
data
);
});
},
...
...
src/utils/followup/followapis.js
浏览文件 @
43a14983
...
...
@@ -60,7 +60,7 @@ export const getPlanDetail = (planId) => {
export
const
getNodeTimeList
=
(
planId
)
=>
{
return
fetch
({
headers
,
url
:
getFollowUpSC
(
`/followup/plan
s/times/line/
${
planId
}
`
),
url
:
getFollowUpSC
(
`/followup/plan
/
${
planId
}
/time
`
),
method
:
'get'
,
description
:
'获取随访时间节点列表'
,
})
...
...
@@ -169,7 +169,6 @@ export const changeEnteringStatus = (data) => {
export
const
getEnteringInfo
=
(
patientId
,
fuPlanPatientTimesId
)
=>
{
return
fetch
({
headers
,
url
:
getFollowUpSC
(
`followup/entering/
${
patientId
}
/fuInfo/
${
fuPlanPatientTimesId
}
`
),
method
:
'get'
,
params
:
'params'
,
description
:
'随访单条信息查看'
,
...
...
src/views/followup/plan-manage/plan-detail.vue
浏览文件 @
43a14983
...
...
@@ -110,7 +110,7 @@
},
mounted
()
{
this
.
getPlanDetail
(
this
.
$route
.
query
.
planId
);
//获取
居民
详情
this
.
getPlanDetail
(
this
.
$route
.
query
.
planId
);
//获取
计划
详情
this
.
getNodeTimeList
(
this
.
$route
.
query
.
planId
);
// 获取随访时间列表
},
computed
:
{
...
...
@@ -130,7 +130,7 @@
this
.
$router
.
push
({
path
:
'/followup/plan-manage/resident-list'
,
query
:
{
planId
:
'1'
}})
},
changePlan
()
{
this
.
$router
.
push
({
path
:
'/followup/plan-manage/plan-modify'
,
query
:
{
planId
:
'1'
}})
},
closeFollowTime
(
isShow
)
{
this
.
showFollowTime
=
isShow
...
...
src/views/followup/plan-manage/plan-modify.vue
浏览文件 @
43a14983
...
...
@@ -16,19 +16,19 @@
<el-button
class=
"button-green"
type=
"primary"
@
click=
"cancelEdit"
>
保 存
</el-button>
</div>
</div>
<el-form
ref=
"baseInfo"
:model=
"
modifyInfo
"
:rules=
"rules"
label-suffix=
":"
label-width=
"140px"
>
<el-form
ref=
"baseInfo"
:model=
"
planDetail
"
:rules=
"rules"
label-suffix=
":"
label-width=
"140px"
>
<el-form-item
label=
"随访计划名称"
prop=
"name"
>
<el-input
v-model=
"
modifyInfo
.name"
maxlength=
"20"
style=
"width: 30%"
clearable
></el-input>
<el-input
v-model=
"
planDetail
.name"
maxlength=
"20"
style=
"width: 30%"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"随访居民"
required
>
<div
class=
"select-patients"
>
<el-button
plain
icon=
"el-icon-plus"
@
click=
"selectPatientHandler"
>
{{
modifyInfo
.
hasSelectedN
um
?
'继续添加'
:
'选择居民'
}}
</el-button><br>
<el-button
type=
"text"
class=
"mt10"
@
click=
"seeSelectedHandler"
v-if=
"
modifyInfo.hasSelectedNum"
>
已选
{{
modifyInfo
.
hasSelectedN
um
}}
人
<i
class=
"el-icon-arrow-right"
></i></el-button>
<el-button
plain
icon=
"el-icon-plus"
@
click=
"selectPatientHandler"
>
{{
planDetail
.
n
um
?
'继续添加'
:
'选择居民'
}}
</el-button><br>
<el-button
type=
"text"
class=
"mt10"
@
click=
"seeSelectedHandler"
v-if=
"
planDetail.num"
>
已选
{{
planDetail
.
n
um
}}
人
<i
class=
"el-icon-arrow-right"
></i></el-button>
</div>
</el-form-item>
<el-form-item
label=
"随访模板"
prop=
"
followupTemplat
e"
>
<el-form-item
label=
"随访模板"
prop=
"
resourceNam
e"
>
<el-select
v-model=
"
modifyInfo
.followupTemplate"
v-model=
"
planDetail
.followupTemplate"
placeholder=
"请选择随访模板"
clearable
>
<el-option
...
...
@@ -38,14 +38,13 @@
:value=
"item.value"
>
</el-option>
</el-select>
<p
class=
"tips"
>
随访计划创建成功后,模板不可更换,请谨慎选择。
</p>
</el-form-item>
<el-form-item
label=
"随访开始时间"
prop=
"
startTime
"
>
2018-01-01
<el-button
class=
"btn-text"
type=
"text"
@
click=
"goToFollowTime"
>
查看全部>
</el-button>
<el-form-item
label=
"随访开始时间"
prop=
"
timeStr
"
>
{{
planDetail
.
timeStr
}}
<el-button
class=
"btn-text"
type=
"text"
@
click=
"goToFollowTime"
>
查看全部>
</el-button>
</el-form-item>
<el-form-item
label=
"备注"
>
<el-select
v-model=
"
modifyInfo.followupKind
"
v-model=
"
planDetail.remarksStatus
"
placeholder=
"请选择随访种类"
clearable
>
<el-option
...
...
@@ -66,6 +65,8 @@
@
closeSelectPatient=
"closeSelectPatient"
@
sureSelectPatient=
"sureSelectPatient(arguments)"
>
</select-patient>
<follow-time
:showThisPage=
"showFollowTime"
:nodeTimeList=
"nodeTimeList"
@
closeFollowTime=
"closeFollowTime"
></follow-time>
</div>
</
template
>
...
...
@@ -74,6 +75,10 @@
import
SelectPatient
from
'@/views/followup/plan-manage/dialog/select-patient'
;
import
HasSelectedPatient
from
'@/views/followup/plan-manage/dialog/has-selected-patient'
;
import
SetTimeNode
from
'@/views/followup/plan-manage/dialog/set-time-node'
;
import
FollowTime
from
'@/views/followup/plan-manage/dialog/follow-time'
;
import
{
mapState
,
mapActions
}
from
'vuex'
export
default
{
name
:
"plan-modify"
,
components
:
{
...
...
@@ -81,6 +86,7 @@
SelectPatient
,
HasSelectedPatient
,
SetTimeNode
,
FollowTime
},
data
()
{
return
{
...
...
@@ -89,7 +95,6 @@
curmbSecond
:
'计划管理'
,
curmbThird
:
'修改随访计划'
,
jumPathThird
:
'/followUp/plan-manage'
,
modifyInfo
:
{},
rules
:
{
name
:
[{
required
:
true
,
message
:
'请输入随访计划名称'
,
trigger
:
'blur'
}],
followupTemplate
:
[{
required
:
true
,
message
:
'请选择随访模板'
,
trigger
:
'change'
}],
...
...
@@ -109,24 +114,39 @@
],
kindOptions
:
[
{
value
:
'0'
,
value
:
0
,
label
:
'上门随访'
},
{
value
:
'1'
,
value
:
1
,
label
:
'术后随访'
}
],
isShowSelectPatient
:
false
,
//显示居民选择框
hasSelectedList
:
[],
//已选居民
showFollowTime
:
false
,
//是否展示全部时间
}
},
mounted
()
{
this
.
getPlanDetail
(
this
.
$route
.
query
.
planId
);
//获取计划详情
this
.
getNodeTimeList
(
this
.
$route
.
query
.
planId
);
// 获取随访时间列表
},
computed
:
{
...
mapState
(
'planManage'
,
{
planDetail
:
state
=>
state
.
planDetail
,
nodeTimeList
:
state
=>
state
.
nodeTimeList
})
},
methods
:
{
...
mapActions
(
'planManage'
,
[
'getPlanDetail'
,
'getNodeTimeList'
]),
selectPatientHandler
()
{
this
.
isShowSelectPatient
=
true
;
},
closeSelectPatient
(
val
)
{
this
.
isShowSelectPatient
=
val
;
},
seeSelectedHandler
()
{
this
.
isShowSelectedDialog
=
true
;
},
sureSelectPatient
()
{
let
getArguments
=
arguments
[
0
];
this
.
isShowSelectPatient
=
getArguments
[
0
];
...
...
@@ -134,20 +154,23 @@
this
.
modifyInfo
.
hasSelectedNum
=
getArguments
[
1
].
length
;
},
cancelEdit
()
{
this
.
$confirm
(
'是否放弃本次
创建
,放弃后数据不能被保存'
,
''
,
{
confirmButtonText
:
'继续
创建
'
,
this
.
$confirm
(
'是否放弃本次
修改
,放弃后数据不能被保存'
,
''
,
{
confirmButtonText
:
'继续
修改
'
,
cancelButtonText
:
'确定放弃'
,
type
:
'warning'
}).
then
(()
=>
{
// 关闭弹层,继续创建
}).
catch
(()
=>
{
// 确定放弃,跳出当前编辑页面
this
.
$router
.
push
({
path
:
'/followup/plan-manage/plan-list'
}
)
this
.
$router
.
back
(
-
1
)
});
},
goToFollowTime
()
{
}
this
.
showFollowTime
=
true
},
closeFollowTime
(
isShow
)
{
this
.
showFollowTime
=
isShow
},
},
}
</
script
>
...
...
src/views/followup/plan-manage/resident-list.vue
浏览文件 @
43a14983
...
...
@@ -82,6 +82,7 @@
align=
"center"
>
</el-table-column>
<el-table-column
width=
"160"
prop=
"time"
label=
"随访开始时间"
align=
"center"
>
...
...
@@ -92,6 +93,7 @@
align=
"center"
>
</el-table-column>
<el-table-column
width=
"190"
fixed=
"right"
label=
"操作"
align=
"center"
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录