diff --git a/src/views/DataAnalyse/insight/report/components/SmallTable.vue b/src/views/DataAnalyse/insight/report/components/SmallTable.vue index d05f34ed..a846c451 100644 --- a/src/views/DataAnalyse/insight/report/components/SmallTable.vue +++ b/src/views/DataAnalyse/insight/report/components/SmallTable.vue @@ -42,7 +42,8 @@ const height = ref(260) onMounted(calcSize) function calcSize() { - height.value = Math.max(260, smallTableWrapperRef.value.clientHeight - 92) + console.log(smallTableWrapperRef.value.clientHeight, smallTableWrapperRef.value.clientHeight - 102) + height.value = Math.max(260, smallTableWrapperRef.value.clientHeight - 102) } @@ -103,7 +104,7 @@ function onActiveRow(record) { } :deep(.small-table.ant-table-wrapper) { - height: 294px; + min-height: 294px; tr th, tr td { padding: 10px 24px; diff --git a/src/views/DataAnalyse/insight/report/components/WordCloud.vue b/src/views/DataAnalyse/insight/report/components/WordCloud.vue index f571ba66..f474171b 100644 --- a/src/views/DataAnalyse/insight/report/components/WordCloud.vue +++ b/src/views/DataAnalyse/insight/report/components/WordCloud.vue @@ -6,6 +6,10 @@ import 'echarts-wordcloud' import Empty from '@/components/layout/empty/Empty.vue' +import useDownload from '@/composables/useDownload' + + +const download = useDownload() const emits = defineEmits(['change']) const props = defineProps({ diff --git a/src/views/DataAnalyse/insight/report/section/conceptDiagnosis/PeopleLike.vue b/src/views/DataAnalyse/insight/report/section/conceptDiagnosis/PeopleLike.vue index f2904809..2cd345ae 100644 --- a/src/views/DataAnalyse/insight/report/section/conceptDiagnosis/PeopleLike.vue +++ b/src/views/DataAnalyse/insight/report/section/conceptDiagnosis/PeopleLike.vue @@ -216,7 +216,7 @@ function downloadKeywordList() { } function downloadKeywordWordCloudChart() { - wordCloudRef.value?.downloadCahrt?.(`词云图_${ props.title }_${ props.typeStr || '' }_${ moment().format('YYYYMMDDHHmm') }.png`) + wordCloudRef.value?.downloadChart?.(`词云图_${ props.title }_${ props.typeStr || '' }_${ moment().format('YYYYMMDDHHmm') }.png`) } function downloadKeywordTable() {