From f505ca1a56035651bf86458ab317d816c8e5ca9d Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 27 May 2024 10:17:19 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20add=E5=91=98=E5=B7=A5=E6=89=93?= =?UTF-8?q?=E5=8D=A1=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/record/recordStaffAttendance.js | 44 ++ src/views/mes/prod/prodOrderInfo/index.vue | 14 +- .../record/recordStaffAttendance/index.vue | 403 ++++++++++++++++++ 3 files changed, 454 insertions(+), 7 deletions(-) create mode 100644 src/api/mes/record/recordStaffAttendance.js create mode 100644 src/views/mes/record/recordStaffAttendance/index.vue diff --git a/src/api/mes/record/recordStaffAttendance.js b/src/api/mes/record/recordStaffAttendance.js new file mode 100644 index 0000000..2c37a7d --- /dev/null +++ b/src/api/mes/record/recordStaffAttendance.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询员工打卡记录列表 +export function listRecordStaffAttendance(query) { + return request({ + url: '/mes/record/recordStaffAttendance/list', + method: 'get', + params: query + }) +} + +// 查询员工打卡记录详细 +export function getRecordStaffAttendance(objId) { + return request({ + url: '/mes/record/recordStaffAttendance/' + objId, + method: 'get' + }) +} + +// 新增员工打卡记录 +export function addRecordStaffAttendance(data) { + return request({ + url: '/mes/record/recordStaffAttendance', + method: 'post', + data: data + }) +} + +// 修改员工打卡记录 +export function updateRecordStaffAttendance(data) { + return request({ + url: '/mes/record/recordStaffAttendance', + method: 'put', + data: data + }) +} + +// 删除员工打卡记录 +export function delRecordStaffAttendance(objId) { + return request({ + url: '/mes/record/recordStaffAttendance/' + objId, + method: 'delete' + }) +} diff --git a/src/views/mes/prod/prodOrderInfo/index.vue b/src/views/mes/prod/prodOrderInfo/index.vue index f724b0f..4e96fa1 100644 --- a/src/views/mes/prod/prodOrderInfo/index.vue +++ b/src/views/mes/prod/prodOrderInfo/index.vue @@ -56,10 +56,10 @@ end-placeholder="结束时间" > - - + + - + @@ -319,7 +319,7 @@ - + +
+ + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + + 修改 + + + + 删除 + + + + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ dict.label }} + + + + + + + + + {{ dict.label }} + + + + + + + + + {{ dict.label }} + + + + + + +
+ + +