-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ components: {
+ onlineData,
+ devicemessage,
+ terminalmessage,
+ integralitytable
+ },
+ data() {
+ return {
+ activeName: 'first',
+ vh: null
+ }
+ },
+ created() {
+ if (process.env.VUE_APP_MODE === 'cgyqr') {
+ if (process.env.VUE_APP_KEY != 'scqr') {
+ this.guanzhou()
+ }
+ }
+ },
+ mounted() {
+ this.vh = window.sessionStorage.getItem('appheight') - 12 + 'px'
+ },
+ methods: {
+ guanzhou() {
+ var data = {
+ token: this.$route.query.token
+ }
+ api1.guanzhou(data).then(res => {
+ if (res.code == 'A0000') {
+ return
+ } else {
+ this.$router.push('/error/massege/403')
+ }
+ })
+ },
+ handleClick(tab, event) {
+ // console.log(tab, event);
+ this.activeName = tab.name
+ }
+ }
+}
+
diff --git a/src/views/cgy-harmonic-boot/region/regionalmonitoring.vue b/src/views/cgy-harmonic-boot/region/regionalmonitoring.vue
index 3927ad1..17d0360 100644
--- a/src/views/cgy-harmonic-boot/region/regionalmonitoring.vue
+++ b/src/views/cgy-harmonic-boot/region/regionalmonitoring.vue
@@ -37,7 +37,10 @@ export default {
},
created() {
if (process.env.VUE_APP_MODE === 'cgyqr') {
- this.guanzhou()
+ // this.guanzhou()
+ if (process.env.VUE_APP_KEY != 'scqr') {
+ this.guanzhou()
+ }
}
},
mounted() {},
diff --git a/src/views/harmonic-boot/comper/comprehensiveanalysis.vue b/src/views/harmonic-boot/comper/comprehensiveanalysis.vue
index a86a1be..5a95428 100644
--- a/src/views/harmonic-boot/comper/comprehensiveanalysis.vue
+++ b/src/views/harmonic-boot/comper/comprehensiveanalysis.vue
@@ -51,7 +51,9 @@ export default {
};
},
created() {
- this.guanzhou()
+ if (process.env.VUE_APP_KEY != 'scqr') {
+ this.guanzhou()
+ }
},
mounted() {
diff --git a/src/views/harmonic-boot/line/pointmonitoring.vue b/src/views/harmonic-boot/line/pointmonitoring.vue
index 2075733..0e61f83 100644
--- a/src/views/harmonic-boot/line/pointmonitoring.vue
+++ b/src/views/harmonic-boot/line/pointmonitoring.vue
@@ -48,7 +48,9 @@ export default {
}
},
created() {
- this.guanzhou()
+ if (process.env.VUE_APP_KEY != 'scqr') {
+ this.guanzhou()
+ }
},
mounted() {
this.setHeight()
diff --git a/src/views/harmonic-boot/region/regionalmonitoring.vue b/src/views/harmonic-boot/region/regionalmonitoring.vue
index 0baa1a7..6927f19 100644
--- a/src/views/harmonic-boot/region/regionalmonitoring.vue
+++ b/src/views/harmonic-boot/region/regionalmonitoring.vue
@@ -75,7 +75,9 @@ export default {
};
},
created() {
- this.guanzhou();
+ if (process.env.VUE_APP_KEY != 'scqr') {
+ this.guanzhou()
+ }
},
mounted() {},
methods: {
diff --git a/vue.config.js b/vue.config.js
index cf95cf8..f943cff 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -18,7 +18,7 @@ module.exports = {
// publicPath: 'https://fuphoenixes.github.io/example/dist/',
//publicPath: "./",
// publicPath: process.env.VUE_APP_PATH,
- publicPath: process.env.NODE_ENV === 'development' ? './' : process.env.VUE_APP_MODE == 'jbqr' ? './' : '/',
+ publicPath: './', //process.env.NODE_ENV === 'development' ? './' : process.env.VUE_APP_MODE == 'jbqr' ? './' : '/',
outputDir: 'dist',
assetsDir: 'static',
// lintOnSave: process.env.NODE_ENV === 'development',
@@ -37,9 +37,9 @@ module.exports = {
'/api': {
// target: 'http://18028358809.gnway.cc', //hsw
// target: 'http://192.168.120.210:10215', //hsw
- target: 'http://192.168.1.29:10215', //超高压
+ // target: 'http://192.168.1.28:10215', //超高压
// target: "'https://pqmcn.com:8092/api", //治理
- // target: 'http://192.168.1.24:10215', // 河北
+ target: 'http://192.168.1.24:10215', // 河北
// target: "http://192.168.1.31:10215", // 海南
// target: "http://192.168.1.29:10215", // 冀北
changeOrigin: true,