This commit is contained in:
duanxiaohai 2024-08-23 17:22:52 +08:00
parent 23bc607c07
commit 10b59a4843
2 changed files with 5 additions and 3 deletions

View File

@ -158,6 +158,8 @@ const props = defineProps({
});
const emit = defineEmits(["close", "handle", "loadTables"]);
const handleRowClick = (row, column, event) => {
console.log(row,'sxt');
// row
emit("openMessage", { nm: row.nm, identNo: row.identNo });
// router.push({
@ -167,7 +169,7 @@ const handleRowClick = (row, column, event) => {
};
//
const openSxt = () => {
emit("openSxt", { nm: row.nm, identNo: row.identNo });
emit("openCamera", { nm: row.nm, identNo: row.identNo });
};
//
const dialogShow = ref();

View File

@ -195,7 +195,7 @@
@close="close"
@handle="handlePagination"
@openMessage="openMessage"
@openSxt="openSxt"
@openSxt="openCamera"
style="z-index: 333"
>
<template #jzzt="{ currentCol, currentData }">
@ -206,8 +206,8 @@
<img
src="@/assets/images/sxt_map.png"
style="width: 20px; height: 20px"
v-if="currentData.camera"
/>
<!-- v-if="currentData.camera" -->
</template>
</Dialog>
<DialogCamera