From e581a744e081d4b12623c452eef8dc92a7752800 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Fri, 28 Dec 2018 13:37:00 +0800 Subject: [PATCH] v2.0 --- src/utils/request.js | 10 +++++++--- .../MarketingCenter/ComprehensiveInquiryMS/index.vue | 3 ++- src/views/MarketingCenter/DeliveryManagement/index.vue | 7 +++++-- src/views/MarketingCenter/PerformanceBond/index.vue | 6 ++++-- .../PurchasingCenter/PurchaseContractSearch/index.vue | 2 -- .../PurchasingCenter/PurchaseInvoiceDelivery/index.vue | 6 +++--- 6 files changed, 21 insertions(+), 13 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 6db16b7c..cf77c0d9 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -7,9 +7,13 @@ export const wsuri = `ws://192.168.0.108:61101//WebMoudule//websocket` export const name = `OP8888` // 创建axios实例 -export const upload = `http://localhost:8411/submit/uploadFile.ashx` -export const uploadInvoiceScan = `http://localhost:8411/submit/uploadInvoiceScan.ashx` -export const download = `http://localhost:8411/submit/downloadFile.ashx` +export const readFile = `http://localhost:8411/webpage/file/` // invoice +export const readImg = `http://localhost:8411/webpage/img/` // delivery/MS/performancebond +export const upload = `http://localhost:8411/submit/uploadFile.ashx` // ContractInformationManagement +export const upload2 = `http://localhost:8411/submit/upload2.ashx` // delivery +export const upload3 = `http://localhost:8411/submit/upload3.ashx` // performancebond +export const uploadInvoiceScan = `http://localhost:8411/submit/uploadInvoiceScan.ashx` // invoice +export const download = `http://localhost:8411/submit/downloadFile.ashx` // ContractInformationManagement const service = axios.create({ // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, diff --git a/src/views/MarketingCenter/ComprehensiveInquiryMS/index.vue b/src/views/MarketingCenter/ComprehensiveInquiryMS/index.vue index b191b77d..83ecf558 100644 --- a/src/views/MarketingCenter/ComprehensiveInquiryMS/index.vue +++ b/src/views/MarketingCenter/ComprehensiveInquiryMS/index.vue @@ -631,6 +631,7 @@