diff --git a/src/views/corpInfo/user/components/list.vue b/src/views/corpInfo/user/components/list.vue index 2287614..e9f6dfe 100644 --- a/src/views/corpInfo/user/components/list.vue +++ b/src/views/corpInfo/user/components/list.vue @@ -109,7 +109,7 @@ 编辑 删除 - 绑定 + 绑定 @@ -301,6 +301,7 @@ export default { humanResourceForm: false, userInfoList: [], formModel: { + userId: '', userName: '', cardId: '' }, @@ -518,9 +519,10 @@ export default { this.formModel.userName = item.NAME this.formModel.cardId = item.CARD_ID // 根据选择的用户名填充身份证号 }, - bind() { + bind(USER_ID) { this.humanResourceForm = true this.getHrUserInfo() + this.formModel.userId = USER_ID }, getHrUserInfo() { requestFN(