From 54837b203b8d23c01e0e6cf716cb6a3829ae60f6 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期四, 22 十二月 2022 19:48:07 +0800 Subject: [PATCH] 数据检索,关键字查询,空间查询,专题图添加mpt, --- src/components/MapView/mapMenuTop.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/MapView/mapMenuTop.vue b/src/components/MapView/mapMenuTop.vue index 58ae11c..e9a74e5 100644 --- a/src/components/MapView/mapMenuTop.vue +++ b/src/components/MapView/mapMenuTop.vue @@ -71,15 +71,18 @@ <el-button type="info" @click="clearQuery" plain>閲嶇疆</el-button> </el-form-item> </el-form> + <queryinfo ref="queryinfo" /> </div> </template> <script> +import queryinfo from "../../views/Tools/queryinfo.vue" import $ from 'jquery'; import { inquiry_SelectTabs, inquiry_uploadShp, encr } from '../../api/api.js'; import { getToken } from '@/utils/auth'; import * as turf from '@turf/turf'; export default { + components:{queryinfo}, data() { return { menuTopFrom: { @@ -325,13 +328,10 @@ }, showMapMenuPop() { this.$store.state.mapSpaceQueryLayer = this.treeChange; - if ( - this.$store.state.mapPopBoolean != true && - this.$store.state.mapPopBoxFlag != '1' - ) { - this.$store.state.mapPopBoolean = true; - this.$store.state.mapPopBoxFlag = '1'; - } + this.$store.state.mapPopBoxFlag = '1'; + this.$refs && this.$refs.queryinfo && this.$refs.queryinfo.open("绌洪棿鏌ヨ",null,{ close: () => { + + }}); this.$bus.$emit('changeMapMenuTop', 'true'); sgworld.Creator.SimpleGraphic.edit(false, { editProp: false }); sgworld.Creator.SimpleGraphic.clear(); -- Gitblit v1.9.3