| | |
| | | if (this.useifid != 266) { |
| | | form["deptId"] = this.useifid; |
| | | } |
| | | console.log(form, 123456); |
| | | // console.log(form, 123456); |
| | | (form["ids"] = form.userIds.join(",")), delete form.userIds; |
| | | console.log(form, 321); |
| | | // console.log(form, 321); |
| | | saveDispatcher(form).then( |
| | | (res) => { |
| | | this.onLoad(this.page); |
| | |
| | | type: "success", |
| | | message: "操作成功!", |
| | | }); |
| | | this.onLoad(this.page, this.query1); |
| | | done(); |
| | | }, |
| | | (error) => { |
| | | window.console.log(error); |
| | | loading(); |
| | | this.onLoad(this.page, this.query1); |
| | | done(); |
| | | } |
| | | ); |
| | | // } |
| | | }, |
| | | searchChange(params, done) { |
| | | this.query1 = params; |