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 @@ +