Bladeren bron

报表IP增加动态配置项

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 11 maanden geleden
bovenliggende
commit
660a48c165

+ 16 - 3
public/static/config/modeConfig.js

@@ -18,11 +18,13 @@ const tilesMaxLevel = 18;
 // 切换模块时是否提示当前模块名称(用于对内介绍项目时便捷显示模块名称)
 const showModuleName = 0;
 
+const reportBaseUrl = "http://10.127.7.241:8083";
+
 // if (localTest) {
 //     baseURL = "http://192.168.10.8:9002/" // 联机调试 
 // } else {
 //     baseURL = "http://10.155.32.14:9002/" // 正式环境
-    
+
 // }
 
 websocketUrl = (baseURL.replace(/http:\/\/|https:\/\//g, "")) + "gyee-websocket";
@@ -33,5 +35,16 @@ window.__MODE__ = {
     // adapterUrl,
     tilesUrl,
     tilesMaxLevel,
-    showModuleName
-};
+    showModuleName,
+    reportBaseUrl
+};
+
+export default {
+    baseURL,
+    websocketUrl,
+    // adapterUrl,
+    tilesUrl,
+    tilesMaxLevel,
+    showModuleName,
+    reportBaseUrl
+}

+ 22 - 19
src/main.js

@@ -24,36 +24,39 @@ import "leaflet-contextmenu"
 import "leaflet-canvas-marker"
 import icon from "leaflet/dist/images/marker-icon.png" // 引入leaflet默认图标
 
+import modeConfig from "@public/static/config/modeConfig.js"
+
 import './permission' // permission control
 
 const debounce = (fn, delay) => {
-    let timer = null;
-    return function () {
-      let context = this;
-      let args = arguments;
-      clearTimeout(timer);
-      timer = setTimeout(function () {
-        fn.apply(context, args);
-      }, delay);
-    }
+  let timer = null;
+  return function () {
+    let context = this;
+    let args = arguments;
+    clearTimeout(timer);
+    timer = setTimeout(function () {
+      fn.apply(context, args);
+    }, delay);
   }
-   
-  const _ResizeObserver = window.ResizeObserver;
-  window.ResizeObserver = class ResizeObserver extends _ResizeObserver{
-    constructor(callback) {
-      callback = debounce(callback, 16);
-      super(callback);
-    }
+}
+
+const _ResizeObserver = window.ResizeObserver;
+window.ResizeObserver = class ResizeObserver extends _ResizeObserver {
+  constructor(callback) {
+    callback = debounce(callback, 16);
+    super(callback);
   }
+}
 
 
 const app = createApp(App)
 for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
-    app.component(key, component)
+  app.component(key, component)
 }
 app.config.globalProperties.$utils = utils;
 app.config.globalProperties.$echarts = echarts;
 app.config.globalProperties.$axios = axios;
-app.config.globalProperties.icoName = icon
+app.config.globalProperties.icoName = icon;
+app.config.globalProperties.reportBaseUrl =  modeConfig?.reportBaseUrl || "";
 app.use(L);
-app.use(store).use(router).use(ElementPlus, { size: 'small',locale: zhCn }).mount('#app')
+app.use(store).use(router).use(ElementPlus, { size: 'small', locale: zhCn }).mount('#app')

+ 51 - 42
src/views/intelligentReporting/czzyb/index.vue

@@ -1,47 +1,56 @@
 <template>
-    <div :style="pageHeight">
-        <iframe :src="url" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
-    </div>
+  <div :style="pageHeight">
+    <iframe
+      :src="url"
+      width="100%"
+      height="100%"
+      frameborder="0"
+      scrolling="auto"
+    ></iframe>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                url: ""
-            };
-        },
-        watch: {
-            $route: {
-                handler: function (route) {
-                    this.url = null
-                    if (route.query.name) {
-                        if (window.location.origin.indexOf('172.16.12.101') != -1) {
-                            this.url =
-                                "http://172.16.12.101:8083/rbi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$bd71f31ba69443b5b3f3997965927c41$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin"
-                        } else {
-                            this.url =
-                                "http://10.127.7.196:8083/bi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$041302f30436412d9ba78f161a6575f0$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin"
-                        }
-                    }
-                },
-                immediate: true
-            }
-        },
-        // mounted() {
-        //     if (window.location.origin.indexOf('172.16.12.101') != -1) {
-        //         this.url =
-        //             "http://172.16.12.101:8083/rbi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$bd71f31ba69443b5b3f3997965927c41$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin"
-        //     } else {
-        //         this.url =
-        //             "http://123.60.219.66:8083/bi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$041302f30436412d9ba78f161a6575f0$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin"
-        //     }
-        // },
-        computed: {
-            pageHeight() {
-                return {
-                    'height': document.documentElement.clientHeight - 80 + 'px'
-                }
-            },
-        }
+export default {
+  data() {
+    return {
+      url: "",
     };
+  },
+  watch: {
+    $route: {
+      handler: function (route) {
+        this.url = null;
+        if (route.query.name) {
+          this.url = `${
+            this.reportBaseUrl || "http://172.16.12.101:8083"
+          }/rbi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$bd71f31ba69443b5b3f3997965927c41$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin`;
+          // if (window.location.origin.indexOf('172.16.12.101') != -1) {
+          //     this.url =
+          //         "http://172.16.12.101:8083/rbi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$bd71f31ba69443b5b3f3997965927c41$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin"
+          // } else {
+          //     this.url =
+          //         "http://10.127.7.196:8083/bi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$041302f30436412d9ba78f161a6575f0$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin"
+          // }
+        }
+      },
+      immediate: true,
+    },
+  },
+  // mounted() {
+  //     if (window.location.origin.indexOf('172.16.12.101') != -1) {
+  //         this.url =
+  //             "http://172.16.12.101:8083/rbi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$bd71f31ba69443b5b3f3997965927c41$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin"
+  //     } else {
+  //         this.url =
+  //             "http://123.60.219.66:8083/bi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$041302f30436412d9ba78f161a6575f0$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin"
+  //     }
+  // },
+  computed: {
+    pageHeight() {
+      return {
+        height: document.documentElement.clientHeight - 80 + "px",
+      };
+    },
+  },
+};
 </script>

+ 88 - 61
src/views/intelligentReporting/erp/index.vue

@@ -1,66 +1,93 @@
 <template>
-    <div :style="pageHeight">
-        <iframe :src="url" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
-    </div>
+  <div :style="pageHeight">
+    <iframe
+      :src="url"
+      width="100%"
+      height="100%"
+      frameborder="0"
+      scrolling="auto"
+    ></iframe>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                url: null,
-            };
-        },
-        computed: {
-            pageHeight() {
-                return {
-                    'height': document.documentElement.clientHeight - 80 + 'px'
-                }
-            },
-        },
-        watch: {
-            $route: {
-                handler: function (route) {
-                    this.url = null
-                    if (route.query.name) {
-                        if (window.location.origin.indexOf('172.16.12.101') != -1) {
-                            if (route.query.name === 'xinzuo') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$be0f8f75df7543978e9ddff5f7576a2b&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d24a18e0985a46e5895573738a5cc384&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$ff22bb1d24bc416e9185a1e40be6976b&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$a946d1d7e6f242d7a1fdbaa32fd1601c&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$8e0637d590ce4fa2b3a26455a81895b2&id=admin&pw=admin'
-                            }
-                        } else {
-                            if (route.query.name === 'xinzuo') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$be0f8f75df7543978e9ddff5f7576a2b&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$d24a18e0985a46e5895573738a5cc384&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$ff22bb1d24bc416e9185a1e40be6976b&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$a946d1d7e6f242d7a1fdbaa32fd1601c&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$8e0637d590ce4fa2b3a26455a81895b2&id=admin&pw=admin'
-                            }
-                        }
-                    }
-                },
-                immediate: true
-            }
-        }
+export default {
+  data() {
+    return {
+      url: null,
     };
+  },
+  computed: {
+    pageHeight() {
+      return {
+        height: document.documentElement.clientHeight - 80 + "px",
+      };
+    },
+  },
+  watch: {
+    $route: {
+      handler: function (route) {
+        this.url = null;
+        if (route.query.name) {
+          if (route.query.name === "xinzuo") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$be0f8f75df7543978e9ddff5f7576a2b&id=admin&pw=admin`;
+          } else if (route.query.name === "jiliangshan") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d24a18e0985a46e5895573738a5cc384&id=admin&pw=admin`;
+          } else if (route.query.name === "fanshigou") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$ff22bb1d24bc416e9185a1e40be6976b&id=admin&pw=admin`;
+          } else if (route.query.name === "caoshanliang") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$a946d1d7e6f242d7a1fdbaa32fd1601c&id=admin&pw=admin`;
+          } else if (route.query.name === "leijiashan") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$8e0637d590ce4fa2b3a26455a81895b2&id=admin&pw=admin`;
+          }
+          // if (window.location.origin.indexOf('172.16.12.101') != -1) {
+          //     if (route.query.name === 'xinzuo') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$be0f8f75df7543978e9ddff5f7576a2b&id=admin&pw=admin'
+          //     } else if (route.query.name === 'jiliangshan') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d24a18e0985a46e5895573738a5cc384&id=admin&pw=admin'
+          //     } else if (route.query.name === 'fanshigou') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$ff22bb1d24bc416e9185a1e40be6976b&id=admin&pw=admin'
+          //     } else if (route.query.name === 'caoshanliang') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$a946d1d7e6f242d7a1fdbaa32fd1601c&id=admin&pw=admin'
+          //     } else if (route.query.name === 'leijiashan') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$8e0637d590ce4fa2b3a26455a81895b2&id=admin&pw=admin'
+          //     }
+          // } else {
+          //     if (route.query.name === 'xinzuo') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$be0f8f75df7543978e9ddff5f7576a2b&id=admin&pw=admin'
+          //     } else if (route.query.name === 'jiliangshan') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$d24a18e0985a46e5895573738a5cc384&id=admin&pw=admin'
+          //     } else if (route.query.name === 'fanshigou') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$ff22bb1d24bc416e9185a1e40be6976b&id=admin&pw=admin'
+          //     } else if (route.query.name === 'caoshanliang') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$a946d1d7e6f242d7a1fdbaa32fd1601c&id=admin&pw=admin'
+          //     } else if (route.query.name === 'leijiashan') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$8e0637d590ce4fa2b3a26455a81895b2&id=admin&pw=admin'
+          //     }
+          // }
+        }
+      },
+      immediate: true,
+    },
+  },
+};
 </script>

+ 88 - 61
src/views/intelligentReporting/fdscqk/index.vue

@@ -1,66 +1,93 @@
 <template>
-    <div :style="pageHeight">
-        <iframe :src="url" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
-    </div>
+  <div :style="pageHeight">
+    <iframe
+      :src="url"
+      width="100%"
+      height="100%"
+      frameborder="0"
+      scrolling="auto"
+    ></iframe>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                url: null,
-            };
-        },
-        computed: {
-            pageHeight() {
-                return {
-                    'height': document.documentElement.clientHeight - 80 + 'px'
-                }
-            },
-        },
-        watch: {
-            $route: {
-                handler: function (route) {
-                    this.url = null
-                    if (route.query.name) {
-                        if (window.location.origin.indexOf('172.16.12.101') != -1) {
-                            if (route.query.name === 'xinzuo') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d169ca9e0c974a6299b49dc752446ee2&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$839ccb29a1e84da48b21c659423c0175&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$03e83149008940daa72311823bd381da&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$33ab21248a7e49b683e5891b4ff6dad6&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$28c6ac8488f841f6b8270cb902aad1ce&id=admin&pw=admin'
-                            }
-                        } else {
-                            if (route.query.name === 'xinzuo') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$d169ca9e0c974a6299b49dc752446ee2&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$839ccb29a1e84da48b21c659423c0175&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$03e83149008940daa72311823bd381daid=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$33ab21248a7e49b683e5891b4ff6dad6&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$28c6ac8488f841f6b8270cb902aad1ce&id=admin&pw=admin'
-                            }
-                        }
-                    }
-                },
-                immediate: true
-            }
-        }
+export default {
+  data() {
+    return {
+      url: null,
     };
+  },
+  computed: {
+    pageHeight() {
+      return {
+        height: document.documentElement.clientHeight - 80 + "px",
+      };
+    },
+  },
+  watch: {
+    $route: {
+      handler: function (route) {
+        this.url = null;
+        if (route.query.name) {
+          if (route.query.name === "xinzuo") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d169ca9e0c974a6299b49dc752446ee2&id=admin&pw=admin`;
+          } else if (route.query.name === "jiliangshan") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$839ccb29a1e84da48b21c659423c0175&id=admin&pw=admin`;
+          } else if (route.query.name === "fanshigou") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$03e83149008940daa72311823bd381da&id=admin&pw=admin`;
+          } else if (route.query.name === "caoshanliang") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$33ab21248a7e49b683e5891b4ff6dad6&id=admin&pw=admin`;
+          } else if (route.query.name === "leijiashan") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$28c6ac8488f841f6b8270cb902aad1ce&id=admin&pw=admin`;
+          }
+          // if (window.location.origin.indexOf('172.16.12.101') != -1) {
+          //     if (route.query.name === 'xinzuo') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d169ca9e0c974a6299b49dc752446ee2&id=admin&pw=admin'
+          //     } else if (route.query.name === 'jiliangshan') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$839ccb29a1e84da48b21c659423c0175&id=admin&pw=admin'
+          //     } else if (route.query.name === 'fanshigou') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$03e83149008940daa72311823bd381da&id=admin&pw=admin'
+          //     } else if (route.query.name === 'caoshanliang') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$33ab21248a7e49b683e5891b4ff6dad6&id=admin&pw=admin'
+          //     } else if (route.query.name === 'leijiashan') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$28c6ac8488f841f6b8270cb902aad1ce&id=admin&pw=admin'
+          //     }
+          // } else {
+          //     if (route.query.name === 'xinzuo') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$d169ca9e0c974a6299b49dc752446ee2&id=admin&pw=admin'
+          //     } else if (route.query.name === 'jiliangshan') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$839ccb29a1e84da48b21c659423c0175&id=admin&pw=admin'
+          //     } else if (route.query.name === 'fanshigou') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$03e83149008940daa72311823bd381daid=admin&pw=admin'
+          //     } else if (route.query.name === 'caoshanliang') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$33ab21248a7e49b683e5891b4ff6dad6&id=admin&pw=admin'
+          //     } else if (route.query.name === 'leijiashan') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$28c6ac8488f841f6b8270cb902aad1ce&id=admin&pw=admin'
+          //     }
+          // }
+        }
+      },
+      immediate: true,
+    },
+  },
+};
 </script>

+ 98 - 67
src/views/intelligentReporting/fyfsdl/index.vue

@@ -1,72 +1,103 @@
 <template>
-    <div :style="pageHeight">
-        <iframe :src="url" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
-    </div>
+  <div :style="pageHeight">
+    <iframe
+      :src="url"
+      width="100%"
+      height="100%"
+      frameborder="0"
+      scrolling="auto"
+    ></iframe>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                url: null,
-            };
-        },
-        computed: {
-            pageHeight() {
-                return {
-                    'height': document.documentElement.clientHeight - 80 + 'px'
-                }
-            },
-        },
-        watch: {
-            $route: {
-                handler: function (route) {
-                    this.url = null
-                    if (route.query.name) {
-                        if (window.location.origin.indexOf('172.16.12.101') != -1) {
-                            if (route.query.name === 'xinzhuang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$53bbf921f227409f9b6554d94f85cb2b&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d71943fd4d0746638cc32a82f8370cdc&id=admin&pw=admin'
-                            } else if (route.query.name === 'zuozhuang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$0f0aac32858d463b818a4a4279e6aeea&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$446bd6a7efee40b49a6dba26cb21757b&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$16557a9ade704425b842e5d6725f3eef&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$30558a58dd3a48b7b755ee65d2a94690&id=admin&pw=admin'
-                            }
-                        } else {
-                            if (route.query.name === 'xinzhuang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$53bbf921f227409f9b6554d94f85cb2b&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$d71943fd4d0746638cc32a82f8370cdc&id=admin&pw=admin'
-                            } else if (route.query.name === 'zuozhuang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$0f0aac32858d463b818a4a4279e6aeea&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$446bd6a7efee40b49a6dba26cb21757b&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$16557a9ade704425b842e5d6725f3eef&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$30558a58dd3a48b7b755ee65d2a94690&id=admin&pw=admin'
-                            }
-                        }
-                    }
-                },
-                immediate: true
-            }
-        }
+export default {
+  data() {
+    return {
+      url: null,
     };
+  },
+  computed: {
+    pageHeight() {
+      return {
+        height: document.documentElement.clientHeight - 80 + "px",
+      };
+    },
+  },
+  watch: {
+    $route: {
+      handler: function (route) {
+        this.url = null;
+        if (route.query.name) {
+          if (route.query.name === "xinzhuang") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$53bbf921f227409f9b6554d94f85cb2b&id=admin&pw=admin`;
+          } else if (route.query.name === "jiliangshan") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d71943fd4d0746638cc32a82f8370cdc&id=admin&pw=admin`;
+          } else if (route.query.name === "zuozhuang") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$0f0aac32858d463b818a4a4279e6aeea&id=admin&pw=admin`;
+          } else if (route.query.name === "fanshigou") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$446bd6a7efee40b49a6dba26cb21757b&id=admin&pw=admin`;
+          } else if (route.query.name === "caoshanliang") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$16557a9ade704425b842e5d6725f3eef&id=admin&pw=admin`;
+          } else if (route.query.name === "leijiashan") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$30558a58dd3a48b7b755ee65d2a94690&id=admin&pw=admin`;
+          }
+          // if (window.location.origin.indexOf('172.16.12.101') != -1) {
+          //     if (route.query.name === 'xinzhuang') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$53bbf921f227409f9b6554d94f85cb2b&id=admin&pw=admin'
+          //     } else if (route.query.name === 'jiliangshan') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d71943fd4d0746638cc32a82f8370cdc&id=admin&pw=admin'
+          //     } else if (route.query.name === 'zuozhuang') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$0f0aac32858d463b818a4a4279e6aeea&id=admin&pw=admin'
+          //     } else if (route.query.name === 'fanshigou') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$446bd6a7efee40b49a6dba26cb21757b&id=admin&pw=admin'
+          //     } else if (route.query.name === 'caoshanliang') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$16557a9ade704425b842e5d6725f3eef&id=admin&pw=admin'
+          //     } else if (route.query.name === 'leijiashan') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$30558a58dd3a48b7b755ee65d2a94690&id=admin&pw=admin'
+          //     }
+          // } else {
+          //     if (route.query.name === 'xinzhuang') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$53bbf921f227409f9b6554d94f85cb2b&id=admin&pw=admin'
+          //     } else if (route.query.name === 'jiliangshan') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$d71943fd4d0746638cc32a82f8370cdc&id=admin&pw=admin'
+          //     } else if (route.query.name === 'zuozhuang') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$0f0aac32858d463b818a4a4279e6aeea&id=admin&pw=admin'
+          //     } else if (route.query.name === 'fanshigou') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$446bd6a7efee40b49a6dba26cb21757b&id=admin&pw=admin'
+          //     } else if (route.query.name === 'caoshanliang') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$16557a9ade704425b842e5d6725f3eef&id=admin&pw=admin'
+          //     } else if (route.query.name === 'leijiashan') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$30558a58dd3a48b7b755ee65d2a94690&id=admin&pw=admin'
+          //     }
+          // }
+        }
+      },
+      immediate: true,
+    },
+  },
+};
 </script>

+ 52 - 67
src/views/intelligentReporting/gkjlb/index.vue

@@ -1,72 +1,57 @@
 <template>
-    <div :style="pageHeight">
-        <iframe :src="url" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
-    </div>
+  <div :style="pageHeight">
+    <iframe
+      :src="url"
+      width="100%"
+      height="100%"
+      frameborder="0"
+      scrolling="auto"
+    ></iframe>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                url: null
-            };
-        },
-        computed: {
-            pageHeight() {
-                return {
-                    'height': document.documentElement.clientHeight - 80 + 'px'
-                }
-            },
-        },
-        watch: {
-            $route: {
-                handler: function (route) {
-                    this.url = null
-                    if (route.query.name) {
-                        if (window.location.origin.indexOf('172.16.12.101') != -1) {
-                            if (route.query.name === 'xinzhuang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$4a71c6bc1fd34da7843c6eb2a7b3aee3&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$621b7c14e4aa4a0483a8e577d8dc4cff&id=admin&pw=admin'
-                            } else if (route.query.name === 'zuozhuang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$36292212f28b4702af2c4aa01a62bdc1&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$2320f3ed77e740d6bb1b66b1f7062ad1&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$3dc29db548d54d289e58bf4a30dfb026&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$5ebbf0905b22448cbd9834ec6560fd26&id=admin&pw=admin'
-                            }
-                        } else {
-                            if (route.query.name === 'xinzhuang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$4a71c6bc1fd34da7843c6eb2a7b3aee3&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$621b7c14e4aa4a0483a8e577d8dc4cff&id=admin&pw=admin'
-                            } else if (route.query.name === 'zuozhuang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$36292212f28b4702af2c4aa01a62bdc1&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$2320f3ed77e740d6bb1b66b1f7062ad1&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$3dc29db548d54d289e58bf4a30dfb026&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$5ebbf0905b22448cbd9834ec6560fd26&id=admin&pw=admin'
-                            }
-                        }
-                    }
-                },
-                immediate: true
-            }
-        }
+export default {
+  data() {
+    return {
+      url: null,
     };
+  },
+  computed: {
+    pageHeight() {
+      return {
+        height: document.documentElement.clientHeight - 80 + "px",
+      };
+    },
+  },
+  watch: {
+    $route: {
+      handler: function (route) {
+        this.url = null;
+        if (route.query.name) {
+          // window.location.origin.indexOf('172.16.12.101') != -1
+          if (route.query.name === "xinzhuang") {
+            this.url =
+              "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$4a71c6bc1fd34da7843c6eb2a7b3aee3&id=admin&pw=admin";
+          } else if (route.query.name === "jiliangshan") {
+            this.url =
+              "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$621b7c14e4aa4a0483a8e577d8dc4cff&id=admin&pw=admin";
+          } else if (route.query.name === "zuozhuang") {
+            this.url =
+              "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$36292212f28b4702af2c4aa01a62bdc1&id=admin&pw=admin";
+          } else if (route.query.name === "fanshigou") {
+            this.url =
+              "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$2320f3ed77e740d6bb1b66b1f7062ad1&id=admin&pw=admin";
+          } else if (route.query.name === "caoshanliang") {
+            this.url =
+              "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$3dc29db548d54d289e58bf4a30dfb026&id=admin&pw=admin";
+          } else if (route.query.name === "leijiashan") {
+            this.url =
+              "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$5ebbf0905b22448cbd9834ec6560fd26&id=admin&pw=admin";
+          }
+        }
+      },
+      immediate: true,
+    },
+  },
+};
 </script>

+ 98 - 67
src/views/intelligentReporting/pjfs/index.vue

@@ -1,72 +1,103 @@
 <template>
-    <div :style="pageHeight">
-        <iframe :src="url" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
-    </div>
+  <div :style="pageHeight">
+    <iframe
+      :src="url"
+      width="100%"
+      height="100%"
+      frameborder="0"
+      scrolling="auto"
+    ></iframe>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                url: null,
-            };
-        },
-        computed: {
-            pageHeight() {
-                return {
-                    'height': document.documentElement.clientHeight - 80 + 'px'
-                }
-            },
-        },
-        watch: {
-            $route: {
-                handler: function (route) {
-                    this.url = null
-                    if (route.query.name) {
-                        if (window.location.origin.indexOf('172.16.12.101') != -1) {
-                            if (route.query.name === 'xinzhuang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$3341eda2eca447c380bb06e6e481d844&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$760bad3725d94777a74528c8ac9b26b9&id=admin&pw=admin'
-                            } else if (route.query.name === 'zuozhuang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$1879c56390294d648d20717f0810bdd8&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d0cec38cba1f43128d9aa5d348198c6e&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$0fea3b9cf19e49708fed7916a6efffc2&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$17d1c65d3389444bb804864268aa032b&id=admin&pw=admin'
-                            }
-                        } else {
-                            if (route.query.name === 'xinzhuang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$3341eda2eca447c380bb06e6e481d844&id=admin&pw=admin'
-                            } else if (route.query.name === 'jiliangshan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$760bad3725d94777a74528c8ac9b26b9&id=admin&pw=admin'
-                            } else if (route.query.name === 'zuozhuang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$1879c56390294d648d20717f0810bdd8&id=admin&pw=admin'
-                            } else if (route.query.name === 'fanshigou') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$d0cec38cba1f43128d9aa5d348198c6e&id=admin&pw=admin'
-                            } else if (route.query.name === 'caoshanliang') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$0fea3b9cf19e49708fed7916a6efffc2&id=admin&pw=admin'
-                            } else if (route.query.name === 'leijiashan') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$17d1c65d3389444bb804864268aa032b&id=admin&pw=admin'
-                            }
-                        }
-                    }
-                },
-                immediate: true
-            }
-        }
+export default {
+  data() {
+    return {
+      url: null,
     };
+  },
+  computed: {
+    pageHeight() {
+      return {
+        height: document.documentElement.clientHeight - 80 + "px",
+      };
+    },
+  },
+  watch: {
+    $route: {
+      handler: function (route) {
+        this.url = null;
+        if (route.query.name) {
+          if (route.query.name === "xinzhuang") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$3341eda2eca447c380bb06e6e481d844&id=admin&pw=admin`;
+          } else if (route.query.name === "jiliangshan") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$760bad3725d94777a74528c8ac9b26b9&id=admin&pw=admin`;
+          } else if (route.query.name === "zuozhuang") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$1879c56390294d648d20717f0810bdd8&id=admin&pw=admin`;
+          } else if (route.query.name === "fanshigou") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d0cec38cba1f43128d9aa5d348198c6e&id=admin&pw=admin`;
+          } else if (route.query.name === "caoshanliang") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$0fea3b9cf19e49708fed7916a6efffc2&id=admin&pw=admin`;
+          } else if (route.query.name === "leijiashan") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$17d1c65d3389444bb804864268aa032b&id=admin&pw=admin`;
+          }
+          // if (window.location.origin.indexOf('172.16.12.101') != -1) {
+          //     if (route.query.name === 'xinzhuang') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$3341eda2eca447c380bb06e6e481d844&id=admin&pw=admin'
+          //     } else if (route.query.name === 'jiliangshan') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$760bad3725d94777a74528c8ac9b26b9&id=admin&pw=admin'
+          //     } else if (route.query.name === 'zuozhuang') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$1879c56390294d648d20717f0810bdd8&id=admin&pw=admin'
+          //     } else if (route.query.name === 'fanshigou') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$d0cec38cba1f43128d9aa5d348198c6e&id=admin&pw=admin'
+          //     } else if (route.query.name === 'caoshanliang') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$0fea3b9cf19e49708fed7916a6efffc2&id=admin&pw=admin'
+          //     } else if (route.query.name === 'leijiashan') {
+          //         this.url =
+          //             'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$17d1c65d3389444bb804864268aa032b&id=admin&pw=admin'
+          //     }
+          // } else {
+          //     if (route.query.name === 'xinzhuang') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$3341eda2eca447c380bb06e6e481d844&id=admin&pw=admin'
+          //     } else if (route.query.name === 'jiliangshan') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$760bad3725d94777a74528c8ac9b26b9&id=admin&pw=admin'
+          //     } else if (route.query.name === 'zuozhuang') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$1879c56390294d648d20717f0810bdd8&id=admin&pw=admin'
+          //     } else if (route.query.name === 'fanshigou') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$d0cec38cba1f43128d9aa5d348198c6e&id=admin&pw=admin'
+          //     } else if (route.query.name === 'caoshanliang') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$0fea3b9cf19e49708fed7916a6efffc2&id=admin&pw=admin'
+          //     } else if (route.query.name === 'leijiashan') {
+          //         this.url =
+          //             'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$17d1c65d3389444bb804864268aa032b&id=admin&pw=admin'
+          //     }
+          // }
+        }
+      },
+      immediate: true,
+    },
+  },
+};
 </script>

+ 78 - 55
src/views/intelligentReporting/yxqk/index.vue

@@ -1,60 +1,83 @@
 <template>
-    <div :style="pageHeight">
-        <iframe :src="url" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
-    </div>
+  <div :style="pageHeight">
+    <iframe
+      :src="url"
+      width="100%"
+      height="100%"
+      frameborder="0"
+      scrolling="auto"
+    ></iframe>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                url: null,
-            };
-        },
-        computed: {
-            pageHeight() {
-                return {
-                    'height': document.documentElement.clientHeight - 80 + 'px'
-                }
-            },
-        },
-        watch: {
-            $route: {
-                handler: function (route) {
-                    this.url = null
-                    if (route.query.name) {
-                        if (window.location.origin.indexOf('172.16.12.101') != -1) {
-                            if (route.query.name === 'zuozhuangyiqi') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$6cfd3bcb6b85450dbcf396a816439c9f&id=admin&pw=admin'
-                            } else if (route.query.name === 'zuozhuangerqi') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$cc08c68dc9e34d15951f73dad8fbdbd7&id=admin&pw=admin'
-                            } else if (route.query.name === 'xinzhuangyiqi') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$05d0dbf32f7645179e12ffe21f064fd9&id=admin&pw=admin'
-                            } else if (route.query.name === 'xinzhuangerqi') {
-                                this.url =
-                                    'http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$19d79cef51114028a3f1dd1c06b08ea8&id=admin&pw=admin'
-                            }
-                        } else {
-                            if (route.query.name === 'zuozhuangyiqi') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$6cfd3bcb6b85450dbcf396a816439c9f&id=admin&pw=admin'
-                            } else if (route.query.name === 'zuozhuangerqi') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$cc08c68dc9e34d15951f73dad8fbdbd7&id=admin&pw=admin'
-                            } else if (route.query.name === 'xinzhuangyiqi') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$05d0dbf32f7645179e12ffe21f064fd9&id=admin&pw=admin'
-                            } else if (route.query.name === 'xinzhuangerqi') {
-                                this.url =
-                                    'http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$19d79cef51114028a3f1dd1c06b08ea8&id=admin&pw=admin'
-                            }
-                        }
-                    }
-                },
-                immediate: true
-            }
-        }
+export default {
+  data() {
+    return {
+      url: null,
     };
+  },
+  computed: {
+    pageHeight() {
+      return {
+        height: document.documentElement.clientHeight - 80 + "px",
+      };
+    },
+  },
+  watch: {
+    $route: {
+      handler: function (route) {
+        this.url = null;
+        if (route.query.name) {
+          if (route.query.name === "zuozhuangyiqi") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$6cfd3bcb6b85450dbcf396a816439c9f&id=admin&pw=admin`;
+          } else if (route.query.name === "zuozhuangerqi") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$cc08c68dc9e34d15951f73dad8fbdbd7&id=admin&pw=admin`;
+          } else if (route.query.name === "xinzhuangyiqi") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$05d0dbf32f7645179e12ffe21f064fd9&id=admin&pw=admin`;
+          } else if (route.query.name === "xinzhuangerqi") {
+            this.url = `${
+              this.reportBaseUrl || "http://172.16.12.101:8083"
+            }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$19d79cef51114028a3f1dd1c06b08ea8&id=admin&pw=admin`;
+          }
+          //   if (window.location.origin.indexOf("172.16.12.101") != -1) {
+          //     if (route.query.name === "zuozhuangyiqi") {
+          //       this.url =
+          //         "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$6cfd3bcb6b85450dbcf396a816439c9f&id=admin&pw=admin";
+          //     } else if (route.query.name === "zuozhuangerqi") {
+          //       this.url =
+          //         "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$cc08c68dc9e34d15951f73dad8fbdbd7&id=admin&pw=admin";
+          //     } else if (route.query.name === "xinzhuangyiqi") {
+          //       this.url =
+          //         "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$05d0dbf32f7645179e12ffe21f064fd9&id=admin&pw=admin";
+          //     } else if (route.query.name === "xinzhuangerqi") {
+          //       this.url =
+          //         "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$19d79cef51114028a3f1dd1c06b08ea8&id=admin&pw=admin";
+          //     }
+          //   } else {
+          //     if (route.query.name === "zuozhuangyiqi") {
+          //       this.url =
+          //         "http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$6cfd3bcb6b85450dbcf396a816439c9f&id=admin&pw=admin";
+          //     } else if (route.query.name === "zuozhuangerqi") {
+          //       this.url =
+          //         "http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$cc08c68dc9e34d15951f73dad8fbdbd7&id=admin&pw=admin";
+          //     } else if (route.query.name === "xinzhuangyiqi") {
+          //       this.url =
+          //         "http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$05d0dbf32f7645179e12ffe21f064fd9&id=admin&pw=admin";
+          //     } else if (route.query.name === "xinzhuangerqi") {
+          //       this.url =
+          //         "http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$19d79cef51114028a3f1dd1c06b08ea8&id=admin&pw=admin";
+          //     }
+          //   }
+        }
+      },
+      immediate: true,
+    },
+  },
+};
 </script>

+ 43 - 34
src/views/intelligentReporting/zhbb/index.vue

@@ -1,39 +1,48 @@
 <template>
-    <div :style="pageHeight">
-        <iframe :src="url" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
-    </div>
+  <div :style="pageHeight">
+    <iframe
+      :src="url"
+      width="100%"
+      height="100%"
+      frameborder="0"
+      scrolling="auto"
+    ></iframe>
+  </div>
 </template>
 <script>
-    export default {
-        data() {
-            return {
-                url: "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$03a38ba7339d4e2b9812e08e924f997e&id=admin&pw=admin"
-                // url: "http://10.127.7.196:8083/bi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$bd71f31ba69443b5b3f3997965927c41$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin",
-            };
-        },
-        watch: {
-            $route: {
-                handler: function (route) {
-                    this.url = null
-                    if (route.query.name) {
-                        if (window.location.origin.indexOf('172.16.12.101') != -1) {
-                            this.url =
-                                "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$03a38ba7339d4e2b9812e08e924f997e&id=admin&pw=admin"
-                        } else {
-                            this.url =
-                                "http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$03a38ba7339d4e2b9812e08e924f997e&id=admin&pw=admin"
-                        }
-                    }
-                },
-                immediate: true
-            }
-        },
-        computed: {
-            pageHeight() {
-                return {
-                    'height': document.documentElement.clientHeight - 80 + 'px'
-                }
-            },
-        }
+export default {
+  data() {
+    return {
+      url: "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$03a38ba7339d4e2b9812e08e924f997e&id=admin&pw=admin",
+      // url: "http://10.127.7.196:8083/bi/ebipro/easyolap.do?action=edit&resid=EANA$2$8$1$bd71f31ba69443b5b3f3997965927c41$f5c25912e8aa49d78e33f070bf944858&id=admin&pw=admin",
     };
+  },
+  watch: {
+    $route: {
+      handler: function (route) {
+        this.url = null;
+        if (route.query.name) {
+          this.url = `${
+            this.reportBaseUrl || "http://172.16.12.101:8083"
+          }/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$03a38ba7339d4e2b9812e08e924f997e&id=admin&pw=admin`;
+          // if (window.location.origin.indexOf('172.16.12.101') != -1) {
+          //     this.url =
+          //         "http://172.16.12.101:8083/rbi/ebibase/showreport.do?resid=EANA$2$2$1$bd71f31ba69443b5b3f3997965927c41$03a38ba7339d4e2b9812e08e924f997e&id=admin&pw=admin"
+          // } else {
+          //     this.url =
+          //         "http://10.127.7.196:8083/bi/ebibase/showreport.do?resid=EANA$2$2$1$041302f30436412d9ba78f161a6575f0$03a38ba7339d4e2b9812e08e924f997e&id=admin&pw=admin"
+          // }
+        }
+      },
+      immediate: true,
+    },
+  },
+  computed: {
+    pageHeight() {
+      return {
+        height: document.documentElement.clientHeight - 80 + "px",
+      };
+    },
+  },
+};
 </script>

+ 1 - 0
vue.config.js

@@ -75,6 +75,7 @@ module.exports = defineConfig({
             '@tools': resolve('./src/tools'),
             '@api': resolve('./src/api'),
             '@com': resolve('./src/components'),
+            '@public': resolve('public'),
         },
         fallback: {
             "https": false,