fix:修复了工单,工单详情,工作台的部分显示问题
This commit is contained in:
@@ -4,10 +4,11 @@
|
||||
<div class="real-time-call">
|
||||
<LiveCall />
|
||||
</div>
|
||||
<div class="call-history"><h3 >历史通话记录</h3>
|
||||
<div class="call-history">
|
||||
<h3>历史通话记录</h3>
|
||||
<fvTable ref="tableIns" :tableConfig="tableConfig"></fvTable>
|
||||
<voice ref="voiceRef" title="语音详情"/>
|
||||
<infoLiveCall ref="infoLiveCallRef" :rowData="rowData"/>
|
||||
<voice ref="voiceRef" title="语音详情" :rowUrl="rowUrl" />
|
||||
<infoLiveCall ref="infoLiveCallRef" :rowData="rowData" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -17,15 +18,16 @@ import LiveCall from '@/components/liveCall/index.vue'
|
||||
import Voice from '@/components/voice/index.vue'
|
||||
import InfoLiveCall from '@/components/infoLiveCall/index.vue'
|
||||
const rowData = ref()
|
||||
const infoLiveCallRef=ref()
|
||||
const voiceRef=ref()
|
||||
const rowUrl = ref()
|
||||
const infoLiveCallRef = ref()
|
||||
const voiceRef = ref()
|
||||
const tableIns = ref()
|
||||
const auths = reactive({
|
||||
report: ['mosr:collect:reported'],
|
||||
})
|
||||
const tableConfig = reactive({
|
||||
columns: [
|
||||
{
|
||||
{
|
||||
prop: 'index',
|
||||
type: 'index',
|
||||
label: '序号',
|
||||
@@ -119,14 +121,23 @@ const tableConfig = reactive({
|
||||
],
|
||||
api: '/order/list',
|
||||
params: {
|
||||
orderState:'2'
|
||||
orderState: '2'
|
||||
}
|
||||
})
|
||||
const handleVoice = (row) => {
|
||||
voiceRef.value.open(true)
|
||||
if (row.recordUrl !== null) {
|
||||
voiceRef.value.open(true)
|
||||
rowUrl.value = row.recordUrl
|
||||
}else{
|
||||
ElMessage({
|
||||
message: '暂无语音',
|
||||
type: 'warning',
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
const handleInfo = (row) => {
|
||||
// console.log(row);
|
||||
console.log(row);
|
||||
|
||||
infoLiveCallRef.value.open(true)
|
||||
rowData.value = row.orderNumber
|
||||
|
||||
Reference in New Issue
Block a user