From d80fe249f2126a7339107a513e3935229c0c7f1b Mon Sep 17 00:00:00 2001 From: andy <1042025947@qq.com> Date: Mon, 14 Jul 2025 09:21:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=A6=BB=E8=81=8C=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E5=85=A5=E8=81=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/staff.js | 8 ++++ src/views/attendance/param/index.vue | 2 +- src/views/system/staff/index.vue | 70 ++++++++++++++++++++++------ 3 files changed, 64 insertions(+), 16 deletions(-) diff --git a/src/api/system/staff.js b/src/api/system/staff.js index 09ec8e8..1abdb19 100644 --- a/src/api/system/staff.js +++ b/src/api/system/staff.js @@ -68,3 +68,11 @@ export function clearAllStaff() { }) } + +export function reEmployment(id) { + return request({ + url: '/system/staff/reEmployment/' + id, + method: 'post' + }) +} + diff --git a/src/views/attendance/param/index.vue b/src/views/attendance/param/index.vue index ad6fde2..52ea409 100644 --- a/src/views/attendance/param/index.vue +++ b/src/views/attendance/param/index.vue @@ -111,7 +111,7 @@ - + @@ -221,6 +226,7 @@ size="mini" type="text" icon="el-icon-info" + v-if="scope.row.status!=-1" @click="handleDetail(scope.row)" v-hasPermi="['system:staff:detail']" >查看详情 @@ -228,6 +234,7 @@ size="mini" type="text" icon="el-icon-edit" + v-if="scope.row.status!=-1" @click="handleUpdate(scope.row)" v-hasPermi="['system:staff:edit']" >修改 @@ -243,6 +250,7 @@ size="mini" type="text" icon="el-icon-edit" + v-if="scope.row.status!=-1" @click="handleDelay(scope.row)" v-hasPermi="['system:staff:delay']" >工资延期 @@ -254,6 +262,14 @@ @click="handleJobStatus(scope.row)" v-hasPermi="['system:staff:jobStatus']" >离职 + 重新入职 @@ -380,13 +396,38 @@ - + + + + + + + + + + + + + + + + @@ -507,18 +548,7 @@ - - - - - - - + @@ -870,7 +900,7 @@