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
提交
75af5556
提交
75af5556
编写于
7月 28, 2021
作者:
fusheng.liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ui样式修改
上级
8e5c2415
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
194 行增加
和
127 行删除
+194
-127
callout.png
src/assets/image/workbench/callout.png
+0
-0
callouting.png
src/assets/image/workbench/callouting.png
+0
-0
consulting hours.png
src/assets/image/workbench/consulting hours.png
+0
-0
offline.png
src/assets/image/workbench/offline.png
+0
-0
voice.png
src/assets/image/workbench/voice.png
+0
-0
inquirylist.vue
src/components/common/inquirylist.vue
+194
-127
未找到文件。
src/assets/image/workbench/callout.png
0 → 100644
浏览文件 @
75af5556
824 字节
src/assets/image/workbench/callouting.png
0 → 100644
浏览文件 @
75af5556
739 字节
src/assets/image/workbench/consulting hours.png
0 → 100644
浏览文件 @
75af5556
208 字节
src/assets/image/workbench/offline.png
0 → 100644
浏览文件 @
75af5556
228 字节
src/assets/image/workbench/voice.png
0 → 100644
浏览文件 @
75af5556
302 字节
src/components/common/inquirylist.vue
浏览文件 @
75af5556
<
template
>
<div
class=
"inquirylist"
>
<el-row>
<el-col
:span=
"8"
:
key=
"o"
:
offset=
"index > 0 ? 2 : 0"
>
<el-row
v-loading =
loading
>
<el-col
:span=
"8"
:offset=
"index > 0 ? 2 : 0"
>
<el-card
shadow=
"always"
:body-style=
"
{ padding: '0px' }">
<div
class=
"inquiryname"
>
<div
class=
"inquiryinfo"
>
<div
class=
"infone"
>
问诊单
{{
inquiry
.
listnumber
}}
<span
class=
"department"
>
(
{{
inquiry
.
department
}}
)
</span></div>
<div
class=
"infone"
>
{{
inquiry
.
listnumber
+
item
}}
<span
class=
"department"
>
{{
inquiry
.
department
}}
</span></div>
<div
class=
"talk"
>
{{
inquiry
.
voice
}}
</div>
<
div
class=
"time"
>
{{
inquiry
.
time
}}
</div
>
<
span
class=
"time"
>
{{
inquiry
.
time
}}
</span
>
</div>
<div
class=
"inquirystatus"
>
<span
class=
"status"
>
状态:
{{
inquiry
.
status
}}
</span>
<span
class=
"status"
>
{{
inquiry
.
status
}}
</span>
<div
class=
"inquiryimg"
v-if=
"inquiry.status==''"
>
图片
</div>
<div
class=
"inquirytime"
v-if=
"inquiry.countdown"
><span></span>
00:00:15
</div>
<div
class=
"inquirytime"
v-if=
"inquiry.countdown"
><span></span>
已问诊
{{
inquiry
.
countdown
}}
</div>
</div>
</div>
<div
class=
"inquirydoctor"
>
<div
class=
"visitingdoctor"
>
<div
class=
"onedoctor"
><span>
img
</span>
接诊医生
<el-tag
v-if=
"inquiry.online"
size=
"mini"
type=
"danger"
effect=
"dark"
>
离线
</el-tag></div>
<div
class=
"onedoctorname"
>
{{
inquiry
.
visitingdoctor
}}
</div>
<div
class=
"onedoctornum"
>
<span>
{{
inquiry
.
visitingdoctornum
}}
</span>
<span
@
click=
"calldoc()"
class=
"calldoctor"
><span
v-if=
"calldoctor"
>
呼叫医生
</span>
<span
v-else
>
呼叫中...
</span></span>
</div>
<em
class=
"offline"
v-if=
"inquiry.doctorline[0]"
></em>
<div
class=
"onedoctor"
>
<el-avatar
src=
"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
></el-avatar></div>
<div
class=
"onedoctorname"
>
{{
inquiry
.
visitingdoctor
}}
<span>
接诊医生
</span>
<div
class=
"onedoctornum"
>
{{
inquiry
.
visitingdoctornum
}}
<span
v-if=
"inquiry.answer"
>
未接听
</span><i
v-else
></i></div>
</div>
<img
@
click=
"calldoc()"
v-if=
"inquiry.imgshowdoc"
style=
"width: 45px; height: 46px ;margin-left:20px; cursor:pointer;"
:src=
"inquiry.imgshow?require('../../assets/image/workbench/callout.png'):require('../../assets/image/workbench/callouting.png')"
alt
/>
</div>
<div
class=
"helpdoctor"
>
<div
class=
"onedoctor"
><span>
img
</span>
接诊医生
<el-tag
v-if=
"inquiry.online"
size=
"mini"
type=
"danger"
effect=
"dark"
>
离线
</el-tag></div>
<div
class=
"onedoctorname"
>
{{
inquiry
.
helpdoctor
}}
</div>
<div
class=
"onedoctornum"
>
<span>
{{
inquiry
.
helpdoctornum
}}
</span>
<span
@
click=
"calldoc()"
class=
"calldoctor"
><span
v-if=
"calldoctor"
>
呼叫医生
</span>
<span
v-else
>
呼叫中...
</span></span>
</div>
<div
class=
"helpdoctor"
>
<em
v-if=
"inquiry.doctorline[1]"
class=
"offline"
></em>
<div
class=
"onedoctor"
>
<el-avatar
src=
"https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"
></el-avatar></div>
<div
class=
"onedoctorname"
>
{{
inquiry
.
visitingdoctor
}}
<span>
助诊医生
</span>
<div
class=
"onedoctornum"
>
{{
inquiry
.
visitingdoctornum
}}
<span
v-if=
"inquiry.answer"
>
未接听
</span><i
v-else
></i></div>
</div>
<img
v-if=
"inquiry.imgshowhelp"
style=
"width: 45px; height: 46px ;margin-left:20px; cursor:pointer;"
:src=
"inquiry.imgshowhelp?require('../../assets/image/workbench/callout.png'):require('../../assets/image/workbench/callouting.png')"
alt
/>
</div>
</div>
<div
class=
"inquiryroom"
>
<
span
class=
"goroom"
>
进入诊室
</span
>
<
span
class=
"suggest"
>
诊断建议
</span
>
<
div
class=
"goroom"
><span>
进入诊室
</span>
</div
>
<
div
class=
"suggest"
>
诊断建议
<div
class=
"writesuggest"
v-if=
"inquiry.write"
>
未写
</div></div
>
</div>
</el-card>
</el-col>
...
...
@@ -44,38 +59,73 @@ export default {
return
{
inquiry
:{
time
:
new
Date
().
getFullYear
()
+
'-07-14 14:00-15:00'
,
status
:
'
异常
'
,
department
:
'
内
科'
,
status
:
'
待处理
'
,
department
:
'
重症谷壳内科神经
科'
,
listnumber
:
'3520'
,
countdown
:
'
1
'
,
countdown
:
'
00:00:15
'
,
online
:
true
,
voice
:
'语音问诊'
,
visitingdoctor
:
'孙四百'
,
helpdoctor
:
'孙四百'
,
visitingdoctornum
:
'111111111111'
,
helpdoctornum
:
'1111111111111'
helpdoctornum
:
'1111111111111'
,
answer
:
null
,
imgshowdoc
:
true
,
imgshowhelp
:
true
,
imgshow
:
true
,
docavator
:
''
,
write
:
false
,
doctorline
:[
false
,
false
]
},
calldoctor
:
true
calldoctor
:
true
,
timer
:
null
,
flag
:
true
};
},
props
:{
loading
:{
type
:
Boolean
,
default
:
false
},
item
:{
type
:
Number
,
default
:
0
}
},
created
()
{
// vm = this;
},
methods
:
{
calldoc
()
{
this
.
calldoctor
=
false
}
if
(
this
.
flag
){
this
.
inquiry
.
imgshow
=
false
let
nums
=
120
this
.
flag
=
false
this
.
timer
=
setInterval
(()
=>
{
if
(
nums
>
0
){
nums
--
}
else
{
clearInterval
(
this
.
timer
)
this
.
timer
=
null
;
this
.
inquiry
.
imgshow
=
true
this
.
flag
=
true
}
console
.
log
(
nums
,
this
.
inquiry
.
imgshow
);
},
1000
);
}
},
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.inquirylist
{
width
:
592px
;
height
:
266px
;
display
:
flex
;
flex-basis
:
30%
;
width
:
30%
;
margin-bottom
:
10px
;
margin
:
20px
30px
0px
;
//
margin: 20px 30px 0px;
padding
:
10px
5px
;
// background: #fff;
overflow
:
hidden
!
important
;
...
...
@@ -84,149 +134,147 @@ export default {
width
:
100%
;
height
:
100%
;
.el-col
{
width
:
100%
;
height
:
260px
;
width
:
572px
;
height
:
234px
;
margin-left
:
5px
;
margin-bottom
:
12px
;
.el-card
{
height
:
100%
;
border-radius
:
18px
;
padding
:
12px
32px
20px
34px
;
}
}
.el-col-offset-2
{
margin-left
:
1%
;
}
}
.inquiryname
{
display
:
flex
;
height
:
100px
;
border-bottom
:
rgb
(
209
,
208
,
208
)
1px
solid
;
//
height: 100px;
margin-bottom
:
4px
;
.inquiryinfo
{
padding
:
8px
7px
;
//
padding: 8px 7px;
.infone
{
font-size
:
1
8px
;
font-size
:
2
8px
;
font-weight
:
700
;
margin-bottom
:
20px
;
margin-bottom
:
10px
;
color
:
#063948
;
>
span
{
font-size
:
14
px
;
color
:
#
b2aeae
;
font-size
:
20
px
;
color
:
#
063948
;
display
:
inline-block
;
margin-left
:
5
px
;
margin-left
:
7
px
;
}
}
.talk
{
width
:
120px
;
height
:
24px
;
background
:
#F0F2F5
;
border-radius
:
23px
;
color
:
#6A7990
;
font-size
:
14px
;
color
:
#b2aeae
;
margin-bottom
:
7px
;
line-height
:
24px
;
text-align
:
center
;
display
:
inline-block
;
}
.time
{
color
:
#b2aeae
;
font-size
:
14px
;
width
:
217px
;
height
:
24px
;
background
:
#F0F2F5
;
border-radius
:
23px
;
display
:
inline-block
;
text-align
:
center
;
line-height
:
24px
;
color
:
#6A7990
;
margin-left
:
5px
;
padding-left
:
15px
;
}
}
.inquirystatus
{
.status
{
position
:
absolut
e
;
right
:
2
4px
;
position
:
relativ
e
;
right
:
-11
4px
;
top
:
12px
;
}
.inquiryimg
{
position
:
absolut
e
;
right
:
24
px
;
top
:
6
0px
;
position
:
relativ
e
;
left
:
128
px
;
top
:
4
0px
;
}
.inquirytime
{
position
:
absolut
e
;
right
:
24
px
;
top
:
40
px
;
position
:
relativ
e
;
left
:
65
px
;
top
:
12
px
;
font-size
:
14px
;
color
:
#
b2aeae
;
color
:
#
6A7990
;
}
}
}
.inquirydoctor
{
height
:
115px
;
border-bottom
:
rgb
(
209
,
208
,
208
)
1px
solid
;
margin-bottom
:
10px
;
// height: 115px;
padding-top
:
15px
;
display
:
flex
;
.visitingdoctor
{
position
:
relative
;
flex-basis
:
50%
;
padding
:
5px
2px
7px
7px
;
border-right
:
rgb
(
209
,
208
,
208
)
1px
solid
;
.el-tag
{
width
:
30px
;
height
:
14px
;
font-size
:
10px
!
important
;
line-height
:
12px
;
padding-left
:
2px
;
}
.el-tag--dark.el-tag--danger
{
background-color
:
rgb
(
208
,
2
,
27
);
border-color
:
rgb
(
208
,
2
,
27
);
}
display
:
flex
;
padding
:
5px
2px
7px
7px
;
s
.onedoctor
{
font-size
:
14px
;
color
:
#b2aeae
;
margin
:
4px
;
margin-top
:
10px
;
width
:
36px
;
height
:
36px
;
}
.offline
{
position
:
absolute
;
top
:
5px
;
left
:
4px
;
width
:
16px
;
height
:
16px
;
background-image
:
url('../../assets/image/workbench/offline.png')
;
}
.onedoctorname
{
margin-top
:
18px
;
font-size
:
14px
;
// margin-top: 18px;
font-size
:
18px
;
color
:
#063948
;
margin-bottom
:
7px
;
>
span
{
font-size
:
14px
;
}
}
.onedoctornum
{
font-size
:
14px
;
.calldoctor
{
display
:
inline-block
;
border-radius
:
12px
;
border
:
1px
solid
rgb
(
129
,
178
,
234
);
font-size
:
12px
;
color
:
rgb
(
129
,
178
,
234
);
width
:
59px
;
height
:
20px
;
padding-left
:
4px
;
margin-left
:
13px
;
cursor
:pointer
;
}
font-size
:
16px
;
margin-top
:
2px
;
}
}
.helpdoctor
{
flex-basis
:
50%
;
padding
:
5px
2px
7px
7px
;
.el-tag
{
width
:
30px
;
height
:
14px
;
font-size
:
10px
!
important
;
line-height
:
12px
;
padding-left
:
2px
;
}
.el-tag--dark.el-tag--danger
{
background-color
:
rgb
(
208
,
2
,
27
);
border-color
:
rgb
(
208
,
2
,
27
);
}
position
:
relative
;
display
:
flex
;
margin-left
:
8px
;
padding
:
5px
2px
7px
7px
;
s
.onedoctor
{
font-size
:
14px
;
color
:
#b2aeae
;
margin
:
4px
;
margin-top
:
10px
;
width
:
36px
;
height
:
36px
;
}
.offline
{
position
:
absolute
;
top
:
5px
;
left
:
4px
;
width
:
16px
;
height
:
16px
;
background-image
:
url('../../assets/image/workbench/offline.png')
;
}
.onedoctorname
{
margin-top
:
18px
;
font-size
:
14px
;
// margin-top: 18px;
font-size
:
18px
;
color
:
#063948
;
margin-bottom
:
7px
;
>
span
{
font-size
:
14px
;
}
}
.onedoctornum
{
font-size
:
14px
;
.calldoctor
{
display
:
inline-block
;
border-radius
:
12px
;
border
:
1px
solid
rgb
(
129
,
178
,
234
);
font-size
:
12px
;
color
:
rgb
(
129
,
178
,
234
);
width
:
59px
;
height
:
20px
;
padding-left
:
4px
;
margin-left
:
13px
;
cursor
:pointer
;
}
font-size
:
16px
;
margin-top
:
2px
;
}
}
}
...
...
@@ -234,22 +282,41 @@ export default {
height
:
45px
;
display
:
flex
;
.goroom
{
display
:
inline-block
;
font-weight
:
700
;
flex-basis
:
50%
;
cursor
:pointer
;
width
:
238px
;
height
:
37px
;
background
:
rgb
(
239
,
246
,
244
);
border-radius
:
23px
;
text-align
:
center
;
height
:
100%
;
line-height
:
45px
;
border-right
:
rgb
(
209
,
208
,
208
)
1px
solid
;
line-height
:
37px
;
>
span
{
color
:
#449284
;
opacity
:
1
;
}
}
.suggest
{
cursor
:pointer
;
font-weight
:
700
;
flex-basis
:
50%
;
display
:
inline-block
;
width
:
238px
;
color
:
#449284
;
margin-left
:
24px
;
height
:
37px
;
background
:
rgb
(
239
,
246
,
244
);
border-radius
:
23px
;
text-align
:
center
;
height
:
100%
;
line-height
:
45px
;
line-height
:
37px
;
.writesuggest
{
position
:
relative
;
top
:
-50px
;
right
:
-150px
;
color
:
#fff
;
font-size
:
14px
;
text-align
:
center
;
line-height
:
20px
;
width
:
48px
;
height
:
20px
;
background
:
#449284
;
border-radius
:
7px
7px
7px
0px
;
}
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录