feat-实现AI洞察功能

This commit is contained in:
zhang.weiwei
2025-03-23 06:58:52 +08:00
parent 823287b054
commit 900aefc926
29 changed files with 493 additions and 40 deletions

View File

@@ -1,5 +1,9 @@
<template>
<div class="table-container">
<AiInsightResult
v-if="data.question_conclusion"
:result="data.question_conclusion"
/>
<a-table
:align="'center'"
:columns="columns"
@@ -37,6 +41,7 @@ import { defineComponent, ref, watch, inject, computed } from 'vue';
import { getFileExtension } from '@/utils/file';
import { cloneDeep } from 'lodash';
import { downloadFile } from '@/views/DataAnalyse/composables/downloadFile';
import AiInsightResult from '@/views/DataAnalyse/diagram/components/AiInsightResult';
import { useStore } from 'vuex';
import { useRoute } from 'vue-router';
import { downloadAllFile, downloadFileSheet, getDiagramAnalysis } from '@/api/data-analyse';
@@ -57,7 +62,7 @@ export default defineComponent({
default: ''
}
},
components: { ImagePreview },
components: { ImagePreview, AiInsightResult },
setup(props) {
const store = useStore();
const route = useRoute();