fix : 修复工作台历史记录弹窗数据显示bug

This commit is contained in:
2024-10-06 19:25:02 +08:00
parent 25da31b034
commit d6e6843ecb
5 changed files with 117 additions and 103 deletions

View File

@@ -8,7 +8,7 @@
<h3>历史通话记录</h3>
<fvTable ref="tableIns" :tableConfig="tableConfig"></fvTable>
<voice ref="voiceRef" title="语音详情" :rowUrl="rowUrl" />
<infoLiveCall ref="infoLiveCallRef" :rowData="rowData" />
<infoLiveCall ref="infoLiveCallRef" v-model:value="orderNumber" />
</div>
</div>
</template>
@@ -17,7 +17,7 @@
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 orderNumber = ref('')
const rowUrl = ref()
const infoLiveCallRef = ref()
const voiceRef = ref()
@@ -121,7 +121,6 @@ const tableConfig = reactive({
],
api: '/order/list',
params: {
orderState: '2'
}
})
const handleVoice = (row) => {
@@ -137,10 +136,9 @@ const handleVoice = (row) => {
}
const handleInfo = (row) => {
console.log(row);
infoLiveCallRef.value.open(true)
rowData.value = row.orderNumber
console.log('fefe',row.orderNumber);
orderNumber.value = row.orderNumber
infoLiveCallRef.value.open()
}
</script>