Commit 2b9d187d by hulei

修复编译错误,调整代理环境配置

parent c0311c24
......@@ -36,9 +36,9 @@ if (process.env.NODE_ENV === 'production') {//生产模式
// "hostFunds":"localhost:28090",
"hostPublic": "localhost:31081",
"hostReport": "192.168.0.114:31090",
"host": "localhost:31091",
//"hostAdmin": "192.168.0.114:31092",
"hostAdmin": "localhost:31092",
"hostAdmin": "192.168.0.114:31092",
"hostBusiness": "localhost:31093",
"hostRemittance": "localhost:31094",
"hostFinance": "15.52.176.251:22002",
......@@ -46,7 +46,6 @@ if (process.env.NODE_ENV === 'production') {//生产模式
"hostDomlc": "15.52.176.251:22002",
"hostCollection": "15.52.176.251:22002",
"hostDerivative": "15.52.176.251:22002",
"hostReport": "127.0.0.1:8090",
"basePath": "/webapi",
"schemes": "http",
"message": {
......
const BusRouter = [
{ path: 'inffxd', component: () => import("./Inffxd/views"), name: 'Inffxd', meta: { title: '资结售汇报表交易查询' }, module: 'Funds' },
{ path: 'infftd', component: () => import("./Infftd/views"), name: 'Infftd', meta: { title: '资金拆借/头寸调拨报表交易查询' }, module: 'Funds' },
{ path: 'infftd', component: () => import("./Infftd1/views"), name: 'Infftd', meta: { title: '资金拆借/头寸调拨报表交易查询' }, module: 'Funds' },
{ path: 'fttatt', component: () => import("./Fttatt/views"), name: 'Fttatt', meta: { title: 'Fttatt' }, module: 'Funds' },
{ path: 'fttfcm', component: () => import("./Fttfcm/views"), name: 'Fttfcm', meta: { title: 'Fttfcm' }, module: 'Funds' },
{ path: 'fttfcn', component: () => import("./Fttfcn/views"), name: 'Fttfcn', meta: { title: 'Fttfcn' }, module: 'Funds' },
......
......@@ -43,7 +43,7 @@ import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/check.js";
import Check from "../model/Check.js";
export default {
name: "Fxtssb",
components: {
......
......@@ -43,7 +43,7 @@ import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import Check from "../model/check.js";
import Check from "../model/Check.js";
import buildFn from "../event/buildCommons.js";
export default {
name: "Fxtsss",
......
const path = require('path')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const publicPath = require('./src/config/isc-publicPath.js')
//const baseData = require('./src/config/isc-baseData-local.js')
const baseData = require('./src/config/isc-baseData.js')
const baseData = require('./src/config/isc-baseData-local.js')
// const baseData = require('./src/config/isc-baseData.js')
let moment = require("moment")
process.env.VUE_APP_BASETHEME = 'purple';
......@@ -61,64 +61,63 @@ module.exports = {
target: baseData.schemes + '://' + baseData.hostPublic,
changeOrigin: true,
pathRewrite: {
//'^/webapi/public': '/public'
'^/webapi/public': '/webapi'
'^/webapi/public': '/public'
}
},
'/webapi/business/': {
target: baseData.schemes + '://' + baseData.hostBusiness,
changeOrigin: true,
pathRewrite: {
'^/webapi/business': '/webapi'
'^/webapi/business': '/business'
}
},
'/webapi/Financing/': {
target: baseData.schemes + '://' + baseData.hostFinance,
changeOrigin: true,
pathRewrite: {
'^/webapi/Financing': '/webapi'
}
},
'/webapi/Remittance/': {
},
'/webapi/Financing/': {
target: baseData.schemes + '://' + baseData.hostFinance,
changeOrigin: true,
pathRewrite: {
'^/webapi/Financing': '/financing'
}
},
'/webapi/Remittance/': {
target: baseData.schemes + '://' + baseData.hostRemittance,
changeOrigin: true,
pathRewrite: {
'^/webapi/Remittance': '/remit'
}
},
'/webapi/Lc/': {
target: baseData.schemes + '://' + baseData.hostLc,
changeOrigin: true,
pathRewrite: {
'^/webapi/Lc': '/webapi'
}
},
'/webapi/Domlc/': {
target: baseData.schemes + '://' + baseData.hostDomlc,
changeOrigin: true,
pathRewrite: {
'^/webapi/Domlc': '/webapi'
}
},
'/webapi/Collection/': {
target: baseData.schemes + '://' + baseData.hostCollection,
changeOrigin: true,
pathRewrite: {
'^/webapi/Collection': '/webapi'
}
},
'/webapi/Derivative/': {
target: baseData.schemes + '://' + baseData.hostDerivative,
changeOrigin: true,
pathRewrite: {
'^/webapi/Derivative': '/webapi'
}
},
'/webapi/Lc/': {
target: baseData.schemes + '://' + baseData.hostLc,
changeOrigin: true,
pathRewrite: {
'^/webapi/Lc': '/lc'
}
},
'/webapi/Domlc/': {
target: baseData.schemes + '://' + baseData.hostDomlc,
changeOrigin: true,
pathRewrite: {
'^/webapi/Domlc': '/domlc'
}
},
'/webapi/Collection/': {
target: baseData.schemes + '://' + baseData.hostCollection,
changeOrigin: true,
pathRewrite: {
'^/webapi/Collection': '/collection'
}
},
'/webapi/Derivative/': {
target: baseData.schemes + '://' + baseData.hostDerivative,
changeOrigin: true,
pathRewrite: {
'^/webapi/Derivative': '/derivative'
}
},
'/webapi/report/': {
target: baseData.schemes + '://' + baseData.hostReport,
changeOrigin: true,
pathRewrite: {
'^/webapi/report': '/webapi'
'^/webapi/report': '/report'
}
},
'': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment