| | |
| | | viewBtn: true, |
| | | editBtn: true, |
| | | delBtn: true, |
| | | addBtn: true, |
| | | dialogType: 'drawer', |
| | | dialogClickModal: false, |
| | | highlightCurrentRow: true, //行选中时高亮 |
| | |
| | | trigger: "click" |
| | | }] |
| | | }, |
| | | { |
| | | /*{ |
| | | label: "所属岗位", |
| | | prop: "postId", |
| | | type: "tree", |
| | |
| | | message: "请选择所属岗位", |
| | | trigger: "click" |
| | | }], |
| | | }, |
| | | },*/ |
| | | ] |
| | | }, |
| | | ] |
| | |
| | | rowSave(row, done, loading) { |
| | | row.deptId = row.deptId.join(","); |
| | | row.roleId = row.roleId.join(","); |
| | | row.postId = row.postId.join(","); |
| | | //row.postId = row.postId.join(","); |
| | | // console.log('3',row) |
| | | add(row).then(() => { |
| | | this.initFlag = false; |