diff --git a/src/pages/views/WatershedOneMap/modalPart/legend.vue b/src/pages/views/WatershedOneMap/modalPart/legend.vue index 03c0dfc..afedcd7 100644 --- a/src/pages/views/WatershedOneMap/modalPart/legend.vue +++ b/src/pages/views/WatershedOneMap/modalPart/legend.vue @@ -59,9 +59,8 @@ - - - 9999999 + + @@ -189,9 +188,10 @@ }, ], legendList: legendData, - showModalHP: true, + showModalHP: false, showModalNld: false, valueModalNld: {}, + valueModalhp: {}, valueModal: {}, }); // 初始化默认选中的图层判断显示 @@ -2147,8 +2147,9 @@ } else if (feature.newFiberId == 'waterLoging') { allData.showModalNld = true; allData.valueModalNld = properties; - - console.log(allData.valueModalNld); + } else if (feature.newFiberId == 'Riversging') { + allData.showModalHP = true; + allData.valueModalhp = properties; } else { newfiberMap.flyTo({ lon: clickPointCoordinates[0] + 0.05, diff --git a/src/pages/views/WatershedOneMap/modalPart/legend.vue b/src/pages/views/WatershedOneMap/modalPart/legend.vue index 03c0dfc..afedcd7 100644 --- a/src/pages/views/WatershedOneMap/modalPart/legend.vue +++ b/src/pages/views/WatershedOneMap/modalPart/legend.vue @@ -59,9 +59,8 @@ - - - 9999999 + + @@ -189,9 +188,10 @@ }, ], legendList: legendData, - showModalHP: true, + showModalHP: false, showModalNld: false, valueModalNld: {}, + valueModalhp: {}, valueModal: {}, }); // 初始化默认选中的图层判断显示 @@ -2147,8 +2147,9 @@ } else if (feature.newFiberId == 'waterLoging') { allData.showModalNld = true; allData.valueModalNld = properties; - - console.log(allData.valueModalNld); + } else if (feature.newFiberId == 'Riversging') { + allData.showModalHP = true; + allData.valueModalhp = properties; } else { newfiberMap.flyTo({ lon: clickPointCoordinates[0] + 0.05, diff --git a/src/pages/views/WatershedOneMap/modalPart/modal/GangQuModal.vue b/src/pages/views/WatershedOneMap/modalPart/modal/GangQuModal.vue new file mode 100644 index 0000000..f30bfae --- /dev/null +++ b/src/pages/views/WatershedOneMap/modalPart/modal/GangQuModal.vue @@ -0,0 +1,191 @@ + + + + + diff --git a/src/pages/views/WatershedOneMap/modalPart/legend.vue b/src/pages/views/WatershedOneMap/modalPart/legend.vue index 03c0dfc..afedcd7 100644 --- a/src/pages/views/WatershedOneMap/modalPart/legend.vue +++ b/src/pages/views/WatershedOneMap/modalPart/legend.vue @@ -59,9 +59,8 @@ - - - 9999999 + + @@ -189,9 +188,10 @@ }, ], legendList: legendData, - showModalHP: true, + showModalHP: false, showModalNld: false, valueModalNld: {}, + valueModalhp: {}, valueModal: {}, }); // 初始化默认选中的图层判断显示 @@ -2147,8 +2147,9 @@ } else if (feature.newFiberId == 'waterLoging') { allData.showModalNld = true; allData.valueModalNld = properties; - - console.log(allData.valueModalNld); + } else if (feature.newFiberId == 'Riversging') { + allData.showModalHP = true; + allData.valueModalhp = properties; } else { newfiberMap.flyTo({ lon: clickPointCoordinates[0] + 0.05, diff --git a/src/pages/views/WatershedOneMap/modalPart/modal/GangQuModal.vue b/src/pages/views/WatershedOneMap/modalPart/modal/GangQuModal.vue new file mode 100644 index 0000000..f30bfae --- /dev/null +++ b/src/pages/views/WatershedOneMap/modalPart/modal/GangQuModal.vue @@ -0,0 +1,191 @@ + + + + + diff --git a/src/pages/views/WatershedOneMap/modalPart/modal/HuPoModal.vue b/src/pages/views/WatershedOneMap/modalPart/modal/HuPoModal.vue index 389dae8..2f9d73b 100644 --- a/src/pages/views/WatershedOneMap/modalPart/modal/HuPoModal.vue +++ b/src/pages/views/WatershedOneMap/modalPart/modal/HuPoModal.vue @@ -1,22 +1,61 @@