喻忠伟 2 months ago
commit 7c5dfab3e8
  1. 3
      jeecg-boot/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysDepartServiceImpl.java
  2. 28
      jeecgboot-vue3/src/views/system/usersetting/UserSetting.data.ts

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

@ -98,18 +98,18 @@ export const formSchema: FormSchema[] = [
],
}
},
{
field: 'relTenantIds',
component: 'JDictSelectTag',
label: '租户',
colProps: { span: 24 },
componentProps:{
mode:'multiple',
dictCode:'sys_tenant,name,id',
disabled:true
}
},
{
// {
// field: 'relTenantIds',
// component: 'JDictSelectTag',
// label: '',
// colProps: { span: 24 },
// componentProps:{
// mode:'multiple',
// dictCode:'sys_tenant,name,id',
// disabled:true
// }
// },
/* {
field: 'post',
component: 'JDictSelectTag',
label: '职位',
@ -117,9 +117,9 @@ export const formSchema: FormSchema[] = [
componentProps:{
mode:'multiple',
dictCode:'sys_position,name,id',
disabled:true
disabled:false
}
},
},*/
{
label: '',
field: 'id',

Loading…
Cancel
Save