Your Name
2022-06-29 a266ece06a2a4c906e5377d3417962fa3760aef6
src/views/system/department/index.vue
@@ -20,7 +20,6 @@
            :data="tableData.data"
            style="width: 100%"
            row-key="id"
            default-expand-all
            :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
         >
            <el-table-column prop="name" label="部门名称" show-overflow-tooltip> </el-table-column>
@@ -34,7 +33,7 @@
            </el-table-column>
         </el-table>
      </el-card>
      <deptDialog ref="deptDialog" />
      <deptDialog ref="deptDialog" @getDepartmentList="initTableData"/>
   </div>
</template>
@@ -106,6 +105,7 @@
      });
      return {
         deptDialog,
         initTableData,
         onOpenDeptDialog,
         onTabelRowDel,
         ...toRefs(state),