diff --git a/src/views/iot/hs/electricity/index.vue b/src/views/iot/hs/electricity/index.vue index 6fb1475..de07c72 100644 --- a/src/views/iot/hs/electricity/index.vue +++ b/src/views/iot/hs/electricity/index.vue @@ -38,6 +38,7 @@ 知道了 + @@ -52,6 +53,7 @@ import {useModal} from "@/components/Modal"; import DrawerModal from "./components/DrawerModal.vue"; import { defHttp } from '/@/utils/http/axios'; + import ApiLogModal from "@/views/iot/tq/electricity/apilog/ApiLogModal.vue"; const queryParam = reactive({}); const apiLogModal = ref(); @@ -153,10 +155,10 @@ placement: 'topLeft', }, }, - // { - // label: '日志', - // onClick: showApiLog.bind(null, record), - // }, + { + label: '日志', + onClick: showApiLog.bind(null, record), + }, ] } @@ -219,6 +221,7 @@ */ function showApiLog(record){ console.log(record); + record.cid = record.sn; apiLogModal.value.disableSubmit = true; apiLogModal.value.showApiLog(record); } diff --git a/src/views/iot/tplink/camera/camera.data.ts b/src/views/iot/tplink/camera/camera.data.ts index e8f155c..8f47342 100644 --- a/src/views/iot/tplink/camera/camera.data.ts +++ b/src/views/iot/tplink/camera/camera.data.ts @@ -17,7 +17,7 @@ export const columns: BasicColumn[] = [ { title: '设备标识', align: "center", - dataIndex: 'deviceName' + dataIndex: 'mac' }, { title: '设备型号', @@ -70,11 +70,11 @@ export const columns: BasicColumn[] = [ // align: "center", // dataIndex: 'ip' // }, - { - title: 'MAC地址', - align: "center", - dataIndex: 'mac' - }, + // { + // title: 'MAC地址', + // align: "center", + // dataIndex: 'mac' + // }, // { // title: '区域名称', // align: "center", diff --git a/src/views/iot/tplink/camera/components/CameraPreviewForm.vue b/src/views/iot/tplink/camera/components/CameraPreviewForm.vue index 8c11308..e32f9e6 100644 --- a/src/views/iot/tplink/camera/components/CameraPreviewForm.vue +++ b/src/views/iot/tplink/camera/components/CameraPreviewForm.vue @@ -1,5 +1,5 @@ - - - diff --git a/src/views/iot/weihu/components/ReamrksListModal.vue b/src/views/iot/weihu/components/ReamrksListModal.vue index 78749dd..8eb481f 100644 --- a/src/views/iot/weihu/components/ReamrksListModal.vue +++ b/src/views/iot/weihu/components/ReamrksListModal.vue @@ -36,7 +36,7 @@ function add() { * @param record */ function edit(record) { - title.value = '运维列表'; + title.value = '物联设备维护日志列表'; visible.value = true; nextTick(() => { remarksList.value.init(record); diff --git a/src/views/iot/weihu/components/RemarksForm.vue b/src/views/iot/weihu/components/RemarksForm.vue deleted file mode 100644 index 7620b4a..0000000 --- a/src/views/iot/weihu/components/RemarksForm.vue +++ /dev/null @@ -1,181 +0,0 @@ - - - - - diff --git a/src/views/iot/weihu/components/RemarksList.vue b/src/views/iot/weihu/components/RemarksList.vue index aaa5f3e..463d627 100644 --- a/src/views/iot/weihu/components/RemarksList.vue +++ b/src/views/iot/weihu/components/RemarksList.vue @@ -1,48 +1,9 @@