F47曲线联调修改
This commit is contained in:
@@ -98,7 +98,7 @@ const data = reactive({
|
|||||||
bkrr: 0
|
bkrr: 0
|
||||||
})
|
})
|
||||||
const tableStore: any = new TableStore({
|
const tableStore: any = new TableStore({
|
||||||
url: '/user-boot/dept/deptTree',
|
url: '/cs-harmonic-boot/csevent/f47Curve',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
||||||
showPage: false,
|
showPage: false,
|
||||||
@@ -109,22 +109,16 @@ const tableStore: any = new TableStore({
|
|||||||
tableStore.table.params.searchEndTime = tableStore.table.params.searchEndTime || prop.timeValue?.[1]
|
tableStore.table.params.searchEndTime = tableStore.table.params.searchEndTime || prop.timeValue?.[1]
|
||||||
},
|
},
|
||||||
loadCallback: () => {
|
loadCallback: () => {
|
||||||
let res = {
|
const gongData = gongfunction(tableStore.table.data)
|
||||||
data: { totalNumberOfEvents: 0, voltageToleranceCurveDataList: [] }
|
data.gs = tableStore.table.data.length
|
||||||
}
|
|
||||||
|
|
||||||
const gongData = gongfunction(res.data.voltageToleranceCurveDataList)
|
|
||||||
data.gs = res.data.voltageToleranceCurveDataList.length
|
|
||||||
data.krr = gongData.pointI.length
|
data.krr = gongData.pointI.length
|
||||||
data.bkrr = gongData.pointIun.length
|
data.bkrr = gongData.pointIun.length
|
||||||
console.log(gongData)
|
console.log(gongData,'789000')
|
||||||
echartList.value = {
|
echartList.value = {
|
||||||
// backgroundColor: "#f9f9f9", //地图背景色深蓝
|
|
||||||
title: {
|
title: {
|
||||||
text: `F47曲线`
|
text: `F47曲线`
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
// data: ['上限', '下限', '可容忍事件', '不可容忍事件'],
|
|
||||||
data: ['可容忍事件', '不可容忍事件'],
|
data: ['可容忍事件', '不可容忍事件'],
|
||||||
itemWidth: 10,
|
itemWidth: 10,
|
||||||
itemHeight: 10,
|
itemHeight: 10,
|
||||||
@@ -206,11 +200,11 @@ const tableStore: any = new TableStore({
|
|||||||
type: 'scatter',
|
type: 'scatter',
|
||||||
symbol: 'circle',
|
symbol: 'circle',
|
||||||
symbolSize: 8,
|
symbolSize: 8,
|
||||||
// data: gongData.pointF,
|
data: gongData.pointF,
|
||||||
data: [
|
// data: [
|
||||||
[0.2, 10, '2023-01-01 10:00:00'],
|
// [0.2, 10, '2023-01-01 10:00:00'],
|
||||||
[0.4, 50, '2023-01-01 11:00:00']
|
// [0.4, 50, '2023-01-01 11:00:00']
|
||||||
],
|
// ],
|
||||||
legendSymbol: 'circle',
|
legendSymbol: 'circle',
|
||||||
emphasis: {
|
emphasis: {
|
||||||
focus: 'series',
|
focus: 'series',
|
||||||
|
|||||||
Reference in New Issue
Block a user