zhouwx
2024-08-20 31ab2edfa500364818d2cc2c30acc1f4ae5b8dac
src/views/hazardousChemicals/systemManage/department/components/deptDialog.vue
@@ -113,7 +113,7 @@
  title.value = type === 'addFirst' || type === 'add' ? '新增部门' : type ==='edit' ? '编辑部门' : '' ;
  if(type === 'edit') {
    state.isFirst = true;
    state.form = value;
    state.form = JSON.parse(JSON.stringify(value));
    state.form.status = value.status == 0;
    state.form.sort = value.sort;
    state.form.parentId = value.parentId;