{{ offlineDeviceMap[key as keyof typeof offlineDeviceMap] }}:
@@ -204,12 +204,14 @@ const onlineDeviceMap: Record<
footprint: '数据占用空间',
}
const offlineDeviceMap: Record<
- keyof Pick
,
+ keyof Pick,
string
> = {
site_id: '站点名称',
db: '数据库',
create_time: '创建时间',
+ start_time: '数据启始时间',
+ end_time: '数据结束时间',
}
const checkDeviceList = ref([])
@@ -463,7 +465,7 @@ function onOffDeviceTransfer() {
}
.device-item {
- @apply w-289 h-160 border border-solid border-[#E0E0E0] rounded-8px p-x-14 p-y-10 flex-col;
+ @apply w-292 border border-solid border-[#E0E0E0] rounded-8px p-x-14 p-y-10 flex-col;
.device-item-header {
@apply w-full text-black text-18px font-500 flex items-center justify-between;
diff --git a/src/views/stationData/type.ts b/src/views/stationData/type.ts
index 1d2c325..e908ef5 100644
--- a/src/views/stationData/type.ts
+++ b/src/views/stationData/type.ts
@@ -21,6 +21,8 @@ export interface IOfflineDevice {
site_id: string
status: number
type: string
+ start_time: string
+ end_time: string
}
export type IDevice = IOnlineDevice | IOfflineDevice
diff --git a/src/views/taskList/index.vue b/src/views/taskList/index.vue
index 36dc371..564c873 100644
--- a/src/views/taskList/index.vue
+++ b/src/views/taskList/index.vue
@@ -89,10 +89,10 @@ const taskMode = [{
const tableCol = [
{ label: '任务ID', prop: 'id', minWidth: '10%' },
- { label: '站点', prop: 'site', minWidth: '16%' },
- { label: '任务类型', prop: 'mode', minWidth: '10%' },
+ { label: '站点', prop: 'site', minWidth: '10%' },
+ { label: '任务类型', prop: 'mode', minWidth: '8%' },
{ label: '任务状态', prop: 'status', minWidth: '10%' },
- { label: '创建时间', prop: 'startTime', minWidth: '10%' },
+ { label: '创建时间', prop: 'startTime', minWidth: '12%' },
{ label: '任务详情', prop: 'info', minWidth: '20%' },
]