From ca4a2d4dfbb58cd92a5f40d5541ce098ec3417b1 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期五, 18 四月 2025 17:18:22 +0800 Subject: [PATCH] Qx --- src/views/hosp/order/index.vue | 3 ++- src/views/jmreport/reservation/index.vue | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletions(-) diff --git a/src/views/hosp/order/index.vue b/src/views/hosp/order/index.vue index cc0e9fa..195cfd2 100644 --- a/src/views/hosp/order/index.vue +++ b/src/views/hosp/order/index.vue @@ -3117,8 +3117,9 @@ /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { + console.log(this.queryParams) this.download( - "hosp/order/export", + "/hosp/order/exportOrderList", { ...this.queryParams, }, diff --git a/src/views/jmreport/reservation/index.vue b/src/views/jmreport/reservation/index.vue new file mode 100644 index 0000000..e46d97a --- /dev/null +++ b/src/views/jmreport/reservation/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:"1073102401980628992", + }; + }, + created() { + view().then((res) => { + this.src = + res + + "/" + + this.viewNum + + "?token=Bearer " + + getToken(); + }); + // this.src = "http://192.168.0.99:8080/ltkj-admin/jmreport/view/815468234724306944?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