Browse Source

禅道bug处理

master
suyanyan 1 month ago
parent
commit
07cf61b7d4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      SafeCampus.WEB/src/views/userManage/personnel/components/form/index.vue

+ 2
- 0
SafeCampus.WEB/src/views/userManage/personnel/components/form/index.vue View File

@@ -68,6 +68,8 @@ function onOpen(props: FormProps.Base<SysUserPersonnel.SysUserPerInfo>) {
if (props.record.personId) {
//如果传了id,就去请求api获取record
userManagePersonnelApi.detail({ id: props.record.personId }).then((res: any) => {
if (!res.data.majorId) res.data.majorId = "";
if (!res.data.depId) res.data.depId = "";
sysUserProps.record = res.data;
});
}


Loading…
Cancel
Save