diff --git a/src/views/oneMap/components/FHPL.vue b/src/views/oneMap/components/FHPL.vue index 72ee30d..a31ee65 100644 --- a/src/views/oneMap/components/FHPL.vue +++ b/src/views/oneMap/components/FHPL.vue @@ -8,8 +8,10 @@ -
-
汛情回顾
+
+
+ 汛情回顾 +
@@ -31,23 +33,21 @@ const AllData = reactive({}); const curType = ref(false); const isShowMonitorCalender = ref(false); -const Bottomshow = ref(false); const control = ref('0'); +const Showtop = ref(true); const showPanel = ref(true); //面板展开收起 // 面板内容展开收起控制 const props = defineProps({ showPanel: { type: Boolean, }, - BottomshowPanel: { - type: Boolean, - }, }); function openUserDialog(params) { isShowMonitorCalender.value = true; } const change = date => { isShowMonitorCalender.value = false; + Showtop.value = false; showPanel.value = true; curType.value = true; emits('update:ActiveKey', { @@ -63,11 +63,11 @@ () => props.showPanel, () => { showPanel.value = props.showPanel; - Bottomshow.value = props.BottomshowPanel; }, { immediate: true } ); onMounted(() => { + console.log(Showtop.value, ' Showtop.value '); bus.emit('checkBottom', control.value); }); @@ -103,6 +103,7 @@ left: 480px; height: 35px; width: 90px; + z-index: 10000; // background: rgb(221, 216, 216); .hujiao_button { width: 90px; diff --git a/src/views/oneMap/components/FHPL.vue b/src/views/oneMap/components/FHPL.vue index 72ee30d..a31ee65 100644 --- a/src/views/oneMap/components/FHPL.vue +++ b/src/views/oneMap/components/FHPL.vue @@ -8,8 +8,10 @@
-
-
汛情回顾
+
+
+ 汛情回顾 +
@@ -31,23 +33,21 @@ const AllData = reactive({}); const curType = ref(false); const isShowMonitorCalender = ref(false); -const Bottomshow = ref(false); const control = ref('0'); +const Showtop = ref(true); const showPanel = ref(true); //面板展开收起 // 面板内容展开收起控制 const props = defineProps({ showPanel: { type: Boolean, }, - BottomshowPanel: { - type: Boolean, - }, }); function openUserDialog(params) { isShowMonitorCalender.value = true; } const change = date => { isShowMonitorCalender.value = false; + Showtop.value = false; showPanel.value = true; curType.value = true; emits('update:ActiveKey', { @@ -63,11 +63,11 @@ () => props.showPanel, () => { showPanel.value = props.showPanel; - Bottomshow.value = props.BottomshowPanel; }, { immediate: true } ); onMounted(() => { + console.log(Showtop.value, ' Showtop.value '); bus.emit('checkBottom', control.value); }); @@ -103,6 +103,7 @@ left: 480px; height: 35px; width: 90px; + z-index: 10000; // background: rgb(221, 216, 216); .hujiao_button { width: 90px; diff --git a/src/views/oneMap/components/FXHG.vue b/src/views/oneMap/components/FXHG.vue index 4032f68..da09a21 100644 --- a/src/views/oneMap/components/FXHG.vue +++ b/src/views/oneMap/components/FXHG.vue @@ -33,7 +33,6 @@ }, }); function goBack(params) { - console.log('111'); showPanel.value = true; showBottom.value = false; curType.value = true;