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
提交
afeab1bf
提交
afeab1bf
编写于
5月 24, 2021
作者:
minghao.wu
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/dev-20210517' into dev-20210517
上级
77976953
184727c4
变更
4
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
210 行增加
和
80 行删除
+210
-80
assist-list.vue
src/views/IM/diagnosis-admin/assist-list.vue
+152
-54
diagnosis-editor.vue
src/views/IM/diagnosis-admin/diagnosis-editor.vue
+6
-3
diagnosis-list.vue
src/views/IM/diagnosis-admin/diagnosis-list.vue
+17
-0
service-list.vue
src/views/IM/diagnosis-admin/service-list.vue
+35
-23
未找到文件。
src/views/IM/diagnosis-admin/assist-list.vue
浏览文件 @
afeab1bf
此差异已折叠。
点击以展开。
src/views/IM/diagnosis-admin/diagnosis-editor.vue
浏览文件 @
afeab1bf
...
...
@@ -75,7 +75,7 @@
</el-form-item>
<el-form-item
label=
"预约时间"
prop=
"appointBeginTime"
>
<el-date-picker
:disabled=
"formData.status == 4 || editorType== 2"
:disabled=
"formData.status == 4 || editorType== 2
|| formData.doctorId === 0
"
type=
"datetime"
placeholder=
"开始时间"
v-model=
"formData.appointBeginTime"
...
...
@@ -88,7 +88,7 @@
</el-date-picker>
<span>
-
</span>
<el-date-picker
:disabled=
"formData.status == 4 || editorType== 2"
:disabled=
"formData.status == 4 || editorType== 2
|| formData.doctorId === 0
"
type=
"datetime"
placeholder=
"结束时间"
v-model=
"formData.appointEndTime"
...
...
@@ -390,6 +390,9 @@ export default {
sex
:
[
{
required
:
true
,
message
:
'请选择性别'
,
trigger
:
'change'
}
],
maritalStatus
:
[
{
required
:
true
,
message
:
'请选择婚否'
,
trigger
:
'change'
}
],
patientMobilePhone
:
[
{
required
:
true
,
message
:
'请输入患者电话'
,
trigger
:
[
'blur'
,
'change'
]
}
],
...
...
@@ -625,4 +628,4 @@ export default {
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/IM/diagnosis-admin/diagnosis-list.vue
浏览文件 @
afeab1bf
...
...
@@ -498,6 +498,23 @@ export default {
},
// 预约时间
timeHandle
(
row
)
{
let
bTime
=
new
Date
(
row
.
userAppointBeginTime
)
let
eTime
=
new
Date
(
row
.
userAppointEndTime
)
if
(
this
.
activeName
==
'three'
&&
(
new
Date
()
-
bTime
)
&&
(
eTime
-
new
Date
()))
{
this
.
$confirm
(
' 当前问诊正在进行中,一旦将立即关闭进行中的问诊且无法恢复,确定继续更改时间?'
,
'提醒'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
timeHandleFn
(
row
)
}).
catch
(()
=>
{
})
}
else
{
this
.
timeHandleFn
(
row
)
}
},
timeHandleFn
(
row
)
{
this
.
beginFlag
=
false
this
.
endFlag
=
false
this
.
timeVisible
=
true
...
...
src/views/IM/diagnosis-admin/service-list.vue
浏览文件 @
afeab1bf
...
...
@@ -50,7 +50,7 @@
id=
"statusSelector"
placeholder=
"请选择服务状态"
clearable
style=
"margin-left:
16
px;height: 32px;line-height: 32px;"
style=
"margin-left:
20
px;height: 32px;line-height: 32px;"
>
<el-option
v-for=
"item in statusList"
...
...
@@ -70,7 +70,7 @@
id=
"statusSelector"
placeholder=
"请选择服务状态"
clearable
style=
"height: 32px;line-height: 32px;"
style=
"height: 32px;line-height: 32px;
width: 100%;
"
>
<el-option
v-for=
"item in commissionTypeList"
...
...
@@ -81,7 +81,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"1
5
"
style=
"text-align:right;padding-right:55px;"
>
<el-col
:span=
"1
6
"
style=
"text-align:right;padding-right:55px;"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"search()"
>
搜索
</el-button>
</el-col>
</el-row>
...
...
@@ -112,7 +112,7 @@
<el-table-column
prop=
"serviceName"
label=
"服务名称"
min-width=
"100"
align=
"left"
></el-table-column>
<el-table-column
prop=
"doctorName"
label=
"服务医生"
min-width=
"120"
align=
"left"
></el-table-column>
<el-table-column
prop=
"mobilePhone"
label=
"联系电话"
min-width=
"120"
align=
"left"
></el-table-column>
<el-table-column
prop=
"price"
label=
"价格(元)"
min-width=
"
6
0"
align=
"left"
>
<el-table-column
prop=
"price"
label=
"价格(元)"
min-width=
"
8
0"
align=
"left"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
price
|
rounding
}}
</span>
</
template
>
...
...
@@ -156,7 +156,7 @@
title=
"设置价格"
:visible
.
sync=
"setPriceVisible"
width=
"55%"
>
<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=
"setPriceForm"
:rules=
"setPriceRules"
:model=
"setPriceForm"
...
...
@@ -165,24 +165,31 @@
label-position=
"right"
size=
"mini"
style=
"width: 100%;"
>
<el-col
:span=
"18"
>
<el-form-item
label=
"问诊价格"
class=
"required-label"
prop=
"price"
>
<el-col
:span=
"18"
>
<el-input-number
v-model=
"setPriceForm.price"
size=
"small"
:precision=
"2"
:min=
"0"
:max=
"9999"
placeholder=
"请输入价格"
@
change=
"changePrice($event)"
></el-input-number>
</el-col>
</el-form-item>
</el-col>
<el-col
:span=
"18"
>
<el-form-item
label=
"接诊服务费结算方式(上级医生)"
prop=
"commissionType"
>
<el-col
:span=
"18"
>
<el-radio-group
v-model=
"setPriceForm.commissionType"
size=
"small"
style=
"line-height: 45px;"
>
<div>
<el-radio
:label=
"1"
style=
"float: left;margin-top: 5px;line-height: 20px;"
>
按比例分佣(%)
</el-radio>
<span
style=
"float: right;width: 100px;"
><el-input-number
v-model=
"setPriceForm.commissionPrice1"
size=
"small"
:precision=
"2"
:min=
"0"
:max=
"100"
></el-input-number></span>
<el-radio
:label=
"2"
style=
"float: left;margin-top: 30px;line-height: 20px;"
>
固定分佣金额(元)
</el-radio>
</div>
<div>
<el-radio
:label=
"2"
style=
"float: left;margin-top: 30px;line-height: 20px;"
>
固定分佣金额(元)
</el-radio>
<span
style=
"float: right;width: 100px;margin-left: 14px;"
><el-input-number
v-model=
"setPriceForm.commissionPrice2"
size=
"small"
:precision=
"2"
:min=
"0"
:max=
"9999"
></el-input-number></span>
</div>
</el-radio-group>
</el-col>
</el-form-item>
</el-col>
</el-form>
</el-row
>
<!-- </el-row>--
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"setPriceVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"confirmSetPrice"
>
确 定
</el-button>
...
...
@@ -227,10 +234,10 @@ export default {
totalRows
:
0
,
setPriceRules
:
{
price
:
[
{
required
:
true
,
message
:
"请输入"
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
"请输入
问诊价格
"
,
trigger
:
'blur'
}
],
commissionType
:
[
{
required
:
true
,
message
:
"请
输入
"
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
"请
选择接诊服务费结算方式
"
,
trigger
:
'blur'
}
]
},
liveBack
:
false
,
...
...
@@ -348,23 +355,21 @@ 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
:
'请输入固定分佣'
,
message
:
'请输入固定分佣
金额
'
,
type
:
"warning"
});
return
;
}
let
timeoutId
=
null
timeoutId
&&
clearTimeout
(
timeoutId
)
timeoutId
=
setTimeout
(()
=>
{
...
...
@@ -389,7 +394,8 @@ export default {
setPriceList
.
push
({
doctorId
:
this
.
multipleSelection
[
i
].
doctorId
,
serviceType
:
this
.
multipleSelection
[
i
].
serviceType
,
price
:
this
.
setPriceForm
.
price
,
commissionType
:
this
.
setPriceForm
.
commissionType
,
commissionPriceStr
:
this
.
setPriceForm
.
commissionPriceStr
commissionType
:
this
.
setPriceForm
.
commissionType
,
commissionPriceStr
:
this
.
setPriceForm
.
commissionPriceStr
,
commissionPrice
:
this
.
setPriceForm
.
commissionPriceStr
});
}
this
.
POST
(
'/diagnose/doctorService/batchUpdatePrice'
,
setPriceList
).
then
(
res
=>
{
...
...
@@ -417,7 +423,7 @@ export default {
else
if
(
this
.
setPriceForm
.
commissionType
==
2
){
this
.
setPriceForm
.
commissionPriceStr
=
this
.
setPriceForm
.
commissionPrice2
;
}
this
.
setPriceForm
.
commissionPrice
=
this
.
setPriceForm
.
commissionPriceStr
;
this
.
POST
(
'/diagnose/doctorService/updatePrice'
,
this
.
setPriceForm
).
then
(
res
=>
{
this
.
loading
=
false
// closeLoading(this);
...
...
@@ -613,10 +619,16 @@ export default {
})
},
setPrice
(
row
,
batchUpdatePriceFlag
){
if
(
this
.
$refs
.
setPriceForm
)
{
this
.
$refs
.
setPriceForm
.
resetFields
()
}
this
.
batchUpdatePriceFlag
=
batchUpdatePriceFlag
;
this
.
setPriceForm
.
doctorId
=
row
.
doctorId
;
this
.
setPriceForm
.
serviceType
=
row
.
serviceType
;
this
.
setPriceForm
.
price
=
row
.
price
;
this
.
setPriceForm
.
commissionType
=
""
;
this
.
setPriceForm
.
commissionPrice1
=
undefined
;
this
.
setPriceForm
.
commissionPrice2
=
undefined
;
this
.
setPriceForm
.
commissionType
=
row
.
commissionType
;
if
(
this
.
setPriceForm
.
commissionType
==
1
){
this
.
setPriceForm
.
commissionPrice1
=
row
.
commissionPriceStr
;
...
...
@@ -626,9 +638,9 @@ export default {
}
this
.
setPriceForm
.
price
=
row
.
price
;
this
.
setPriceVisible
=
true
;
if
(
this
.
$refs
.
setPriceForm
)
{
this
.
$refs
.
setPriceForm
.
resetFields
()
}
//
if(this.$refs.setPriceForm) {
//
this.$refs.setPriceForm.resetFields()
//
}
// this.getProfit(row);
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录