zhongrj
2023-11-17 e61db8ab40181f880a52bd1cf07c7e621983d277
用户角色查询修改
1 files modified
19 ■■■■■ changed files
src/views/system/user.vue 19 ●●●●● patch | view | raw | blame | history
src/views/system/user.vue
@@ -713,6 +713,9 @@
        this.initData(website.tenantId);
      }
    },
    created(){
      this.initData(website.tenantId);
    },
    methods: {
      nodeClick(data) {
        this.treeDeptId = data.id;
@@ -724,14 +727,14 @@
          const column = this.findObject(this.option.group, "roleId");
          column.dicData = res.data.data;
        });
        getDeptTree(tenantId).then(res => {
          const column = this.findObject(this.option.group, "deptId");
          column.dicData = res.data.data;
        });
        getPostList(tenantId).then(res => {
          const column = this.findObject(this.option.group, "postId");
          column.dicData = res.data.data;
        });
        // getDeptTree(tenantId).then(res => {
        //   const column = this.findObject(this.option.group, "deptId");
        //   column.dicData = res.data.data;
        // });
        // getPostList(tenantId).then(res => {
        //   const column = this.findObject(this.option.group, "postId");
        //   column.dicData = res.data.data;
        // });
      },
      submitRole() {
        const roleList = this.$refs.treeRole.getCheckedKeys().join(",");