diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index 987f30b..89c98ce 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -653,12 +653,12 @@ export default { return; } - let total1 = await listTask({status: '1'}).then(response => { + let total1 = await listTask({status: '-1'}).then(response => { return response.total; }); if(total1 > total_task[0].value || total1 == total_task[0].value){ - this.$alert(`同时接收任务最大数【${total_task[0].value}】,请稍后再试!`, `提示`, { + this.$alert(`已到达【任务等待】最大数【${total_task[0].value}】,请稍后再试!`, `提示`, { type: 'warning' }); return; diff --git a/dangan-ui/src/views/dangan/pictureRecard/index.vue b/dangan-ui/src/views/dangan/pictureRecard/index.vue index de3b845..190523a 100644 --- a/dangan-ui/src/views/dangan/pictureRecard/index.vue +++ b/dangan-ui/src/views/dangan/pictureRecard/index.vue @@ -328,12 +328,12 @@ export default { return; } - let total1 = await listTask({status: '1'}).then(response => { + let total1 = await listTask({status: '-1'}).then(response => { return response.total; }); if(total1 > total_task[0].value || total1 == total_task[0].value){ - this.$alert(`同时接收任务最大数【${total_task[0].value}】,请稍后再试!`, `提示`, { + this.$alert(`已到达【任务等待】最大数【${total_task[0].value}】,请稍后再试!`, `提示`, { type: 'warning' }); return; diff --git a/dangan-ui/src/views/dangan/task/index.vue b/dangan-ui/src/views/dangan/task/index.vue index 997035d..44e46e0 100644 --- a/dangan-ui/src/views/dangan/task/index.vue +++ b/dangan-ui/src/views/dangan/task/index.vue @@ -286,12 +286,12 @@ }, async onReRecongnize(row){ let total_task = this.dict.type.total_task; - let total1 = await listTask({status: '1'}).then(response => { + let total1 = await listTask({status: '-1'}).then(response => { return response.total; }); if(total1 > total_task[0].value || total1 == total_task[0].value){ - this.$alert(`同时接收任务最大数【${total_task[0].value}】,请稍后再试!`, `提示`, { + this.$alert(`已到达【任务等待】最大数【${total_task[0].value}】,请稍后再试!`, `提示`, { type: 'warning' }); return;