|
|
@@ -89,23 +89,23 @@ module.exports = {
|
|
|
"^/icore-api": "/",
|
|
|
},
|
|
|
},
|
|
|
- // "/icore.icp.web/pass/testManagement/v1": {
|
|
|
- // // target: 'http://172.22.4.6:9006/v1', // 加https
|
|
|
- // // target: 'http://prod-lims-test/v1', //
|
|
|
- // // target: 'http://localhost:9001/v1', //加http
|
|
|
- // target: "http://172.16.4.162", // 加https
|
|
|
- // // target: 'https://lims-bnusiness-dev.steerinfo.com/v1', //加https
|
|
|
- // changeOrigin: true,
|
|
|
- // },
|
|
|
"/icore.icp.web/pass/testManagement/v1": {
|
|
|
- // target: 'http://127.0.0.1:9001/v1', // 加https
|
|
|
- target: "http://localhost:9001/v1", // 正式
|
|
|
+ // target: 'http://172.22.4.6:9006/v1', // 加https
|
|
|
+ // target: 'http://prod-lims-test/v1', //
|
|
|
+ // target: 'http://localhost:9001/v1', //加http
|
|
|
+ target: "http://172.16.4.162", // 加https
|
|
|
+ // target: 'https://lims-bnusiness-dev.steerinfo.com/v1', //加https
|
|
|
changeOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- "^/icore.icp.web/pass/testManagement/v1": "/", // 这里理解成用‘/api’代替target里面的地址,组件中我们调接口时直接用/api代替
|
|
|
- // 比如我要调用'https://0.0:300/user/add',直接写‘/api/user/add’即可 代理后地址栏显示/
|
|
|
- },
|
|
|
},
|
|
|
+ // "/icore.icp.web/pass/testManagement/v1": {
|
|
|
+ // // target: 'http://127.0.0.1:9001/v1', // 加https
|
|
|
+ // target: "http://localhost:9001/v1", // 正式
|
|
|
+ // changeOrigin: true,
|
|
|
+ // pathRewrite: {
|
|
|
+ // "^/icore.icp.web/pass/testManagement/v1": "/", // 这里理解成用‘/api’代替target里面的地址,组件中我们调接口时直接用/api代替
|
|
|
+ // // 比如我要调用'https://0.0:300/user/add',直接写‘/api/user/add’即可 代理后地址栏显示/
|
|
|
+ // },
|
|
|
+ // },
|
|
|
// '/icore.icp.web/pass/mqtt/v1': {
|
|
|
// // target: 'http://172.22.4.6:9006/v1', // 加https
|
|
|
// // target: 'http://prod-lims-test/v1', // 加https
|
|
|
@@ -209,5 +209,5 @@ module.exports = {
|
|
|
//devModules: ['reportForm', 'screeningTests', 'index', 'entrustedManagement','measurementDataManagement', 'approveManagement', 'testAnalysis', 'resourceManager', 'taskManagement']
|
|
|
devModules: ["all"],
|
|
|
// devModules:['index']
|
|
|
- // devModules: ["index", "standardManagement"],
|
|
|
+ // devModules: ["index", "screeningTests"],
|
|
|
};
|