yangyin
2024-07-17 db4c7baafce80a4dc4585478334797402f7a77ae
src/components/chat/chatComponents/summaryCom/SummaryCom.vue
@@ -24,12 +24,9 @@
            </div>
         </div>
         <div v-if="urlList && urlList.length > 0" class="w-full">
            <HTMLCom
               data="http://127.0.0.1:5500/src/views/project/ch/demo/MonthlyPay.html"
               v-for="(item, index) in urlList"
               :key="index"
            ></HTMLCom>
            <MapCom />
            <!-- <HTMLCom data="http://101.133.133.173:8019/ai_html/views/demo/html/MonthlyPay.html" v-for="(item, index) in urlList" :key="index"></HTMLCom> -->
            <HTMLCom :data="item.url" v-for="(item, index) in urlList" :key="index"></HTMLCom>
         </div>
      </template>
      <div v-else class="text-red-500">{{ error }}</div>
@@ -41,13 +38,11 @@
import type { TableInstance } from 'element-plus';
import _ from 'lodash';
import { computed, onMounted, ref } from 'vue';
import { ChartTypeEnum, chartTypeMapEchart, chartTypeMapName } from '../types';
import { axisLabelFormatter } from '/@/utils/chart';
import { PATH_ICON, SCATTER_SYMBOL_SIZE, timeDataOptionToContent } from '../common';
import { AnswerType } from '../../model/types';
import { PATH_ICON, SCATTER_SYMBOL_SIZE, timeDataOptionToContent } from '../common';
import HTMLCom from '../htmlCom/HTMLCom.vue';
import MapCom from '../mapCom/MapCom.vue';
import { ChartTypeEnum, chartTypeMapEchart } from '../types';
import { axisLabelFormatter } from '/@/utils/chart';
const props = defineProps(['data', 'error']);
const selectChartType = ref<ChartTypeEnum>(ChartTypeEnum.Line);