From d164cd321c8437b4c24c08ba840c96d4d21436ad Mon Sep 17 00:00:00 2001 From: huangchengfa <171504222@qq.com> Date: Thu, 11 Dec 2025 17:15:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=88=E5=81=9A=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E7=AE=80=E5=8D=95=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ResearchHome/components/AnalysisReport/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/AnalysisReport/index.vue b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/AnalysisReport/index.vue index f069213..40583c5 100644 --- a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/AnalysisReport/index.vue +++ b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/AnalysisReport/index.vue @@ -111,7 +111,10 @@

2.总结分析

{{ textContent }}

+ + 下载 @@ -125,6 +128,8 @@ import { getItem, setItem } from '@/utils/storage' import { fxbgDywdtj, getDictItem, fxbgJqlxtj, fxbgJqlytj, fxbgYdfx, fxbgXsfx, fxgbCljgf, fxgbCzlfx, fxbgTj } from '@/api/semanticAnalysis' import { completions } from '@/api/semanticAnalysis' import { reactive, ref, onMounted, getCurrentInstance, nextTick, computed, watch } from "vue"; +import { downloadDocWithStyle } from '@/utils/export.js'; + const props = defineProps({ // 数据 search: { @@ -158,10 +163,15 @@ const tabHeight = ref(0) // 表格高度计算 const tabHeightFn = () => { tabHeight.value = window.innerHeight - 300 - window.onresize = function () { + window.onresize = function() { tabHeightFn(); }; }; +const downloadDocWithStyle = () => { + if (!tableBox.value?.innerHTML) return; + downloadDocWithStyle(tableBox.value?.innerHTML) +} + const pageData = reactive({ parameter: {}, total: 0,