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
提交
888ed373
提交
888ed373
编写于
7月 06, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更换运营
上级
c39cea48
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
48 行增加
和
91 行删除
+48
-91
match.vue
src/components/common/match.vue
+43
-61
refund.vue
src/components/common/refund.vue
+2
-27
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+3
-3
未找到文件。
src/components/common/match.vue
浏览文件 @
888ed373
...
@@ -13,41 +13,15 @@
...
@@ -13,41 +13,15 @@
size=
"mini"
size=
"mini"
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<!--
<el-form-item
label=
"助诊医生"
class=
"required-label"
prop=
"userName"
>
-->
<!--
<el-col
:span=
"15"
>
-->
<!--
<el-select
v-model=
"model.userName"
--
>
<!-- filterable-->
<!-- remote-->
<!-- placeholder="请输入专家姓名或医院名称,多个关键字用空格隔开,至少输入两个字符"-->
<!-- clearable-->
<!-- style="width: 130%;"-->
<!-- :remote-method="remoteMethod"-->
<!-- :disabled="isEdit"-->
<!-- @change="nameChange"-->
<!-- @visible-change="noSelectHand">-->
<!--
<el-option-->
<!-- v-for="item in nameList"-->
<!-- :key="item.id"-->
<!-- :label="item.name"-->
<!-- :value="item.id">-->
<!--
<span>
{{
item
.
value
}}
</span>
-->
<!--
</el-option>
-->
<!--
</el-select>
-->
<!--
</el-col>
-->
<!--
</el-form-item>
-->
<!--
<el-col
:span=
"15"
style=
"margin-left: 105px;"
>
-->
<!-- 实际收入(接诊后实际到账金额): ¥
{{
tempPrice
|
rounding
}}
-->
<!--
</el-col>
-->
<el-form-item
label=
"运营名称"
class=
"required-label"
prop=
"operatorName"
>
<el-form-item
label=
"运营名称"
class=
"required-label"
prop=
"operatorName"
>
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
<el-select
<el-select
v-model=
"model.operator
Name
"
v-model=
"model.operator
Id
"
placeholder=
"请选择运营名称"
placeholder=
"请选择运营名称"
filterable
filterable
clearable
clearable
@
change=
"changeOperator"
style=
"width:110%;height: 32px;line-height: 32px;"
style=
"width:110%;height: 32px;line-height: 32px;"
>
>
<el-option
<el-option
...
@@ -73,11 +47,18 @@
...
@@ -73,11 +47,18 @@
<
script
>
<
script
>
import
{
updateDiagnosis
}
from
'../../utils/diagnosis'
;
import
{
updateDiagnosis
}
from
'../../utils/diagnosis'
;
let
vm
=
null
;
export
default
{
export
default
{
props
:[
props
:
{
'matchVisible'
matchVisible
:{
],
type
:
Boolean
,
default
:
false
},
diagnoseLogId
:
{
type
:
Number
,
default
:
0
}
},
data
()
{
data
()
{
return
{
return
{
show
:
false
,
show
:
false
,
...
@@ -98,39 +79,30 @@ export default {
...
@@ -98,39 +79,30 @@ export default {
}
}
},
},
created
()
{
created
()
{
vm
=
this
;
this
.
getAdminList
();
this
.
getAdminList
();
},
},
methods
:
{
methods
:
{
reset
()
{
confirm
()
{
this
.
title
=
''
let
req
=
{
this
.
confirmTxt
=
'确定'
id
:
this
.
diagnoseLogId
,
this
.
cancleTxt
=
''
bizType
:
1
,
this
.
_promise
=
null
operatorId
:
this
.
model
.
operatorId
,
},
operatorName
:
this
.
model
.
operatorName
init
(
obj
=
{})
{
}
Object
.
assign
(
this
,
obj
)
updateDiagnosis
(
req
).
then
(
function
(
res
)
{
this
.
show
=
true
if
(
res
.
code
==
"000000"
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
vm
.
cancel
();
this
.
_promise
=
{
vm
.
$emit
(
'search'
);
resolve
,
}
reject
else
{
};
vm
.
$message
.
error
(
res
.
message
);
})
}
},
}).
catch
(
function
(
error
)
{
async
cancle
()
{
vm
.
$message
.
error
(
error
);
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
(){
cancel
(){
this
.
$emit
(
'update:matchVisible'
,
false
);
this
.
$emit
(
'update:matchVisible'
,
false
);
},
},
...
@@ -146,7 +118,17 @@ export default {
...
@@ -146,7 +118,17 @@ export default {
this
.
adminList
=
res
.
data
;
this
.
adminList
=
res
.
data
;
}
}
});
});
},
changeOperator
(
data
){
for
(
let
i
=
0
;
i
<
this
.
adminList
.
length
;
i
++
){
if
(
data
==
this
.
adminList
[
i
].
id
){
this
.
model
.
operatorName
=
this
.
adminList
[
i
].
name
;
break
;
}
}
}
}
}
}
}
}
</
script
>
</
script
>
...
...
src/components/common/refund.vue
浏览文件 @
888ed373
...
@@ -42,8 +42,8 @@ export default {
...
@@ -42,8 +42,8 @@ export default {
default
:
false
default
:
false
},
},
diagnoseLogId
:
{
diagnoseLogId
:
{
type
:
String
,
type
:
Number
,
default
:
''
default
:
0
}
}
},
},
data
()
{
data
()
{
...
@@ -65,27 +65,6 @@ export default {
...
@@ -65,27 +65,6 @@ export default {
},
},
created
()
{},
created
()
{},
methods
:
{
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
()
},
confirm
()
{
confirm
()
{
let
req
=
{
let
req
=
{
id
:
this
.
diagnoseLogId
,
id
:
this
.
diagnoseLogId
,
...
@@ -111,10 +90,6 @@ export default {
...
@@ -111,10 +90,6 @@ export default {
// vm.$message.error(error);
// vm.$message.error(error);
});
});
},
},
hide
()
{
this
.
show
=
false
this
.
reset
()
},
cancel
(){
cancel
(){
this
.
$emit
(
'update:refundVisible'
,
false
);
this
.
$emit
(
'update:refundVisible'
,
false
);
},
},
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
888ed373
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
></table-component>
></table-component>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
<match-component
:matchVisible
.
sync=
"matchVisible
"
></match-component>
<match-component
@
search=
"search"
:matchVisible
.
sync=
"matchVisible"
:diagnoseLogId=
"diagnoseLogId
"
></match-component>
<refund-component
:refundVisible
.
sync=
"refundVisible"
:diagnoseLogId=
"diagnoseLogId"
></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>
...
@@ -299,7 +299,7 @@ export default {
...
@@ -299,7 +299,7 @@ export default {
totalRows
:
0
,
totalRows
:
0
,
timeClickFlag
:
true
,
timeClickFlag
:
true
,
tableHeight
:
500
,
tableHeight
:
500
,
diagnoseLogId
:
""
,
diagnoseLogId
:
0
,
matchVisible
:
false
,
matchVisible
:
false
,
refundVisible
:
false
,
refundVisible
:
false
,
followupVisible
:
false
,
followupVisible
:
false
,
...
@@ -418,6 +418,7 @@ export default {
...
@@ -418,6 +418,7 @@ export default {
//更换运营
//更换运营
changeRun
(
row
)
{
changeRun
(
row
)
{
this
.
matchVisible
=
true
;
this
.
matchVisible
=
true
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
},
},
//查看详情
//查看详情
goDetail
(
row
)
{
goDetail
(
row
)
{
...
@@ -430,7 +431,6 @@ export default {
...
@@ -430,7 +431,6 @@ export default {
cancelRefund
(
row
)
{
cancelRefund
(
row
)
{
this
.
refundVisible
=
true
;
this
.
refundVisible
=
true
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
console
.
log
(
row
);
},
},
//设为稍后跟进
//设为稍后跟进
witeGo
(
row
)
{},
witeGo
(
row
)
{},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录