From fcc5348307a44b2312b168e98e880c0e60f3c19e Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期一, 27 三月 2023 16:07:53 +0800 Subject: [PATCH] 一张图底图切换优化;综合展示,图层管理模型添加透明度设置;目录管理添加目录下载功能;附件预览添添加图片设置 --- src/components/MapView/mapMenuPop.vue | 87 +++++++------------------------------------ 1 files changed, 14 insertions(+), 73 deletions(-) diff --git a/src/components/MapView/mapMenuPop.vue b/src/components/MapView/mapMenuPop.vue index 823de1a..f6754e1 100644 --- a/src/components/MapView/mapMenuPop.vue +++ b/src/components/MapView/mapMenuPop.vue @@ -124,74 +124,7 @@ </el-form-item> </el-form> </el-dialog> - <el-dialog - title="鏁版嵁鐢宠" - :visible.sync="dialogInsertVisible" - width="30%" - top="35vh" - :modal="false" - :before-close="handleInsertClose" - > - <div style="width: 100%; max-height: 450px; overflow-y: auto"> - <el-form - ref="form" - :model="ruleForm" - label-width="100px" - > - <el-form-item label="瀹℃牳鍗曚綅"> - <div> - <ul> - <li v-for="item in ruleForm.depid"> - {{ item.name }} - </li> - </ul> - </div> - </el-form-item> - <el-form-item label="琛ㄥ悕"> - <div> - <ul> - <li v-for="item in ruleForm.tabs"> - {{ item.tabDesc }} - </li> - </ul> - </div> - </el-form-item> - <el-form-item label="鏉′欢"> - <el-input - :title="ruleForm.wkt" - v-model="ruleForm.wkt" - disabled - ></el-input> - </el-form-item> - <el-form-item label="鎻忚堪"> - <el-input - type="textarea" - placeholder="璇疯緭鍏ュ唴瀹�" - v-model="ruleForm.descr" - maxlength="50" - show-word-limit - > - </el-input> - </el-form-item> - <el-form-item> - <el-button - class="primary" - size="small" - @click="getInsertDown" - >{{ - $t("common.confirm") - }}</el-button> - <el-button - type="info" - size="small" - @click="closeInsertDown" - >{{ - $t("common.cancel") - }}</el-button> - </el-form-item> - </el-form> - </div> - </el-dialog> + <iframe id="Iframe1" src="" @@ -297,9 +230,12 @@ } }, methods: { - getInsertDown() { - this.dialogInsertVisible = false - this.dialogVisible = true + getInsertDown(res) { + + // this.dialogInsertVisible = false + // this.dialogVisible = true + this.codeForm = res; + this.download(); }, handleInsertClose() { this.$confirm("纭鍏抽棴锛�") @@ -336,7 +272,8 @@ if (data.result.length == 0 || data.result == null) { this.insertFlag = 1 - this.dialogVisible = true + // this.dialogVisible = true + this.$bus.$emit("setDialogInsertVisible", true) } else { this.insertFlag = 2 var std = [] @@ -359,7 +296,8 @@ this.ruleForm.depname = std this.ruleForm.wkt = decr(this.listdata.wkt) this.ruleForm.tabs = this.option - this.dialogInsertVisible = true + // this.dialogInsertVisible = true + this.$bus.$emit("setDialogInsertVisible", this.ruleForm) } }, async signGetPublicKey() { @@ -892,6 +830,9 @@ this.setTableAll() } }) + this.$bus.$on("setInsertDown", res => { + this.getInsertDown(res) + }) }, destroyed() { this.$store.state.propertiesFlag = null -- Gitblit v1.9.3