4.7提交

This commit is contained in:
zoujiandong
2024-04-07 13:58:23 +08:00
parent 1115e4e060
commit 1d4619efe7
16 changed files with 521 additions and 66 deletions
+60 -6
View File
@@ -912,7 +912,7 @@ getJob() {//获取职业
}
getServiceConfig(params) {//获取医生问诊配置-服务设置
return this.request({
url: `${this.baseUrl}/doctor/inquiry/config/service`,
url: `${this.baseUrl}/doctor/inquiry/config/difficult`,
method: 'GET',
data: {
...params
@@ -922,7 +922,7 @@ getServiceConfig(params) {//获取医生问诊配置-服务设置
postServiceConfig(params) {//新增医生问诊配置-服务设置
return this.request({
url: `${this.baseUrl}/doctor/inquiry/config/service`,
url: `${this.baseUrl}/doctor/inquiry/config/difficult`,
method: 'POST',
data: {
...params
@@ -931,7 +931,7 @@ postServiceConfig(params) {//新增医生问诊配置-服务设置
}
putServiceConfig(params,id) {//修改医生问诊配置-服务设置
return this.request({
url: `${this.baseUrl}/doctor/inquiry/config/service/${id}`,
url: `${this.baseUrl}/doctor/inquiry/config/difficult/${id}`,
method: 'PUT',
data: {
...params
@@ -1005,13 +1005,67 @@ postServiceConfig(params) {//新增医生问诊配置-服务设置
method: 'GET'
})
}
getDoctorService(params){
getOpen(params){//获取医生问诊服务开启状态
return this.request({
url: `${this.baseUrl}/doctor/inquiry/service/${params}`,
method: 'GET'
url: `${this.baseUrl}/doctor/inquiry/config/open`,
method: 'GET',
data: {
...params
}
})
}
getSysconfig(params){
return this.request({//获取系统问诊配置
url: `${this.baseUrl}/system/inquiry/config`,
method: 'GET',
data: {
...params
}
})
}
getFollow(params){
return this.request({//获取医生问诊配置-随访包
url: `${this.baseUrl}/doctor/inquiry/config/follow`,
method: 'GET',
data: {
...params
}
})
}
postFollow(params){
return this.request({//新增医生问诊配置-随访包
url: `${this.baseUrl}/doctor/inquiry/config/follow`,
method: 'POST',
data: {
...params
}
})
}
getFollowDetail(){
return this.request({//获取医生问诊配置-随访包-明细
url: `${this.baseUrl}/doctor/inquiry/config/follow/item`,
method: 'GET'
})
}
editFollow(params){
return this.request({//修改医生问诊配置-随访包
url: `${this.baseUrl}/doctor/inquiry/config/follow`,
method: 'PUT',
data: {
...params
}
})
}
getHealthy(){
return this.request({//获取医生问诊配置-健康包
url: `${this.baseUrl}/doctor/inquiry/config/health`,
method: 'GET'
})
}
}
export { API }