diff --git a/config/index.js b/config/index.js index f6ea675..89bb041 100644 --- a/config/index.js +++ b/config/index.js @@ -9,7 +9,15 @@ module.exports = { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', - proxyTable: {}, + proxyTable: { + '/api': { + target: 'http://192.168.151.56:8092/', + changeOrigin: true, + pathRewrite: { + '^/api': '' + } + } + }, // Various Dev Server settings host: 'localhost', // can be overwritten by process.env.HOST diff --git a/src/views/firefighting/fireReport/components/fireControlRoom.vue b/src/views/firefighting/fireReport/components/fireControlRoom.vue new file mode 100644 index 0000000..80d63ce --- /dev/null +++ b/src/views/firefighting/fireReport/components/fireControlRoom.vue @@ -0,0 +1,169 @@ + + + + + + + + + + + + + 搜索 + + + 重置 + + + + + + + + + + + + + {{ row.LONGTITUDE }} -- {{ row.LATITUDE }} + + + + + + + 返回 + + + + + + + + + + + diff --git a/src/views/firefighting/fireReport/components/firePumpRoom.vue b/src/views/firefighting/fireReport/components/firePumpRoom.vue new file mode 100644 index 0000000..5dd6147 --- /dev/null +++ b/src/views/firefighting/fireReport/components/firePumpRoom.vue @@ -0,0 +1,169 @@ + + + + + + + + + + + + + 搜索 + + + 重置 + + + + + + + + + + + + + {{ row.LONGTITUDE }} -- {{ row.LATITUDE }} + + + + + + + 返回 + + + + + + + + + + + diff --git a/src/views/firefighting/fireReport/components/fireResources.vue b/src/views/firefighting/fireReport/components/fireResources.vue new file mode 100644 index 0000000..b434a2d --- /dev/null +++ b/src/views/firefighting/fireReport/components/fireResources.vue @@ -0,0 +1,169 @@ + + + + + + + + + + + + + 搜索 + + + 重置 + + + + + + + + + + + + + {{ row.LONGTITUDE }} -- {{ row.LATITUDE }} + + + + + + + 返回 + + + + + + + + + + + diff --git a/src/views/firefighting/fireReport/components/list.vue b/src/views/firefighting/fireReport/components/list.vue new file mode 100644 index 0000000..e29f4bf --- /dev/null +++ b/src/views/firefighting/fireReport/components/list.vue @@ -0,0 +1,131 @@ + + + + + + + + + + + + + 搜索 + + + 重置 + + + + + + + + + + + + + + {{ row.xiaoFangKongZhiShiNum }} + + + + + + + {{ row.xiaoFangBengFangNum }} + + + + + + + {{ row.xiaoFangShuiYuanNum }} + + + + + + + + + + + + diff --git a/src/views/firefighting/fireReport/index.vue b/src/views/firefighting/fireReport/index.vue new file mode 100644 index 0000000..fa086b6 --- /dev/null +++ b/src/views/firefighting/fireReport/index.vue @@ -0,0 +1,46 @@ + + + + + + diff --git a/static/config.js b/static/config.js index 486543a..42076b5 100644 --- a/static/config.js +++ b/static/config.js @@ -1,6 +1,6 @@ const config = { weburl: 'http://192.168.0.45:8082/', // 前台地址 - httpurl: 'http://192.168.151.56:8092/', // 后台地址 + httpurl: '/api', // 后台地址 qyurl: 'http://192.168.0.45:8080/', // 企业前台 fileUrl: 'http://192.168.192.201:8991/file/', // 附件服务器地址 publicKey: 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2zCyUYSD0pNrbtaYdvGfHfWoRV+fo/2N9O2PLLz/jZvMkigkq4eAq4JO+Ek0wDHI9WxP6iTSLYCHhIOs9CQTPvyldJFm8riZtQZlBTD8Plkb3rjrgwTqbBi3w3+HKYdkSvGFXJIdSOPbpXnj5BzN8vlVaybs24R/vpUzG9178lwIDAQAB',