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
提交
80ea64fe
提交
80ea64fe
编写于
7月 06, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
问诊优化
上级
21eb2890
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
231 行增加
和
32 行删除
+231
-32
coordinating-doctor.vue
src/components/common/coordinating-doctor.vue
+6
-7
diagnosis-time.vue
src/components/common/diagnosis-time.vue
+115
-0
followup.vue
src/components/common/followup.vue
+4
-5
match.vue
src/components/common/match.vue
+36
-6
refund.vue
src/components/common/refund.vue
+4
-5
table-c.vue
src/components/list/table-c.vue
+5
-5
index.js
src/utils/diagnosis/index.js
+16
-0
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+45
-4
未找到文件。
src/components/common/coordinating-doctor.vue
浏览文件 @
80ea64fe
...
@@ -13,9 +13,9 @@
...
@@ -13,9 +13,9 @@
size=
"mini"
size=
"mini"
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<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.
coordinatedRemark
"
style=
"width: 90%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入备注"
></el-input>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
...
@@ -42,14 +42,13 @@ export default {
...
@@ -42,14 +42,13 @@ export default {
cancleTxt
:
''
,
cancleTxt
:
''
,
_promise
:
null
,
_promise
:
null
,
model
:{
model
:{
userName
:
""
,
coordinatedRemark
:
""
title
:
""
},
},
commissionTypeList
:[],
commissionTypeList
:[],
addRules
:{
addRules
:{
userName
:
[
// coordinatedRemark
: [
{
required
:
true
,
message
:
"请输入稍后跟进原因
"
,
trigger
:
'blur'
}
// {required: true, message: "(选填)请输入备注信息
", trigger: 'blur'}
]
//
]
}
}
}
}
},
},
...
...
src/components/common/diagnosis-time.vue
0 → 100644
浏览文件 @
80ea64fe
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"appointmentTimeVisible"
>
<!--
<el-row
:gutter=
"30"
class=
"row search"
type=
"flex"
style=
"margin-bottom:0;"
>
-->
<el-form
ref=
"setForm"
:rules=
"addRules"
:model=
"model"
label-width=
"250px"
label-suffix=
":"
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-form-item
label=
"助诊意向时间"
>
<el-date-picker
v-model=
"rangeTime"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions1"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"备注"
class=
"required-label"
>
<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-col>
</el-form-item>
</el-form>
<!--
</el-row>
-->
<span
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirm"
>
确定
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'appointmentTimeVisible'
],
data
()
{
return
{
show
:
false
,
title
:
'设置预约时间(问诊时间)'
,
confirmTxt
:
'确定'
,
cancleTxt
:
''
,
_promise
:
null
,
model
:{
assistantRemark
:
""
},
rangeTime
:
''
,
addRules
:{
userName
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
},
pickerOptions1
:
{
disabledDate
:
time
=>
{
return
(
time
.
getTime
()
>
new
Date
().
getTime
()
);
//减去一天的时间代表可以选择同一天;
}
},
}
},
created
()
{},
methods
:
{
reset
()
{
this
.
title
=
''
this
.
confirmTxt
=
'确定'
this
.
cancleTxt
=
''
this
.
_promise
=
null
},
init
(
obj
=
{})
{
Object
.
assign
(
this
,
obj
)
this
.
show
=
true
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
_promise
=
{
resolve
,
reject
};
})
},
async
cancle
()
{
this
.
show
=
false
await
this
.
_promise
.
reject
&&
this
.
_promise
.
reject
()
this
.
reset
()
},
async
confirm
()
{
this
.
show
=
false
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
this
.
reset
()
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
this
.
$emit
(
'update:appointmentTimeVisible'
,
false
);
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
src/components/common/followup.vue
浏览文件 @
80ea64fe
...
@@ -13,9 +13,9 @@
...
@@ -13,9 +13,9 @@
size=
"mini"
size=
"mini"
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<el-form-item
label=
"稍后跟进原因"
class=
"required-label"
prop=
"
userName
"
>
<el-form-item
label=
"稍后跟进原因"
class=
"required-label"
prop=
"
toFollowReason
"
>
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.
userName
"
style=
"width: 130%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入原因"
></el-input>
<el-input
type=
"textarea"
v-model=
"model.
toFollowReason
"
style=
"width: 130%;"
size=
"small"
minlength=
"2"
maxlength=
"500"
placeholder=
"请输入原因"
></el-input>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
...
@@ -43,11 +43,10 @@ export default {
...
@@ -43,11 +43,10 @@ export default {
cancleTxt
:
''
,
cancleTxt
:
''
,
_promise
:
null
,
_promise
:
null
,
model
:{
model
:{
userName
:
""
,
toFollowReason
:
""
title
:
""
},
},
addRules
:{
addRules
:{
userName
:
[
toFollowReason
:
[
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
"请输入稍后跟进原因"
,
trigger
:
'blur'
}
]
]
}
}
...
...
src/components/common/match.vue
浏览文件 @
80ea64fe
...
@@ -40,9 +40,23 @@
...
@@ -40,9 +40,23 @@
<!-- 实际收入(接诊后实际到账金额): ¥
{{
tempPrice
|
rounding
}}
-->
<!-- 实际收入(接诊后实际到账金额): ¥
{{
tempPrice
|
rounding
}}
-->
<!--
</el-col>
-->
<!--
</el-col>
-->
<el-form-item
label=
"运营名称"
class=
"required-label"
prop=
"
use
rName"
>
<el-form-item
label=
"运营名称"
class=
"required-label"
prop=
"
operato
rName"
>
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
<el-input
v-model=
"model.userName"
style=
"width: 130%;"
size=
"small"
></el-input>
<el-select
v-model=
"model.operatorName"
placeholder=
"请选择运营名称"
filterable
clearable
style=
"width:110%;height: 32px;line-height: 32px;"
>
<el-option
v-for=
"item in adminList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
...
@@ -70,17 +84,20 @@ export default {
...
@@ -70,17 +84,20 @@ export default {
cancleTxt
:
''
,
cancleTxt
:
''
,
_promise
:
null
,
_promise
:
null
,
model
:{
model
:{
use
rName
:
""
,
operato
rName
:
""
,
title
:
""
operatorId
:
""
},
},
adminList
:
''
,
addRules
:{
addRules
:{
use
rName
:
[
operato
rName
:
[
{
required
:
true
,
message
:
"请输入运营名称"
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
"请输入运营名称"
,
trigger
:
'blur'
}
]
]
}
}
}
}
},
},
created
()
{},
created
()
{
this
.
getAdminList
();
},
methods
:
{
methods
:
{
reset
()
{
reset
()
{
this
.
title
=
''
this
.
title
=
''
...
@@ -114,6 +131,19 @@ export default {
...
@@ -114,6 +131,19 @@ export default {
},
},
cancel
(){
cancel
(){
this
.
$emit
(
'update:matchVisible'
,
false
);
this
.
$emit
(
'update:matchVisible'
,
false
);
},
getAdminList
(){
let
url
=
`/api/PICAUserServiceImpl/queryAdmin.validate`
let
params
=
{
"token"
:
localStorage
.
getItem
(
"storageToken"
)
};
this
.
loading
=
true
;
this
.
OLD_POST
(
url
,
params
).
then
(
res
=>
{
this
.
loading
=
false
if
(
res
.
code
==
"000000"
)
{
this
.
adminList
=
res
.
data
.
adminList
;
}
});
}
}
}
}
}
}
...
...
src/components/common/refund.vue
浏览文件 @
80ea64fe
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
<div
style=
"margin-bottom: 20px;margin-top: -20px;text-align: center;"
><span
style=
"color: red;"
>
温馨提示:订单一旦退款,订单关联的预约单将被同步取消,请谨慎操作退款
</span></div>
<div
style=
"margin-bottom: 20px;margin-top: -20px;text-align: center;"
><span
style=
"color: red;"
>
温馨提示:订单一旦退款,订单关联的预约单将被同步取消,请谨慎操作退款
</span></div>
<el-form-item
label=
"退款原因"
class=
"required-label"
prop=
"
userName
"
>
<el-form-item
label=
"退款原因"
class=
"required-label"
prop=
"
refundReason
"
>
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
<el-input
type=
"textarea"
v-model=
"model.
userName
"
style=
"width: 130%;"
size=
"small"
placeholder=
"请输入原因"
></el-input>
<el-input
type=
"textarea"
v-model=
"model.
refundReason
"
style=
"width: 130%;"
size=
"small"
placeholder=
"请输入原因"
></el-input>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
...
@@ -45,11 +45,10 @@ export default {
...
@@ -45,11 +45,10 @@ export default {
cancleTxt
:
''
,
cancleTxt
:
''
,
_promise
:
null
,
_promise
:
null
,
model
:{
model
:{
userName
:
""
,
refundReason
:
""
title
:
""
},
},
addRules
:{
addRules
:{
userName
:
[
refundReason
:
[
{
required
:
true
,
message
:
"请输入退款原因"
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
"请输入退款原因"
,
trigger
:
'blur'
}
]
]
}
}
...
...
src/components/list/table-c.vue
浏览文件 @
80ea64fe
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,25)"
@
click=
"witeDiagnose(scope.row)"
>
设为待问诊
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,25)"
@
click=
"witeDiagnose(scope.row)"
>
设为待问诊
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,21,22,23,24,25,26,3)"
@
click=
"changeRun(scope.row)"
>
更换运营
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,21,22,23,24,25,26,3)"
@
click=
"changeRun(scope.row)"
>
更换运营
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
@
click=
"goDetail(scope.row)"
>
查看详情
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
@
click=
"goDetail(scope.row)"
>
查看详情
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,2,21,22,23,24,25,26,3,4)"
@
click=
"
goDetail
(scope.row)"
>
取消/退款
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,2,21,22,23,24,25,26,3,4)"
@
click=
"
cancelBtn
(scope.row)"
>
取消/退款
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,21)"
@
click=
"witeGo(scope.row)"
>
设为稍后跟进
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,21)"
@
click=
"witeGo(scope.row)"
>
设为稍后跟进
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,21,22)"
@
click=
"waitMatchDot(scope.row)"
>
设为待匹配医生
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,21,22)"
@
click=
"waitMatchDot(scope.row)"
>
设为待匹配医生
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3,4,5,6,21,22,23,24,25,26)"
@
click=
"sendMessage(scope.row)"
>
发送消息
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3,4,5,6,21,22,23,24,25,26)"
@
click=
"sendMessage(scope.row)"
>
发送消息
</el-button>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3,25,26)"
@
click=
"reMatchDot(scope.row)"
>
重新匹配医生
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3,25,26)"
@
click=
"reMatchDot(scope.row)"
>
重新匹配医生
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3,26)"
@
click=
"changeTime(scope.row)"
>
修改时间
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3,26)"
@
click=
"changeTime(scope.row)"
>
修改时间
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,26)"
@
click=
"call(scope.row)"
>
发起问诊
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,26)"
@
click=
"call(scope.row)"
>
发起问诊
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3)"
@
click=
"doneHandle(scope.row)"
>
设为已完成
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3)"
@
click=
"doneHandle(scope.row)"
>
设为已完成
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -105,11 +105,11 @@ export default {
...
@@ -105,11 +105,11 @@ export default {
};
};
},
},
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
showBtn
(
row
,...
arr
)
{
showBtn
(
row
,...
arr
)
{
return
arr
.
includes
(
row
.
status
)
return
arr
.
includes
(
row
.
status
)
},
},
// 选择
// 选择
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
this
.
$emit
(
"reMatchDot"
,
row
);
this
.
$emit
(
"reMatchDot"
,
row
);
},
},
//修改时间
//修改时间
changeTime
(
row
)
{
changeTime
(
row
)
{
this
.
$emit
(
"changeTime"
,
row
);
this
.
$emit
(
"changeTime"
,
row
);
},
},
//发起问诊
//发起问诊
...
...
src/utils/diagnosis/index.js
0 → 100644
浏览文件 @
80ea64fe
import
fetch
from
'../fetch'
;
import
{
getBaseUrl
}
from
'@/utils/index'
let
headers
=
{
'Content-Type'
:
'application/json;charset=UTF-8'
,
token
:
localStorage
.
getItem
(
'storageToken'
),
};
/*查询运费配置信息*/
export
const
updateDiagnosis
=
()
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`/trade/coupon/express/fee/admin`
),
method
:
'get'
,
description
:
'查询运费配置信息'
,
});
};
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
80ea64fe
...
@@ -219,6 +219,14 @@
...
@@ -219,6 +219,14 @@
></table-component>
></table-component>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
<match-component
:matchVisible
.
sync=
"matchVisible"
></match-component>
<refund-component
:refundVisible
.
sync=
"refundVisible"
></refund-component>
<followup-component
:followupVisible
.
sync=
"followupVisible"
></followup-component>
<matching-doctor
:doctorVisible
.
sync=
"doctorVisible"
></matching-doctor>
<diagnosis-component
:diagnosisVisible
.
sync=
"diagnosisVisible"
></diagnosis-component>
<coordinating-doctor
:coordinatingVisible
.
sync=
"coordinatingVisible"
></coordinating-doctor>
<diagnosis-doctor
:diagnosisDoctorVisible
.
sync=
"diagnosisDoctorVisible"
></diagnosis-doctor>
<appointment-time
:appointmentTimeVisible
.
sync=
"appointmentTimeVisible"
></appointment-time>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -233,9 +241,25 @@ import {
...
@@ -233,9 +241,25 @@ import {
RECEPTION_TAB_LIST
,
RECEPTION_TAB_LIST
,
RUN_TAB_LIST
RUN_TAB_LIST
}
from
"@/utils/constants"
;
}
from
"@/utils/constants"
;
import
MatchComponent
from
'@/components/common/match'
import
RefundComponent
from
'@/components/common/refund'
import
FollowupComponent
from
"../../../components/common/followup"
;
import
MatchingDoctor
from
"../../../components/common/matching-doctor"
import
DiagnosisComponent
from
"../../../components/common/diagnosis"
import
CoordinatingDoctor
from
"../../../components/common/coordinating-doctor"
import
DiagnosisDoctor
from
"../../../components/common/diagnosis-doctor"
import
AppointmentTime
from
"../../../components/common/appointment-time"
export
default
{
export
default
{
components
:
{
components
:
{
TableComponent
,
TableComponent
,
FollowupComponent
,
MatchComponent
,
RefundComponent
,
MatchingDoctor
,
DiagnosisComponent
,
CoordinatingDoctor
,
DiagnosisDoctor
,
AppointmentTime
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -274,6 +298,14 @@ export default {
...
@@ -274,6 +298,14 @@ export default {
totalRows
:
0
,
totalRows
:
0
,
timeClickFlag
:
true
,
timeClickFlag
:
true
,
tableHeight
:
500
,
tableHeight
:
500
,
matchVisible
:
false
,
refundVisible
:
false
,
followupVisible
:
false
,
doctorVisible
:
false
,
diagnosisVisible
:
false
,
coordinatingVisible
:
false
,
diagnosisDoctorVisible
:
false
,
appointmentTimeVisible
:
false
,
pickerOptions1
:
{
pickerOptions1
:
{
disabledDate
:
(
time
)
=>
{
disabledDate
:
(
time
)
=>
{
return
time
.
getTime
()
>
new
Date
().
getTime
();
//减去一天的时间代表可以选择同一天;
return
time
.
getTime
()
>
new
Date
().
getTime
();
//减去一天的时间代表可以选择同一天;
...
@@ -382,11 +414,20 @@ export default {
...
@@ -382,11 +414,20 @@ export default {
//设为待问诊
//设为待问诊
witeDiagnose
(
row
)
{},
witeDiagnose
(
row
)
{},
//更换运营
//更换运营
changeRun
(
row
)
{},
changeRun
(
row
)
{
this
.
matchVisible
=
true
;
},
//查看详情
//查看详情
goDetail
(
row
)
{},
goDetail
(
row
)
{
this
.
$router
.
push
({
path
:
"/diagnosis-editor"
,
query
:
{
id
:
row
.
diagnoseLogId
,
editorType
:
false
},
});
},
//取消/退款
//取消/退款
cancelBtn
(
row
)
{},
cancelBtn
(
row
)
{
this
.
refundVisible
=
true
;
},
//设为稍后跟进
//设为稍后跟进
witeGo
(
row
)
{},
witeGo
(
row
)
{},
//设为待匹配医生
//设为待匹配医生
...
@@ -434,7 +475,7 @@ export default {
...
@@ -434,7 +475,7 @@ export default {
sessionStorage
.
removeItem
(
"TIME_loseTime"
);
sessionStorage
.
removeItem
(
"TIME_loseTime"
);
},
},
// 取消预约
// 取消预约
cancelBtn
(
row
)
{},
//
cancelBtn(row) {},
},
},
};
};
</
script
>
</
script
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录