diff --git a/src/views/data/collect/collect.vue b/src/views/data/collect/collect.vue index b4158c1..51605be 100644 --- a/src/views/data/collect/collect.vue +++ b/src/views/data/collect/collect.vue @@ -3,14 +3,14 @@ const searchQuery = reactive({ offset: 1, limit: 20, - deviceAssort: '', - deviceType: '', - deviceNo: '', + deviceAssort: '', // 设备分类 + deviceType: '', // 设备类型 + deviceNo: '', // 设备编号 }) const loadingTable = ref(true) const columns = ref([ - { text: '采集类型', value: 'signNo', align: 'center' }, - { text: '设备类型', value: 'deviceType', align: 'center' }, + { text: '采集类型', value: 'collectTypeName', align: 'center' }, + { text: '设备类型', value: 'deviceTypeName', align: 'center' }, { text: '设备编号', value: 'deviceNo', align: 'center' }, { text: '安装位置', value: 'location', align: 'center' }, { text: '上报时间', value: 'reportingTime', align: 'center' }, @@ -28,6 +28,45 @@ collectType: '1', // 采集类型 collectTypeName: '类型名称', // 采集类型名称 deviceType: '1', // 设备类型 + deviceTypeName: '测试设备', // 设备类型名称 + deviceNo: '13', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '用电', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '监测', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '设备类型', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 deviceTypeName: '设备类型', // 设备类型名称 deviceNo: '1', // 设备编号 location: '北京市xxx', // 安装位置 @@ -37,7 +76,7 @@ statusName: '正常', // 当前状态名称 }, ] - total.value = 1 + total.value = 4 loadingTable.value = false }, 1000) } @@ -99,7 +138,15 @@ :data="list" :total="total" :columns="columns as any" :query="{ limit: searchQuery.limit, offset: searchQuery.offset }" :list-loading="loadingTable" :is-showmulti-select="true" :is-multi="true" @change="changePage" @multiSelect="multiSelect" - /> + > + + diff --git a/src/views/data/collect/collect.vue b/src/views/data/collect/collect.vue index b4158c1..51605be 100644 --- a/src/views/data/collect/collect.vue +++ b/src/views/data/collect/collect.vue @@ -3,14 +3,14 @@ const searchQuery = reactive({ offset: 1, limit: 20, - deviceAssort: '', - deviceType: '', - deviceNo: '', + deviceAssort: '', // 设备分类 + deviceType: '', // 设备类型 + deviceNo: '', // 设备编号 }) const loadingTable = ref(true) const columns = ref([ - { text: '采集类型', value: 'signNo', align: 'center' }, - { text: '设备类型', value: 'deviceType', align: 'center' }, + { text: '采集类型', value: 'collectTypeName', align: 'center' }, + { text: '设备类型', value: 'deviceTypeName', align: 'center' }, { text: '设备编号', value: 'deviceNo', align: 'center' }, { text: '安装位置', value: 'location', align: 'center' }, { text: '上报时间', value: 'reportingTime', align: 'center' }, @@ -28,6 +28,45 @@ collectType: '1', // 采集类型 collectTypeName: '类型名称', // 采集类型名称 deviceType: '1', // 设备类型 + deviceTypeName: '测试设备', // 设备类型名称 + deviceNo: '13', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '用电', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '监测', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '设备类型', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 deviceTypeName: '设备类型', // 设备类型名称 deviceNo: '1', // 设备编号 location: '北京市xxx', // 安装位置 @@ -37,7 +76,7 @@ statusName: '正常', // 当前状态名称 }, ] - total.value = 1 + total.value = 4 loadingTable.value = false }, 1000) } @@ -99,7 +138,15 @@ :data="list" :total="total" :columns="columns as any" :query="{ limit: searchQuery.limit, offset: searchQuery.offset }" :list-loading="loadingTable" :is-showmulti-select="true" :is-multi="true" @change="changePage" @multiSelect="multiSelect" - /> + > + + diff --git a/src/views/data/collect/storage.vue b/src/views/data/collect/storage.vue index a443d4e..24d5429 100644 --- a/src/views/data/collect/storage.vue +++ b/src/views/data/collect/storage.vue @@ -1,3 +1,98 @@ + + + + + + diff --git a/src/views/data/collect/collect.vue b/src/views/data/collect/collect.vue index b4158c1..51605be 100644 --- a/src/views/data/collect/collect.vue +++ b/src/views/data/collect/collect.vue @@ -3,14 +3,14 @@ const searchQuery = reactive({ offset: 1, limit: 20, - deviceAssort: '', - deviceType: '', - deviceNo: '', + deviceAssort: '', // 设备分类 + deviceType: '', // 设备类型 + deviceNo: '', // 设备编号 }) const loadingTable = ref(true) const columns = ref([ - { text: '采集类型', value: 'signNo', align: 'center' }, - { text: '设备类型', value: 'deviceType', align: 'center' }, + { text: '采集类型', value: 'collectTypeName', align: 'center' }, + { text: '设备类型', value: 'deviceTypeName', align: 'center' }, { text: '设备编号', value: 'deviceNo', align: 'center' }, { text: '安装位置', value: 'location', align: 'center' }, { text: '上报时间', value: 'reportingTime', align: 'center' }, @@ -28,6 +28,45 @@ collectType: '1', // 采集类型 collectTypeName: '类型名称', // 采集类型名称 deviceType: '1', // 设备类型 + deviceTypeName: '测试设备', // 设备类型名称 + deviceNo: '13', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '用电', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '监测', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '设备类型', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 deviceTypeName: '设备类型', // 设备类型名称 deviceNo: '1', // 设备编号 location: '北京市xxx', // 安装位置 @@ -37,7 +76,7 @@ statusName: '正常', // 当前状态名称 }, ] - total.value = 1 + total.value = 4 loadingTable.value = false }, 1000) } @@ -99,7 +138,15 @@ :data="list" :total="total" :columns="columns as any" :query="{ limit: searchQuery.limit, offset: searchQuery.offset }" :list-loading="loadingTable" :is-showmulti-select="true" :is-multi="true" @change="changePage" @multiSelect="multiSelect" - /> + > + + diff --git a/src/views/data/collect/storage.vue b/src/views/data/collect/storage.vue index a443d4e..24d5429 100644 --- a/src/views/data/collect/storage.vue +++ b/src/views/data/collect/storage.vue @@ -1,3 +1,98 @@ + + + + + + diff --git a/src/views/data/consumption/index.vue b/src/views/data/consumption/index.vue index 06b9d42..852076a 100644 --- a/src/views/data/consumption/index.vue +++ b/src/views/data/consumption/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/collect/collect.vue b/src/views/data/collect/collect.vue index b4158c1..51605be 100644 --- a/src/views/data/collect/collect.vue +++ b/src/views/data/collect/collect.vue @@ -3,14 +3,14 @@ const searchQuery = reactive({ offset: 1, limit: 20, - deviceAssort: '', - deviceType: '', - deviceNo: '', + deviceAssort: '', // 设备分类 + deviceType: '', // 设备类型 + deviceNo: '', // 设备编号 }) const loadingTable = ref(true) const columns = ref([ - { text: '采集类型', value: 'signNo', align: 'center' }, - { text: '设备类型', value: 'deviceType', align: 'center' }, + { text: '采集类型', value: 'collectTypeName', align: 'center' }, + { text: '设备类型', value: 'deviceTypeName', align: 'center' }, { text: '设备编号', value: 'deviceNo', align: 'center' }, { text: '安装位置', value: 'location', align: 'center' }, { text: '上报时间', value: 'reportingTime', align: 'center' }, @@ -28,6 +28,45 @@ collectType: '1', // 采集类型 collectTypeName: '类型名称', // 采集类型名称 deviceType: '1', // 设备类型 + deviceTypeName: '测试设备', // 设备类型名称 + deviceNo: '13', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '用电', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '监测', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '设备类型', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 deviceTypeName: '设备类型', // 设备类型名称 deviceNo: '1', // 设备编号 location: '北京市xxx', // 安装位置 @@ -37,7 +76,7 @@ statusName: '正常', // 当前状态名称 }, ] - total.value = 1 + total.value = 4 loadingTable.value = false }, 1000) } @@ -99,7 +138,15 @@ :data="list" :total="total" :columns="columns as any" :query="{ limit: searchQuery.limit, offset: searchQuery.offset }" :list-loading="loadingTable" :is-showmulti-select="true" :is-multi="true" @change="changePage" @multiSelect="multiSelect" - /> + > + + diff --git a/src/views/data/collect/storage.vue b/src/views/data/collect/storage.vue index a443d4e..24d5429 100644 --- a/src/views/data/collect/storage.vue +++ b/src/views/data/collect/storage.vue @@ -1,3 +1,98 @@ + + + + + + diff --git a/src/views/data/consumption/index.vue b/src/views/data/consumption/index.vue index 06b9d42..852076a 100644 --- a/src/views/data/consumption/index.vue +++ b/src/views/data/consumption/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/device/index.vue b/src/views/data/device/index.vue index 09176b3..eee813a 100644 --- a/src/views/data/device/index.vue +++ b/src/views/data/device/index.vue @@ -1,3 +1,136 @@ + + + + diff --git a/src/views/data/collect/collect.vue b/src/views/data/collect/collect.vue index b4158c1..51605be 100644 --- a/src/views/data/collect/collect.vue +++ b/src/views/data/collect/collect.vue @@ -3,14 +3,14 @@ const searchQuery = reactive({ offset: 1, limit: 20, - deviceAssort: '', - deviceType: '', - deviceNo: '', + deviceAssort: '', // 设备分类 + deviceType: '', // 设备类型 + deviceNo: '', // 设备编号 }) const loadingTable = ref(true) const columns = ref([ - { text: '采集类型', value: 'signNo', align: 'center' }, - { text: '设备类型', value: 'deviceType', align: 'center' }, + { text: '采集类型', value: 'collectTypeName', align: 'center' }, + { text: '设备类型', value: 'deviceTypeName', align: 'center' }, { text: '设备编号', value: 'deviceNo', align: 'center' }, { text: '安装位置', value: 'location', align: 'center' }, { text: '上报时间', value: 'reportingTime', align: 'center' }, @@ -28,6 +28,45 @@ collectType: '1', // 采集类型 collectTypeName: '类型名称', // 采集类型名称 deviceType: '1', // 设备类型 + deviceTypeName: '测试设备', // 设备类型名称 + deviceNo: '13', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '用电', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '监测', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '设备类型', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 deviceTypeName: '设备类型', // 设备类型名称 deviceNo: '1', // 设备编号 location: '北京市xxx', // 安装位置 @@ -37,7 +76,7 @@ statusName: '正常', // 当前状态名称 }, ] - total.value = 1 + total.value = 4 loadingTable.value = false }, 1000) } @@ -99,7 +138,15 @@ :data="list" :total="total" :columns="columns as any" :query="{ limit: searchQuery.limit, offset: searchQuery.offset }" :list-loading="loadingTable" :is-showmulti-select="true" :is-multi="true" @change="changePage" @multiSelect="multiSelect" - /> + > + + diff --git a/src/views/data/collect/storage.vue b/src/views/data/collect/storage.vue index a443d4e..24d5429 100644 --- a/src/views/data/collect/storage.vue +++ b/src/views/data/collect/storage.vue @@ -1,3 +1,98 @@ + + + + + + diff --git a/src/views/data/consumption/index.vue b/src/views/data/consumption/index.vue index 06b9d42..852076a 100644 --- a/src/views/data/consumption/index.vue +++ b/src/views/data/consumption/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/device/index.vue b/src/views/data/device/index.vue index 09176b3..eee813a 100644 --- a/src/views/data/device/index.vue +++ b/src/views/data/device/index.vue @@ -1,3 +1,136 @@ + + + + diff --git a/src/views/data/electricity/network.vue b/src/views/data/electricity/network.vue index 62a0956..b1da8b5 100644 --- a/src/views/data/electricity/network.vue +++ b/src/views/data/electricity/network.vue @@ -1,23 +1,33 @@ + + + + diff --git a/src/views/data/consumption/index.vue b/src/views/data/consumption/index.vue index 06b9d42..852076a 100644 --- a/src/views/data/consumption/index.vue +++ b/src/views/data/consumption/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/device/index.vue b/src/views/data/device/index.vue index 09176b3..eee813a 100644 --- a/src/views/data/device/index.vue +++ b/src/views/data/device/index.vue @@ -1,3 +1,136 @@ + + + + diff --git a/src/views/data/electricity/network.vue b/src/views/data/electricity/network.vue index 62a0956..b1da8b5 100644 --- a/src/views/data/electricity/network.vue +++ b/src/views/data/electricity/network.vue @@ -1,23 +1,33 @@ - diff --git a/src/views/data/collect/collect.vue b/src/views/data/collect/collect.vue index b4158c1..51605be 100644 --- a/src/views/data/collect/collect.vue +++ b/src/views/data/collect/collect.vue @@ -3,14 +3,14 @@ const searchQuery = reactive({ offset: 1, limit: 20, - deviceAssort: '', - deviceType: '', - deviceNo: '', + deviceAssort: '', // 设备分类 + deviceType: '', // 设备类型 + deviceNo: '', // 设备编号 }) const loadingTable = ref(true) const columns = ref([ - { text: '采集类型', value: 'signNo', align: 'center' }, - { text: '设备类型', value: 'deviceType', align: 'center' }, + { text: '采集类型', value: 'collectTypeName', align: 'center' }, + { text: '设备类型', value: 'deviceTypeName', align: 'center' }, { text: '设备编号', value: 'deviceNo', align: 'center' }, { text: '安装位置', value: 'location', align: 'center' }, { text: '上报时间', value: 'reportingTime', align: 'center' }, @@ -28,6 +28,45 @@ collectType: '1', // 采集类型 collectTypeName: '类型名称', // 采集类型名称 deviceType: '1', // 设备类型 + deviceTypeName: '测试设备', // 设备类型名称 + deviceNo: '13', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '用电', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '监测', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '设备类型', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 deviceTypeName: '设备类型', // 设备类型名称 deviceNo: '1', // 设备编号 location: '北京市xxx', // 安装位置 @@ -37,7 +76,7 @@ statusName: '正常', // 当前状态名称 }, ] - total.value = 1 + total.value = 4 loadingTable.value = false }, 1000) } @@ -99,7 +138,15 @@ :data="list" :total="total" :columns="columns as any" :query="{ limit: searchQuery.limit, offset: searchQuery.offset }" :list-loading="loadingTable" :is-showmulti-select="true" :is-multi="true" @change="changePage" @multiSelect="multiSelect" - /> + > + + diff --git a/src/views/data/collect/storage.vue b/src/views/data/collect/storage.vue index a443d4e..24d5429 100644 --- a/src/views/data/collect/storage.vue +++ b/src/views/data/collect/storage.vue @@ -1,3 +1,98 @@ + + + + + + diff --git a/src/views/data/consumption/index.vue b/src/views/data/consumption/index.vue index 06b9d42..852076a 100644 --- a/src/views/data/consumption/index.vue +++ b/src/views/data/consumption/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/device/index.vue b/src/views/data/device/index.vue index 09176b3..eee813a 100644 --- a/src/views/data/device/index.vue +++ b/src/views/data/device/index.vue @@ -1,3 +1,136 @@ + + + + diff --git a/src/views/data/electricity/network.vue b/src/views/data/electricity/network.vue index 62a0956..b1da8b5 100644 --- a/src/views/data/electricity/network.vue +++ b/src/views/data/electricity/network.vue @@ -1,23 +1,33 @@ - diff --git a/src/views/data/environment/index.vue b/src/views/data/environment/index.vue index 85b44b2..2a9728f 100644 --- a/src/views/data/environment/index.vue +++ b/src/views/data/environment/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/collect/collect.vue b/src/views/data/collect/collect.vue index b4158c1..51605be 100644 --- a/src/views/data/collect/collect.vue +++ b/src/views/data/collect/collect.vue @@ -3,14 +3,14 @@ const searchQuery = reactive({ offset: 1, limit: 20, - deviceAssort: '', - deviceType: '', - deviceNo: '', + deviceAssort: '', // 设备分类 + deviceType: '', // 设备类型 + deviceNo: '', // 设备编号 }) const loadingTable = ref(true) const columns = ref([ - { text: '采集类型', value: 'signNo', align: 'center' }, - { text: '设备类型', value: 'deviceType', align: 'center' }, + { text: '采集类型', value: 'collectTypeName', align: 'center' }, + { text: '设备类型', value: 'deviceTypeName', align: 'center' }, { text: '设备编号', value: 'deviceNo', align: 'center' }, { text: '安装位置', value: 'location', align: 'center' }, { text: '上报时间', value: 'reportingTime', align: 'center' }, @@ -28,6 +28,45 @@ collectType: '1', // 采集类型 collectTypeName: '类型名称', // 采集类型名称 deviceType: '1', // 设备类型 + deviceTypeName: '测试设备', // 设备类型名称 + deviceNo: '13', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '用电', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '监测', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '设备类型', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 deviceTypeName: '设备类型', // 设备类型名称 deviceNo: '1', // 设备编号 location: '北京市xxx', // 安装位置 @@ -37,7 +76,7 @@ statusName: '正常', // 当前状态名称 }, ] - total.value = 1 + total.value = 4 loadingTable.value = false }, 1000) } @@ -99,7 +138,15 @@ :data="list" :total="total" :columns="columns as any" :query="{ limit: searchQuery.limit, offset: searchQuery.offset }" :list-loading="loadingTable" :is-showmulti-select="true" :is-multi="true" @change="changePage" @multiSelect="multiSelect" - /> + > + + diff --git a/src/views/data/collect/storage.vue b/src/views/data/collect/storage.vue index a443d4e..24d5429 100644 --- a/src/views/data/collect/storage.vue +++ b/src/views/data/collect/storage.vue @@ -1,3 +1,98 @@ + + + + + + diff --git a/src/views/data/consumption/index.vue b/src/views/data/consumption/index.vue index 06b9d42..852076a 100644 --- a/src/views/data/consumption/index.vue +++ b/src/views/data/consumption/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/device/index.vue b/src/views/data/device/index.vue index 09176b3..eee813a 100644 --- a/src/views/data/device/index.vue +++ b/src/views/data/device/index.vue @@ -1,3 +1,136 @@ + + + + diff --git a/src/views/data/electricity/network.vue b/src/views/data/electricity/network.vue index 62a0956..b1da8b5 100644 --- a/src/views/data/electricity/network.vue +++ b/src/views/data/electricity/network.vue @@ -1,23 +1,33 @@ - diff --git a/src/views/data/environment/index.vue b/src/views/data/environment/index.vue index 85b44b2..2a9728f 100644 --- a/src/views/data/environment/index.vue +++ b/src/views/data/environment/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/useHeat/index.vue b/src/views/data/useHeat/index.vue index 3ce9261..88db305 100644 --- a/src/views/data/useHeat/index.vue +++ b/src/views/data/useHeat/index.vue @@ -1,3 +1,46 @@ + + + + + + diff --git a/src/views/data/collect/collect.vue b/src/views/data/collect/collect.vue index b4158c1..51605be 100644 --- a/src/views/data/collect/collect.vue +++ b/src/views/data/collect/collect.vue @@ -3,14 +3,14 @@ const searchQuery = reactive({ offset: 1, limit: 20, - deviceAssort: '', - deviceType: '', - deviceNo: '', + deviceAssort: '', // 设备分类 + deviceType: '', // 设备类型 + deviceNo: '', // 设备编号 }) const loadingTable = ref(true) const columns = ref([ - { text: '采集类型', value: 'signNo', align: 'center' }, - { text: '设备类型', value: 'deviceType', align: 'center' }, + { text: '采集类型', value: 'collectTypeName', align: 'center' }, + { text: '设备类型', value: 'deviceTypeName', align: 'center' }, { text: '设备编号', value: 'deviceNo', align: 'center' }, { text: '安装位置', value: 'location', align: 'center' }, { text: '上报时间', value: 'reportingTime', align: 'center' }, @@ -28,6 +28,45 @@ collectType: '1', // 采集类型 collectTypeName: '类型名称', // 采集类型名称 deviceType: '1', // 设备类型 + deviceTypeName: '测试设备', // 设备类型名称 + deviceNo: '13', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '用电', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '监测', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 + deviceTypeName: '设备类型', // 设备类型名称 + deviceNo: '1', // 设备编号 + location: '北京市xxx', // 安装位置 + reportingTime: '2023-3-8 00:00:00', // 上报时间 + reportingFrequency: '1', // 上报频率 + status: '1', // 当前状态 + statusName: '正常', // 当前状态名称 + }, + { + id: '1', // id + collectType: '1', // 采集类型 + collectTypeName: '类型名称', // 采集类型名称 + deviceType: '1', // 设备类型 deviceTypeName: '设备类型', // 设备类型名称 deviceNo: '1', // 设备编号 location: '北京市xxx', // 安装位置 @@ -37,7 +76,7 @@ statusName: '正常', // 当前状态名称 }, ] - total.value = 1 + total.value = 4 loadingTable.value = false }, 1000) } @@ -99,7 +138,15 @@ :data="list" :total="total" :columns="columns as any" :query="{ limit: searchQuery.limit, offset: searchQuery.offset }" :list-loading="loadingTable" :is-showmulti-select="true" :is-multi="true" @change="changePage" @multiSelect="multiSelect" - /> + > + + diff --git a/src/views/data/collect/storage.vue b/src/views/data/collect/storage.vue index a443d4e..24d5429 100644 --- a/src/views/data/collect/storage.vue +++ b/src/views/data/collect/storage.vue @@ -1,3 +1,98 @@ + + + + + + diff --git a/src/views/data/consumption/index.vue b/src/views/data/consumption/index.vue index 06b9d42..852076a 100644 --- a/src/views/data/consumption/index.vue +++ b/src/views/data/consumption/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/device/index.vue b/src/views/data/device/index.vue index 09176b3..eee813a 100644 --- a/src/views/data/device/index.vue +++ b/src/views/data/device/index.vue @@ -1,3 +1,136 @@ + + + + diff --git a/src/views/data/electricity/network.vue b/src/views/data/electricity/network.vue index 62a0956..b1da8b5 100644 --- a/src/views/data/electricity/network.vue +++ b/src/views/data/electricity/network.vue @@ -1,23 +1,33 @@ - diff --git a/src/views/data/environment/index.vue b/src/views/data/environment/index.vue index 85b44b2..2a9728f 100644 --- a/src/views/data/environment/index.vue +++ b/src/views/data/environment/index.vue @@ -1,3 +1,42 @@ + + + + + + diff --git a/src/views/data/useHeat/index.vue b/src/views/data/useHeat/index.vue index 3ce9261..88db305 100644 --- a/src/views/data/useHeat/index.vue +++ b/src/views/data/useHeat/index.vue @@ -1,3 +1,46 @@ + + + + + + diff --git a/src/views/data/useHeat/page.vue b/src/views/data/useHeat/page.vue new file mode 100644 index 0000000..ab6e4d9 --- /dev/null +++ b/src/views/data/useHeat/page.vue @@ -0,0 +1,148 @@ + + + + +