From 03d8a2efcd7eec1a7afa18dcaf5c1e3dbc0f6531 Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期六, 05 九月 2026 13:39:45 +0800
Subject: [PATCH] 对齐测试删除和时间显示并补齐全链路验收
---
src/api/testTypes.ts | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/api/testTypes.ts b/src/api/testTypes.ts
index 8b395f4..35a6c93 100644
--- a/src/api/testTypes.ts
+++ b/src/api/testTypes.ts
@@ -1,5 +1,6 @@
import type { TestTypeRecord, TestTypeStatus } from '@/stores/testTypes'
import { request, type ApiResponse } from './request'
+import { formatBusinessTime } from '@/utils/businessTime'
export interface TestTypeListParams {
pageNum: number
@@ -16,7 +17,7 @@
testTypeName: string | null
status: string | null
createBy: string | null
- createTime: string | null
+ createTime: number | null
remark: string | null
}
@@ -45,7 +46,7 @@
return {
id: item.testTypeId,
name: item.testTypeName || '-',
- createdAt: item.createTime || '',
+ createdAt: formatBusinessTime(item.createTime),
creator: item.createBy || '-',
remark: item.remark || '',
status: statusMap[item.status || ''] || '禁用',
--
Gitblit v1.7.1