opt:下发叠盘任务判断系统参数最大可下发数、子托盘组盘更新手持pc端逻辑优化、任务强制完成加等待图标并更新按钮条件
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user