|
|
|
|
@@ -8,24 +8,24 @@ export const name1 = `OP1000`
|
|
|
|
|
export const name3 = `OP2000`
|
|
|
|
|
export const name4 = `OP9999`
|
|
|
|
|
|
|
|
|
|
export const readFile = `http://123.56.95.229:8010/webpage/file/` // invoice
|
|
|
|
|
export const readImg = `http://123.56.95.229:8010/webpage/img/` // delivery/MS/performancebond
|
|
|
|
|
export const upload = `http://123.56.95.229:8010/submit/uploadFile.ashx` // ContractInformationManagement
|
|
|
|
|
export const upload2 = `http://123.56.95.229:8010/submit/upload2.ashx` // delivery
|
|
|
|
|
export const upload3 = `http://123.56.95.229:8010/submit/upload3.ashx` // performancebond
|
|
|
|
|
export const uploadInvoiceScan = `http://123.56.95.229:8010/submit/uploadInvoiceScan.ashx` // invoice
|
|
|
|
|
export const uploadInvoiceScan1 = `http://123.56.95.229:8010/submit/uploadInvoiceScan1.ashx` // invoice(workshop)
|
|
|
|
|
export const download = `http://123.56.95.229:8010/submit/downloadFile.ashx` // ContractInformationManagement
|
|
|
|
|
export const uploadPerson = `http://123.56.95.229:8010/submit/uploadPerson.ashx`
|
|
|
|
|
export const uploadOP = `http://123.56.95.229:8010/submit/uploadOP.ashx`
|
|
|
|
|
export const url = `http://123.56.95.229:8010/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
|
|
|
|
|
export const ExcelDownLoad = 'http://123.56.95.229:8010/submit/MESCommonBase.ashx' // 导出excel
|
|
|
|
|
export const readFile = `http://123.56.95.229:58010/webpage/file/` // invoice
|
|
|
|
|
export const readImg = `http://123.56.95.229:58010/webpage/img/` // delivery/MS/performancebond
|
|
|
|
|
export const upload = `http://123.56.95.229:58010/submit/uploadFile.ashx` // ContractInformationManagement
|
|
|
|
|
export const upload2 = `http://123.56.95.229:58010/submit/upload2.ashx` // delivery
|
|
|
|
|
export const upload3 = `http://123.56.95.229:58010/submit/upload3.ashx` // performancebond
|
|
|
|
|
export const uploadInvoiceScan = `http://123.56.95.229:58010/submit/uploadInvoiceScan.ashx` // invoice
|
|
|
|
|
export const uploadInvoiceScan1 = `http://123.56.95.229:58010/submit/uploadInvoiceScan1.ashx` // invoice(workshop)
|
|
|
|
|
export const download = `http://123.56.95.229:58010/submit/downloadFile.ashx` // ContractInformationManagement
|
|
|
|
|
export const uploadPerson = `http://123.56.95.229:58010/submit/uploadPerson.ashx`
|
|
|
|
|
export const uploadOP = `http://123.56.95.229:58010/submit/uploadOP.ashx`
|
|
|
|
|
export const url = `http://123.56.95.229:58010/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
|
|
|
|
|
export const ExcelDownLoad = 'http://123.56.95.229:58010/submit/MESCommonBase.ashx' // 导出excel
|
|
|
|
|
// 技术中心程序发布时要更改下面所有的IP到0段
|
|
|
|
|
export const ServerIP = `http://123.56.95.229:8010/webpage/file/`
|
|
|
|
|
export const uploadFileMachine = `http://123.56.95.229:8010/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231
|
|
|
|
|
export const downloadFileMachine = `http://123.56.95.229:8010/submit/downloadFileMachine.ashx` // 机床总图 发布时改成0.231
|
|
|
|
|
export const MESUploadFile = `http://123.56.95.229:8010/submit/MESUploadFile.ashx`
|
|
|
|
|
export const MESDownloadFile = `http://123.56.95.229:8010/submit/MESDownloadFile.ashx`
|
|
|
|
|
export const ServerIP = `http://123.56.95.229:58010/webpage/file/`
|
|
|
|
|
export const uploadFileMachine = `http://123.56.95.229:58010/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231
|
|
|
|
|
export const downloadFileMachine = `http://123.56.95.229:58010/submit/downloadFileMachine.ashx` // 机床总图 发布时改成0.231
|
|
|
|
|
export const MESUploadFile = `http://123.56.95.229:58010/submit/MESUploadFile.ashx`
|
|
|
|
|
export const MESDownloadFile = `http://123.56.95.229:58010/submit/MESDownloadFile.ashx`
|
|
|
|
|
const service = axios.create({
|
|
|
|
|
baseURL: `http://123.56.95.229:58010/submit/MESCommonBase.ashx`,
|
|
|
|
|
timeout: 1500000 // 请求超时时间
|
|
|
|
|
|