zrj
2024-06-07 b07a3a9dcb89f9785b7b001d2d26b167376d597e
src/page/index/top/index.vue
@@ -143,7 +143,7 @@
                            label: 'deptName',
                            value: 'id'
                        },
                        dicUrl: '/api/blade-system/dept/select',
                        dicUrl: '/ssoapi/blade-system/dept/select',
                        span: 24,
                        display: false,
                        rules: [{
@@ -160,7 +160,7 @@
                            label: 'roleName',
                            value: 'id'
                        },
                        dicUrl: '/api/blade-system/role/select',
                        dicUrl: '/ssoapi/blade-system/role/select',
                        span: 24,
                        display: false,
                        rules: [{
@@ -223,10 +223,10 @@
        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
        },