注册部门org_category字段暂时设置为3

master
Gitea 2 weeks ago
parent 8225e18c41
commit f2f6ee095e
  1. 2
      jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysDepartServiceImpl.java
  2. 4
      jeecgboot-vue3/src/views/system/usersetting/UserSetting.data.ts

@ -212,7 +212,7 @@ public class SysDepartServiceImpl extends ServiceImpl<SysDepartMapper, SysDepart
sysDepart.setOrgCategory("1"); sysDepart.setOrgCategory("1");
} else { } else {
//sysDepart.setOrgCategory("2");原来设置为2,暂时设置3 //sysDepart.setOrgCategory("2");原来设置为2,暂时设置3
sysDepart.setOrgCategory("3"); sysDepart.setOrgCategory(departMapper.getDepartById(parentId).getOrgCategory());
} }
} }
this.save(sysDepart); this.save(sysDepart);

@ -109,7 +109,7 @@ export const formSchema: FormSchema[] = [
// disabled:true // disabled:true
// } // }
// }, // },
{ /* {
field: 'post', field: 'post',
component: 'JDictSelectTag', component: 'JDictSelectTag',
label: '职位', label: '职位',
@ -119,7 +119,7 @@ export const formSchema: FormSchema[] = [
dictCode:'sys_position,name,id', dictCode:'sys_position,name,id',
disabled:false disabled:false
} }
}, },*/
{ {
label: '', label: '',
field: 'id', field: 'id',

Loading…
Cancel
Save