新增格式化时间
This commit is contained in:
parent
27a71e1d5f
commit
3669aadcb0
@ -233,6 +233,7 @@
|
||||
"DeviceType": "DeviceType",
|
||||
"DeviceId": "DeviceId",
|
||||
"Timestamps": "Timestamps",
|
||||
"FormattedTimestamps": "Formatted Timestamps",
|
||||
"DevicePath": "DevicePath"
|
||||
},
|
||||
"CTWingLog": {
|
||||
|
||||
@ -233,6 +233,7 @@
|
||||
"DeviceType": "设备类型",
|
||||
"DeviceId": "设备ID",
|
||||
"Timestamps": "时标(纳秒)",
|
||||
"FormattedTimestamps": "时标",
|
||||
"DevicePath": "设备路径"
|
||||
},
|
||||
"CTWingLog": {
|
||||
|
||||
@ -77,6 +77,7 @@ const dynamicColumns = ref<any[]>([]);
|
||||
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: {} },
|
||||
|
||||
@ -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'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user