洞察报告;

This commit is contained in:
钱冠学
2024-09-12 16:58:38 +08:00
parent 77fca568f8
commit dd06f4c464
3 changed files with 8 additions and 3 deletions

View File

@@ -42,7 +42,8 @@ const height = ref(260)
onMounted(calcSize) onMounted(calcSize)
function 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) { :deep(.small-table.ant-table-wrapper) {
height: 294px; min-height: 294px;
tr th, tr td { tr th, tr td {
padding: 10px 24px; padding: 10px 24px;

View File

@@ -6,6 +6,10 @@ import 'echarts-wordcloud'
import Empty from '@/components/layout/empty/Empty.vue' import Empty from '@/components/layout/empty/Empty.vue'
import useDownload from '@/composables/useDownload'
const download = useDownload()
const emits = defineEmits(['change']) const emits = defineEmits(['change'])
const props = defineProps({ const props = defineProps({

View File

@@ -216,7 +216,7 @@ function downloadKeywordList() {
} }
function downloadKeywordWordCloudChart() { 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() { function downloadKeywordTable() {