import request from "@/http/request"; const uploadExcelStock = (data) => { return request({ url: '/excel/uploadStocks', method: 'post', data: data, timeout: 600000 }) } const uploadExcelGoods = (data) => { return request({ url: '/excel/uploadGoods', method: 'post', data: data, timeout: 600000 }) } const uploadExcelBaseGoods = (data) => { return request({ url: '/excel/uploadBaseGoods', method: 'post', data: data, timeout: 600000 }) } const uploadExcelKanban = (data) => { return request({ url: '/excel/uploadKanban', method: 'post', data: data, timeout: 600000 }) } const uploadStationConfig = (data) => { return request({ url: '/excel/uploadStationConfig', method: 'post', data: data, timeout: 600000 }) } const uploadExcelDbs = (data) => { return request({ url: '/excel/uploadDbs', method: 'post', data: data, timeout: 600000 }) } const uploadExcelOrders = (data) => { return request({ url: '/excel/uploadKateOrders', method: 'post', data: data, timeout: 600000 }) } const uploadWorkFlow = (data) => { return request({ url: '/excel/uploadWorkFlow', method: 'post', data: data, timeout: 600000 }) } const uploadExcelInventoryList = (data) => { return request({ url: '/excel/uploadInventoryList', method: 'post', data: data, timeout: 600000 }) } const downloadStockExcel = (data) => { return request({ url: '/excel/downloadStockExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } const downloadInRecordExcel = (data) => { return request({ url: '/excel/downloadInRecordExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } const downloadOutRecordExcel = (data) => { return request({ url: '/excel/downloadOutRecordExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } const downloadInventoryRecordExcel = (data) => { return request({ url: '/excel/downloadInventoryRecordExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } const downloadGoodsExcel = (data) => { return request({ url: '/excel/downloadGoodsExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } const downloadVehicleExcel = (data) => { return request({ url: '/excel/downloadVehicleExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } const downloadLocationsExcel = (data) => { return request({ url: '/excel/downloadLocationsExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } const queryUploadRecord = (data) => { return request({ url: '/excel/queryUploadRecord', method: 'post', data: data, timeout: 100000 }) } const downloadClcKanbanRequirementExcel = (data) => { return request({ url: '/excel/downloadClcKanbanRequirementExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } const downloadWorkSummaryExcel = (data) => { return request({ url: '/excel/downloadWorkSummaryExcel', method: 'post', responseType: 'blob', data: data, timeout: 600000 }) } export { uploadExcelStock, uploadExcelGoods, uploadExcelDbs, uploadExcelOrders, uploadExcelInventoryList, downloadStockExcel, downloadGoodsExcel, downloadVehicleExcel, downloadInRecordExcel, downloadOutRecordExcel, downloadInventoryRecordExcel, downloadLocationsExcel, uploadStationConfig, queryUploadRecord, downloadClcKanbanRequirementExcel, downloadWorkSummaryExcel, uploadExcelBaseGoods, uploadExcelKanban, uploadWorkFlow }