diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue index 1b69617..2ca7c5a 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue @@ -144,7 +144,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -167,7 +167,10 @@ { name: AllData.yAxis2_Name, type: "value", - minInterval: 1, + // minInterval: 1, + max: function (value) { + return value.max > AllData.JKSZ ? value.max : AllData.JKSZ; + }, axisLabel: { color: "#AAC1CF", show: true, @@ -188,7 +191,7 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue index 1b69617..2ca7c5a 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue @@ -144,7 +144,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -167,7 +167,10 @@ { name: AllData.yAxis2_Name, type: "value", - minInterval: 1, + // minInterval: 1, + max: function (value) { + return value.max > AllData.JKSZ ? value.max : AllData.JKSZ; + }, axisLabel: { color: "#AAC1CF", show: true, @@ -188,7 +191,7 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue index a9dd6c0..beeb0b1 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue @@ -142,7 +142,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -164,7 +164,7 @@ { name: AllData.yAxis2_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -185,7 +185,7 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue index 1b69617..2ca7c5a 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue @@ -144,7 +144,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -167,7 +167,10 @@ { name: AllData.yAxis2_Name, type: "value", - minInterval: 1, + // minInterval: 1, + max: function (value) { + return value.max > AllData.JKSZ ? value.max : AllData.JKSZ; + }, axisLabel: { color: "#AAC1CF", show: true, @@ -188,7 +191,7 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue index a9dd6c0..beeb0b1 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue @@ -142,7 +142,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -164,7 +164,7 @@ { name: AllData.yAxis2_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -185,7 +185,7 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/ylfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/ylfxJCFX.vue index 9adc854..2b7e749 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/ylfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/ylfxJCFX.vue @@ -155,7 +155,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -177,7 +177,10 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, + max: function (value) { + return value.max > AllData.MGSW ? value.max : AllData.MGSW; + }, axisLabel: { color: "#AAC1CF", show: true, @@ -290,6 +293,7 @@ res.data.datas.forEach((element) => { switch (element.dataKey) { case "z": + debugger; AllData.yAxis3 = element.datas; element.cordonLineList.forEach((element) => { if (element.lineName == "满管水位") { diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue index 1b69617..2ca7c5a 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/szycfxJCFX.vue @@ -144,7 +144,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -167,7 +167,10 @@ { name: AllData.yAxis2_Name, type: "value", - minInterval: 1, + // minInterval: 1, + max: function (value) { + return value.max > AllData.JKSZ ? value.max : AllData.JKSZ; + }, axisLabel: { color: "#AAC1CF", show: true, @@ -188,7 +191,7 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue index a9dd6c0..beeb0b1 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/ydfxfxJCFX.vue @@ -142,7 +142,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -164,7 +164,7 @@ { name: AllData.yAxis2_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -185,7 +185,7 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/ylfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/ylfxJCFX.vue index 9adc854..2b7e749 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/ylfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/ylfxJCFX.vue @@ -155,7 +155,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -177,7 +177,10 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, + max: function (value) { + return value.max > AllData.MGSW ? value.max : AllData.MGSW; + }, axisLabel: { color: "#AAC1CF", show: true, @@ -290,6 +293,7 @@ res.data.datas.forEach((element) => { switch (element.dataKey) { case "z": + debugger; AllData.yAxis3 = element.datas; element.cordonLineList.forEach((element) => { if (element.lineName == "满管水位") { diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/yszrfxJCFX.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/yszrfxJCFX.vue index 21b6a46..6ee9ace 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/yszrfxJCFX.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/yszrfxJCFX.vue @@ -148,7 +148,7 @@ { name: AllData.yAxis_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -171,7 +171,7 @@ { name: AllData.yAxis2_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -192,7 +192,7 @@ { name: AllData.yAxis3_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true, @@ -213,7 +213,7 @@ { name: AllData.yAxis4_Name, type: "value", - minInterval: 1, + // minInterval: 1, axisLabel: { color: "#AAC1CF", show: true,