| | |
| | | }, |
| | | initData(tenantId) { |
| | | getRoleTree(tenantId).then((res) => { |
| | | const column = this.findObject(this.option.group, "roleId"); |
| | | try { |
| | | const column = this.findObject(this.option.group, "roleId"); |
| | | } catch (error) {} |
| | | column.dicData = res.data.data; |
| | | }); |
| | | getDeptTree(tenantId).then((res) => { |
| | | const column = this.findObject(this.option.group, "deptId"); |
| | | try { |
| | | const column = this.findObject(this.option.group, "deptId"); |
| | | } catch (error) {} |
| | | column.dicData = res.data.data; |
| | | }); |
| | | getPostList(tenantId).then((res) => { |
| | | const column = this.findObject(this.option.group, "postId"); |
| | | try { |
| | | const column = this.findObject(this.option.group, "postId"); |
| | | } catch (error) {} |
| | | column.dicData = res.data.data; |
| | | }); |
| | | }, |
| | |
| | | row.deptId = row.deptId.join(","); |
| | | row.roleId = row.roleId.join(","); |
| | | row.postId = row.postId.join(","); |
| | | delete row.rtime; |
| | | update(row).then( |
| | | () => { |
| | | this.initFlag = false; |