From 89323ef5405d9e1721b85afcba55984feb9d1942 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 04 七月 2024 17:59:51 +0800 Subject: [PATCH] 增加日期筛选;点踩接口对接;权限优化 --- src/components/chat/chatComponents/recordSetCom/RecordSetCom.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/chat/chatComponents/recordSetCom/RecordSetCom.vue b/src/components/chat/chatComponents/recordSetCom/RecordSetCom.vue index ab18dc0..e7e677d 100644 --- a/src/components/chat/chatComponents/recordSetCom/RecordSetCom.vue +++ b/src/components/chat/chatComponents/recordSetCom/RecordSetCom.vue @@ -29,7 +29,7 @@ import type { TabsPaneContext } from 'element-plus'; import type { PropType } from 'vue'; import { onMounted, ref } from 'vue'; -import { ChartTypeEnum, chartTypeMapEchart, chartTypeMapName } from './types'; +import { ChartTypeEnum, chartTypeMapEchart, chartTypeMapName } from '../types'; import type { RecordSetValues } from '/@/api/ai/chat'; import { dateRegex } from '/@/utils/toolsValidate'; const activeName = ref('first'); @@ -78,7 +78,9 @@ show: true, }, title: { - // text: props.data.title, + text: props.data.title, + left: 'center', + }, xAxis: { name: props.data?.names[0], @@ -104,7 +106,8 @@ setTimeout(() => { const parent = chartRef.value.parentElement; - + if(!parent){ + } const parentBound = parent.getBoundingClientRect(); chartInstance = echarts.init(chartRef.value,undefined,{ width:parentBound.width, -- Gitblit v1.9.3