From 6809d6f8c376f06bccc90548850f3d62b17f1a53 Mon Sep 17 00:00:00 2001 From: yaoyuhao Date: Fri, 30 Aug 2024 11:30:04 +0800 Subject: [PATCH] 1 --- src/view/person/index.vue | 6 +++--- src/view/sy.vue | 2 +- src/view/sy_map.vue | 32 +++++++++++++++++--------------- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/view/person/index.vue b/src/view/person/index.vue index 4ff6914..503e091 100644 --- a/src/view/person/index.vue +++ b/src/view/person/index.vue @@ -363,7 +363,7 @@ - - + --> { const onClickTag = (item) => { tableType.title2 = item.name; tableType.columns1 = columnsList["特殊标签"].column; - dialogShow.value = true; + // dialogShow.value = true; }; //圆球弹框 // const onClickTag2 = (name, label) => { diff --git a/src/view/sy.vue b/src/view/sy.vue index 75ffeb4..81ae67e 100644 --- a/src/view/sy.vue +++ b/src/view/sy.vue @@ -1298,7 +1298,7 @@ const getData = async () => { const ageRatioKeys = [ "nl17Percent", "nl1834Percent", - "nl3569Percent", + "nl3559Percent", "nl60Percent", ]; ageRatioKeys.forEach((key) => { diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index e49b35b..90b133d 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -225,8 +225,12 @@ 退出 -
- 地图权限(123456): +
+ 地图权限:

{{ bjtitle }}

{ */ //解锁 const jsqx = ref(false); -const qxkey = "123456"; +const qxkey = "ggfwyth123"; const qxvalue = ref(""); const bjtitle = computed(() => { if (jsqx.value) { @@ -1059,14 +1063,12 @@ const openqx = () => { console.log(1111); if (jsqx.value) { - ElMessageBox.confirm("确定要取消权限吗?") - .then(() => { - qxvalue.value='' - jsqx.value = false; - }) - .catch(() => { - - }); + ElMessageBox.confirm("确定要取消权限吗?") + .then(() => { + qxvalue.value = ""; + jsqx.value = false; + }) + .catch(() => {}); } else { qx.value = true; } @@ -1075,7 +1077,7 @@ const saveqx = () => { if (qxvalue.value == qxkey) { jsqx.value = true; qx.value = false; - qxvalue.value='' + qxvalue.value = ""; ElMessage.success("解锁成功"); } else { ElMessage.error("解锁密码错误"); @@ -2596,6 +2598,7 @@ const createZyys = (polygon, indexx, name) => { } }); }; + //获取摄像头地址 const getCameraUrl = () => { // camera.deviceCode = dataMyTag.camera.sbbm; @@ -3819,8 +3822,7 @@ const DGcreateCs = (polygon, indexx) => { changeCsqkId.value = polygon.id; showEdit.value = !showEdit.value; } - }else{ - + } else { } }); }; @@ -3927,7 +3929,7 @@ const reset_font2 = () => { "scale(" + width / 1920 + "," + height / 1080 + ")"; }; onMounted(async () => { - tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); + // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); loadingss.value = true; reset_font(); initMap();