修改bug
This commit is contained in:
parent
78dda10433
commit
9b9254cb9a
@ -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()
|
||||
})
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user