zhongrj
2023-12-27 4f0530c4606aff18ed96283326da1821f47a08c4
用户机构展示异常修改
2 files modified
9 ■■■■■ changed files
src/views/system/dept.vue 2 ●●● patch | view | raw | blame | history
src/views/system/user.vue 7 ●●●●● patch | view | raw | blame | history
src/views/system/dept.vue
@@ -147,7 +147,7 @@
            },
            defaultExpandedKeys: ["361102003"],
            rules: [{
              required: true,
              required: false,
              message: "请选择管辖区域",
              trigger: "blur"
            }]
src/views/system/user.vue
@@ -456,10 +456,11 @@
                                type: "tree",
                                // multiple: true,
                                dicData: [],
                                dataType:"string",
                                props: {
                                    label: "title"
                                },
                                checkStrictly: true,
                                // checkStrictly: true,
                                slot: true,
                                span: 12,
                                rules: [{
@@ -698,7 +699,7 @@
            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)
@@ -717,7 +718,7 @@
            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)