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
提交
ea17cb8a
提交
ea17cb8a
编写于
4月 15, 2024
作者:
zhaosheng.zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 问诊卡片--患者病情和接诊医生卡片
上级
c01198e7
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
105 行增加
和
14 行删除
+105
-14
diagnosis-im.vue
src/views/IM/diagnosis-admin/diagnosis-im.vue
+52
-1
im.scss
src/views/IM/diagnosis-admin/im.scss
+53
-13
未找到文件。
src/views/IM/diagnosis-admin/diagnosis-im.vue
浏览文件 @
ea17cb8a
...
...
@@ -117,6 +117,49 @@
>
<span>
该消息类型PC端暂不支持
</span>
</div>
<!-- 患者病情 -->
<div
v-if=
"item.showType == 12"
class=
"diagnosis-box"
>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<div
class=
"dia-text"
>
<span
class=
"label"
>
患者:
</span>
<span>
{{
item
.
text
.
patientName
}}
{{
item
.
text
.
sex
==
1
?
'男'
:
'女'
}}
{{
item
.
text
.
age
}}
岁
</span>
</div>
<div
class=
"dia-text"
>
<span
class=
"label"
>
病情描述:
</span>
<span>
{{
item
.
text
.
illnessDetail
}}
</span>
</div>
</div>
<!-- 安排接诊医生 -->
<div
v-if=
"item.showType === 13"
class=
"time-box"
>
<div
class=
"physician"
>
<div
class=
"physician-left"
>
<img
:src=
"item.text.avatar"
alt
>
</div>
<div
class=
"physician-right"
>
<div
class=
"physician-right__top"
>
<span>
{{
item
.
text
.
doctorName
}}
</span>
<span>
{{
item
.
text
.
title
}}
{{
item
.
text
.
department
}}
</span>
</div>
<div
class=
"physician-right__center"
>
{{
item
.
text
.
hospital
}}
</div>
<div
class=
"physician-right__bot"
>
擅长:
{{
item
.
text
.
goodAt
}}
</div>
</div>
</div>
</div>
<!-- 语音消息 -->
<div
v-if=
"item.showType == 6"
...
...
@@ -645,7 +688,15 @@
showType
=
11
;
title
=
content
.
title
;
text
=
content
.
content
;
}
else
{
}
else
if
(
content
.
bizType
===
29
)
{
// 患者病情
showType
=
12
;
title
=
content
.
title
;
text
=
JSON
.
parse
(
content
.
content
);
}
else
if
(
content
.
bizType
===
30
)
{
// 接诊医生
showType
=
13
;
title
=
content
.
title
;
text
=
JSON
.
parse
(
content
.
content
);
}
else
{
showType
=
5
;
}
}
else
if
(
msg
.
type
.
toLowerCase
()
==
'image'
||
msg
.
type
.
toLowerCase
()
==
'picture'
)
{
// 图片
...
...
src/views/IM/diagnosis-admin/im.scss
浏览文件 @
ea17cb8a
...
...
@@ -184,9 +184,9 @@
border-radius
:
8px
;
min-height
:
80px
;
.title
{
padding-bottom
:
10px
;
font-size
:
14px
;
font-weight
:
700
;
padding-bottom
:
10px
;
font-size
:
14px
;
font-weight
:
700
;
}
.dia-text
{
font-size
:
12px
;
...
...
@@ -204,7 +204,7 @@
border-radius
:
8px
;
min-height
:
80px
;
.title
{
padding-bottom
:
10px
;
padding-bottom
:
10px
;
font-size
:
14px
;
font-weight
:
700
;
}
...
...
@@ -226,7 +226,7 @@
border-radius
:
8px
;
min-height
:
80px
;
.title
{
padding-bottom
:
10px
;
padding-bottom
:
10px
;
font-size
:
14px
;
font-weight
:
700
;
}
...
...
@@ -237,7 +237,7 @@
color
:
#B4B4B4
;
}
}
}
&
>
.audio-box
audio
{
width
:
242px
;
...
...
@@ -342,11 +342,10 @@
}
}
}
.
msg-content
:
:-
webkit-scrollbar
{
width
:
0px
;
height
:
0px
;
background-color
:
#fff
;
.
msg-content
:
:-
webkit-scrollbar
{
width
:
0px
;
height
:
0px
;
background-color
:
#fff
;
}
.c-bottom
{
position
:
relative
;
...
...
@@ -423,6 +422,47 @@
-o-animation
:
rotate
3s
linear
infinite
;
animation
:
rotate
3s
linear
infinite
;
}
.physician
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
flex-start
;
justify-content
:
flex-start
;
&
-left
{
img
{
display
:
inline-block
;
width
:
36px
;
height
:
36px
;
border-radius
:
18px
;
margin-right
:
8px
;
}
}
&
-right
{
&
__top
{
span
{
&
:nth-child
(
1
)
{
font-size
:
14px
;
font-weight
:
500
;
}
&
:nth-child
(
2
)
{
font-size
:
12px
;
}
}
}
&
__bot
,
&
__center
{
color
:
#999999
;
}
&
__center
{
padding-bottom
:
5px
;
}
}
}
@-webkit-keyframes
rotate
{
from
{
-webkit-transform
:
rotate
(
0deg
)}
to
{
-webkit-transform
:
rotate
(
360deg
)}
}
...
...
@@ -434,6 +474,6 @@
}
@keyframes
rotate
{
from
{
transform
:
rotate
(
0deg
)}
to
{
transform
:
rotate
(
359deg
)}
}
}
}
}
\ No newline at end of file
}
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录