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
提交
fc56cdc9
提交
fc56cdc9
编写于
7月 30, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feat/zl' into 'develop'
Feat/zl See merge request
!49
上级
fede0fef
ab6a4507
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
37 行增加
和
22 行删除
+37
-22
chat.vue
src/components/IM/chat.vue
+5
-8
diagnosis-live.vue
src/components/IM/diagnosis-live.vue
+28
-10
alert.vue
src/components/common/alert.vue
+1
-1
workbench.vue
src/views/IM/diagnosis-admin/workbench.vue
+3
-3
未找到文件。
src/components/IM/chat.vue
浏览文件 @
fc56cdc9
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
<section
class=
"c-header"
>
<section
class=
"c-header"
>
<div
class=
"header-line"
>
<div
class=
"header-line"
>
<div
class=
"c-header-l"
>
<div
class=
"c-header-l"
>
<span
class=
"num"
>
3519
</span>
<span
class=
"num"
>
{{
currentChat
.
diagnoseLogId
}}
</span>
<span
class=
"dep"
>
内科
</span>
<span
class=
"dep"
>
{{
currentChat
.
department
}}
</span>
</div>
</div>
<div
class=
"c-header-edit"
>
<div
class=
"c-header-edit"
>
<span
class=
"edit-img"
@
click=
"overFn"
>
<span
class=
"edit-img"
@
click=
"overFn"
>
...
@@ -270,7 +270,6 @@ export default {
...
@@ -270,7 +270,6 @@ export default {
doctorImg
:
''
doctorImg
:
''
};
};
},
},
computed
:
{
computed
:
{
...
mapState
({
...
mapState
({
currentChat
:
'currentChat'
,
currentChat
:
'currentChat'
,
...
@@ -313,9 +312,8 @@ export default {
...
@@ -313,9 +312,8 @@ export default {
mounted
()
{
mounted
()
{
cacheMap
=
{};
cacheMap
=
{};
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
_this
.
containerHeight
=
document
.
body
.
clientHeight
-
80
;
// _this.containerHeight = document.body.clientHeight - 80;
// _this.getElmByID("screenSet").style.height = _this.containerHeight - 76 + "px";
// _this.getElmByID("msgContentId").style.height = "400px";
_this
.
getElmByID
(
"msgContentId"
).
style
.
height
=
"400px"
;
});
});
},
},
...
@@ -324,8 +322,7 @@ export default {
...
@@ -324,8 +322,7 @@ export default {
_this
=
this
;
_this
=
this
;
this
.
picakfAccId
=
getPicaKFAccid
();
this
.
picakfAccId
=
getPicaKFAccid
();
const
{
imTeamId
}
=
this
.
currentChat
;
const
{
imTeamId
}
=
this
.
currentChat
;
this
.
tid
=
imTeamId
||
'3853944746'
;
this
.
tid
=
imTeamId
||
'3854284100'
;
console
.
log
(
'--this.currentChat'
,
this
.
currentChat
);
this
.
getFiveContentList
();
this
.
getFiveContentList
();
autoCompletionIntervalId
&&
clearInterval
(
autoCompletionIntervalId
);
autoCompletionIntervalId
&&
clearInterval
(
autoCompletionIntervalId
);
autoCompletionIntervalId
=
setInterval
(()
=>
{
autoCompletionIntervalId
=
setInterval
(()
=>
{
...
...
src/components/IM/diagnosis-live.vue
浏览文件 @
fc56cdc9
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
<p
class=
"msg-img"
>
<p
class=
"msg-img"
>
<img
:src=
"im_text"
alt
/>
<img
:src=
"im_text"
alt
/>
</p>
</p>
<span>
{{
titl
e
}}
</span>
<span>
{{
diagnoseTyp
e
}}
</span>
</div>
</div>
<div
class=
"time-message ml10"
>
<div
class=
"time-message ml10"
>
<p
class=
"msg-img"
>
<img
:src=
"im_time"
alt
/></p>
<p
class=
"msg-img"
>
<img
:src=
"im_time"
alt
/></p>
<p>
设定时长:
{{
time
}}
分钟
</p>
<p>
设定时长:
{{
time
}}
分钟
</p>
<p
v-if=
"startTime && endTime"
>
总时长:
{{
useTime
}}
</p>
<p
v-if=
"startTime && endTime"
>
总时长:
{{
useTime
}}
</p>
<p
v-if=
"startTime && endTime"
>
剩余时长:
{{
loseTime
}}
</p>
<p
v-if=
"startTime && endTime"
>
剩余时长:
{{
loseTime
}}
</p>
</div>
</div>
</div>
</div>
...
@@ -35,7 +35,9 @@
...
@@ -35,7 +35,9 @@
</div>
</div>
</div>
</div>
<div
class=
"viedo"
>
<div
class=
"viedo"
>
<el-button
class=
"call-btn"
>
已接入
</el-button>
<el-button
class=
"call-btn"
:disabled=
"item.status === 2"
@
click=
"drivingCall(item)"
>
{{
showText
(
item
.
status
,
item
.
role
,
item
)
}}
</el-button>
</div>
</div>
</div>
</div>
<div
class=
"vedio-man"
>
<div
class=
"vedio-man"
>
...
@@ -62,6 +64,7 @@ import RtcClient from "../../utils/RtcClient.js";
...
@@ -62,6 +64,7 @@ import RtcClient from "../../utils/RtcClient.js";
import
{
openLoading
,
closeLoading
}
from
"@/utils/utils"
;
import
{
openLoading
,
closeLoading
}
from
"@/utils/utils"
;
import
alert
from
"@/components/common/alert.vue"
;
import
alert
from
"@/components/common/alert.vue"
;
import
timeLeft
from
"@/components/timeLeft"
;
import
timeLeft
from
"@/components/timeLeft"
;
import
{
mapState
}
from
"vuex"
;
export
default
{
export
default
{
components
:
{
components
:
{
alert
,
alert
,
...
@@ -102,7 +105,7 @@ export default {
...
@@ -102,7 +105,7 @@ export default {
answerTimeFn
:
null
,
answerTimeFn
:
null
,
useTimeFn
:
null
,
useTimeFn
:
null
,
loseTimeFn
:
null
,
loseTimeFn
:
null
,
type
:
2
,
// 1: 语音 2: 视频
type
:
1
,
// 1: 语音 2: 视频
startTime
:
0
,
startTime
:
0
,
endTime
:
0
,
endTime
:
0
,
time
:
30
,
//总时长
time
:
30
,
//总时长
...
@@ -113,14 +116,28 @@ export default {
...
@@ -113,14 +116,28 @@ export default {
};
};
},
},
created
()
{
created
()
{
this
.
tid
=
this
.
$route
.
query
.
tid
||
"385
3944746
"
;
this
.
tid
=
this
.
$route
.
query
.
tid
||
"385
4284100
"
;
this
.
diagnoseLogId
=
this
.
$route
.
query
.
diagnoseLogId
||
"3
5
"
;
this
.
diagnoseLogId
=
this
.
$route
.
query
.
diagnoseLogId
||
"3
8
"
;
// openLoading(this);
// openLoading(this);
this
.
init
();
this
.
init
();
},
},
computed
:
{
computed
:
{
title
()
{
...
mapState
({
return
this
.
type
==
1
?
"音频问诊"
:
"视频问诊"
;
currentChat
:
'currentChat'
,
}),
diagnoseType
()
{
switch
(
this
.
currentChat
.
diagnoseType
)
{
case
1
:
return
'语音问诊'
case
2
:
return
'视频问诊'
break
;
case
3
:
return
'图文问诊'
break
;
default
:
return
''
}
},
},
},
},
methods
:
{
methods
:
{
...
@@ -183,6 +200,7 @@ export default {
...
@@ -183,6 +200,7 @@ export default {
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
let
{
liveInfo
,
memberList
}
=
res
.
data
;
let
{
liveInfo
,
memberList
}
=
res
.
data
;
console
.
log
(
'----memberList'
,
memberList
);
if
(
liveInfo
)
{
if
(
liveInfo
)
{
this
.
startTime
=
liveInfo
.
startTimestamp
;
this
.
startTime
=
liveInfo
.
startTimestamp
;
this
.
endTime
=
liveInfo
.
endTimestamp
;
this
.
endTime
=
liveInfo
.
endTimestamp
;
...
@@ -373,7 +391,7 @@ export default {
...
@@ -373,7 +391,7 @@ export default {
text
=
"已离线"
;
text
=
"已离线"
;
break
;
break
;
default
:
default
:
text
=
`已接入
:
${
role
==
1
?
this
.
askTime
:
this
.
answerTime
}
`
;
text
=
`已接入`
;
break
;
break
;
}
}
return
text
;
return
text
;
...
...
src/components/common/alert.vue
浏览文件 @
fc56cdc9
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
//
background: rgba(0,0,0,0.6);
.diog-main
{
.diog-main
{
width
:
480px
;
width
:
480px
;
padding
:
34px
32px
24px
34px
;
padding
:
34px
32px
24px
34px
;
...
...
src/views/IM/diagnosis-admin/workbench.vue
浏览文件 @
fc56cdc9
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
:total=
"totalRows"
>
:total=
"totalRows"
>
</el-pagination>
</el-pagination>
</el-row>
</el-row>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -82,7 +82,7 @@ export default {
...
@@ -82,7 +82,7 @@ export default {
"appointEndTime"
:
"2021-07-29T05:28:57.396Z"
,
"appointEndTime"
:
"2021-07-29T05:28:57.396Z"
,
"department"
:
"内科"
,
"department"
:
"内科"
,
"departmentId"
:
3876
,
"departmentId"
:
3876
,
"diagnoseLogId"
:
11
,
"diagnoseLogId"
:
38
,
"diagnoseType"
:
1
,
"diagnoseType"
:
1
,
"doctorCallKfStatus"
:
1
,
"doctorCallKfStatus"
:
1
,
"doctorCallTime"
:
""
,
"doctorCallTime"
:
""
,
...
@@ -91,7 +91,7 @@ export default {
...
@@ -91,7 +91,7 @@ export default {
"doctorName"
:
"孙思邈"
,
"doctorName"
:
"孙思邈"
,
"doctorTrtcEntryStatus"
:
1
,
"doctorTrtcEntryStatus"
:
1
,
"imStatus"
:
0
,
"imStatus"
:
0
,
"imTeamId"
:
"385
3944746
"
,
"imTeamId"
:
"385
4284100
"
,
"returnStatus"
:
1
,
"returnStatus"
:
1
,
"roomId"
:
"string"
,
"roomId"
:
"string"
,
"sort"
:
0
,
"sort"
:
0
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录