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

View File

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

View File

@ -225,8 +225,12 @@
退出 退出
</div> </div>
</div> </div>
<div class="btnBj" v-if="!showEdit && !dialogShow && !openD" @click="openqx()"> <div
地图权限(123456) class="btnBj"
v-if="!showEdit && !dialogShow && !openD"
@click="openqx()"
>
地图权限
<p :style="{ color: jsqx ? 'green' : 'red' }">{{ bjtitle }}</p> <p :style="{ color: jsqx ? 'green' : 'red' }">{{ bjtitle }}</p>
</div> </div>
<Dialog <Dialog
@ -1046,7 +1050,7 @@ const getCssj = async () => {
*/ */
// //
const jsqx = ref(false); const jsqx = ref(false);
const qxkey = "123456"; const qxkey = "ggfwyth123";
const qxvalue = ref(""); const qxvalue = ref("");
const bjtitle = computed(() => { const bjtitle = computed(() => {
if (jsqx.value) { if (jsqx.value) {
@ -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("解锁密码错误");
@ -2596,6 +2598,7 @@ const createZyys = (polygon, indexx, name) => {
} }
}); });
}; };
// //
const getCameraUrl = () => { const getCameraUrl = () => {
// camera.deviceCode = dataMyTag.camera.sbbm; // camera.deviceCode = dataMyTag.camera.sbbm;
@ -3819,8 +3822,7 @@ const DGcreateCs = (polygon, indexx) => {
changeCsqkId.value = polygon.id; changeCsqkId.value = polygon.id;
showEdit.value = !showEdit.value; showEdit.value = !showEdit.value;
} }
}else{ } else {
} }
}); });
}; };
@ -3927,7 +3929,7 @@ const reset_font2 = () => {
"scale(" + width / 1920 + "," + height / 1080 + ")"; "scale(" + width / 1920 + "," + height / 1080 + ")";
}; };
onMounted(async () => { onMounted(async () => {
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
loadingss.value = true; loadingss.value = true;
reset_font(); reset_font();
initMap(); initMap();