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.
114 lines
3.3 KiB
114 lines
3.3 KiB
import { createAPI } from "@/utils/httpRequest.js";
|
|
|
|
/**
|
|
* 测试信息列表查询
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const testInformationSearch = data => createAPI(`/plm/testInformation/testInformationSearch`,'post',data)
|
|
export const testInformationList = data => createAPI(`/plm/testInformation/testInformationList`,'post',data)
|
|
/**
|
|
* 测试信息新增
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const testInformationSave = data => createAPI(`/plm/testInformation/testInformationSave`,'post',data)
|
|
/**
|
|
* 测试信息编辑
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const testInformationEdit = data => createAPI(`/plm/testInformation/testInformationEdit`,'post',data)
|
|
/**
|
|
* 测试信息删除
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const testInformationDelete = data => createAPI(`/plm/testInformation/testInformationDelete`,'post',data)
|
|
/**
|
|
* 获取产品列表
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getProjectPartList = data => createAPI(`/plm/testInformation/getProjectPartList/${data.no}/${data.size}`,'post',data)
|
|
/**
|
|
* 获取测试结果对象
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const testResultSearch = data => createAPI(`/plm/testInformation/testResultSearch`,'post',data)
|
|
/**
|
|
* 检查测试进度
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const checkTestStatus = data => createAPI(`/plm/testInformation/checkTestStatus`,'post',data)
|
|
/**
|
|
* 获取测试单附件列表
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getFileContentList = data => createAPI(`/plm/testInformation/getFileContentList`,'post',data)
|
|
export const removeFile = data => createAPI(`/upload/remove`,'post',data)
|
|
export const uploadFileList = (url,data) => createAPI(url,'post',data)
|
|
/**
|
|
* 文件删除
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const deleteTestFile = data => createAPI(`/plm/testInformation/deleteTestFile`,'post',data)
|
|
/**
|
|
* 保存测试结果
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const saveTestResult = data => createAPI(`/plm/testInformation/saveTestResult`,'post',data)
|
|
/**
|
|
* 保存送样结果
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const saveSubmitResult = data => createAPI(`/plm/testInformation/saveSubmitResult`,'post',data)
|
|
/**
|
|
* 保存客户回复
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const saveCustomerResponse = data => createAPI(`/plm/testInformation/saveCustomerResponse`,'post',data)
|
|
/**
|
|
* 获取项目信息
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getProjectInformation = data => createAPI(`/plm/testInformation/getProjectInformation`,'post',data)
|
|
/**
|
|
* 获取客户信息
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const getCustomerInformation = data => createAPI(`/plm/testInformation/getCustomerInformation`,'post',data)
|
|
/**
|
|
* 关闭模态框删除文件
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const closeModalDeleteFile = data => createAPI(`/plm/testInformation/closeModalDeleteFile`,'post',data)
|
|
/**
|
|
* 批量文件删除
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const batchDeleteTestFile = data => createAPI(`/plm/testInformation/batchDeleteTestFile`,'post',data)
|
|
/**
|
|
* 提交
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const submitChange = data => createAPI(`/plm/testInformation/submitChange`,'post',data)
|
|
/**
|
|
* 下达
|
|
* @param data
|
|
* @returns {*}
|
|
*/
|
|
export const testInformationEditStatus = data => createAPI(`/plm/testInformation/testInformationEditStatus`,'post',data)
|
|
|