洞察报告;
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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({
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user