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
提交
89fc6f30
提交
89fc6f30
编写于
7月 31, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feat/zl' into 'develop'
Feat/zl See merge request
!50
上级
fc56cdc9
f1406547
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
37 行增加
和
11 行删除
+37
-11
chat.scss
src/components/IM/chat.scss
+10
-2
chat.vue
src/components/IM/chat.vue
+9
-3
diagnosis-live.vue
src/components/IM/diagnosis-live.vue
+4
-3
inquirylist.vue
src/components/common/inquirylist.vue
+5
-2
workbench.vue
src/views/IM/diagnosis-admin/workbench.vue
+9
-1
未找到文件。
src/components/IM/chat.scss
浏览文件 @
89fc6f30
...
@@ -389,12 +389,17 @@
...
@@ -389,12 +389,17 @@
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
/
deep
/
.el-textarea
{
::v-deep
.el-textarea
{
width
:
75%
;
.el-textarea__inner
{
.el-textarea__inner
{
border
:
none
;
border
:
none
;
}
}
}
}
::v-deep
.c-bottom-input
{
//border: 4px solid #0d9078 !important;
::v-deep
textarea
{
border
:
none
!
important
;
}
}
}
}
&
.no-content
{
&
.no-content
{
display
:
flex
;
display
:
flex
;
...
@@ -444,3 +449,6 @@
...
@@ -444,3 +449,6 @@
}
}
}
}
}
}
.shrink64
{
height
:
64px
;
}
src/components/IM/chat.vue
浏览文件 @
89fc6f30
<
template
>
<
template
>
<div
class=
"chat-wrap"
v-show=
"showChat"
>
<div
class=
"chat-wrap"
:class=
"toggleChatSize ? 'shrink64' : ''"
v-show=
"showChat"
>
<section
class=
"component-content"
id=
"screenSet"
>
<section
class=
"component-content"
id=
"screenSet"
>
<article
<article
class=
"center"
class=
"center"
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<span
class=
"edit-img"
@
click=
"closeChat"
>
<span
class=
"edit-img"
@
click=
"closeChat"
>
<img
src=
"../../assets/image/IM/im_close2.png"
alt
/>
<img
src=
"../../assets/image/IM/im_close2.png"
alt
/>
</span>
</span>
<span
class=
"edit-img"
>
<span
class=
"edit-img"
@
click=
"toggleChatModal"
>
<img
src=
"../../assets/image/IM/im_small.png"
alt
/>
<img
src=
"../../assets/image/IM/im_small.png"
alt
/>
</span>
</span>
</div>
</div>
...
@@ -267,7 +267,8 @@ export default {
...
@@ -267,7 +267,8 @@ export default {
tid
:
''
,
tid
:
''
,
teamMemberList
:
[],
teamMemberList
:
[],
doctorName
:
''
,
doctorName
:
''
,
doctorImg
:
''
doctorImg
:
''
,
toggleChatSize
:
false
};
};
},
},
computed
:
{
computed
:
{
...
@@ -926,6 +927,7 @@ export default {
...
@@ -926,6 +927,7 @@ export default {
})
})
.
catch
((
err
)
=>
{});
.
catch
((
err
)
=>
{});
},
},
out
()
{
out
()
{
const
{
diagnoseLogId
}
=
this
.
currentChat
;
const
{
diagnoseLogId
}
=
this
.
currentChat
;
let
url
=
`/diagnose/admin/diagnose/endCall/
${
diagnoseLogId
}
`
;
let
url
=
`/diagnose/admin/diagnose/endCall/
${
diagnoseLogId
}
`
;
...
@@ -955,6 +957,10 @@ export default {
...
@@ -955,6 +957,10 @@ export default {
});
});
},
},
toggleChatModal
()
{
this
.
toggleChatSize
=
!
this
.
toggleChatSize
;
}
},
},
beforeDestroy
()
{
beforeDestroy
()
{
...
...
src/components/IM/diagnosis-live.vue
浏览文件 @
89fc6f30
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"top-left"
>
<div
class=
"top-left"
>
<div
class=
"time-message "
>
<div
class=
"time-message "
>
<p
class=
"msg-img"
>
<p
class=
"msg-img"
>
<img
:src=
"
im_text
"
alt
/>
<img
:src=
"
diagnoseType == 1 ? im_text : im_video
"
alt
/>
</p>
</p>
<span>
{{
diagnoseType
}}
</span>
<span>
{{
diagnoseType
}}
</span>
</div>
</div>
...
@@ -116,8 +116,9 @@ export default {
...
@@ -116,8 +116,9 @@ export default {
};
};
},
},
created
()
{
created
()
{
this
.
tid
=
this
.
$route
.
query
.
tid
||
"3854284100"
;
const
{
imTeamId
,
diagnoseLogId
}
=
this
.
currentChat
;
this
.
diagnoseLogId
=
this
.
$route
.
query
.
diagnoseLogId
||
"38"
;
this
.
tid
=
imTeamId
||
"3854284100"
;
this
.
diagnoseLogId
=
diagnoseLogId
||
"38"
;
// openLoading(this);
// openLoading(this);
this
.
init
();
this
.
init
();
},
},
...
...
src/components/common/inquirylist.vue
浏览文件 @
89fc6f30
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</div>
</div>
</div>
</div>
<div
class=
"inquiryroom"
>
<div
class=
"inquiryroom"
>
<div
class=
"goroom"
><span
v-if=
"nomor"
@
click=
"openChat
"
>
进入诊室
</span><span
v-else
>
正在呼叫医助,进入诊室
</span>
</div>
<div
class=
"goroom"
@
click=
"openChat"
><span
v-if=
"nomor
"
>
进入诊室
</span><span
v-else
>
正在呼叫医助,进入诊室
</span>
</div>
<div
class=
"suggest"
@
click=
"openAdvice"
>
诊断建议
<div
class=
"writesuggest"
v-if=
"inquiry.write"
>
未写
</div></div>
<div
class=
"suggest"
@
click=
"openAdvice"
>
诊断建议
<div
class=
"writesuggest"
v-if=
"inquiry.write"
>
未写
</div></div>
</div>
</div>
</el-card>
</el-card>
...
@@ -331,10 +331,12 @@ export default {
...
@@ -331,10 +331,12 @@ export default {
}
}
}
}
.inquiryroom
{
.inquiryroom
{
user-select
:
none
;
height
:
45px
;
height
:
45px
;
display
:
flex
;
//
display: flex;
font-size
:
14px
;
font-size
:
14px
;
.goroom
{
.goroom
{
display
:
inline-block
;
cursor
:pointer
;
cursor
:pointer
;
width
:
238px
;
width
:
238px
;
height
:
37px
;
height
:
37px
;
...
@@ -349,6 +351,7 @@ export default {
...
@@ -349,6 +351,7 @@ export default {
}
}
}
}
.suggest
{
.suggest
{
display
:
inline-block
;
cursor
:pointer
;
cursor
:pointer
;
width
:
238px
;
width
:
238px
;
color
:
#449284
;
color
:
#449284
;
...
...
src/views/IM/diagnosis-admin/workbench.vue
浏览文件 @
89fc6f30
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<el-radio-button
label=
"5"
>
已取消(
{{
currentCalList
}}
)
</el-radio-button>
<el-radio-button
label=
"5"
>
已取消(
{{
currentCalList
}}
)
</el-radio-button>
</el-radio-group>
</el-radio-group>
<div
class=
"forbox"
>
<div
class=
"forbox"
>
<div
class=
"for"
v-for=
"(item, index) in
l
ist"
:key=
"'for'+index"
>
<div
class=
"for"
v-for=
"(item, index) in
currentDiagL
ist"
:key=
"'for'+index"
>
<inquiryList-component
:item=
"item"
></inquiryList-component>
<inquiryList-component
:item=
"item"
></inquiryList-component>
</div>
</div>
</div>
</div>
...
@@ -51,6 +51,7 @@
...
@@ -51,6 +51,7 @@
<
script
>
<
script
>
import
{
mapState
}
from
"vuex"
;
import
{
mapState
}
from
"vuex"
;
import
InquiryListComponent
from
'../../../components/common/inquirylist.vue'
;
import
InquiryListComponent
from
'../../../components/common/inquirylist.vue'
;
import
store
from
"../../../store"
;
export
default
{
export
default
{
components
:
{
components
:
{
InquiryListComponent
InquiryListComponent
...
@@ -121,6 +122,13 @@ export default {
...
@@ -121,6 +122,13 @@ export default {
this
.
searchParam
.
returnStatus
=
val
this
.
searchParam
.
returnStatus
=
val
this
.
searchParam
.
pageNo
=
1
this
.
searchParam
.
pageNo
=
1
this
.
search
()
this
.
search
()
// 测试代码
const
l
=
this
.
currentDiagList
;
console
.
log
(
'--l----'
,
l
)
l
.
push
(...
this
.
list
);
console
.
log
(
'--l'
,
l
)
this
.
$store
.
commit
(
'updateCurrentDiagList'
,
l
);
},
},
changeDatetime
(
val
)
{
changeDatetime
(
val
)
{
this
.
searchParam
.
dateTime
=
val
.
toLocaleDateString
().
split
(
'/'
).
join
(
'-'
)
this
.
searchParam
.
dateTime
=
val
.
toLocaleDateString
().
split
(
'/'
).
join
(
'-'
)
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录