Showing
1 changed file
with
3 additions
and
3 deletions
| ... | ... | @@ -543,14 +543,14 @@ export default { |
| 543 | 543 | } |
| 544 | 544 | }, |
| 545 | 545 | onCorePersonnelChange(data) { |
| 546 | - // const list = Array.isArray(data) ? data : [] | |
| 547 | - // this.form.corePersonnelList = list | |
| 546 | + const list = Array.isArray(data) ? data : [] | |
| 547 | + this.form.corePersonnelList = list | |
| 548 | 548 | }, |
| 549 | 549 | async onSubmit() { |
| 550 | 550 | if (!this.validateRequired()) return |
| 551 | 551 | const payload = { |
| 552 | 552 | ...this.form, |
| 553 | - status: 'UPDATE' | |
| 553 | + type: 'UPDATE' | |
| 554 | 554 | } |
| 555 | 555 | payload.corePersonnelList.forEach(it => { |
| 556 | 556 | delete it.collapsed | ... | ... |