From 053a39279cfd298d8d4cee596346b35e9e39e6cd Mon Sep 17 00:00:00 2001 From: liujun Date: Fri, 12 Jan 2024 14:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=98=B2=E8=B5=84=E6=BA=90=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=8A=9F=E8=83=BD=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 10 +- .../fireReport/components/fireControlRoom.vue | 169 ++++++++++++++++++ .../fireReport/components/firePumpRoom.vue | 169 ++++++++++++++++++ .../fireReport/components/fireResources.vue | 169 ++++++++++++++++++ .../fireReport/components/list.vue | 131 ++++++++++++++ src/views/firefighting/fireReport/index.vue | 46 +++++ static/config.js | 2 +- 7 files changed, 694 insertions(+), 2 deletions(-) create mode 100644 src/views/firefighting/fireReport/components/fireControlRoom.vue create mode 100644 src/views/firefighting/fireReport/components/firePumpRoom.vue create mode 100644 src/views/firefighting/fireReport/components/fireResources.vue create mode 100644 src/views/firefighting/fireReport/components/list.vue create mode 100644 src/views/firefighting/fireReport/index.vue 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 @@ + + + + + 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 @@ + + + + + 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 @@ + + + + + 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 @@ + + + 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',