This commit is contained in:
liuxi 2025-02-17 17:11:46 +08:00
commit 28dc4464d4
2 changed files with 15 additions and 3 deletions

View File

@ -188,7 +188,7 @@ import { size } from "lodash";
},
//
handleEnterqueue(row){
this.$router.push({path: '/mediation-page', query: {sourcePage: 'home'}})
this.$router.push({path: '/mediation-page', query: {sourcePage: 'home', queue: true}})
}
}
};

View File

@ -511,9 +511,11 @@ export default {
}
}
// this.$loading.close()
this.$loading().close();
this.eventDialog.caseId = this.caseId
// this.getmediate_record()
}).catch(err => {
this.$loading().close();
})
},
//
@ -524,6 +526,11 @@ export default {
if(this.queue || this.index === 0) return
this.index--
this.caseId = String(this.queueList[this.index].caseId)
this.$loading({
lock: true,
text: '加载中...',
target: 'body'
});
this.getCaseInfoById()
// api.getFrontCaseById({id: this.caseId}).then(res => {
// if (!res.code) {
@ -534,7 +541,7 @@ export default {
},
//
getNextCaseById() {
if (!this.$clickThrottle()) {
if (!this.$clickThrottle(1000)) {
return
}//
if(this.queue || this.index >= this.queueList.length - 1) return
@ -542,6 +549,11 @@ export default {
this.caseId = String(this.queueList[this.index].caseId)
console.log('下一个案件id: ' + this.caseId, this.index, this.queueList)
this.$loading({
lock: true,
text: '加载中...',
target: 'body'
});
this.getCaseInfoById()
// api.getNextCaseById({id: this.caseId}).then(res => {