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
提交
ab1de42d
提交
ab1de42d
编写于
7月 06, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/dev-20210702' into dev-20210702
上级
888ed373
0770deeb
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
74 行增加
和
54 行删除
+74
-54
table-c.vue
src/components/list/table-c.vue
+9
-10
diagnosis-list-new.vue
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
+35
-17
down-list.vue
src/views/IM/diagnosis-admin/down-list.vue
+30
-27
未找到文件。
src/components/list/table-c.vue
浏览文件 @
ab1de42d
...
@@ -32,14 +32,14 @@
...
@@ -32,14 +32,14 @@
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<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
,false
)"
>
查看详情
</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=
"cancelRefund(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=
"cancelRefund(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>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3)"
@
click=
"joinDiagnose(scope.row)"
>
加入问诊
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3)"
@
click=
"joinDiagnose(scope.row)"
>
加入问诊
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,2)"
@
click=
"matchRun(scope.row)"
>
匹配运营
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,2)"
@
click=
"matchRun(scope.row)"
>
匹配运营
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
@
click=
"goEditor(scope.row
)"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,3,4,6,21,22,23,24,25,26)"
@
click=
"goDetail(scope.row,true
)"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,21)"
@
click=
"waitDiagnose(scope.row)"
>
设为待分诊
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,21)"
@
click=
"waitDiagnose(scope.row)"
>
设为待分诊
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,23)"
@
click=
"waitHzeDot(scope.row)"
>
设为待协调医生
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,23)"
@
click=
"waitHzeDot(scope.row)"
>
设为待协调医生
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,23,24)"
@
click=
"waitMatchTime(scope.row)"
>
设为待确认时间
</el-button>
<el-button
type=
"primary"
size=
"small"
class=
"btn"
v-if=
"showBtn(scope.row,23,24)"
@
click=
"waitMatchTime(scope.row)"
>
设为待确认时间
</el-button>
...
@@ -113,7 +113,7 @@ export default {
...
@@ -113,7 +113,7 @@ export default {
},
},
// 选择
// 选择
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
multipleSelection
=
val
;
},
},
//设为待问诊
//设为待问诊
witeDiagnose
(
row
)
{
witeDiagnose
(
row
)
{
...
@@ -123,9 +123,9 @@ export default {
...
@@ -123,9 +123,9 @@ export default {
changeRun
(
row
)
{
changeRun
(
row
)
{
this
.
$emit
(
"changeRun"
,
row
);
this
.
$emit
(
"changeRun"
,
row
);
},
},
//
查看详情
//
查看详情 \编辑
goDetail
(
row
)
{
goDetail
(
row
,
flag
)
{
this
.
$emit
(
"goDetail"
,
row
);
this
.
$emit
(
"goDetail"
,
row
,
flag
);
},
},
//取消/退款
//取消/退款
cancelRefund
(
row
)
{
cancelRefund
(
row
)
{
...
@@ -151,10 +151,6 @@ export default {
...
@@ -151,10 +151,6 @@ export default {
matchRun
(
row
)
{
matchRun
(
row
)
{
this
.
$emit
(
"matchRun"
,
row
);
this
.
$emit
(
"matchRun"
,
row
);
},
},
//编辑
goEditor
(
row
,
flag
)
{
this
.
$emit
(
"goEditor"
,
row
,
flag
);
},
//设为待分诊
//设为待分诊
waitDiagnose
(
row
)
{
waitDiagnose
(
row
)
{
this
.
$emit
(
"waitDiagnose"
,
row
);
this
.
$emit
(
"waitDiagnose"
,
row
);
...
@@ -183,6 +179,9 @@ export default {
...
@@ -183,6 +179,9 @@ export default {
doneHandle
(
row
)
{
doneHandle
(
row
)
{
this
.
$emit
(
"doneHandle"
,
row
);
this
.
$emit
(
"doneHandle"
,
row
);
},
},
goEdite
(
row
)
{
this
.
$emit
(
"goEdite"
,
row
);
},
handleSizeChange
(
value
)
{
handleSizeChange
(
value
)
{
this
.
$emit
(
"handleSizeChange"
,
value
);
this
.
$emit
(
"handleSizeChange"
,
value
);
},
},
...
...
src/views/IM/diagnosis-admin/diagnosis-list-new.vue
浏览文件 @
ab1de42d
...
@@ -172,13 +172,13 @@
...
@@ -172,13 +172,13 @@
>
>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"
10
"
type=
"flex"
justify=
"center"
align=
"center"
>
<el-row
:gutter=
"
5
"
type=
"flex"
justify=
"center"
align=
"center"
>
<el-col
:span=
"24"
class=
"btn-wrap"
>
<el-col
:span=
"24"
class=
"btn-wrap"
>
<el-button
type=
"success"
class=
"submit-btn"
<el-button
type=
"success"
class=
"submit-btn
big-btn
"
>
批量设置运营
</el-button
>
批量设置运营
</el-button
>
>
<el-button
type=
"info"
class=
"submit-btn"
@
click=
"download"
<el-button
type=
"info"
class=
"submit-btn"
@
click=
"download"
>
导出
</el-button
>
全部
导出
</el-button
>
>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -207,7 +207,6 @@
...
@@ -207,7 +207,6 @@
@
sendMessage=
"sendMessage"
@
sendMessage=
"sendMessage"
@
joinDiagnose=
"joinDiagnose"
@
joinDiagnose=
"joinDiagnose"
@
matchRun=
"matchRun"
@
matchRun=
"matchRun"
@
goEditor=
"goEditor"
@
waitDiagnose=
"waitDiagnose"
@
waitDiagnose=
"waitDiagnose"
@
waitHzeDot=
"waitHzeDot"
@
waitHzeDot=
"waitHzeDot"
@
waitMatchTime=
"waitMatchTime"
@
waitMatchTime=
"waitMatchTime"
...
@@ -232,6 +231,8 @@
...
@@ -232,6 +231,8 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
const
DOWN_URL
=
'/diagnose/admin/diagnose/export'
;
const
LIST_URL
=
'/diagnose/admin/diagnose/list'
;
import
TableComponent
from
"@/components/list/table-c"
;
import
TableComponent
from
"@/components/list/table-c"
;
import
{
import
{
TYPE_LIST
,
TYPE_LIST
,
...
@@ -290,6 +291,7 @@ export default {
...
@@ -290,6 +291,7 @@ export default {
pageSize
:
15
,
pageSize
:
15
,
pageNo
:
1
,
pageNo
:
1
,
menuType
:
1
,
// 菜单类型:1、all 2、运营 3、待分诊 4、待接诊
menuType
:
1
,
// 菜单类型:1、all 2、运营 3、待分诊 4、待接诊
status
:
''
},
},
tyleList
:
TYPE_LIST
,
tyleList
:
TYPE_LIST
,
fllowList
:
IS_FLLOW
,
fllowList
:
IS_FLLOW
,
...
@@ -379,10 +381,10 @@ export default {
...
@@ -379,10 +381,10 @@ export default {
},
},
// tab切换
// tab切换
handleClick
(
val
)
{
handleClick
(
val
)
{
this
.
searchParam
.
status
=
val
.
paneName
;
this
.
searchParam
.
status
=
val
.
paneName
==
99
?
''
:
val
.
paneName
;
this
.
search
();
this
.
search
();
},
},
search
()
{
initTime
()
{
this
.
searchParam
.
createdTimeBegin
=
this
.
createRangeTime
[
0
]
||
""
;
this
.
searchParam
.
createdTimeBegin
=
this
.
createRangeTime
[
0
]
||
""
;
this
.
searchParam
.
createdTimeEnd
=
this
.
createRangeTime
[
1
]
||
""
;
this
.
searchParam
.
createdTimeEnd
=
this
.
createRangeTime
[
1
]
||
""
;
this
.
searchParam
.
cancelTimeBegin
=
this
.
cancelRangeTime
[
0
]
||
""
;
this
.
searchParam
.
cancelTimeBegin
=
this
.
cancelRangeTime
[
0
]
||
""
;
...
@@ -391,8 +393,11 @@ export default {
...
@@ -391,8 +393,11 @@ export default {
this
.
searchParam
.
appointEndTime
=
this
.
orderRangeTime
[
1
]
||
""
;
this
.
searchParam
.
appointEndTime
=
this
.
orderRangeTime
[
1
]
||
""
;
this
.
searchParam
.
doneTimeBegin
=
this
.
completeRangeTime
[
0
]
||
""
;
this
.
searchParam
.
doneTimeBegin
=
this
.
completeRangeTime
[
0
]
||
""
;
this
.
searchParam
.
doneTimeEnd
=
this
.
completeRangeTime
[
1
]
||
""
;
this
.
searchParam
.
doneTimeEnd
=
this
.
completeRangeTime
[
1
]
||
""
;
},
search
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
let
url
=
`/diagnose/admin/diagnose/list`
;
this
.
initTime
()
let
url
=
LIST_URL
;
this
.
POST
(
url
,
this
.
searchParam
).
then
((
res
)
=>
{
this
.
POST
(
url
,
this
.
searchParam
).
then
((
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
...
@@ -412,6 +417,23 @@ export default {
...
@@ -412,6 +417,23 @@ export default {
},
},
// 导出
// 导出
download
()
{
download
()
{
let
url
=
DOWN_URL
this
.
initTime
()
let
params
=
this
.
searchParam
this
.
POST
(
url
,
params
).
then
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
code
==
"000000"
)
{
this
.
$confirm
(
'将于24小时内导出成功,是否跳转下载列表页?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$router
.
push
(
'/down-list'
)
})
}
}).
catch
(
err
=>
{
console
.
log
(
'网络出现点儿问题,稍后重试'
)
})
},
},
//设为待问诊
//设为待问诊
witeDiagnose
(
row
)
{},
witeDiagnose
(
row
)
{},
...
@@ -420,11 +442,11 @@ export default {
...
@@ -420,11 +442,11 @@ export default {
this
.
matchVisible
=
true
;
this
.
matchVisible
=
true
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
this
.
diagnoseLogId
=
row
.
diagnoseLogId
;
},
},
//查看详情
//查看详情
/编辑详情
goDetail
(
row
)
{
goDetail
(
row
,
flag
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/diagnosis-editor"
,
path
:
"/diagnosis-editor"
,
query
:
{
id
:
row
.
diagnoseLogId
,
editorType
:
f
alse
},
query
:
{
id
:
row
.
diagnoseLogId
,
editorType
:
f
lag
},
});
});
},
},
//取消/退款
//取消/退款
...
@@ -456,13 +478,6 @@ export default {
...
@@ -456,13 +478,6 @@ export default {
call
(
row
)
{},
call
(
row
)
{},
//设为已完成
//设为已完成
doneHandle
(
row
)
{},
doneHandle
(
row
)
{},
// 编辑页面
goEditor
(
row
,
flag
)
{
this
.
$router
.
push
({
path
:
"/diagnosis-editor"
,
query
:
{
id
:
row
.
diagnoseLogId
,
editorType
:
flag
},
});
},
handleSizeChange
(
value
)
{
handleSizeChange
(
value
)
{
this
.
searchParam
.
pageSize
=
value
;
this
.
searchParam
.
pageSize
=
value
;
this
.
search
();
this
.
search
();
...
@@ -501,6 +516,9 @@ export default {
...
@@ -501,6 +516,9 @@ export default {
.submit-btn
{
.submit-btn
{
margin-right
:
50px
;
margin-right
:
50px
;
margin-top
:
10px
;
margin-top
:
10px
;
&
.big-btn
{
margin-right
:
20px
;
}
}
}
.t-b
{
.t-b
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
...
...
src/views/IM/diagnosis-admin/down-list.vue
浏览文件 @
ab1de42d
...
@@ -96,35 +96,38 @@ export default {
...
@@ -96,35 +96,38 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.status_base {
.down-list {
width: 100%;
margin: 15px;
height: 100%;
.status_base {
display: flex;
width: 100%;
align-items: center;
height: 100%;
justify-content: center;
display: flex;
.status-circle {
align-items: center;
content: '';
justify-content: center;
display: block;
.status-circle {
width: 8px;
content: '';
height: 8px;
display: block;
border-radius: 4px;
width: 8px;
margin-right: 5px;
height: 8px;
}
border-radius: 4px;
.status-1 {
margin-right: 5px;
background-color: rgb(219, 223, 12);;
}
.status-1 {
background-color: rgb(219, 223, 12);;
}
.status-2 {
background-color: rgb(87, 238, 82);;
}
.status-3 {
background-color: rgb(238, 68, 16);;
}
}
}
.status-2 {
.download-btn {
background-color: rgb(87, 238, 82);;
color: rgb(7, 180, 59);
cursor: pointer;
}
}
.
status-3
{
.
download-btn:hover
{
background-color: rgb(238, 68, 16);
;
color: rgb(98, 233, 86)
;
}
}
}
}
.download-btn {
color: rgb(7, 180, 59);
cursor: pointer;
}
.download-btn:hover {
color: rgb(98, 233, 86);
}
</
style
>
</
style
>
\ No newline at end of file
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录