This commit is contained in:
parent
23bc607c07
commit
10b59a4843
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue