diff --git a/src/api/mes/mesTidEpcLog.js b/src/api/mes/mesTidEpcLog.js new file mode 100644 index 0000000..91ef496 --- /dev/null +++ b/src/api/mes/mesTidEpcLog.js @@ -0,0 +1,41 @@ +/** + * MES TID EPC日志API - rqrq + * @author rqrq + * @date 2025/01/30 + */ +import { createAPI } from "@/utils/httpRequest.js"; + +// ================= 查询 ================= + +/** + * 分页查询日志列表 - rqrq + * @param data 查询条件 + */ +export const searchList = data => createAPI(`/pms/mesTidEpcLog/searchList`, 'post', data) + +/** + * 导出数据列表 - rqrq + * @param data 查询条件 + */ +export const getExportList = data => createAPI(`/pms/mesTidEpcLog/getExportList`, 'post', data) + +// ================= 导入 ================= + +/** + * 导入Excel数据 - rqrq + * @param data FormData对象 + */ +export const importExcel = data => createAPI(`/pms/mesTidEpcLog/importExcel`, 'post', data) + +/** + * 下载导入模板 - rqrq + */ +export const downloadTemplate = () => createAPI(`/pms/mesTidEpcLog/downloadTemplate`, 'get', null, 'download') + +// ================= 删除 ================= + +/** + * 删除日志数据 - rqrq + * @param data ID数组 + */ +export const deleteData = data => createAPI(`/pms/mesTidEpcLog/delete`, 'post', data) diff --git a/src/views/modules/mes/mesTidEpcLog.vue b/src/views/modules/mes/mesTidEpcLog.vue new file mode 100644 index 0000000..8a736f4 --- /dev/null +++ b/src/views/modules/mes/mesTidEpcLog.vue @@ -0,0 +1,497 @@ + + + + +