From 9b9254cb9ae24bd33b5e4d6e0d21bacdcb1976ac Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Fri, 28 Feb 2025 18:24:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mediation-page/components/MediationRoom.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index ace434f..1d0b725 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -722,7 +722,12 @@ export default { callingQueue() { api.callingQueue({}).then(res => { this.queueList = res.queue || [] - this.caseId = String(res.queue[0].caseId) || '' + let nocalllist = res.queue.filter(item =>{return item.status.code == 1}) + // scope.row.status.code === 1 + this.caseId = String(nocalllist[0].caseId) || '' + this.queueList.forEach((item,index) =>{ + if(item.caseId == this.caseId){this.index = index} + }) this.getCaseInfoById() }) },