田源
2024-11-05 a5a27e231cb2aa2c2a045df11ad90e5eda547ae9
Source/plt-web/plt-web-ui/src/views/system/user/index.vue
@@ -78,7 +78,8 @@
    </el-dialog>
    <!-- 导入人员   -->
    <upload-file ref="upload" :tipList="tipList" :fileType="upFileType" :fileUrl="fileUrl" title="导入人员" @updata="getTableList"></upload-file>
    <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入人员"
                 @updata="getTableList"></upload-file>
    <!-- 分配部门对话框    -->
    <el-dialog
@@ -279,8 +280,12 @@
        row,
        this.$refs.userCrud,
        this.lastIndex,
        (newIndex) => { this.lastIndex = newIndex; },
        () => { this.selectList = []; }
        (newIndex) => {
          this.lastIndex = newIndex;
        },
        () => {
          this.selectList = [];
        }
      );
    },
@@ -477,7 +482,13 @@
      departmentQueryController({queryAllLevel: true}).then(res => {
        const data = res.data.treeData;
        this.departData = this.departDtaFormAtter(data);
        this.option.column[7].dicData=[{oid:'ALLDept',name:'所有部门',expand:true,disabled:true,children:this.departData}]
        this.option.column[7].dicData = [{
          oid: 'ALLDept',
          name: '所有部门',
          expand: true,
          disabled: true,
          children: this.departData
        }]
        this.option.column[7].defaultExpandedKeys=['ALLDept'];
      }).catch(err => {
        this.$message.error(err);