refactor(task-management): 重构工单管理功能

- 更新了工作台页面的工单列表和详情展示
- 重构了工单关闭和删除的逻辑
-优化了工单详情弹窗的展示内容
- 调整了 API 接口的参数传递方式
This commit is contained in:
dj
2024-11-23 12:19:04 +08:00
parent 2856ce09dd
commit 226ff55ddf
8 changed files with 127 additions and 118 deletions

View File

@@ -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>