修改bug
This commit is contained in:
parent
487ae776b6
commit
ee80292a3d
@ -188,7 +188,7 @@ import { size } from "lodash";
|
|||||||
},
|
},
|
||||||
// 进入队列
|
// 进入队列
|
||||||
handleEnterqueue(row){
|
handleEnterqueue(row){
|
||||||
this.$router.push({path: '/mediation-page', query: {sourcePage: 'home'}})
|
this.$router.push({path: '/mediation-page', query: {sourcePage: 'home', queue: true}})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -510,9 +510,11 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// this.$loading.close()
|
this.$loading().close();
|
||||||
this.eventDialog.caseId = this.caseId
|
this.eventDialog.caseId = this.caseId
|
||||||
// this.getmediate_record()
|
// this.getmediate_record()
|
||||||
|
}).catch(err => {
|
||||||
|
this.$loading().close();
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 获取上一件案件
|
// 获取上一件案件
|
||||||
@ -523,6 +525,11 @@ export default {
|
|||||||
if(this.queue || this.index === 0) return
|
if(this.queue || this.index === 0) return
|
||||||
this.index--
|
this.index--
|
||||||
this.caseId = String(this.queueList[this.index].caseId)
|
this.caseId = String(this.queueList[this.index].caseId)
|
||||||
|
this.$loading({
|
||||||
|
lock: true,
|
||||||
|
text: '加载中...',
|
||||||
|
target: 'body'
|
||||||
|
});
|
||||||
this.getCaseInfoById()
|
this.getCaseInfoById()
|
||||||
// api.getFrontCaseById({id: this.caseId}).then(res => {
|
// api.getFrontCaseById({id: this.caseId}).then(res => {
|
||||||
// if (!res.code) {
|
// if (!res.code) {
|
||||||
@ -533,7 +540,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 获取下一件案件
|
// 获取下一件案件
|
||||||
getNextCaseById() {
|
getNextCaseById() {
|
||||||
if (!this.$clickThrottle()) {
|
if (!this.$clickThrottle(1000)) {
|
||||||
return
|
return
|
||||||
}//防止重复点击
|
}//防止重复点击
|
||||||
if(this.queue || this.index >= this.queueList.length - 1) return
|
if(this.queue || this.index >= this.queueList.length - 1) return
|
||||||
@ -541,6 +548,11 @@ export default {
|
|||||||
this.caseId = String(this.queueList[this.index].caseId)
|
this.caseId = String(this.queueList[this.index].caseId)
|
||||||
console.log('下一个案件id: ' + this.caseId, this.index, this.queueList)
|
console.log('下一个案件id: ' + this.caseId, this.index, this.queueList)
|
||||||
|
|
||||||
|
this.$loading({
|
||||||
|
lock: true,
|
||||||
|
text: '加载中...',
|
||||||
|
target: 'body'
|
||||||
|
});
|
||||||
this.getCaseInfoById()
|
this.getCaseInfoById()
|
||||||
|
|
||||||
// api.getNextCaseById({id: this.caseId}).then(res => {
|
// api.getNextCaseById({id: this.caseId}).then(res => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user