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
提交
aa585de2
提交
aa585de2
编写于
8月 06, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
save
上级
1e56b119
0b16f10e
变更
7
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
61 行增加
和
33 行删除
+61
-33
App.vue
src/App.vue
+1
-1
consultation.vue
src/components/common/consultation.vue
+3
-2
inquirylist.vue
src/components/common/inquirylist.vue
+37
-23
common.scss
src/style/common.scss
+2
-2
workbench.vue
src/views/IM/diagnosis-admin/workbench.vue
+16
-3
header.vue
src/views/layout/header.vue
+1
-1
slidebar.vue
src/views/layout/slidebar.vue
+1
-1
未找到文件。
src/App.vue
浏览文件 @
aa585de2
...
@@ -150,7 +150,7 @@ export default {
...
@@ -150,7 +150,7 @@ export default {
.content
{
.content
{
background
:
#f0f2f5
;
background
:
#f0f2f5
;
position
:
absolute
;
position
:
absolute
;
left
:
2
5
5px
;
left
:
2
1
5px
;
right
:
0
;
right
:
0
;
top
:
64px
;
top
:
64px
;
bottom
:
0
;
bottom
:
0
;
...
...
src/components/common/consultation.vue
浏览文件 @
aa585de2
<
template
>
<
template
>
<div
class=
"consultationlist"
style=
"user-select: none"
>
<div
class=
"consultationlist"
@
click=
"goworkBench"
style=
"user-select: none"
>
<div
class=
"list"
>
<div
class=
"list"
>
<div
class=
"name"
>
{{
operatorsItem
.
name
||
""
}}
</div>
<div
class=
"name"
>
{{
operatorsItem
.
name
||
""
}}
</div>
<div
class=
"details"
@
click=
"goworkBench"
>
<div
class=
"details"
>
<!--
<div
class=
"handle"
>
待处理:
<span>
暂无
</span></div>
-->
<!--
<div
class=
"handle"
>
待处理:
<span>
暂无
</span></div>
-->
<div
class=
"see"
>
<div
class=
"see"
>
<span>
查看详情
</span>
<span>
查看详情
</span>
...
@@ -64,6 +64,7 @@ export default {
...
@@ -64,6 +64,7 @@ export default {
width
:
100%
;
width
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
18px
;
border-radius
:
18px
;
cursor
:
pointer
;
.list
{
.list
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
...
src/components/common/inquirylist.vue
浏览文件 @
aa585de2
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</div>
</div>
</div>
</div>
<div
class=
"inquiry-user-info"
>
<div
class=
"inquiry-user-info"
>
<div>
<div
class=
"info-name-wrap"
>
<span
class=
"info-name"
>
<span
class=
"info-name"
>
{{
item
.
doctorName
}}
{{
item
.
doctorName
}}
</span>
</span>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
{{
item
.
doctorMobile
}}
{{
item
.
doctorMobile
}}
</span>
</span>
<span
class=
"info-call-time"
v-if=
"item.doctorCallTime"
>
<span
class=
"info-call-time"
v-if=
"item.doctorCallTime"
>
{{
pastCallTime
}}
小时前呼叫
{{
past
Doctor
CallTime
}}
小时前呼叫
</span>
</span>
<span
class=
"info-calling"
v-if=
"item.doctorCallKfStatus == 1"
>
<span
class=
"info-calling"
v-if=
"item.doctorCallKfStatus == 1"
>
<img
:src=
"infocallImg"
alt=
""
/>
<img
:src=
"infocallImg"
alt=
""
/>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</div>
</div>
</div>
</div>
<div
class=
"call-status"
>
<div
class=
"call-status"
v-if=
"item.diagnoseType == 1 || item.diagnoseType == 2"
>
<img
<img
v-if=
"isCall"
v-if=
"isCall"
@
click=
"drivingCall(item.doctorId, 2)"
@
click=
"drivingCall(item.doctorId, 2)"
...
@@ -67,8 +67,8 @@
...
@@ -67,8 +67,8 @@
</div>
</div>
</div>
</div>
<div
class=
"line-btn"
@
click=
"openChat"
>
<div
class=
"line-btn"
@
click=
"openChat"
>
<!--
<span
v-if=
"isDoctorChat"
>
正在呼叫接诊医生,进入诊室
</span>
-->
<!--
<span
v-if=
"isDoctorChat"
>
正在呼叫接诊医生,进入诊室
</span>
-->
<!--
<span
v-else-if=
"isUserChat"
>
正在呼叫医助,进入诊室
</span>
-->
<!--
<span
v-else-if=
"isUserChat"
>
正在呼叫医助,进入诊室
</span>
-->
<span>
进入诊室
</span>
<span>
进入诊室
</span>
</div>
</div>
</div>
</div>
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</div>
</div>
</div>
</div>
<div
class=
"inquiry-user-info"
>
<div
class=
"inquiry-user-info"
>
<div>
<div
class=
"info-name-wrap"
>
<span
class=
"info-name"
>
<span
class=
"info-name"
>
{{
item
.
userName
}}
{{
item
.
userName
}}
</span>
</span>
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
{{
item
.
userMobile
}}
{{
item
.
userMobile
}}
</span>
</span>
<span
class=
"info-call-time"
v-if=
"item.userCallTime"
>
<span
class=
"info-call-time"
v-if=
"item.userCallTime"
>
{{
u
serCallTime
}}
小时前呼叫
{{
pastU
serCallTime
}}
小时前呼叫
</span>
</span>
<span
class=
"info-calling"
v-if=
"item.userCallKfStatus == 1"
>
<span
class=
"info-calling"
v-if=
"item.userCallKfStatus == 1"
>
<img
:src=
"infocallImg"
alt=
""
/>
<img
:src=
"infocallImg"
alt=
""
/>
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</div>
</div>
</div>
</div>
<div
class=
"call-status"
>
<div
class=
"call-status"
v-if=
"item.diagnoseType == 1 || item.diagnoseType == 2"
>
<img
<img
v-if=
"isCall"
v-if=
"isCall"
@
click=
"drivingCall(item.userId, 1)"
@
click=
"drivingCall(item.userId, 1)"
...
@@ -199,9 +199,9 @@ export default {
...
@@ -199,9 +199,9 @@ export default {
case
1
:
case
1
:
return
"待处理"
;
return
"待处理"
;
case
2
:
case
2
:
return
'待问诊'
return
"待问诊"
;
case
3
:
case
3
:
return
'问诊进行中'
return
"问诊进行中"
;
case
4
:
case
4
:
return
"问诊已完成"
;
return
"问诊已完成"
;
case
5
:
case
5
:
...
@@ -219,18 +219,24 @@ export default {
...
@@ -219,18 +219,24 @@ export default {
userCallTime
()
{
userCallTime
()
{
return
new
Date
(
this
.
item
.
userCallTime
).
format
(
"hh:mm"
);
return
new
Date
(
this
.
item
.
userCallTime
).
format
(
"hh:mm"
);
},
},
pastUserCallTime
()
{
let
now_data
=
new
Date
().
getTime
();
if
(
this
.
item
.
userCallTime
)
{
return
new
Date
(
now_data
-
this
.
item
.
userCallTime
).
format
(
"hh:mm"
);
}
else
{
return
null
;
}
},
doctorCallTime
()
{
doctorCallTime
()
{
return
this
.
item
.
doctorCallTime
return
this
.
item
.
doctorCallTime
;
},
},
pastCallTime
()
{
pastDoctorCallTime
()
{
let
now_data
=
new
Date
().
getTime
();
let
now_data
=
new
Date
().
getTime
();
if
(
this
.
item
.
doctorCallTime
)
{
if
(
this
.
item
.
doctorCallTime
)
{
return
new
Date
(
now_data
-
this
.
item
.
doctorCallTime
).
format
(
"hh:mm"
);
return
new
Date
(
now_data
-
this
.
item
.
doctorCallTime
).
format
(
"hh:mm"
);
}
else
{
return
null
;
}
}
else
{
return
null
}
},
},
nowtime
()
{
nowtime
()
{
return
new
Date
().
getTime
()
-
this
.
item
.
appointBeginTime
;
return
new
Date
().
getTime
()
-
this
.
item
.
appointBeginTime
;
...
@@ -267,10 +273,10 @@ export default {
...
@@ -267,10 +273,10 @@ export default {
},
},
// 主动呼叫 roletype 1:助诊医生 2:接诊医生
// 主动呼叫 roletype 1:助诊医生 2:接诊医生
drivingCall
(
id
,
roletype
)
{
drivingCall
(
id
,
roletype
)
{
if
(
roletype
==
1
&&
this
.
isUserChat
)
{
if
(
roletype
==
1
&&
this
.
isUserChat
)
{
return
false
;
return
false
;
}
}
if
(
roletype
==
2
&&
this
.
isDoctorChat
)
{
if
(
roletype
==
2
&&
this
.
isDoctorChat
)
{
return
false
;
return
false
;
}
}
this
.
getInfo
(
id
).
then
((
res
)
=>
{
this
.
getInfo
(
id
).
then
((
res
)
=>
{
...
@@ -347,12 +353,12 @@ export default {
...
@@ -347,12 +353,12 @@ export default {
.inquiry-wrap
{
.inquiry-wrap
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
padding
:
20px
3
4
px
;
padding
:
20px
3
2
px
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
18px
;
border-radius
:
18px
;
user-select
:
none
;
user-select
:
none
;
//min-width: 610px;
//min-width: 610px;
border
:
1px
solid
#cccccc
;
//
border: 1px solid #cccccc;
.line
{
.line
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
@@ -438,8 +444,16 @@ export default {
...
@@ -438,8 +444,16 @@ export default {
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
center
;
justify-content
:
center
;
.info-name-wrap
{
display
:
flex
;
align-items
:
center
;
}
.info-name
{
.info-name
{
display
:
inline-block
;
max-width
:
85px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
font-size
:
18px
;
font-size
:
18px
;
color
:
#02120f
;
color
:
#02120f
;
font-weight
:
bold
;
font-weight
:
bold
;
...
...
src/style/common.scss
浏览文件 @
aa585de2
...
@@ -128,7 +128,7 @@ html,body{
...
@@ -128,7 +128,7 @@ html,body{
// width: 163vh !important;
// width: 163vh !important;
// height: 66vh !important;
// height: 66vh !important;
// height: 430px !important;
// height: 430px !important;
margin
:
20px
3
0px
0px
;
margin
:
10px
1
0px
0px
;
overflow
:
auto
;
overflow
:
auto
;
}
}
}
}
...
@@ -138,7 +138,7 @@ html,body{
...
@@ -138,7 +138,7 @@ html,body{
// height: 78vh !important;
// height: 78vh !important;
// height: 800px !important;
// height: 800px !important;
overflow
:
auto
;
overflow
:
auto
;
margin
:
20px
3
0px
0px
;
margin
:
10px
1
0px
0px
;
}
}
}
}
...
...
src/views/IM/diagnosis-admin/workbench.vue
浏览文件 @
aa585de2
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<img
src=
"../../../assets/image/workbench/no_data_wz.png"
alt=
""
/>
<img
src=
"../../../assets/image/workbench/no_data_wz.png"
alt=
""
/>
<div
class=
"nodata-title"
>
暂时没有问诊
</div>
<div
class=
"nodata-title"
>
暂时没有问诊
</div>
</div>
</div>
<div
class=
"pagination-container"
>
<div
class=
"pagination-container"
v-if=
"allSize>0"
>
<el-pagination
<el-pagination
background
background
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange"
...
@@ -89,6 +89,7 @@ export default {
...
@@ -89,6 +89,7 @@ export default {
isSuperAdmin
(
newdata
,
olddata
)
{
isSuperAdmin
(
newdata
,
olddata
)
{
// console.log("ererer")
// console.log("ererer")
if
(
newdata
!==
olddata
&&
newdata
.
userID
)
{
if
(
newdata
!==
olddata
&&
newdata
.
userID
)
{
console
.
log
(
'-isSuperAdminisSuperAdmin'
,
newdata
)
const
s
=
storejs
.
get
(
"soketQuest"
);
const
s
=
storejs
.
get
(
"soketQuest"
);
const
d
=
s
?
s
.
dateTime
:
new
Date
().
format
(
"yyyy-MM-dd"
);
const
d
=
s
?
s
.
dateTime
:
new
Date
().
format
(
"yyyy-MM-dd"
);
let
id
=
let
id
=
...
@@ -296,8 +297,8 @@ export default {
...
@@ -296,8 +297,8 @@ export default {
}
}
}
}
.workbench-content
{
.workbench-content
{
min-width
:
1250px
;
//
min-width: 1250px;
padding
:
20px
;
padding
:
20px
10px
;
.workbench-li-c
{
.workbench-li-c
{
width
:
100%
;
width
:
100%
;
.grid-c
{
.grid-c
{
...
@@ -372,4 +373,16 @@ export default {
...
@@ -372,4 +373,16 @@ export default {
padding
:
10px
0
;
padding
:
10px
0
;
background-color
:
#f9fafc
;
background-color
:
#f9fafc
;
}
}
// 屏幕适配
@media
screen
and
(
min-width
:
1240px
)
and
(
max-width
:
1441px
){
.workbench-container
{
.workbench-li-c
{
.grid-c
{
.workbench-li
{
//max-width: 572px;
}
}
}
}
}
</
style
>
</
style
>
src/views/layout/header.vue
浏览文件 @
aa585de2
...
@@ -136,7 +136,7 @@ export default {
...
@@ -136,7 +136,7 @@ export default {
// background-color: #242f42;
// background-color: #242f42;
.logo
{
.logo
{
float
:
left
;
float
:
left
;
width
:
2
5
5px
;
width
:
2
1
5px
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
#fff
;
background
:
#0b2f3f
;
background
:
#0b2f3f
;
...
...
src/views/layout/slidebar.vue
浏览文件 @
aa585de2
...
@@ -157,7 +157,7 @@ export default {
...
@@ -157,7 +157,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
64px
;
top
:
64px
;
bottom
:
0
;
bottom
:
0
;
width
:
2
5
5px
;
width
:
2
1
5px
;
background
:
#06232c
;
background
:
#06232c
;
.el-menu
{
.el-menu
{
background
:
#06232c
;
background
:
#06232c
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录