|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<Card :title="title" :loading="loading">
|
|
|
<template #extra>
|
|
|
- <condition :type="title=='管理中心用户活跃度统计'?'0':'2'" :typeShow="title=='管理中心用户活跃度统计'" @change="Search" @expor="handleExport" />
|
|
|
+ <condition :selectTimeType="1" :type="title=='管理中心用户活跃度统计'?'0':'2'" :typeShow="title=='管理中心用户活跃度统计'" @change="Search" @expor="handleExport" />
|
|
|
</template>
|
|
|
<div ref="chartRef" :style="{ height, width }"></div>
|
|
|
</Card>
|
|
@@ -24,7 +24,7 @@
|
|
|
});
|
|
|
const value = ref(1);
|
|
|
const SearchData = reactive({
|
|
|
- startTime: dayjs().subtract(6,'month').format('YYYY-MM-DD'),
|
|
|
+ startTime: dayjs().subtract(props.title == '云容量趋势分析'?6:1,'month').format('YYYY-MM-DD'),
|
|
|
endTime: dayjs().format('YYYY-MM-DD'),
|
|
|
timeType: props.title == '云容量趋势分析'?'month':'day',
|
|
|
infoType: props.title == '云容量趋势分析'?'add':'all',
|
|
@@ -118,6 +118,7 @@
|
|
|
data: yixStringData.value,
|
|
|
},
|
|
|
yAxis: {
|
|
|
+ name:props.title=='云容量趋势分析'?'容量/G':'',
|
|
|
type: 'value',
|
|
|
splitNumber: 4,
|
|
|
},
|