feat(testReport): 新增台账导入功能并重构报告任务表单

- 新增台账导入面板组件,支持Excel模板下载和批量导入
- 在报告任务表单中集成三步式流程(导入→填写→完成)
- 添加导入结果预览和分组报告状态展示功能
- 扩展API接口支持台账导入和分组报告查询
- 优化表单验证逻辑,移除送资数据必填限制
- 集成日志面板实时显示导入过程状态
- 更新测试报告页面契约验证规则
- 添加监测点数和分组数统计展示
- 实现台账准备状态检查和快照功能
This commit is contained in:
2026-07-10 10:37:52 +08:00
parent 55fd3df55d
commit f9c826ffea
18 changed files with 1907 additions and 973 deletions

View File

@@ -1,4 +1,5 @@
import { ConfigEnv, defineConfig, loadEnv, UserConfig } from 'vite'
import { defineConfig, loadEnv } from 'vite'
import type { ConfigEnv, UserConfig } from 'vite'
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
import vue from '@vitejs/plugin-vue'
import path from 'path'
@@ -61,10 +62,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
// dts: "src/types/components.d.ts",
}),
nodePolyfills({
include: ['crypto'],
globals: {
crypto: true
}
include: ['crypto']
})
],
// 基础配置