shuishen
2024-01-22 3835cf1ca8d5ac8475052d3876ebeb4a2c4160f1
src/views/system/user.vue
@@ -436,14 +436,14 @@
                            {
                                label: "所属角色",
                                prop: "roleId",
                                multiple: true,
                                type: "tree",
                                multiple: true,
                                checkStrictly: true,
                                leafOnly: false,
                                dicData: [],
                                props: {
                                    label: "title"
                                },
                                checkStrictly: true,
                                slot: true,
                                rules: [{
                                    required: true,
                                    message: "请选择所属角色",
@@ -456,7 +456,7 @@
                                type: "tree",
                                // multiple: true,
                                dicData: [],
                                dataType:"string",
                                dataType: "string",
                                props: {
                                    label: "title"
                                },
@@ -699,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)
@@ -718,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)