diff --git a/config/index.js b/config/index.js index 94b85d6..d1b51bb 100644 --- a/config/index.js +++ b/config/index.js @@ -12,7 +12,8 @@ proxyTable: { '/warnApi': { // 测试环境 黄加林 - 'target': 'http://192.168.30.205:8286', // 接口域名 + target: "http://132.232.115.20:8300/warnApi", // 12/30 new + // 'target': 'http://192.168.30.205:8286', // 接口域名 // 'target': 'http://192.168.30.30:8001/api', // 服务器接口 'changeOrigin': true, //是否跨域 'pathRewrite': { @@ -31,8 +32,9 @@ }, '/dataApi': { // 测试环境 陈洪刚 + target: "http://132.232.115.20:8300/dataApi", // 12/30 new // 'target': 'http://192.168.30.189:8800', // 接口域名 - 'target': 'http://192.168.30.205:8282', // 陈红刚 + // 'target': 'http://192.168.30.205:8282', // 陈红刚 // 'target': 'http://192.168.30.30:8001/api', // 服务器接口 'changeOrigin': true, //是否跨域 'pathRewrite': { @@ -73,10 +75,19 @@ '^/ZhuangTaiJianKong': '' //需要rewrite重写的, } }, + '/IotPc': { + // 物联网平台端信息汇总 + // 'target': 'http://192.168.16.115:8288', // 接口域名 + 'target': 'http://192.168.16.100:8289', // 接口域名 + 'changeOrigin': true, //是否跨域 + 'pathRewrite': { + '^/IotPc': '' //需要rewrite重写的, + } + }, }, // Various Dev Server settings - host: 'localhost', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/config/index.js b/config/index.js index 94b85d6..d1b51bb 100644 --- a/config/index.js +++ b/config/index.js @@ -12,7 +12,8 @@ proxyTable: { '/warnApi': { // 测试环境 黄加林 - 'target': 'http://192.168.30.205:8286', // 接口域名 + target: "http://132.232.115.20:8300/warnApi", // 12/30 new + // 'target': 'http://192.168.30.205:8286', // 接口域名 // 'target': 'http://192.168.30.30:8001/api', // 服务器接口 'changeOrigin': true, //是否跨域 'pathRewrite': { @@ -31,8 +32,9 @@ }, '/dataApi': { // 测试环境 陈洪刚 + target: "http://132.232.115.20:8300/dataApi", // 12/30 new // 'target': 'http://192.168.30.189:8800', // 接口域名 - 'target': 'http://192.168.30.205:8282', // 陈红刚 + // 'target': 'http://192.168.30.205:8282', // 陈红刚 // 'target': 'http://192.168.30.30:8001/api', // 服务器接口 'changeOrigin': true, //是否跨域 'pathRewrite': { @@ -73,10 +75,19 @@ '^/ZhuangTaiJianKong': '' //需要rewrite重写的, } }, + '/IotPc': { + // 物联网平台端信息汇总 + // 'target': 'http://192.168.16.115:8288', // 接口域名 + 'target': 'http://192.168.16.100:8289', // 接口域名 + 'changeOrigin': true, //是否跨域 + 'pathRewrite': { + '^/IotPc': '' //需要rewrite重写的, + } + }, }, // Various Dev Server settings - host: 'localhost', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/configure/RtuConfig.vue b/src/components/configure/RtuConfig.vue new file mode 100644 index 0000000..7ef89da --- /dev/null +++ b/src/components/configure/RtuConfig.vue @@ -0,0 +1,574 @@ + + + + diff --git a/config/index.js b/config/index.js index 94b85d6..d1b51bb 100644 --- a/config/index.js +++ b/config/index.js @@ -12,7 +12,8 @@ proxyTable: { '/warnApi': { // 测试环境 黄加林 - 'target': 'http://192.168.30.205:8286', // 接口域名 + target: "http://132.232.115.20:8300/warnApi", // 12/30 new + // 'target': 'http://192.168.30.205:8286', // 接口域名 // 'target': 'http://192.168.30.30:8001/api', // 服务器接口 'changeOrigin': true, //是否跨域 'pathRewrite': { @@ -31,8 +32,9 @@ }, '/dataApi': { // 测试环境 陈洪刚 + target: "http://132.232.115.20:8300/dataApi", // 12/30 new // 'target': 'http://192.168.30.189:8800', // 接口域名 - 'target': 'http://192.168.30.205:8282', // 陈红刚 + // 'target': 'http://192.168.30.205:8282', // 陈红刚 // 'target': 'http://192.168.30.30:8001/api', // 服务器接口 'changeOrigin': true, //是否跨域 'pathRewrite': { @@ -73,10 +75,19 @@ '^/ZhuangTaiJianKong': '' //需要rewrite重写的, } }, + '/IotPc': { + // 物联网平台端信息汇总 + // 'target': 'http://192.168.16.115:8288', // 接口域名 + 'target': 'http://192.168.16.100:8289', // 接口域名 + 'changeOrigin': true, //是否跨域 + 'pathRewrite': { + '^/IotPc': '' //需要rewrite重写的, + } + }, }, // Various Dev Server settings - host: 'localhost', // can be overwritten by process.env.HOST + host: '0.0.0.0', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/configure/RtuConfig.vue b/src/components/configure/RtuConfig.vue new file mode 100644 index 0000000..7ef89da --- /dev/null +++ b/src/components/configure/RtuConfig.vue @@ -0,0 +1,574 @@ + + + + diff --git a/src/components/index.vue b/src/components/index.vue index 6c89ab2..8bc29a1 100644 --- a/src/components/index.vue +++ b/src/components/index.vue @@ -76,6 +76,7 @@ 推送规则 报警日志 巡检配置 + RTU配置