refactor(task-management): 重构工单管理功能
- 更新了工作台页面的工单列表和详情展示 - 重构了工单关闭和删除的逻辑 -优化了工单详情弹窗的展示内容 - 调整了 API 接口的参数传递方式
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<h3>历史通话记录</h3>
|
||||
<fvTable ref="tableIns" :tableConfig="tableConfig" :isLoading="isLoading"></fvTable>
|
||||
<voice ref="voiceRef" title="语音详情" :rowUrl="rowUrl" />
|
||||
<infoLiveCall ref="infoLiveCallRef" v-model:value="orderNumber" />
|
||||
<infoLiveCall ref="infoLiveCallRef" v-model:value="historyData" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -17,6 +17,7 @@
|
||||
import LiveCall from '@/components/liveCall/index.vue'
|
||||
import Voice from '@/components/voice/index.vue'
|
||||
import InfoLiveCall from '@/components/infoLiveCall/index.vue'
|
||||
const historyData = ref({})
|
||||
const orderNumber = ref('')
|
||||
const rowUrl = ref()
|
||||
const infoLiveCallRef = ref()
|
||||
@@ -147,12 +148,13 @@ const handleVoice = (row) => {
|
||||
|
||||
}
|
||||
const handleInfo = (row) => {
|
||||
historyData.value=row
|
||||
orderNumber.value = row.orderNumber
|
||||
infoLiveCallRef.value.open()
|
||||
}
|
||||
window.setInterval(() => {
|
||||
setTimeout(tableIns.value.refresh(), 0)
|
||||
}, 2000)
|
||||
// window.setInterval(() => {
|
||||
// setTimeout(tableIns.value.refresh(), 0)
|
||||
// }, 2000)
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user