xiangpei
2025-03-11 84a14c24edf92f7072e50b51ee37143d658ecfd4
src/views/system/dept/index.vue
@@ -181,7 +181,7 @@
      // 是否显示弹出层
      open: false,
      // 是否展开,默认全部展开
      isExpandAll: true,
      isExpandAll: false,
      // 重新渲染表格状态
      refreshTable: true,
      // 查询参数
@@ -226,10 +226,11 @@
    /** 查询部门列表 */
    getList() {
      this.loading = true;
      listDept(this.queryParam.then(response => {
      console.log(this.queryParams, "dddddd")
      listDept(this.queryParams).then(response => {
        this.deptList = this.handleTree(response.data, "deptId");
        this.loading = false;
      }));
      });
    },
    /** 转换部门数据结构 */