|
|
@ -270,8 +270,8 @@ function getEchartsData() { |
|
|
|
mpcd: cascaderArr.value[1] || "", |
|
|
|
elementType: "SZ_SEEPAGE_AROUND", |
|
|
|
}).then((res) => { |
|
|
|
if (res.data) { |
|
|
|
initChart(res.data, echart1, echartsRef1.value); |
|
|
|
if (res) { |
|
|
|
initChart(res, echart1, echartsRef1.value); |
|
|
|
} |
|
|
|
}); |
|
|
|
// 雨情分析 |
|
|
@ -282,8 +282,8 @@ function getEchartsData() { |
|
|
|
stcd: cascaderArr.value[0] || "", |
|
|
|
elementType: "SZ_WATER_LEVEL", |
|
|
|
}).then((res) => { |
|
|
|
if (res.data) { |
|
|
|
initChart(res.data, echart2, echartsRef2.value); |
|
|
|
if (res) { |
|
|
|
initChart(res, echart2, echartsRef2.value); |
|
|
|
} |
|
|
|
}); |
|
|
|
// 裂缝开合度分析 |
|
|
@ -294,8 +294,8 @@ function getEchartsData() { |
|
|
|
mpcd: cascaderArr.value[1] || "", |
|
|
|
elementType: "SZ_DISPLACEMENT", |
|
|
|
}).then((res) => { |
|
|
|
if (res.data) { |
|
|
|
initChart(res.data, echart3, echartsRef3.value); |
|
|
|
if (res) { |
|
|
|
initChart(res, echart3, echartsRef3.value); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|