44 lines
3.0 KiB
JavaScript
44 lines
3.0 KiB
JavaScript
export const wsuri_config = `ws://192.168.1.27:61101//WebMoudule//websocket`
|
|
export const name_config = `OP8888`
|
|
export const name1_config = `OP1000`
|
|
export const name3_config = `OP2000`
|
|
export const name4_config = `OP9999`
|
|
//
|
|
var url = `http://192.168.1.27:8030` // 测试环境 接口端口号 http://192.168.1.27:8031 测试环境管理系统 0001 654321
|
|
// var url = `http://192.168.1.27:8010` // 正式环境 接口端口号 http://192.168.1.27:8001 正式环境管理系统 0000 0000
|
|
var url1 = `http://192.168.1.27:10006` // 立库数据库的接口端口号
|
|
// var url = `http://127.0.0.1:10250`
|
|
// var url = `http://124.220.15.242:8602`
|
|
// var url = `http://localhost:57966`
|
|
|
|
export const readFile_config = url + `/webpage/file/` // invoice
|
|
export const readImg_config = url + `/webpage/img/` // delivery/MS/performancebond
|
|
export const upload_config = url + `/submit/uploadFile.ashx` // ContractInformationManagement
|
|
export const upload2_config = url + `/submit/upload2.ashx` // delivery
|
|
export const upload3_config = url + `/submit/upload3.ashx` // performancebond
|
|
export const uploadInvoiceScan_config = url + `/submit/uploadInvoiceScan.ashx` // invoice
|
|
export const uploadInvoiceScan1_config = url + `/submit/uploadInvoiceScan1.ashx` // invoice(workshop)
|
|
export const download_config = url + `/submit/downloadFile.ashx` // ContractInformationManagement
|
|
export const uploadPerson_config = url + `/submit/uploadPerson.ashx`
|
|
export const uploadPersonWord_config = url + `/submit/uploadPersonWord.ashx`
|
|
export const uploadOP_config = url + `/submit/uploadOP.ashx`
|
|
export const url_config = url + `/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
|
|
export const ExcelDownLoad_config = url + '/submit/MESCommonBase.ashx' // 导出excel
|
|
// 技术中心程序发布时要更改下面所有的IP到0段
|
|
export const ServerIP_config = url + `/webpage/file/`
|
|
export const uploadFileMachine_config = url + `/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231
|
|
export const downloadFileMachine_config = url + `/submit/downloadFileMachine.ashx` // 机床总图 发布时改成0.231
|
|
export const MESUploadFile_config = url + `/submit/MESUploadFileParts.ashx`
|
|
export const MESUploadFileProduct_config = url + `/submit/MESUploadFileProduct.ashx`
|
|
export const MESDownloadFile_config = url + `/submit/MESDownloadFile.ashx`
|
|
export const MESUploadFileProject_config = url + `/submit/MESUploadFileProject.ashx`
|
|
export const MESUploadFileProcess_config = url + `/submit/MESUploadFileProcess.ashx`
|
|
// 新的图片上传下载接口(存储到文件系统)
|
|
export const MESUploadFileNew_config = url + `/submit/MESUploadFile.ashx`
|
|
export const MESDownloadFileNew_config = url + `/submit/MESDownloadFile.ashx`
|
|
export const MESDeleteFileNew_config = url + `/submit/MESDeleteFile.ashx`
|
|
// 图片保存路径
|
|
export const MESUploadFileNew_BasePath_config = `D:\\\\ImageSave`
|
|
|
|
export const request_config = url + `/submit/MESCommonBase.ashx`
|
|
export const request_config1 = url1 + `/submit/MESCommonBase.ashx` |