refactor(parsePqdif): 重构PQDIF解析页面为ProTable管理界面
- 将原有网格布局替换为ProTable组件进行数据管理 - 新增PQDIF路径表单对话框用于创建和编辑记录 - 实现PQDIF记录的增删改查功能 - 添加批量删除和JSON导出功能 - 集成文件上传和解析流程 - 更新API接口支持路径管理和解析结果存储 - 移除旧的请求面板、摘要面板和结果面板组件 - 调整MMS映射组件中的XML生成事件处理逻辑
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
export namespace ParsePqdif {
|
||||
export type ParseStatus = 'SUCCESS' | 'FAILED' | (string & {})
|
||||
export type SeriesDataStatus = 'DATA_SUCCESS' | 'DATA_FAILED' | (string & {})
|
||||
export type ParseResultValue = 0 | 1
|
||||
|
||||
export interface RecordItem {
|
||||
recordIndex?: number
|
||||
@@ -53,4 +54,48 @@ export namespace ParsePqdif {
|
||||
records?: RecordItem[]
|
||||
observations?: ObservationItem[]
|
||||
}
|
||||
|
||||
export interface PqdifPathListParams {
|
||||
keyword?: string
|
||||
result?: ParseResultValue | ''
|
||||
pageNum?: number
|
||||
pageSize?: number
|
||||
}
|
||||
|
||||
export interface PqdifPathRecord {
|
||||
id?: string
|
||||
name?: string
|
||||
filePath?: string
|
||||
recordCount?: number
|
||||
observationCount?: number
|
||||
sampleValueCount?: number
|
||||
state?: number
|
||||
result?: ParseResultValue
|
||||
msg?: Record<string, unknown> | null
|
||||
createBy?: string
|
||||
createTime?: string
|
||||
updateBy?: string
|
||||
updateTime?: string
|
||||
}
|
||||
|
||||
export interface PqdifPathSaveParams {
|
||||
id?: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface PqdifParseDetail {
|
||||
id?: string
|
||||
name?: string
|
||||
filePath?: string
|
||||
}
|
||||
|
||||
export type PqdifParseMsg = Record<string, unknown> | null
|
||||
|
||||
export interface SaveParseResultParams {
|
||||
recordCount?: number
|
||||
observationCount?: number
|
||||
sampleValueCount?: number
|
||||
result: ParseResultValue
|
||||
msg?: Record<string, unknown> | null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user