|
@@ -28,8 +28,8 @@
|
28
|
28
|
</div>
|
29
|
29
|
<div class="flex_start">
|
30
|
30
|
<div class="flex_1">
|
31
|
|
- <ViewEcharts key="trendEcharts" :options="trendInfo.option" :height="trendInfo.heights"></ViewEcharts>
|
32
|
|
- <!-- <ViewEcharts key="ratioEcharts" v-if="tabInfo.value == 'ratio'" :options="ratioInfo.option" :height="ratioInfo.heights"></ViewEcharts> -->
|
|
31
|
+ <ViewEcharts key="trendEcharts" v-if="tabInfo.value == 'trend'" :options="trendInfo.option" :height="trendInfo.heights"></ViewEcharts>
|
|
32
|
+ <ViewEcharts key="ratioEcharts" v-if="tabInfo.value == 'ratio'" :options="ratioInfo.option" :height="ratioInfo.heights"></ViewEcharts>
|
33
|
33
|
</div>
|
34
|
34
|
<div class="legend_box" v-if="tabInfo.value == 'trend'">
|
35
|
35
|
<div class="legend" v-for="item in overviewData.legendArr">
|
|
@@ -48,7 +48,7 @@
|
48
|
48
|
import { nextTick, onBeforeMount } from 'vue'
|
49
|
49
|
import { ExpTrend } from './hooks/trend'
|
50
|
50
|
import Select from '@/components/capsulationMoudle/_select.vue'
|
51
|
|
-import ViewEcharts from '@/common/echarts/Echarts.vue';
|
|
51
|
+import ViewEcharts from '@/common/Echarts/Echarts.vue';
|
52
|
52
|
|
53
|
53
|
const emit = defineEmits<{
|
54
|
54
|
(event: "changeTab",val:string): void;
|