From 955a8eeb4a139783dea7ce656026e7916b0b4801 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期五, 27 六月 2025 17:49:01 +0800
Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb_region

---
 src/views/jmreport/cwfxs/index.vue |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/src/views/jmreport/cwfxs/index.vue b/src/views/jmreport/cwfxs/index.vue
new file mode 100644
index 0000000..66ca294
--- /dev/null
+++ b/src/views/jmreport/cwfxs/index.vue
@@ -0,0 +1,43 @@
+<template>
+  <div v-loading="loading" :style="'height:' + height">
+    <iframe :src="src" frameborder="no" style="width: 100%;height: 100%" scrolling="auto" />
+  </div>
+</template>
+<script>
+import {
+  getToken
+} from '@/utils/auth'
+import { view } from "@/api/jmreport/jimu";
+export default {
+  name: "Ureport",
+  data() {
+    return {
+      src: "",
+      height: document.documentElement.clientHeight - 94.5 + "px;",
+      loading: true,
+      viewNum:"920476201831313408"
+    };
+  },
+  created() {
+    view().then((res) => {
+      this.src =
+        res +
+        "/" +
+        this.viewNum +
+        "?token=Bearer " +
+        getToken();
+    });
+    // this.src = "http://192.168.0.99:8080/ltkj-admin/jmreport/view/803795472456839168?token=Bearer " + getToken();
+  },
+
+  mounted: function () {
+    setTimeout(() => {
+      this.loading = false;
+    }, 230);
+    const that = this;
+    window.onresize = function temp() {
+      that.height = document.documentElement.clientHeight - 94.5 + "px;";
+    };
+  }
+};
+</script>
\ No newline at end of file

--
Gitblit v1.8.0