Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jingqi.liu
pica-admin-consultation
提交
9f50509f
提交
9f50509f
编写于
5月 19, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改服务列表和增加助诊医生分佣设置列表
上级
c774e06e
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
66 行增加
和
30 行删除
+66
-30
assist-list.vue
src/views/IM/diagnosis-admin/assist-list.vue
+64
-27
service-list.vue
src/views/IM/diagnosis-admin/service-list.vue
+2
-3
未找到文件。
src/views/IM/diagnosis-admin/assist-list.vue
浏览文件 @
9f50509f
...
...
@@ -403,42 +403,42 @@ export default {
submit
()
{
if
(
this
.
model
.
audioCommissionType
==
1
&&
this
.
model
.
audioPrice1
==
""
){
if
(
this
.
model
.
audioCommissionType
==
1
&&
this
.
model
.
audioPrice1
==
undefined
){
this
.
$message
({
message
:
'请输入语音问诊分佣中的按比例分佣'
,
type
:
"warning"
});
return
;
}
if
(
this
.
model
.
audioCommissionType
==
2
&&
this
.
model
.
audioPrice2
==
""
){
if
(
this
.
model
.
audioCommissionType
==
2
&&
this
.
model
.
audioPrice2
==
undefined
){
this
.
$message
({
message
:
'请输入语音问诊分佣中的固定分佣金额'
,
type
:
"warning"
});
return
;
}
if
(
this
.
model
.
videoCommissionType
==
1
&&
this
.
model
.
videoPrice1
==
""
){
if
(
this
.
model
.
videoCommissionType
==
1
&&
this
.
model
.
videoPrice1
==
undefined
){
this
.
$message
({
message
:
'请输入视频问诊分佣中的按比例分佣'
,
type
:
"warning"
});
return
;
}
if
(
this
.
model
.
videoCommissionType
==
2
&&
this
.
model
.
videoPrice2
==
""
){
if
(
this
.
model
.
videoCommissionType
==
2
&&
this
.
model
.
videoPrice2
==
undefined
){
this
.
$message
({
message
:
'请输入视频问诊分佣中的固定分佣金额'
,
type
:
"warning"
});
return
;
}
if
(
this
.
model
.
imgCommissionType
==
1
&&
this
.
model
.
imgPrice1
==
""
){
if
(
this
.
model
.
imgCommissionType
==
1
&&
this
.
model
.
imgPrice1
==
undefined
){
this
.
$message
({
message
:
'请输入图文问诊分佣中的按比例分佣'
,
type
:
"warning"
});
return
;
}
if
(
this
.
model
.
imgCommissionType
==
2
&&
this
.
model
.
imgPrice2
==
""
){
if
(
this
.
model
.
imgCommissionType
==
2
&&
this
.
model
.
imgPrice2
==
undefined
){
this
.
$message
({
message
:
'请输入图文问诊分佣中的固定分佣金额'
,
type
:
"warning"
...
...
@@ -457,20 +457,20 @@ export default {
clickHandle
()
{
this
.
$refs
.
setPriceForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
loading
=
true
vm
.
loading
=
true
vm
.
setSubmitPrice
();
this
.
POST
(
'/diagnose/
doctorService/updatePrice'
,
this
.
setPriceForm
).
then
(
res
=>
{
this
.
loading
=
false
this
.
POST
(
'/diagnose/
commission/downDoctor/save'
,
vm
.
model
).
then
(
res
=>
{
vm
.
loading
=
false
// closeLoading(this);
if
(
res
.
code
==
"000000"
)
{
this
.
$message
({
message
:
'设置
价格
成功'
,
vm
.
$message
({
message
:
'设置成功'
,
type
:
"success"
});
this
.
setPriceVisible
=
false
this
.
search
()
vm
.
setAddVisible
=
false
;
vm
.
search
()
}
else
{
this
.
$message
({
vm
.
$message
({
message
:
res
.
message
,
type
:
"error"
})
...
...
@@ -495,16 +495,16 @@ export default {
// 刷新页面
refresh
(){
this
.
searchParam
=
{
searchKey
:
''
,
serviceTypeId
:
0
,
status
:
0
,
searchKey
:
''
,
hospitalName
:
''
,
commissionType
:
0
,
startTime
:
""
,
endTime
:
""
,
pageSize
:
1
5
,
pageSize
:
1
0
,
pageNo
:
1
};
this
.
rangeTime
=
""
;
this
.
search
();
this
.
search
();
},
setSelectedList
(){
if
(
this
.
multipleSelection
.
length
>
0
){
...
...
@@ -548,7 +548,23 @@ export default {
vm
.
model
.
hospitalName
=
row
.
hospitalName
;
vm
.
model
.
department
=
row
.
department
;
vm
.
model
.
title
=
row
.
title
;
vm
.
model
.
audioCommissionType
=
""
;
vm
.
model
.
audioPrice
=
""
;
vm
.
model
.
audioPrice1
=
undefined
;
vm
.
model
.
audioPrice2
=
undefined
;
vm
.
model
.
videoCommissionType
=
""
;
vm
.
model
.
videoPrice
=
""
;
vm
.
model
.
videoPrice1
=
undefined
;
vm
.
model
.
videoPrice2
=
undefined
;
vm
.
model
.
imgCommissionType
=
""
;
vm
.
model
.
imgPrice
=
""
;
vm
.
model
.
imgPrice1
=
undefined
;
vm
.
model
.
imgPrice2
=
undefined
;
vm
.
model
.
audioCommissionType
=
row
.
audioCommissionType
;
// vm.model.videoCommissionType = row.videoCommissionType;
// vm.model.imgCommissionType = row.imgCommissionType;
if
(
row
.
audioCommissionType
==
1
){
vm
.
model
.
audioPrice1
=
vm
.
priceNum
(
row
.
audioPrice
);
}
...
...
@@ -563,16 +579,16 @@ export default {
vm
.
model
.
videoPrice2
=
vm
.
priceNum
(
row
.
videoPrice
);
}
vm
.
model
.
imgCommissionType
=
row
.
imgCommissionType
;
if
(
row
.
audio
CommissionType
==
1
){
if
(
row
.
img
CommissionType
==
1
){
vm
.
model
.
imgPrice1
=
vm
.
priceNum
(
row
.
imgPrice
);
}
else
if
(
row
.
audio
CommissionType
==
2
){
else
if
(
row
.
img
CommissionType
==
2
){
vm
.
model
.
imgPrice2
=
vm
.
priceNum
(
row
.
imgPrice
);
}
if
(
this
.
$refs
.
setPriceForm
)
{
this
.
$refs
.
setPriceForm
.
resetFields
()
}
//
if(this.$refs.setPriceForm) {
//
this.$refs.setPriceForm.resetFields()
//
}
// this.getProfit(row);
},
...
...
@@ -606,6 +622,27 @@ export default {
this
.
setAddVisible
=
true
;
this
.
isEdit
=
false
;
this
.
title
=
"添加助诊医生"
;
if
(
!
this
.
isEdit
){
vm
.
model
.
id
=
null
;
vm
.
model
.
userName
=
''
;
vm
.
model
.
mobile
=
''
;
vm
.
model
.
hospitalName
=
''
;
vm
.
model
.
department
=
''
;
vm
.
model
.
title
=
''
;
vm
.
model
.
userId
=
''
;
vm
.
model
.
audioCommissionType
=
""
;
vm
.
model
.
audioPrice
=
""
;
vm
.
model
.
audioPrice1
=
undefined
;
vm
.
model
.
audioPrice2
=
undefined
;
vm
.
model
.
videoCommissionType
=
""
;
vm
.
model
.
videoPrice
=
""
;
vm
.
model
.
videoPrice1
=
undefined
;
vm
.
model
.
videoPrice2
=
undefined
;
vm
.
model
.
imgCommissionType
=
""
;
vm
.
model
.
imgPrice
=
""
;
vm
.
model
.
imgPrice1
=
undefined
;
vm
.
model
.
imgPrice2
=
undefined
;
}
},
//搜索
remoteMethod
(
val
)
{
...
...
@@ -692,7 +729,7 @@ export default {
if
(
this
.
model
.
audioCommissionType
==
1
&&
this
.
model
.
audioPrice1
!=
""
){
this
.
model
.
audioPrice
=
this
.
model
.
audioPrice1
;
}
else
if
(
this
.
model
.
audioCommissionType
==
2
&&
this
.
model
.
audioPrice2
=
=
""
){
else
if
(
this
.
model
.
audioCommissionType
==
2
&&
this
.
model
.
audioPrice2
!
=
""
){
this
.
model
.
audioPrice
=
this
.
model
.
audioPrice2
;
}
...
...
@@ -702,10 +739,10 @@ export default {
else
if
(
this
.
model
.
videoCommissionType
==
2
&&
this
.
model
.
videoPrice2
!=
""
){
this
.
model
.
videoPrice
=
this
.
model
.
videoPrice2
;
}
if
(
this
.
model
.
imgCommissionType
==
1
&&
this
.
model
.
imgPrice1
=
=
""
){
if
(
this
.
model
.
imgCommissionType
==
1
&&
this
.
model
.
imgPrice1
!
=
""
){
this
.
model
.
imgPrice
=
this
.
model
.
imgPrice1
;
}
if
(
this
.
model
.
imgCommissionType
==
2
&&
this
.
model
.
imgPrice2
=
=
""
){
else
if
(
this
.
model
.
imgCommissionType
==
2
&&
this
.
model
.
imgPrice2
!
=
""
){
this
.
model
.
imgPrice
=
this
.
model
.
imgPrice2
;
}
...
...
src/views/IM/diagnosis-admin/service-list.vue
浏览文件 @
9f50509f
...
...
@@ -180,7 +180,6 @@
</el-radio-group>
</el-form-item>
</el-col>
</el-form>
</el-row>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -348,14 +347,14 @@ export default {
return
;
}
if
(
this
.
setPriceForm
.
commissionType
==
1
&&
this
.
setPriceForm
.
commissionPrice1
==
""
){
if
(
this
.
setPriceForm
.
commissionType
==
1
&&
this
.
setPriceForm
.
commissionPrice1
==
undefined
){
this
.
$message
({
message
:
'请输入按比例分佣'
,
type
:
"warning"
});
return
;
}
if
(
this
.
setPriceForm
.
commissionType
==
2
&&
this
.
setPriceForm
.
commissionPrice2
==
""
){
if
(
this
.
setPriceForm
.
commissionType
==
2
&&
this
.
setPriceForm
.
commissionPrice2
==
undefined
){
this
.
$message
({
message
:
'请输入固定分佣'
,
type
:
"warning"
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录