浏览代码

人员信息同步-只同步会计,评估的人员信息

sangwenwei 6 月之前
父节点
当前提交
2a721b9663
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/views/sys/user/UserForm.vue

+ 5 - 1
src/views/sys/user/UserForm.vue

@@ -695,7 +695,11 @@ export default {
 								department:this.inputForm.officeDTO.id,
 								userId: data.userId,
 							}
-							enrollmentRegistrationService.saveInfo(param)
+							//会计公司和评估公司的人可以将信息添加到入职登记中
+							if (this.inputForm.tenantDTO.id === '10003' || this.inputForm.tenantDTO.id === '10001'){
+								enrollmentRegistrationService.saveInfo(param)
+							}
+
 						})
 						.catch(() => {
 							this.loading = false;