opt:下发叠盘任务判断系统参数最大可下发数、子托盘组盘更新手持pc端逻辑优化、任务强制完成加等待图标并更新按钮条件

This commit is contained in:
DESKTOP-5DIJMF9\admin
2024-09-09 16:50:43 +08:00
parent 23f96ca8f6
commit c3c0bec050
8 changed files with 95 additions and 65 deletions

View File

@@ -111,7 +111,7 @@
<el-button
type="text"
icon="el-icon-success"
:disabled="scope.row.task_status==='5' || scope.row.task_status==='6'"
:disabled="scope.row.task_status==='1' || scope.row.task_status==='5' || scope.row.task_status==='6'"
@click="doOperate(scope.row, 'a')"
>完成</el-button>
<el-button
@@ -220,10 +220,12 @@ export default {
method_name: method_name,
config_code: row.config_code
}
this.crud.loading = true
crudSchBaseTask.operation(data).then(res => {
this.crud.toQuery()
this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
}).catch(err => {
this.crud.loading = false
console.log(err.response.data.message)
})
}