diff --git a/src/utils/request.js b/src/utils/request.js index a7f36777..558460f9 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -3,23 +3,23 @@ import axios from 'axios' // import store from '../store' // import { getToken } from '@/utils/auth' -export const wsuri = `ws://localhost:61101//WebMoudule//websocket` +export const wsuri = `ws://192.168.0.2:61101//WebMoudule//websocket` export const name = `OP8888` // 创建axios实例 -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 +export const readFile = `http://192.168.0.2:8411/webpage/file/` // invoice +export const readImg = `http://192.168.0.2:8411/webpage/img/` // delivery/MS/performancebond +export const upload = `http://192.168.0.2:8411/submit/uploadFile.ashx` // ContractInformationManagement +export const upload2 = `http://192.168.0.2:8411/submit/upload2.ashx` // delivery +export const upload3 = `http://192.168.0.2:8411/submit/upload3.ashx` // performancebond +export const uploadInvoiceScan = `http://192.168.0.2:8411/submit/uploadInvoiceScan.ashx` // invoice +export const download = `http://192.168.0.2:8411/submit/downloadFile.ashx` // ContractInformationManagement const service = axios.create({ // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, // baseURL: `http://192.168.1.149:8411/submit/MESCommonBase.ashx`, // baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, - baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`, + baseURL: `http://192.168.0.2:8411/submit/MESCommonBase.ashx`, // baseURL: `http://localhost:8077/submit/MESCommonBase.ashx`, // baseURL: `http://192.168.0.112:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 589ce021..d774b930 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -39,46 +39,6 @@ 登录 -
- 超级管理员 - 账号:0000 - 密码:admin -
-
- 营销中心 - 账号:2001 - 密码:2001 -
-
- 技术中心 - 账号:3001 - 密码:3001 -
-
- 制造中心 - 账号:4001 - 密码:4001 -
-
- 采购部 - 账号:4101 - 密码:4101 -
-
- 仓库 - 账号:4201 - 密码:4201 -
-
- 金工车间 - 账号:4301 - 密码:4301 -
-
- 装配车间 - 账号:4401 - 密码:4401 -