fix : 修复工作台实时数据线路显示

This commit is contained in:
2024-10-06 19:40:32 +08:00
parent c6f93e586f
commit bd2e5366aa
2 changed files with 8 additions and 3 deletions

View File

@@ -6,7 +6,8 @@
<span>电话号码{{ recordObj.phone ||'--'}}</span> <span>电话号码{{ recordObj.phone ||'--'}}</span>
</div> </div>
<div><span>工单名称{{ recordObj.orderName||'--' }}</span></div> <div><span>工单名称{{ recordObj.orderName||'--' }}</span></div>
<div><span>{{ recordObj.type=='1'?'线路一':recordObj.type=='2'?'线路二':'' }}</span></div> <!-- <div><span>{{ recordObj.type=='1'?'线路一':recordObj.type=='2'?'线路二':'' }}</span></div>-->
<div><span>{{ lineName }}</span></div>
</div> </div>
<el-scrollbar ref="scrollbarRef" class="scrollbar"> <el-scrollbar ref="scrollbarRef" class="scrollbar">
<div class="chat-content" ref="innerRef"> <div class="chat-content" ref="innerRef">
@@ -51,6 +52,10 @@ const props = defineProps({
type: Object, type: Object,
default: {} default: {}
}, },
lineName: {
type: String,
default: ''
},
}) })
const getScrollbarRef=()=>{ const getScrollbarRef=()=>{

View File

@@ -1,8 +1,8 @@
<template> <template>
<!--测试 张三 : 17260625724565 李四: 17260625724123--> <!--测试 张三 : 17260625724565 李四: 17260625724123-->
<div class="live-call-block"> <div class="live-call-block">
<live-call-item-home ref="recordLeftRef" :recordObj="recordLeftObj" :headData="leftHeadData"/> <live-call-item-home ref="recordLeftRef" :recordObj="recordLeftObj" :headData="leftHeadData" lineName="线路一"/>
<live-call-item-home ref="recordRightRef" :recordObj="recordRightObj" :headData="rightHeadData"/> <live-call-item-home ref="recordRightRef" :recordObj="recordRightObj" :headData="rightHeadData" lineName="线路二"/>
</div> </div>
</template> </template>