From 3ed5f666678ae793ed2eda971f247a5365988abd Mon Sep 17 00:00:00 2001 From: XingCheng3 <1773407212@qq.com> Date: Tue, 16 Jun 2026 14:48:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=92=8C=E4=B8=89=E7=A0=81=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E9=A1=B5=E9=9D=A2=E4=B8=9A=E5=8A=A1=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/BasicData/PersonnelManagement.js | 29 +- .../BasicData/PersonnelManagement/index.vue | 124 +++- .../WorkshopPersonnelRoleMana/index.vue | 47 +- .../ThreeCodeVerifyRecord/index.vue | 364 ++++++++--- 中控参数维护模块.sql | 214 ------- 人员管理业务修复.sql | 565 ++++++++++++++++++ 6 files changed, 999 insertions(+), 344 deletions(-) delete mode 100644 中控参数维护模块.sql create mode 100644 人员管理业务修复.sql diff --git a/src/api/BasicData/PersonnelManagement.js b/src/api/BasicData/PersonnelManagement.js index 802ebff..0d535e0 100644 --- a/src/api/BasicData/PersonnelManagement.js +++ b/src/api/BasicData/PersonnelManagement.js @@ -64,7 +64,7 @@ export function addDepartmentName(num1, num2, num3) { data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: '11', name: '人事档案管理_部门关系_增加节点', param: '父节点=' + num1 + '=int&节点名称=' + num2 + '=string&子节点=' + num3 } @@ -78,7 +78,7 @@ export function delList(num1) { data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: '11', name: '人事档案管理_部门关系_删除节点', param: '子节点=' + num1 + '=int' } @@ -92,7 +92,7 @@ export function editList(num1, num2) { data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: '11', name: '人事档案管理_部门关系_修改节点', param: '子节点=' + num1 + '=int&节点名称=' + num2 + '=string' } @@ -105,7 +105,7 @@ export function delPeopleList(num1) { data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: '11', name: '人事档案管理_人员名单_删除数据_MESWORK', param: '人员编号=' + num1 + '=int' } @@ -202,7 +202,7 @@ export function addPeople(id, Sex, Education, Address, Nation, Post, AccountNumb data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: '11', name: '人事档案管理_人员名单_增加数据_MESWORK', param: '考核部门编号=' + id + '=int&性别编号=' + Sex + '=int&学历编号=' + Education + '=int&家庭住址=' + Address + '&民族=' + Nation + '&岗位编号=' + Post + '=int&考勤编号=' + AccountNumber + '=string&密码=' + Password + '=string&姓名=' + Name + '=string&身份证号=' + IDcard + '=string&入公司时间=' + TimeOfEntry + '=string&出生日期=' + Birthday + '=string&联系电话=' + ContactInformation + '=string&班组=' + TeamValue } @@ -215,7 +215,7 @@ export function editPeople(id, Sex, Education, Address, Nation, Post, AccountNum data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: '11', name: '人事档案管理_人员名单_修改数据_MESWORK', param: '人员编号=' + id + '=int&性别编号=' + Sex + '=int&学历编号=' + Education + '=int&家庭住址=' + Address + '&民族=' + Nation + '&岗位编号=' + Post + '=int&考勤编号=' + AccountNumber + '=string&密码=' + Password + '=string&姓名=' + Name + '=string&身份证号=' + IDcard + '=string&入公司时间=' + TimeOfEntry + '=string&出生日期=' + Birthday + '=string&联系电话=' + ContactInformation + '=string&班组=' + TeamValue } @@ -228,7 +228,7 @@ export function moveGroups(num1, num2) { data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: '11', name: '人事档案管理_人员名单_移动数据_MESWORK', param: '人员编号=' + num1 + '=int&考核部门编号=' + num2 + '=int' } @@ -397,12 +397,25 @@ export function quit(num1) { data: { UserID: state.state.user.id, ModularID: router.currentRoute.path, - type: 2, + type: '11', name: '人事档案管理_人员_离职操作', param: '人员编号=' + num1 + '=int' } }) } +export function reinstate(num1) { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '11', + name: '人事档案管理_人员_复职操作', + param: '人员编号=' + num1 + '=int' + } + }) +} export function searchLeavingList(pageCurrent, pageSize) { return request({ url: '', diff --git a/src/views/BasicData/PersonnelManagement/index.vue b/src/views/BasicData/PersonnelManagement/index.vue index 33521f1..c9c0019 100644 --- a/src/views/BasicData/PersonnelManagement/index.vue +++ b/src/views/BasicData/PersonnelManagement/index.vue @@ -380,9 +380,17 @@ - + @@ -408,7 +416,7 @@