This commit is contained in:
duanxiaohai 2024-08-30 11:29:31 +08:00
parent 444dae5dfd
commit 65e80ea739
1 changed files with 40 additions and 39 deletions

View File

@ -225,7 +225,11 @@
退出 退出
</div> </div>
</div> </div>
<div class="btnBj" v-if="!showEdit && !dialogShow && !openD" @click="openqx()"> <div
class="btnBj"
v-if="!showEdit && !dialogShow && !openD"
@click="openqx()"
>
地图权限(123456) 地图权限(123456)
<p :style="{ color: jsqx ? 'green' : 'red' }">{{ bjtitle }}</p> <p :style="{ color: jsqx ? 'green' : 'red' }">{{ bjtitle }}</p>
</div> </div>
@ -1061,12 +1065,10 @@ const openqx = () => {
if (jsqx.value) { if (jsqx.value) {
ElMessageBox.confirm("确定要取消权限吗?") ElMessageBox.confirm("确定要取消权限吗?")
.then(() => { .then(() => {
qxvalue.value='' qxvalue.value = "";
jsqx.value = false; jsqx.value = false;
}) })
.catch(() => { .catch(() => {});
});
} else { } else {
qx.value = true; qx.value = true;
} }
@ -1075,7 +1077,7 @@ const saveqx = () => {
if (qxvalue.value == qxkey) { if (qxvalue.value == qxkey) {
jsqx.value = true; jsqx.value = true;
qx.value = false; qx.value = false;
qxvalue.value='' qxvalue.value = "";
ElMessage.success("解锁成功"); ElMessage.success("解锁成功");
} else { } else {
ElMessage.error("解锁密码错误"); ElMessage.error("解锁密码错误");
@ -2568,7 +2570,7 @@ const createZyys = (polygon, indexx, name) => {
img2.src = this.properties.imgSrc2; img2.src = this.properties.imgSrc2;
// title // title
img2.title = "这是一个图标的提示文字"; img2.title =polygon.name;
// // // //
// let tooltip = document.createElement("div"); // let tooltip = document.createElement("div");
// tooltip.textContent = ""; // tooltip.textContent = "";
@ -3854,7 +3856,6 @@ const DGcreateCs = (polygon, indexx) => {
showEdit.value = !showEdit.value; showEdit.value = !showEdit.value;
} }
} else { } else {
} }
}); });
}; };