import request from '@/utils/request'; // 分页搜索智能审查 export const getIntelligentApprovePage = params => { return request({ url: '/sponge/intelligentApprove/page', method: 'get', params, }); }; // 确定智能审查数据和合理性分析数据 export const updateIntelligentApprove = data => { return request({ url: '/sponge/intelligentApprove/updateIntelligentApprove', method: 'post', data, }); }; // 计算 export const calculate = data => { return request({ url: '/sponge/intelligentApprove/calculate', method: 'post', data, }); }; // 提交 // 确定智能审查数据和合理性分析数据 export const intelligentApproveAdd = data => { return request({ url: '/sponge/intelligentApprove/add', method: 'post', data, }); }; // 删除智能审查 export const intelligentApproveDel = ids => { return request({ url: `/sponge/intelligentApprove/${ids}`, method: 'delete', }); }; // 详细搜索智能审查 export const intelligentApproveDetails = id => { return request({ url: `/sponge/intelligentApprove/${id}`, method: 'get', }); }; // 详细搜索智能审查 export const getDicts = type => { return request({ url: `/system/dict/data/type/${type}`, method: 'get', }); }; // 上传CAD文件 export const uploadCadFile = data => { return request({ url: '/sponge/intelligentApprove/uploadCadFile', method: 'post', data, }); };