添加模块文件

This commit is contained in:
linxd
2025-06-18 22:04:33 +08:00
parent 73db059e7d
commit 0b2891a0e3
23 changed files with 1207 additions and 283 deletions

View File

@ -506,4 +506,56 @@ declare namespace API {
remark?: string;
basePageRequest?: null;
}
// 供应商评价任务状态枚举
export enum TaskStatus {
DRAFT = '0', // 草稿
PUBLISHED = '1', // 已发布
PROCESSING = '2', // 进行中
COMPLETED = '3', // 已完成
CANCELED = '4', // 已取消
}
// 供应商评价任务类型枚举
export enum TaskType {
REGULAR = '1', // 常规评价
SPECIAL = '2', // 专项评价
}
// 供应商评价任务记录类型
export interface TaskRecord {
id: string;
taskName: string;
taskCode: string;
taskType: string;
templateName: string;
status: string;
startTime: string;
endTime: string;
createBy: string;
createTime: string;
updateBy?: string;
updateTime?: string;
key?: string;
}
// 供应商评价任务查询参数
export interface TaskSearchParams {
taskName?: string;
taskCode?: string;
taskType?: string;
status?: string;
dateRange?: [string, string];
}
// 供应商评价任务请求参数
export interface TaskRequest {
id?: string;
taskName: string;
taskCode: string;
taskType: string;
templateId: string;
startTime: string;
endTime: string;
}
}