Explorar el Código

增加经济运行报告

SunZehao hace 9 meses
padre
commit
cc351267d6

+ 1 - 1
.env.development

@@ -12,7 +12,7 @@ VUE_APP_LOGIN_URL = 'http://192.168.2.143:48080'
 
 # 发电能力分析
 # VUE_APP_GENERAT_URL = 'http://123.60.219.66:9002'
-VUE_APP_GENERAT_URL = 'http://192.168.2.45:9002'
+VUE_APP_GENERAT_URL = 'http://192.168.2.232:9002'
 # 智能报表
 # VUE_APP_REPORT_URL = 'http://123.60.219.66:9001'
 VUE_APP_REPORT_URL = 'http://192.168.2.143:9001'

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 7 - 0
src/App.vue


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 245 - 109
src/views/generatingCapacity/report/index.vue


+ 43 - 0
src/views/intelligentReporting/fgztjqkb/index.vue

@@ -0,0 +1,43 @@
+<template>
+    <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$203bb5cb28ad4f6283484adad6653735&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$203bb5cb28ad4f6283484adad6653735&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>