You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
/**
|
|
* 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)
|