From 50b6559f4ca9fd621f30900ca93cdb05b26b2081 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 2 Jul 2024 15:49:21 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E4=B8=8A=E4=B8=8B=E7=8F=AD?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/base/processInfo.js | 9 + src/api/mes/record/recordStaffCommute.js | 44 ++ src/views/mes/base/baseTeamMembers/index.vue | 22 +- .../mes/record/recordStaffCommute/index.vue | 405 ++++++++++++++++++ .../mes/record/teamEmployeesWages/index.vue | 394 +++++++++++++++++ 5 files changed, 872 insertions(+), 2 deletions(-) create mode 100644 src/api/mes/record/recordStaffCommute.js create mode 100644 src/views/mes/record/recordStaffCommute/index.vue create mode 100644 src/views/mes/record/teamEmployeesWages/index.vue diff --git a/src/api/mes/base/processInfo.js b/src/api/mes/base/processInfo.js index b0b3d07..59f2ee5 100644 --- a/src/api/mes/base/processInfo.js +++ b/src/api/mes/base/processInfo.js @@ -42,3 +42,12 @@ export function delProcessInfo(objId) { method: 'delete' }) } + +// 查询工序信息列表 +export function getProcessInfoList(query) { + return request({ + url: '/mes/base/processInfo/processInfoList', + method: 'get', + params: query + }) +} diff --git a/src/api/mes/record/recordStaffCommute.js b/src/api/mes/record/recordStaffCommute.js new file mode 100644 index 0000000..8afb170 --- /dev/null +++ b/src/api/mes/record/recordStaffCommute.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询员工上下班记录列表 +export function listRecordStaffCommute(query) { + return request({ + url: '/mes/record/recordStaffCommute/list', + method: 'get', + params: query + }) +} + +// 查询员工上下班记录详细 +export function getRecordStaffCommute(objId) { + return request({ + url: '/mes/record/recordStaffCommute/' + objId, + method: 'get' + }) +} + +// 新增员工上下班记录 +export function addRecordStaffCommute(data) { + return request({ + url: '/mes/record/recordStaffCommute', + method: 'post', + data: data + }) +} + +// 修改员工上下班记录 +export function updateRecordStaffCommute(data) { + return request({ + url: '/mes/record/recordStaffCommute', + method: 'put', + data: data + }) +} + +// 删除员工上下班记录 +export function delRecordStaffCommute(objId) { + return request({ + url: '/mes/record/recordStaffCommute/' + objId, + method: 'delete' + }) +} diff --git a/src/views/mes/base/baseTeamMembers/index.vue b/src/views/mes/base/baseTeamMembers/index.vue index ec8c07e..ddbf84f 100644 --- a/src/views/mes/base/baseTeamMembers/index.vue +++ b/src/views/mes/base/baseTeamMembers/index.vue @@ -125,6 +125,7 @@ +