Revert "任务分配页新增时所属人员无法选择问题修改"
This reverts commit 7be1d36f88d3533921bb7d5c7046ce0984b4e6a2.
| | |
| | | clearable |
| | | placeholder="请选择" |
| | | style="width: 340px;" |
| | | :disabled="form.start" |
| | | @change="withUser(form)" |
| | | > |
| | | <el-option |
| | |
| | | this.formTasks = [] |
| | | this.form.name = null |
| | | this.form.performanceHours = null |
| | | this.form.start = false |
| | | }, |
| | | // 编辑之前 |
| | | [CRUD.HOOK.beforeToEdit]() { |
| | |
| | | this.formTasks = [] |
| | | this.form.name = null |
| | | this.form.performanceHours = null |
| | | this.form.start = false |
| | | }, |
| | | [CRUD.HOOK.afterEditCancel]() { |
| | | this.formTasks = [] |
| | | this.form.name = null |
| | | this.form.performanceHours = null |
| | | this.form.start = false |
| | | }, |
| | | [CRUD.HOOK.afterAddCancel]() { |
| | | this.formTasks = [] |
| | | this.form.name = null |
| | | this.form.performanceHours = null |
| | | this.form.start = false |
| | | }, |
| | | [CRUD.HOOK.afterAddError]() { |
| | | this.formTasks = [] |
| | | this.form.name = null |
| | | this.form.performanceHours = null |
| | | this.form.start = false |
| | | }, |
| | | [CRUD.HOOK.beforeToCU]() { |
| | | this.form.task.id = this.query.taskId |