| | |
| | | label: 'deptName', |
| | | value: 'id' |
| | | }, |
| | | dicUrl: '/api/blade-system/dept/select', |
| | | dicUrl: '/ssoapi/blade-system/dept/select', |
| | | span: 24, |
| | | display: false, |
| | | rules: [{ |
| | |
| | | label: 'roleName', |
| | | value: 'id' |
| | | }, |
| | | dicUrl: '/api/blade-system/role/select', |
| | | dicUrl: '/ssoapi/blade-system/role/select', |
| | | span: 24, |
| | | display: false, |
| | | rules: [{ |
| | |
| | | switchDept () { |
| | | const userId = this.userInfo.user_id |
| | | const deptColumn = this.findObject(this.userOption.column, "deptId") |
| | | deptColumn.dicUrl = `/api/blade-system/dept/select?userId=${userId}` |
| | | deptColumn.dicUrl = `/ssoapi/blade-system/dept/select?userId=${userId}` |
| | | deptColumn.display = true |
| | | const roleColumn = this.findObject(this.userOption.column, "roleId") |
| | | roleColumn.dicUrl = `/api/blade-system/role/select?userId=${userId}` |
| | | roleColumn.dicUrl = `/ssoapi/blade-system/role/select?userId=${userId}` |
| | | roleColumn.display = true |
| | | this.userBox = true |
| | | }, |