diff --git a/src/views/system/group/humanResourceUseer/index.vue b/src/views/system/group/humanResourceUseer/index.vue
index 8249858..1f7f211 100644
--- a/src/views/system/group/humanResourceUseer/index.vue
+++ b/src/views/system/group/humanResourceUseer/index.vue
@@ -59,10 +59,11 @@
-
+
否
- 是
+ 通过姓名和手机号确认
+ 用户已手动确认
diff --git a/src/views/system/group/user/index.vue b/src/views/system/group/user/index.vue
index 0219a25..b5e5020 100644
--- a/src/views/system/group/user/index.vue
+++ b/src/views/system/group/user/index.vue
@@ -78,6 +78,14 @@
禁用
+
+
+ 未确认
+ 通过姓名手机号确认
+ 已手动确认
+ 人资系统修改人员信息
+
+
编辑
@@ -87,6 +95,7 @@
启用
删除
推送
+ 绑定
@@ -184,6 +193,45 @@
校 验
+
+
+
+
+
+
+
+
+
+
+ {{ item.NAME }}
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -239,6 +287,13 @@ export default {
}
}
return {
+ humanResourceForm: false,
+ userInfoList: [],
+ formModel: {
+ userId: '',
+ userName: '',
+ cardId: ''
+ },
LOGIN_USER: JSON.parse(sessionStorage.getItem('user')).USER_ID,
treeLoading: false,
treeData: [],
@@ -416,6 +471,47 @@ export default {
this.getTreeList()
},
methods: {
+ cancel() {
+ this.humanResourceForm = false
+ this.formModel.cardId = ''
+ this.formModel.userName = ''
+ },
+ querySearch(queryString, cb) {
+ const results = queryString ? this.userInfoList.filter(item => item.NAME.toLowerCase().includes(queryString.toLowerCase())) : this.userInfoList
+ cb(results)
+ },
+ handleSelect(item) {
+ this.formModel.userName = item.NAME
+ this.formModel.cardId = item.CARD_ID // 根据选择的用户名填充身份证号
+ },
+ bind(USER_ID) {
+ this.humanResourceForm = true
+ this.getHrUserInfo()
+ this.formModel.userId = USER_ID
+ },
+ submitForm() {
+ requestFN(
+ '/openApi/hr/jgBindHrUser',
+ {
+ USER_NAME: this.formModel.userName,
+ CARD_ID: this.formModel.cardId,
+ USER_ID: this.formModel.userId
+ }
+ ).then((data) => {
+ this.humanResourceForm = false
+ }).catch((e) => {
+ console.log(e)
+ })
+ },
+ getHrUserInfo() {
+ requestFN(
+ '/openApi/hr/getUserInfoListByCorpName'
+ ).then((data) => {
+ this.userInfoList = data.varList
+ }).catch((e) => {
+ console.log(e)
+ })
+ },
goPush(row) {
requestFN(
'user/goPush',