diff --git a/apps/web-antd/src/locales/langs/en-US/abp.json b/apps/web-antd/src/locales/langs/en-US/abp.json index 5ce6398..c35b8d2 100644 --- a/apps/web-antd/src/locales/langs/en-US/abp.json +++ b/apps/web-antd/src/locales/langs/en-US/abp.json @@ -233,6 +233,7 @@ "DeviceType": "DeviceType", "DeviceId": "DeviceId", "Timestamps": "Timestamps", + "FormattedTimestamps": "Formatted Timestamps", "DevicePath": "DevicePath" }, "CTWingLog": { diff --git a/apps/web-antd/src/locales/langs/zh-CN/abp.json b/apps/web-antd/src/locales/langs/zh-CN/abp.json index b0c7106..f70fbad 100644 --- a/apps/web-antd/src/locales/langs/zh-CN/abp.json +++ b/apps/web-antd/src/locales/langs/zh-CN/abp.json @@ -233,6 +233,7 @@ "DeviceType": "设备类型", "DeviceId": "设备ID", "Timestamps": "时标(纳秒)", + "FormattedTimestamps": "时标", "DevicePath": "设备路径" }, "CTWingLog": { diff --git a/apps/web-antd/src/views/dataManger/deviceData/index.vue b/apps/web-antd/src/views/dataManger/deviceData/index.vue index 23dfc48..2c34576 100644 --- a/apps/web-antd/src/views/dataManger/deviceData/index.vue +++ b/apps/web-antd/src/views/dataManger/deviceData/index.vue @@ -77,6 +77,7 @@ const dynamicColumns = ref([]); const fixedColumns = [ { title: '序号', type: 'seq', width: 50, field: 'seq', slots: {} }, { field: 'Timestamps', title: $t('abp.IoTDBBase.Timestamps'), minWidth: 150, showOverflow: true, slots: {} }, + { field: 'FormattedTimestamps', title: $t('abp.IoTDBBase.FormattedTimestamps'), minWidth: 150, showOverflow: true, slots: {} }, { field: 'SystemName', title: $t('abp.IoTDBBase.SystemName'), minWidth: 150, showOverflow: true, slots: {} }, { field: 'ProjectId', title: $t('abp.IoTDBBase.ProjectId'), minWidth: 150, showOverflow: true, slots: {} }, { field: 'DeviceType', title: $t('abp.IoTDBBase.DeviceType'), minWidth: 150, showOverflow: true, slots: {} }, diff --git a/apps/web-antd/src/views/dataManger/deviceData/schema.ts b/apps/web-antd/src/views/dataManger/deviceData/schema.ts index d76e9d2..6f3d938 100644 --- a/apps/web-antd/src/views/dataManger/deviceData/schema.ts +++ b/apps/web-antd/src/views/dataManger/deviceData/schema.ts @@ -2,7 +2,7 @@ import type { VxeGridProps } from '#/adapter/vxe-table'; import { computed } from 'vue'; -import { getSelectResultList, postMetersPage } from '#/api-client'; +import { getSelectResultList } from '#/api-client'; import { $t } from '#/locales'; export const querySchema = computed(() => [ @@ -146,6 +146,11 @@ export const tableSchema: any = computed((): VxeGridProps['columns'] => [ title: $t('abp.IoTDBBase.Timestamps'), minWidth: '150', }, + { + field: 'FormattedTimestamps', + title: $t('abp.IoTDBBase.FormattedTimestamps'), + minWidth: '150', + }, { field: 'SystemName', title: $t('abp.IoTDBBase.SystemName'),