From 5a01f6743929b646138ad71cc2df622a56ea6ab3 Mon Sep 17 00:00:00 2001 From: liushuai Date: Tue, 24 Dec 2019 12:18:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 --- src/utils/request.js | 4 +-- .../InventoryQuery/index.vue | 34 +++++++++---------- 3 files changed, 19 insertions(+), 23 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index e5a0832e..4a9b79b2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -33,10 +33,6 @@ export const constantRouterMap = [ path: 'http://192.168.1.231:8005/#/TVF', meta: { title: '设备运行监控', icon: 'MaterialManagement' } }, - { - path: 'http://192.168.1.231:8005/#/TVA', - meta: { title: 'MES工作站', icon: 'MaterialManagement' } - }, { path: 'http://192.168.1.231:8005/#/TVD', meta: { title: '设备状态监控', icon: 'MaterialManagement' } diff --git a/src/utils/request.js b/src/utils/request.js index 059fb22e..95596fb9 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -17,7 +17,7 @@ export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoic export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement export const uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.ashx` export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx` -export const url = `http://192.168.0.104:8079/submit/MESCommonBase.ashx` // 采购件入库、离线件入库 +export const url = `http://192.168.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库 export const ExcelDownLoad = 'http://192.168.0.104:8079/submit/downloadFile.ashx' // 导出excel // 技术中心程序发布时要更改下面所有的IP到0段 export const ServerIP = `http://192.168.1.231:8411/webpage/file/` @@ -26,7 +26,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx` export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx` const service = axios.create({ - baseURL: `http://192.168.0.104:8079/submit/MESCommonBase.ashx`, + baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 }) export default service diff --git a/src/views/ManufacturingCenter/InventoryQuery/index.vue b/src/views/ManufacturingCenter/InventoryQuery/index.vue index 9bd0afac..f7a8ec02 100644 --- a/src/views/ManufacturingCenter/InventoryQuery/index.vue +++ b/src/views/ManufacturingCenter/InventoryQuery/index.vue @@ -10,7 +10,7 @@ - + - - - - - - - - - - - + + + + + + + + + + + + + + +