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
提交
cd327079
提交
cd327079
编写于
4月 01, 2019
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
api修改
上级
57067da1
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
28 行增加
和
21 行删除
+28
-21
planManage.js
src/store/followup/planManage.js
+1
-1
recordManage.js
src/store/followup/recordManage.js
+2
-4
reservationManage.js
src/store/followup/reservationManage.js
+1
-2
followapis.js
src/utils/followup/followapis.js
+16
-7
change-followup-status.vue
.../followup/record-manage/dialog/change-followup-status.vue
+2
-2
record-list.vue
src/views/followup/record-manage/record-list.vue
+2
-1
change-reservation.vue
...followup/reservation-manage/dialog/change-reservation.vue
+2
-2
send-reservation.vue
...s/followup/reservation-manage/dialog/send-reservation.vue
+2
-2
未找到文件。
src/store/followup/planManage.js
浏览文件 @
cd327079
...
...
@@ -112,7 +112,7 @@ export default {
});
},
async
getPlanList
(
context
,
payload
)
{
await
followApi
.
getPlanList
({
await
getPlanList
({
...
payload
}).
then
(({
data
})
=>
{
context
.
commit
(
'GET_PLAN_LIST'
,
data
);
...
...
src/store/followup/recordManage.js
浏览文件 @
cd327079
import
{
getEnteringList
,
changeEnteringStatus
,
getEnteringInfo
}
from
'../../utils/followup/followapis'
import
{
getEnteringList
,
getEnteringInfo
}
from
'../../utils/followup/followapis'
export
default
{
namespaced
:
true
,
...
...
@@ -27,9 +27,7 @@ export default {
});
},
async
getEnteringInfo
(
context
,
payload
)
{
await
getEnteringInfo
({},
{
...
payload
}).
then
(({
data
})
=>
{
await
getEnteringInfo
(
payload
.
patientId
,
payload
.
fuPlanPatientTimesId
).
then
(({
data
})
=>
{
context
.
commit
(
'GET_ENTERING_INFO'
,
data
);
});
},
...
...
src/store/followup/reservationManage.js
浏览文件 @
cd327079
...
...
@@ -13,7 +13,7 @@ export default {
},
checkRevervationData
:
{},
//发送预约校验
constantsData
:
{},
//获取常量
getRevervationNum
:
null
,
getRevervationNum
:
null
,
//查看已预约人数
},
mutations
:
{
GET_RESERVATION_LIST
(
state
,
payload
)
{
...
...
@@ -59,7 +59,6 @@ export default {
...
payload
}).
then
(({
data
})
=>
{
context
.
commit
(
'GET_REVERVATION_NUM'
,
data
.
number
)
// this.reservationForm.hasReservedNumber = data.number;
})
},
// getConstantsData({commit}) {
...
...
src/utils/followup/followapis.js
浏览文件 @
cd327079
...
...
@@ -139,15 +139,24 @@ export const getReservationPatients = (params) => {
description
:
'查看预约人数'
,
})
};
export
const
changeReservationStatus
=
(
params
)
=>
{
export
const
changeReservationStatus
=
(
data
)
=>
{
return
fetch
({
headers
,
url
:
getFollowUpSC
(
`/
followup/
appoint/status/`
),
url
:
getFollowUpSC
(
`/appoint/status/`
),
method
:
'post'
,
params
:
'data'
,
data
:
data
,
description
:
'手动变更预约状态'
,
})
};
export
const
sendReservation
=
(
data
)
=>
{
return
fetch
({
headers
,
url
:
getFollowUpSC
(
`/appoint/`
),
method
:
'post'
,
data
:
data
,
description
:
'发送预约'
,
})
};
/*录入管理*/
export
const
getEnteringList
=
(
data
)
=>
{
return
fetch
({
...
...
@@ -163,23 +172,23 @@ export const changeEnteringStatus = (data) => {
headers
,
url
:
getFollowUpSC
(
`/followup/entering/status/change`
),
method
:
'post'
,
data
:
'data'
,
data
:
data
,
description
:
'变更随访状态'
,
},)
}
export
const
getEnteringInfo
=
(
patientId
,
fuPlanPatientTimesId
)
=>
{
return
fetch
({
headers
,
url
:
getFollowUpSC
(
`followup/entering/
${
patientId
}
/fuInfo/
${
fuPlanPatientTimesId
}
`
),
url
:
getFollowUpSC
(
`
/
followup/entering/
${
patientId
}
/fuInfo/
${
fuPlanPatientTimesId
}
`
),
method
:
'get'
,
params
:
'params'
,
// params: params
,
description
:
'随访单条信息查看'
,
},)
}
/*常量*/
export
const
getBasicData
=
(
data
)
=>
{
export
const
getBasicData
=
(
params
)
=>
{
return
fetch
({
headers
,
url
:
getFollowUpSC
(
`/basic-data/constants/`
),
...
...
src/views/followup/record-manage/dialog/change-followup-status.vue
浏览文件 @
cd327079
...
...
@@ -28,7 +28,7 @@
</div>
</
template
>
<
script
>
import
followApi
from
'@/utils/followup/followapis'
import
{
changeEnteringStatus
}
from
'@/utils/followup/followapis'
export
default
{
components
:
{},
data
(){
...
...
@@ -66,7 +66,7 @@
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
//后面更改为接口调用
followApi
.
changeEnteringStatus
({
changeEnteringStatus
({
info
:
{
fuPlanPatientTimesId
:
this
.
statusForm
.
fuPlanPatientTimesId
,
patientId
:
this
.
statusForm
.
patientId
,
...
...
src/views/followup/record-manage/record-list.vue
浏览文件 @
cd327079
...
...
@@ -180,7 +180,8 @@
this
.
search
(
1
);
},
async
visitDetail
(
row
){
await
this
.
getEnteringInfo
({
patientId
:
row
.
patientId
,
fuPlanPatientTimesId
:
row
.
fuPlanPatientTimesId
});
await
this
.
getEnteringInfo
({
patientId
:
row
.
patientId
,
fuPlanPatientTimesId
:
row
.
fuPlanPatientTimesId
});
//await this.getEnteringInfo({});
this
.
dialogDetailShow
=
true
;
// this.enteringRow = row;
...
...
src/views/followup/reservation-manage/dialog/change-reservation.vue
浏览文件 @
cd327079
...
...
@@ -61,7 +61,7 @@
</div>
</
template
>
<
script
>
import
followApi
from
'@/utils/followup/followapis'
import
{
changeReservationStatus
}
from
'@/utils/followup/followapis'
import
{
mapState
,
mapActions
}
from
'vuex'
export
default
{
components
:
{},
...
...
@@ -175,7 +175,7 @@
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
console
.
log
(
'保存的内容'
,
this
.
reservationForm
)
followApi
.
changeReservationStatus
({
changeReservationStatus
({
...
this
.
reservationForm
}).
then
(({
data
})
=>
{
this
.
$message
.
success
(
'变更成功!'
);
...
...
src/views/followup/reservation-manage/dialog/send-reservation.vue
浏览文件 @
cd327079
...
...
@@ -66,7 +66,7 @@
</div>
</
template
>
<
script
>
import
followApi
from
'@/utils/followup/followapis'
import
{
sendReservation
}
from
'@/utils/followup/followapis'
import
{
mapState
,
mapActions
}
from
'vuex'
export
default
{
components
:
{},
...
...
@@ -174,7 +174,7 @@
closeSendReserve
(
formName
){
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
followApi
.
sendReservation
({
sendReservation
({
...
this
.
reservationForm
,
patientAppointList
:
this
.
selectList
}).
then
(({
data
})
=>
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录