图形分析接口联调、拓扑和收益修改字段和接口调试

This commit is contained in:
康冉冉
2025-09-03 10:43:09 +08:00
parent 8451b074f6
commit 7467bf2f5a
14 changed files with 530 additions and 119 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<DateTimeSelect v-if="!(lineData && lineData.hiddenTime)" @dataChange="dataChangeValue"></DateTimeSelect>
<DateTimeSelect v-if="!(lineData && lineData.hiddenTime)" :dateShowType="dateShowType" @dataChange="dataChangeValue"></DateTimeSelect>
<div :id="`lineChart` + num" style="width:100%;height: 100%;" />
</div>
</template>
@@ -20,6 +20,10 @@
type: String,
default: null
},
dateShowType: {
type: String,
default: null
},
chartData: {
type: Function,
default: () => {
@@ -81,7 +85,7 @@
type: 'value',
name: '单位Mbps',
splitLine: {
show: false,
show: true,
},
},
series: [
@@ -100,8 +104,8 @@
// })
},
dataChangeValue(val, days) {
// console.log(props.chartData(val));
this.getList(this.title, {data: this.lineData.data, lineXData: days});
let lineDataList = days && days.length > 0 ? days: this.lineData.lineXData;
this.getList(this.title, {data: this.lineData.data, lineXData: lineDataList});
}
}
}