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
提交
4324b2c6
提交
4324b2c6
编写于
7月 06, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
问诊优化
上级
eca39963
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
63 行增加
和
26 行删除
+63
-26
match.vue
src/components/common/match.vue
+8
-6
refund.vue
src/components/common/refund.vue
+38
-9
table-c.vue
src/components/list/table-c.vue
+3
-3
index.js
src/utils/diagnosis/index.js
+8
-6
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+6
-2
未找到文件。
src/components/common/match.vue
浏览文件 @
4324b2c6
...
@@ -52,9 +52,9 @@
...
@@ -52,9 +52,9 @@
>
>
<el-option
<el-option
v-for=
"item in adminList"
v-for=
"item in adminList"
: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-col>
</el-col>
...
@@ -72,6 +72,8 @@
...
@@ -72,6 +72,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
updateDiagnosis
}
from
'../../utils/diagnosis'
;
export
default
{
export
default
{
props
:[
props
:[
'matchVisible'
'matchVisible'
...
@@ -133,15 +135,15 @@ export default {
...
@@ -133,15 +135,15 @@ export default {
this
.
$emit
(
'update:matchVisible'
,
false
);
this
.
$emit
(
'update:matchVisible'
,
false
);
},
},
getAdminList
(){
getAdminList
(){
let
url
=
`/
api/PICAUserServiceImpl/queryAdmin.validate
`
let
url
=
`/
diagnose/admin/diagnose/operator/query
`
let
params
=
{
let
params
=
{
"token"
:
localStorage
.
getItem
(
"storageToken"
)
"token"
:
localStorage
.
getItem
(
"storageToken"
)
};
};
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
OLD_POST
(
url
,
params
).
then
(
res
=>
{
this
.
GET
(
url
,
null
).
then
(
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
this
.
adminList
=
res
.
data
.
adminList
;
this
.
adminList
=
res
.
data
;
}
}
});
});
}
}
...
...
src/components/common/refund.vue
浏览文件 @
4324b2c6
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
size=
"mini"
size=
"mini"
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<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:
#ff0000
;"
>
温馨提示:订单一旦退款,订单关联的预约单将被同步取消,请谨慎操作退款
</span></div>
<el-form-item
label=
"退款原因"
class=
"required-label"
prop=
"refundReason"
>
<el-form-item
label=
"退款原因"
class=
"required-label"
prop=
"refundReason"
>
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
...
@@ -33,10 +33,19 @@
...
@@ -33,10 +33,19 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
updateDiagnosis
}
from
'../../utils/diagnosis'
;
export
default
{
export
default
{
props
:[
props
:
{
'refundVisible'
refundVisible
:{
],
type
:
Boolean
,
default
:
false
},
diagnoseLogId
:
{
type
:
String
,
default
:
''
}
},
data
()
{
data
()
{
return
{
return
{
show
:
false
,
show
:
false
,
...
@@ -77,10 +86,30 @@ export default {
...
@@ -77,10 +86,30 @@ 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
let
req
=
{
await
this
.
_promise
.
resolve
&&
this
.
_promise
.
resolve
()
id
:
diagnoseLogId
,
this
.
reset
()
bizType
:
2
,
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
)
{
if
(
res
.
code
==
"000000"
)
{
// vm.formData = res.data;
}
}).
catch
(
function
(
error
)
{
// vm.$message.error(error);
});
},
},
hide
()
{
hide
()
{
this
.
show
=
false
this
.
show
=
false
...
@@ -88,7 +117,7 @@ export default {
...
@@ -88,7 +117,7 @@ export default {
},
},
cancel
(){
cancel
(){
this
.
$emit
(
'update:refundVisible'
,
false
);
this
.
$emit
(
'update:refundVisible'
,
false
);
}
}
,
}
}
}
}
</
script
>
</
script
>
...
...
src/components/list/table-c.vue
浏览文件 @
4324b2c6
...
@@ -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=
"cancel
Btn
(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=
"cancel
Refund
(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>
...
@@ -128,8 +128,8 @@ export default {
...
@@ -128,8 +128,8 @@ export default {
this
.
$emit
(
"goDetail"
,
row
);
this
.
$emit
(
"goDetail"
,
row
);
},
},
//取消/退款
//取消/退款
cancel
Btn
(
row
)
{
cancel
Refund
(
row
)
{
this
.
$emit
(
"cancel
Btn
"
,
row
);
this
.
$emit
(
"cancel
Refund
"
,
row
);
},
},
//设为稍后跟进
//设为稍后跟进
witeGo
(
row
)
{
witeGo
(
row
)
{
...
...
src/utils/diagnosis/index.js
浏览文件 @
4324b2c6
...
@@ -4,13 +4,15 @@ let headers = {
...
@@ -4,13 +4,15 @@ let headers = {
'Content-Type'
:
'application/json;charset=UTF-8'
,
'Content-Type'
:
'application/json;charset=UTF-8'
,
token
:
localStorage
.
getItem
(
'storageToken'
),
token
:
localStorage
.
getItem
(
'storageToken'
),
};
};
/*查询运费配置信息*/
export
const
updateDiagnosis
=
()
=>
{
/*保存问诊相关信息*/
export
const
updateDiagnosis
=
(
params
)
=>
{
return
fetch
({
return
fetch
({
headers
,
headers
,
url
:
getBaseUrl
(
`/trade/coupon/express/fee/admin`
),
url
:
getBaseUrl
(
`/diagnose/admin/diagnose/model/save`
),
method
:
'get'
,
method
:
'post'
,
description
:
'查询运费配置信息'
,
data
:
params
,
});
description
:
'保存问诊相关信息'
,
})
};
};
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
4324b2c6
...
@@ -201,6 +201,7 @@
...
@@ -201,6 +201,7 @@
@
witeDiagnose=
"witeDiagnose"
@
witeDiagnose=
"witeDiagnose"
@
changeRun=
"changeRun"
@
changeRun=
"changeRun"
@
goDetail=
"goDetail"
@
goDetail=
"goDetail"
@
cancelRefund=
"cancelRefund"
@
witeGo=
"witeGo"
@
witeGo=
"witeGo"
@
waitMatchDot=
"waitMatchDot"
@
waitMatchDot=
"waitMatchDot"
@
sendMessage=
"sendMessage"
@
sendMessage=
"sendMessage"
...
@@ -220,7 +221,7 @@
...
@@ -220,7 +221,7 @@
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
<match-component
:matchVisible
.
sync=
"matchVisible"
></match-component>
<match-component
:matchVisible
.
sync=
"matchVisible"
></match-component>
<refund-component
:refundVisible
.
sync=
"refundVisible"
></refund-component>
<refund-component
:refundVisible
.
sync=
"refundVisible"
:diagnoseLogId=
"diagnoseLogId"
></refund-component>
<followup-component
:followupVisible
.
sync=
"followupVisible"
></followup-component>
<followup-component
:followupVisible
.
sync=
"followupVisible"
></followup-component>
<matching-doctor
:doctorVisible
.
sync=
"doctorVisible"
></matching-doctor>
<matching-doctor
:doctorVisible
.
sync=
"doctorVisible"
></matching-doctor>
<diagnosis-component
:diagnosisVisible
.
sync=
"diagnosisVisible"
></diagnosis-component>
<diagnosis-component
:diagnosisVisible
.
sync=
"diagnosisVisible"
></diagnosis-component>
...
@@ -298,6 +299,7 @@ export default {
...
@@ -298,6 +299,7 @@ export default {
totalRows
:
0
,
totalRows
:
0
,
timeClickFlag
:
true
,
timeClickFlag
:
true
,
tableHeight
:
500
,
tableHeight
:
500
,
diagnoseLogId
:
""
,
matchVisible
:
false
,
matchVisible
:
false
,
refundVisible
:
false
,
refundVisible
:
false
,
followupVisible
:
false
,
followupVisible
:
false
,
...
@@ -425,8 +427,10 @@ export default {
...
@@ -425,8 +427,10 @@ export default {
});
});
},
},
//取消/退款
//取消/退款
cancel
Btn
(
row
)
{
cancel
Refund
(
row
)
{
this
.
refundVisible
=
true
;
this
.
refundVisible
=
true
;
this
.
diagnoseLogId
=
row
.
id
;
console
.
log
(
row
);
},
},
//设为稍后跟进
//设为稍后跟进
witeGo
(
row
)
{},
witeGo
(
row
)
{},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录