| | |
| | | type: "tree", |
| | | // multiple: true, |
| | | dicData: [], |
| | | dataType:"string", |
| | | props: { |
| | | label: "title" |
| | | }, |
| | | checkStrictly: true, |
| | | // checkStrictly: true, |
| | | slot: true, |
| | | span: 12, |
| | | rules: [{ |
| | |
| | | row['userType'] = 1 |
| | | row.deptId = func.join(row.deptId) |
| | | row.roleId = func.join(row.roleId) |
| | | // row.postId = func.join(row.postId); |
| | | row.postId = func.join(row.postId); |
| | | add(row).then(() => { |
| | | this.initFlag = false |
| | | this.onLoad(this.page) |
| | |
| | | row['userType'] = 1 |
| | | row.deptId = func.join(row.deptId) |
| | | row.roleId = func.join(row.roleId) |
| | | // row.postId = func.join(row.postId); |
| | | row.postId = func.join(row.postId); |
| | | update(row).then(() => { |
| | | this.initFlag = false |
| | | this.onLoad(this.page) |