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,