This commit is contained in:
姚宇浩 2024-08-30 11:30:04 +08:00
parent c52e29b1a6
commit 6809d6f8c3
3 changed files with 21 additions and 19 deletions

View File

@ -363,7 +363,7 @@
</div>
</div>
</div>
<Dialog
<!-- <Dialog
:dialogShow="dialogShow"
:columns="tableType.columns1"
:title="tableType.title2"
@ -372,7 +372,7 @@
@close="close"
@handle="handlePaginationDialog"
>
</Dialog>
</Dialog> -->
<DialogCamera
:cameraShow="camera.show"
:hlsUriSsl="camera.hlsUriSsl"
@ -799,7 +799,7 @@ const pd = computed(() => {
const onClickTag = (item) => {
tableType.title2 = item.name;
tableType.columns1 = columnsList["特殊标签"].column;
dialogShow.value = true;
// dialogShow.value = true;
};
//
// const onClickTag2 = (name, label) => {

View File

@ -1298,7 +1298,7 @@ const getData = async () => {
const ageRatioKeys = [
"nl17Percent",
"nl1834Percent",
"nl3569Percent",
"nl3559Percent",
"nl60Percent",
];
ageRatioKeys.forEach((key) => {

View File

@ -225,8 +225,12 @@
退出
</div>
</div>
<div class="btnBj" v-if="!showEdit && !dialogShow && !openD" @click="openqx()">
地图权限(123456)
<div
class="btnBj"
v-if="!showEdit && !dialogShow && !openD"
@click="openqx()"
>
地图权限
<p :style="{ color: jsqx ? 'green' : 'red' }">{{ bjtitle }}</p>
</div>
<Dialog
@ -1046,7 +1050,7 @@ const getCssj = async () => {
*/
//
const jsqx = ref(false);
const qxkey = "123456";
const qxkey = "ggfwyth123";
const qxvalue = ref("");
const bjtitle = computed(() => {
if (jsqx.value) {
@ -1061,12 +1065,10 @@ const openqx = () => {
if (jsqx.value) {
ElMessageBox.confirm("确定要取消权限吗?")
.then(() => {
qxvalue.value=''
qxvalue.value = "";
jsqx.value = false;
})
.catch(() => {
});
.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;
@ -3820,7 +3823,6 @@ const DGcreateCs = (polygon, indexx) => {
showEdit.value = !showEdit.value;
}
} 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();