diff --git a/src/views/iot/hs/electricity/electricity.data.ts b/src/views/iot/hs/electricity/electricity.data.ts index 5f47423..710cab6 100644 --- a/src/views/iot/hs/electricity/electricity.data.ts +++ b/src/views/iot/hs/electricity/electricity.data.ts @@ -13,11 +13,11 @@ export const columns: BasicColumn[] = [ // align: "center", // dataIndex: 'nuName' // }, - { - title: '序号', - align: "center", - dataIndex: 'id' - }, + // { + // title: '序号', + // align: "center", + // dataIndex: 'id' + // }, { title: '设备序号', align: "center", diff --git a/src/views/iot/hs/electricity/index.vue b/src/views/iot/hs/electricity/index.vue index b06173b..6fb1475 100644 --- a/src/views/iot/hs/electricity/index.vue +++ b/src/views/iot/hs/electricity/index.vue @@ -68,7 +68,7 @@ api: list, columns, canResize:false, - // showIndexColumn: true, + showIndexColumn: true, formConfig: { //labelWidth: 120, schemas: searchFormSchema, diff --git a/src/views/iot/tplink/camera/camera.data.ts b/src/views/iot/tplink/camera/camera.data.ts index d0a3e91..e8f155c 100644 --- a/src/views/iot/tplink/camera/camera.data.ts +++ b/src/views/iot/tplink/camera/camera.data.ts @@ -4,11 +4,11 @@ import dayjs from 'dayjs'; //列表数据 export const columns: BasicColumn[] = [ - { - title: '序号', - align: "center", - dataIndex: 'id' - }, + // { + // title: '序号', + // align: "center", + // dataIndex: 'id' + // }, { title: '设备序号', align: "center", diff --git a/src/views/iot/tplink/camera/index.vue b/src/views/iot/tplink/camera/index.vue index 2773703..0b16573 100644 --- a/src/views/iot/tplink/camera/index.vue +++ b/src/views/iot/tplink/camera/index.vue @@ -81,14 +81,12 @@ import { columns, searchFormSchema } from './camera.data'; import {getImageCommon, getDeviceDetails, list, syncAllDevices,syncDevicesStatus} from './camera.api'; import { useUserStore } from '/@/store/modules/user'; // import { useDrawer } from "@/components/Drawer"; -import { useRouter } from 'vue-router'; import CameraPreviewModal from './components/CameraPreviewModal.vue' import DrawerModal from './components/DrawerModal.vue' import CameraPictureConfigModal from './components/CameraPictureConfigModal.vue'; //注册drawer // const [registerDrawer, { openDrawer }] = useDrawer(); -let router = useRouter(); const formRef = ref(); const queryParam = reactive({}); const registerModal = ref(); @@ -105,6 +103,7 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ api: list, columns, canResize: false, + showIndexColumn: true, formConfig: { // labelWidth: 200, schemas: searchFormSchema, diff --git a/src/views/iot/tq/water/index.vue b/src/views/iot/tq/water/index.vue index 0b34511..3111fe7 100644 --- a/src/views/iot/tq/water/index.vue +++ b/src/views/iot/tq/water/index.vue @@ -111,7 +111,7 @@ api: list, columns, canResize:false, - // showIndexColumn: true, + showIndexColumn: true, formConfig: { //labelWidth: 120, schemas: searchFormSchema, diff --git a/src/views/iot/tq/water/water.data.ts b/src/views/iot/tq/water/water.data.ts index 331cffa..77953e4 100644 --- a/src/views/iot/tq/water/water.data.ts +++ b/src/views/iot/tq/water/water.data.ts @@ -13,11 +13,11 @@ export const columns: BasicColumn[] = [ // align: "center", // dataIndex: 'nuName' // }, - { - title: '序号', - align: "center", - dataIndex: 'id' - }, + // { + // title: '序号', + // align: "center", + // dataIndex: 'id' + // }, { title: '设备序号', align: "center", diff --git a/src/views/iot/yiweilian/humid/humid.data.ts b/src/views/iot/yiweilian/humid/humid.data.ts index c989aa2..f352e4e 100644 --- a/src/views/iot/yiweilian/humid/humid.data.ts +++ b/src/views/iot/yiweilian/humid/humid.data.ts @@ -12,11 +12,11 @@ export const columns: BasicColumn[] = [ // title: '单元名称', // align: "center", // dataIndex: 'nuName' - { - title: '序号', - align: "center", - dataIndex: 'id' - }, + // { + // title: '序号', + // align: "center", + // dataIndex: 'id' + // }, { title: '设备序号', align: "center", diff --git a/src/views/iot/yiweilian/humid/index.vue b/src/views/iot/yiweilian/humid/index.vue index abf7e8c..8b88e28 100644 --- a/src/views/iot/yiweilian/humid/index.vue +++ b/src/views/iot/yiweilian/humid/index.vue @@ -78,7 +78,7 @@ api: list, columns, canResize:false, - // showIndexColumn: true, + showIndexColumn: true, formConfig: { //labelWidth: 120, schemas: searchFormSchema, diff --git a/src/views/iotManager/components/AreaList.vue b/src/views/iotManager/components/AreaList.vue new file mode 100644 index 0000000..6ebaa1c --- /dev/null +++ b/src/views/iotManager/components/AreaList.vue @@ -0,0 +1,202 @@ + + + + + diff --git a/src/views/iotManager/components/AreaModal.vue b/src/views/iotManager/components/AreaModal.vue new file mode 100644 index 0000000..294f53e --- /dev/null +++ b/src/views/iotManager/components/AreaModal.vue @@ -0,0 +1,82 @@ + + + + + + diff --git a/src/views/iotManager/components/DeviceAddList.vue b/src/views/iotManager/components/DeviceAddList.vue new file mode 100644 index 0000000..0875dab --- /dev/null +++ b/src/views/iotManager/components/DeviceAddList.vue @@ -0,0 +1,234 @@ + + + + + diff --git a/src/views/iotManager/components/DeviceAddModal.vue b/src/views/iotManager/components/DeviceAddModal.vue new file mode 100644 index 0000000..fa04664 --- /dev/null +++ b/src/views/iotManager/components/DeviceAddModal.vue @@ -0,0 +1,83 @@ + + + + + + diff --git a/src/views/iotManager/components/DeviceList.vue b/src/views/iotManager/components/DeviceList.vue new file mode 100644 index 0000000..25ae827 --- /dev/null +++ b/src/views/iotManager/components/DeviceList.vue @@ -0,0 +1,223 @@ + + + + + diff --git a/src/views/iotManager/components/DeviceModal.vue b/src/views/iotManager/components/DeviceModal.vue new file mode 100644 index 0000000..1c56ee8 --- /dev/null +++ b/src/views/iotManager/components/DeviceModal.vue @@ -0,0 +1,82 @@ + + + + + + diff --git a/src/views/iotManager/components/LogList.vue b/src/views/iotManager/components/LogList.vue new file mode 100644 index 0000000..edda2ee --- /dev/null +++ b/src/views/iotManager/components/LogList.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/src/views/iotManager/components/LogModal.vue b/src/views/iotManager/components/LogModal.vue new file mode 100644 index 0000000..a4a6088 --- /dev/null +++ b/src/views/iotManager/components/LogModal.vue @@ -0,0 +1,82 @@ + + + + + + diff --git a/src/views/iotManager/index.vue b/src/views/iotManager/index.vue index bb54b01..7f80395 100644 --- a/src/views/iotManager/index.vue +++ b/src/views/iotManager/index.vue @@ -9,19 +9,19 @@ + placeholder="请选择机构" allow-clear /> - + - + @@ -49,32 +49,33 @@ - + -