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
提交
446844fe
提交
446844fe
编写于
4月 12, 2021
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
获取菜单
上级
41b20b9c
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
19 行增加
和
15 行删除
+19
-15
App.vue
src/App.vue
+1
-1
diagnosis-im.vue
src/views/IM/diagnosis-admin/diagnosis-im.vue
+9
-5
slidebar.vue
src/views/layout/slidebar.vue
+9
-9
未找到文件。
src/App.vue
浏览文件 @
446844fe
...
...
@@ -97,7 +97,7 @@ export default {
if
(
res
.
code
==
"000000"
)
{
let
systemType
=
0
,
authList
=
res
.
data
.
systemInfoList
;
let
s
=
authList
.
find
(
item
=>
{
return
item
.
systemNameAbbreviation
==
'
PCIM
'
;
return
item
.
systemNameAbbreviation
==
'
diagnose
'
;
});
if
(
s
)
{
systemType
=
s
.
id
;
...
...
src/views/IM/diagnosis-admin/diagnosis-im.vue
浏览文件 @
446844fe
...
...
@@ -7,7 +7,8 @@
>
<section
class=
"c-header"
>
<div
class=
"c-header-l"
>
<span
class=
"time-tip"
>
问诊医生XX医生的问诊群聊
</span>
<img
:src=
"doctorImg"
alt
/>
<span
class=
"name"
>
{{
doctorName
}}
医生的问诊群聊
</span>
</div>
</section>
<p
class=
"refreshText"
></p>
...
...
@@ -15,7 +16,6 @@
<article
v-for=
"(item, index) in messageList"
:key=
"index"
>
<!--
<div
class=
"split-line"
v-if=
"item.sessionFlag"
>
本次会话结束
</div>
-->
<!-- sendOrReceive 为true在右边 -->
<div
class=
"msg-item"
:class=
"
{'cr': item.sendOrReceive}">
<div
class=
"msg-item-img"
>
...
...
@@ -236,7 +236,9 @@ export default {
imgProportion
:
0
,
hasNoHistoryData
:
false
,
tid
:
''
,
teamMemberList
:
[]
teamMemberList
:
[],
doctorName
:
''
,
doctorImg
:
''
};
},
...
...
@@ -326,8 +328,10 @@ export default {
getMembersList
()
{
this
.
GET
(
"/im/team/member/list"
,
{
tid
:
this
.
tid
}).
then
(
res
=>
{
if
(
res
.
code
===
"000000"
)
{
this
.
teamMemberList
=
res
.
data
;
this
.
getMSGHistory
();
// 查询群聊历史消息
this
.
teamMemberList
=
res
.
data
// 1 问诊医生 2接诊医生 3居民 4其他
this
.
doctorName
=
this
.
teamMemberList
[
0
].
name
this
.
doctorImg
=
this
.
teamMemberList
[
0
].
avatarImageUrl
this
.
getMSGHistory
()
// 查询群聊历史消息
}
});
},
...
...
src/views/layout/slidebar.vue
浏览文件 @
446844fe
...
...
@@ -66,16 +66,16 @@ export default {
getNav
()
{
this
.
POST
(
"/basic-data/menu/list"
,
{
systemType
:
this
.
systemType
}).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
//
let { vueMenuDtos } = res.data;
let
vueMenuDtos
=
[];
let
{
vueMenuDtos
}
=
res
.
data
;
//
let vueMenuDtos = [];
// TODO 开发调试时写死, 发布时去掉
vueMenuDtos
=
[{
icon
:
'el-icon-setting'
,
index
:
"diagnosis-list"
,
subs
:
[],
title
:
"订单管理"
}];
//
//
TODO 开发调试时写死, 发布时去掉
//
vueMenuDtos = [{
//
icon: 'el-icon-setting',
//
index: "diagnosis-list",
//
subs: [],
//
title: "订单管理"
//
}];
this
.
items
=
vueMenuDtos
;
sessionStorage
.
setItem
(
"ADMIN_IM_CENTER_NAVS"
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录