Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-consultation
提交
a32c929f
提交
a32c929f
编写于
7月 06, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
设置预约时间
上级
3f963ca3
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
193 行增加
和
91 行删除
+193
-91
diagnosis-time.vue
src/components/common/diagnosis-time.vue
+53
-23
followup.vue
src/components/common/followup.vue
+36
-13
matching-doctor.vue
src/components/common/matching-doctor.vue
+69
-34
refund.vue
src/components/common/refund.vue
+9
-15
index.js
src/utils/diagnosis/index.js
+10
-0
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+16
-6
未找到文件。
src/components/common/diagnosis-time.vue
浏览文件 @
a32c929f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div>
<div>
<el-dialog
<el-dialog
:title=
"title"
:title=
"title"
:visible
.
sync=
"
appointment
TimeVisible"
>
:visible
.
sync=
"
diagnosis
TimeVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
<el-form
ref=
"setForm"
:rules=
"addRules"
:rules=
"addRules"
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
size=
"mini"
size=
"mini"
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<el-form-item
label=
"助诊意向时间"
>
<el-form-item
label=
"助诊意向时间"
class=
"required-label"
>
<el-date-picker
<el-date-picker
v-model=
"rangeTime"
v-model=
"rangeTime"
type=
"daterange"
type=
"daterange"
...
@@ -27,7 +27,8 @@
...
@@ -27,7 +27,8 @@
<el-form-item
label=
"备注"
class=
"required-label"
>
<el-form-item
label=
"备注"
class=
"required-label"
>
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.assistantRemark"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注"
></el-input>
<el-input
type=
"textarea"
v-model=
"model.assistantRemark"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注"
></el-input>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -41,10 +42,19 @@
...
@@ -41,10 +42,19 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
updateDiagnosis
}
from
"../../utils/diagnosis"
;
let
vm
=
null
;
export
default
{
export
default
{
props
:[
props
:
{
'appointmentTimeVisible'
diagnosisTimeVisible
:
{
],
type
:
Boolean
,
default
:
false
},
diagnoseLogId
:
{
type
:
Number
,
default
:
0
}
},
data
()
{
data
()
{
return
{
return
{
show
:
false
,
show
:
false
,
...
@@ -52,13 +62,13 @@ export default {
...
@@ -52,13 +62,13 @@ export default {
confirmTxt
:
'确定'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
cancleTxt
:
''
,
_promise
:
null
,
_promise
:
null
,
model
:{
model
:
{
assistantRemark
:
""
assistantRemark
:
""
},
},
rangeTime
:
''
,
rangeTime
:
''
,
addRules
:{
addRules
:
{
userNa
me
:
[
rangeTi
me
:
[
{
required
:
true
,
message
:
"请
输入稍后跟进原因
"
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
"请
选择助诊意向时间
"
,
trigger
:
'blur'
}
]
]
},
},
pickerOptions1
:
{
pickerOptions1
:
{
...
@@ -70,18 +80,20 @@ export default {
...
@@ -70,18 +80,20 @@ export default {
},
},
}
}
},
},
created
()
{},
created
()
{
vm
=
this
;
},
methods
:
{
methods
:
{
reset
()
{
reset
()
{
this
.
title
=
''
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
cancleTxt
=
''
this
.
_promise
=
null
this
.
_promise
=
null
},
},
init
(
obj
=
{})
{
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
this
.
_promise
=
{
resolve
,
resolve
,
reject
reject
...
@@ -93,17 +105,35 @@ export default {
...
@@ -93,17 +105,35 @@ export default {
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
this
.
reset
()
},
},
async
confirm
()
{
confirm
()
{
this
.
show
=
false
this
.
$refs
.
setForm
.
validate
((
valid
)
=>
{
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
if
(
valid
)
{
this
.
reset
()
let
req
=
{
id
:
this
.
diagnoseLogId
,
bizType
:
5
,
assistantBeginTime
:
this
.
rangeTime
[
0
],
assistantEndTime
:
this
.
rangeTime
[
1
],
assistantRemark
:
this
.
model
.
assistantRemark
}
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
cancel
();
vm
.
$emit
(
'search'
);
}
else
{
vm
.
$message
.
error
(
res
.
message
);
}
}).
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
res
.
message
);
});
}
})
},
},
hide
()
{
hide
()
{
this
.
show
=
false
this
.
show
=
false
this
.
reset
()
this
.
reset
()
},
},
cancel
(){
cancel
()
{
this
.
$emit
(
'update:
appointment
TimeVisible'
,
false
);
this
.
$emit
(
'update:
diagnosis
TimeVisible'
,
false
);
}
}
}
}
}
}
...
...
src/components/common/followup.vue
浏览文件 @
a32c929f
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
</el-form>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
...
@@ -31,10 +30,19 @@
...
@@ -31,10 +30,19 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
updateDiagnosis
}
from
"../../utils/diagnosis"
;
let
vm
=
null
;
export
default
{
export
default
{
props
:[
props
:
{
'followupVisible'
followupVisible
:
{
],
type
:
Boolean
,
default
:
false
},
diagnoseLogId
:
{
type
:
Number
,
default
:
0
}
},
data
()
{
data
()
{
return
{
return
{
show
:
false
,
show
:
false
,
...
@@ -52,7 +60,9 @@ export default {
...
@@ -52,7 +60,9 @@ export default {
}
}
}
}
},
},
created
()
{},
created
()
{
vm
=
this
;
},
methods
:
{
methods
:
{
reset
()
{
reset
()
{
this
.
title
=
''
this
.
title
=
''
...
@@ -75,14 +85,27 @@ export default {
...
@@ -75,14 +85,27 @@ export default {
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
this
.
reset
()
},
},
async
confirm
()
{
confirm
()
{
this
.
show
=
false
this
.
$refs
.
setForm
.
validate
((
valid
)
=>
{
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
if
(
valid
)
{
this
.
reset
()
let
req
=
{
},
id
:
this
.
diagnoseLogId
,
hide
()
{
bizType
:
4
,
this
.
show
=
false
toFollowReason
:
this
.
model
.
toFollowReason
this
.
reset
()
}
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
cancel
();
vm
.
$emit
(
'search'
);
}
else
{
vm
.
$message
.
error
(
res
.
message
);
}
}).
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
res
.
message
);
});
}
})
},
},
cancel
(){
cancel
(){
this
.
$emit
(
'update:followupVisible'
,
false
);
this
.
$emit
(
'update:followupVisible'
,
false
);
...
...
src/components/common/matching-doctor.vue
浏览文件 @
a32c929f
...
@@ -15,24 +15,25 @@
...
@@ -15,24 +15,25 @@
<el-form-item
label=
"分诊科室"
>
<el-form-item
label=
"分诊科室"
>
<el-select
<el-select
v-model=
"model.commissionType"
v-model=
"model.triageDepartmentId"
id=
"statusSelector"
placeholder=
"请选择分诊科室"
placeholder=
"请选择分诊科室"
clearable
clearable
filterable
style=
"width:56%;height: 32px;line-height: 32px;"
style=
"width:56%;height: 32px;line-height: 32px;"
>
>
<el-option
<el-option
v-for=
"item in
commissionType
List"
v-for=
"item in
dep
List"
:key=
"item.
value
"
:key=
"item.
id
"
:label=
"item.
label
"
:label=
"item.
name
"
:value=
"item.
value
"
:value=
"item.
id
"
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注"
class=
"required-label"
prop=
"userName"
>
<el-form-item
label=
"备注"
class=
"required-label"
>
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.userName"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注"
></el-input>
<el-input
type=
"textarea"
v-model=
"model.assistantRemark"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注"
></el-input>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
...
@@ -47,10 +48,19 @@
...
@@ -47,10 +48,19 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
updateDiagnosis
,
getDepList
}
from
"../../utils/diagnosis"
;
let
vm
=
null
;
export
default
{
export
default
{
props
:[
props
:
{
'doctorVisible'
doctorVisible
:
{
],
type
:
Boolean
,
default
:
false
},
diagnoseLogId
:
{
type
:
Number
,
default
:
0
}
},
data
()
{
data
()
{
return
{
return
{
show
:
false
,
show
:
false
,
...
@@ -58,30 +68,42 @@ export default {
...
@@ -58,30 +68,42 @@ export default {
confirmTxt
:
'确定'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
cancleTxt
:
''
,
_promise
:
null
,
_promise
:
null
,
model
:{
depList
:
[],
userName
:
""
,
model
:
{
title
:
""
assistantRemark
:
""
,
triageDepartmentId
:
""
,
triageDepartment
:
""
},
},
commissionTypeList
:[],
commissionTypeList
:
[],
addRules
:{
addRules
:
{}
userName
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
}
}
}
},
},
created
()
{},
created
()
{
vm
=
this
;
this
.
getDepList
();
},
methods
:
{
methods
:
{
getDepList
()
{
getDepList
().
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
depList
=
res
.
data
;
}
else
{
vm
.
$message
.
error
(
res
.
message
);
}
}).
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
res
.
message
);
});
},
reset
()
{
reset
()
{
this
.
title
=
''
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
cancleTxt
=
''
this
.
_promise
=
null
this
.
_promise
=
null
},
},
init
(
obj
=
{})
{
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
this
.
_promise
=
{
resolve
,
resolve
,
reject
reject
...
@@ -93,16 +115,29 @@ export default {
...
@@ -93,16 +115,29 @@ export default {
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
this
.
reset
()
},
},
async
confirm
()
{
confirm
()
{
this
.
show
=
false
this
.
$refs
.
setForm
.
validate
((
valid
)
=>
{
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
if
(
valid
)
{
this
.
reset
()
let
req
=
{
},
id
:
this
.
diagnoseLogId
,
hide
()
{
bizType
:
5
,
this
.
show
=
false
assistantRemark
:
this
.
model
.
assistantRemark
this
.
reset
()
}
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
cancel
();
vm
.
$emit
(
'search'
);
}
else
{
vm
.
$message
.
error
(
res
.
message
);
}
}).
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
res
.
message
);
});
}
})
},
},
cancel
(){
cancel
()
{
this
.
$emit
(
'update:doctorVisible'
,
false
);
this
.
$emit
(
'update:doctorVisible'
,
false
);
}
}
}
}
...
...
src/components/common/refund.vue
浏览文件 @
a32c929f
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<
script
>
<
script
>
import
{
updateDiagnosis
}
from
'../../utils/diagnosis'
;
import
{
updateDiagnosis
}
from
'../../utils/diagnosis'
;
let
vm
=
null
;
export
default
{
export
default
{
props
:
{
props
:
{
refundVisible
:{
refundVisible
:{
...
@@ -63,7 +63,9 @@ export default {
...
@@ -63,7 +63,9 @@ export default {
}
}
}
}
},
},
created
()
{},
created
()
{
vm
=
this
;
},
methods
:
{
methods
:
{
confirm
()
{
confirm
()
{
let
req
=
{
let
req
=
{
...
@@ -71,23 +73,15 @@ export default {
...
@@ -71,23 +73,15 @@ export default {
bizType
:
2
,
bizType
:
2
,
refundReason
:
this
.
model
.
refundReason
refundReason
:
this
.
model
.
refundReason
}
}
// this.loading = true;
// let url = `/diagnose/admin/diagnose/model/save`;
// this.POST(url, req).then((res) => {
// this.loading = false;
// if (res.code == "000000") {
// // this.tableData = res.data.list;
// // this.totalRows = res.data.allSize;
// }
// });
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
cancel
();
// vm.formData = res.data;
vm
.
$emit
(
'search'
);
}
else
{
vm
.
$message
.
error
(
res
.
message
);
}
}
}).
catch
(
function
(
error
)
{
}).
catch
(
function
(
error
)
{
// vm.$message.error(error
);
vm
.
$message
.
error
(
res
.
message
);
});
});
},
},
cancel
(){
cancel
(){
...
...
src/utils/diagnosis/index.js
浏览文件 @
a32c929f
...
@@ -27,3 +27,13 @@ export const batchSetOperator = (params) => {
...
@@ -27,3 +27,13 @@ export const batchSetOperator = (params) => {
})
})
};
};
/*科室*/
export
const
getDepList
=
()
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`/hospital/departments/0`
),
method
:
'get'
,
description
:
'获得科室'
,
})
};
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
a32c929f
...
@@ -222,13 +222,14 @@
...
@@ -222,13 +222,14 @@
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
<match-component
@
search=
"search"
:matchVisible
.
sync=
"matchVisible"
:diagnoseLogId=
"diagnoseLogId"
:batchFlag=
"batchFlag"
:multipleSelection=
"multipleSelection"
></match-component>
<match-component
@
search=
"search"
:matchVisible
.
sync=
"matchVisible"
:diagnoseLogId=
"diagnoseLogId"
:batchFlag=
"batchFlag"
:multipleSelection=
"multipleSelection"
></match-component>
<refund-component
:refundVisible
.
sync=
"refundVisible"
:diagnoseLogId=
"diagnoseLogId"
></refund-component>
<refund-component
@
search=
"search"
:refundVisible
.
sync=
"refundVisible"
:diagnoseLogId=
"diagnoseLogId"
></refund-component>
<followup-component
:followupVisible
.
sync=
"followupVisible
"
></followup-component>
<followup-component
@
search=
"search"
:followupVisible
.
sync=
"followupVisible"
:diagnoseLogId=
"diagnoseLogId
"
></followup-component>
<matching-doctor
:doctorVisible
.
sync=
"doctorVisible
"
></matching-doctor>
<matching-doctor
@
search=
"search"
:doctorVisible
.
sync=
"doctorVisible"
:diagnoseLogId=
"diagnoseLogId
"
></matching-doctor>
<diagnosis-component
:diagnosisVisible
.
sync=
"diagnosisVisible"
></diagnosis-component>
<diagnosis-component
:diagnosisVisible
.
sync=
"diagnosisVisible"
></diagnosis-component>
<coordinating-doctor
:coordinatingVisible
.
sync=
"coordinatingVisible"
></coordinating-doctor>
<coordinating-doctor
:coordinatingVisible
.
sync=
"coordinatingVisible"
></coordinating-doctor>
<diagnosis-doctor
:diagnosisDoctorVisible
.
sync=
"diagnosisDoctorVisible"
></diagnosis-doctor>
<diagnosis-doctor
:diagnosisDoctorVisible
.
sync=
"diagnosisDoctorVisible"
></diagnosis-doctor>
<appointment-time
:appointmentTimeVisible
.
sync=
"appointmentTimeVisible"
></appointment-time>
<appointment-time
:appointmentTimeVisible
.
sync=
"appointmentTimeVisible"
></appointment-time>
<diagnosis-time
:diagnosisTimeVisible
.
sync=
"diagnosisTimeVisible"
:diagnoseLogId=
"diagnoseLogId"
></diagnosis-time>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -254,6 +255,7 @@ import DiagnosisComponent from "../../../components/common/diagnosis"
...
@@ -254,6 +255,7 @@ import DiagnosisComponent from "../../../components/common/diagnosis"
import
CoordinatingDoctor
from
"../../../components/common/coordinating-doctor"
import
CoordinatingDoctor
from
"../../../components/common/coordinating-doctor"
import
DiagnosisDoctor
from
"../../../components/common/diagnosis-doctor"
import
DiagnosisDoctor
from
"../../../components/common/diagnosis-doctor"
import
AppointmentTime
from
"../../../components/common/appointment-time"
import
AppointmentTime
from
"../../../components/common/appointment-time"
import
DiagnosisTime
from
"../../../components/common/diagnosis-time"
export
default
{
export
default
{
components
:
{
components
:
{
TableComponent
,
TableComponent
,
...
@@ -264,7 +266,8 @@ export default {
...
@@ -264,7 +266,8 @@ export default {
DiagnosisComponent
,
DiagnosisComponent
,
CoordinatingDoctor
,
CoordinatingDoctor
,
DiagnosisDoctor
,
DiagnosisDoctor
,
AppointmentTime
AppointmentTime
,
DiagnosisTime
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -314,6 +317,7 @@ export default {
...
@@ -314,6 +317,7 @@ export default {
coordinatingVisible
:
false
,
coordinatingVisible
:
false
,
diagnosisDoctorVisible
:
false
,
diagnosisDoctorVisible
:
false
,
appointmentTimeVisible
:
false
,
appointmentTimeVisible
:
false
,
diagnosisTimeVisible
:
false
,
multipleSelection
:[],
multipleSelection
:[],
batchFlag
:
false
,
batchFlag
:
false
,
pickerOptions1
:
{
pickerOptions1
:
{
...
@@ -471,9 +475,15 @@ export default {
...
@@ -471,9 +475,15 @@ export default {
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
},
},
//设为稍后跟进
//设为稍后跟进
witeGo
(
row
)
{},
witeGo
(
row
)
{
this
.
followupVisible
=
true
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
},
//设为待匹配医生
//设为待匹配医生
waitMatchDot
(
row
)
{},
waitMatchDot
(
row
)
{
this
.
diagnosisTimeVisible
=
true
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
},
//发送消息
//发送消息
sendMessage
(
row
)
{},
sendMessage
(
row
)
{},
//加入问诊
//加入问诊
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录