feat(qualification): 资质库和资质匹配(查标第 4 步,规则集 2026.11-r4)
- 资质库(FR-M6-08):增删改、证书扫描件(PDF/JPG/PNG,企业级密钥加密、签名下载)、 late_for 按进行中项目的投标截止日提醒、审计;前端资质库页和对话框,侧栏入口 - 资质匹配(FR-M3-05):证书类别词表(16 类,产品证书、人员证书不进匹配), QUAL.EXPIRED / LEVEL_LOW / NOT_COVERED;投标文字层按清单项定级,只有资质库记录的降一级, 出处显示「依据:资质库记录」(查标页、报告模板 v2);一类证书一个问题;评分项不逐条找响应的也查 - 响应错位规则不再把资质表的证书名称格当成照抄的要求 - 评测:qual_defects.py 派生资质情况表,D12 3/3、D18 2/2、规矩的资质表 0 误报;开发集不退化 - 决策 QL1–QL7;方案和落地记录 docs/architecture/qualification-plan.md,评测 check-eval.md §13 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
32
packages/api-client/src/schema.d.ts
vendored
32
packages/api-client/src/schema.d.ts
vendored
@@ -1156,7 +1156,10 @@ export interface paths {
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
/** 资质库 */
|
||||
/**
|
||||
* 资质库
|
||||
* @description 按「有效期至」从近到远排,长期有效的在最后。
|
||||
*/
|
||||
get: operations["listQualifications"];
|
||||
put?: never;
|
||||
/** 新增资质 */
|
||||
@@ -1356,8 +1359,11 @@ export interface components {
|
||||
LegalRegime: "gov_procurement" | "tendering" | "unknown";
|
||||
/** @enum {string} */
|
||||
DocumentRole: "tender" | "addendum" | "clarification" | "bid_volume";
|
||||
/** @enum {string} */
|
||||
DetectedFormat: "pdf" | "docx" | "doc" | "wps" | "ofd" | "encrypted_bid" | "unknown";
|
||||
/**
|
||||
* @description jpeg、png 只出现在资质附件(purpose = qualification_file)上
|
||||
* @enum {string}
|
||||
*/
|
||||
DetectedFormat: "pdf" | "docx" | "doc" | "wps" | "ofd" | "encrypted_bid" | "jpeg" | "png" | "unknown";
|
||||
/** @enum {string} */
|
||||
JobStatus: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
||||
/** @enum {string} */
|
||||
@@ -2060,11 +2066,12 @@ export interface components {
|
||||
importance?: components["schemas"]["Importance"];
|
||||
categories?: components["schemas"]["Category"][];
|
||||
} | null;
|
||||
/** @description 规则问题的规则编号和说明(detector = rule 时有);资质匹配的问题同时挂清单项 */
|
||||
rule?: {
|
||||
code?: string;
|
||||
description?: string;
|
||||
} | null;
|
||||
/** @description 按类型的补充信息:参数的要求值和响应值、资质预警种类(expired / insufficient_level / not_covered)、从投标文件读到的金额 */
|
||||
/** @description 按类型的补充信息:参数的要求值和响应值、从投标文件读到的金额;资质问题(type = qualification)有 kind(expired / level_low / not_covered)、source(bid_text / library)、deadline,issues[] 里 source = library 的带 library(资质库记录的快照:id、name、kind、level、cert_no、valid_to),界面显示为「依据:资质库记录」 */
|
||||
detail?: Record<string, never>;
|
||||
tender_citations: components["schemas"]["Citation"][];
|
||||
bid_citations: components["schemas"]["Citation"][];
|
||||
@@ -2168,13 +2175,14 @@ export interface components {
|
||||
name: string;
|
||||
kind: components["schemas"]["QualificationKind"];
|
||||
level?: string | null;
|
||||
/** @description 界面上必填(查标时用它核对附件),接口可空,以后批量导入时不一定读得全 */
|
||||
cert_no?: string | null;
|
||||
issuer?: string | null;
|
||||
/** Format: date */
|
||||
valid_from?: string | null;
|
||||
/**
|
||||
* Format: date
|
||||
* @description 空表示长期有效
|
||||
* @description 空表示长期有效;要晚于 valid_from
|
||||
*/
|
||||
valid_to?: string | null;
|
||||
};
|
||||
@@ -2185,6 +2193,13 @@ export interface components {
|
||||
filename: string;
|
||||
size_bytes: number;
|
||||
}[];
|
||||
/** @description 进行中的项目(跟进中、编制中、已检查,截止日不早于今天)里,投标截止日晚于「有效期至」的项目。到期按每个项目的截止日判断,不按今天 */
|
||||
late_for: {
|
||||
project_id: components["schemas"]["Id"];
|
||||
name: string;
|
||||
/** Format: date */
|
||||
deadline: string;
|
||||
}[];
|
||||
created_at: components["schemas"]["Timestamp"];
|
||||
updated_at: components["schemas"]["Timestamp"];
|
||||
};
|
||||
@@ -3062,7 +3077,10 @@ export interface operations {
|
||||
size_bytes: number;
|
||||
/** @description 选填;提供时完成上传时校验 */
|
||||
sha256?: string;
|
||||
/** @enum {string} */
|
||||
/**
|
||||
* @description 资质附件只收 PDF、JPG、PNG,单个不超过 20MB
|
||||
* @enum {string}
|
||||
*/
|
||||
purpose: "project_document" | "qualification_file";
|
||||
};
|
||||
};
|
||||
@@ -4430,6 +4448,8 @@ export interface operations {
|
||||
parameters: {
|
||||
query?: {
|
||||
kind?: components["schemas"]["QualificationKind"];
|
||||
/** @description 按名称、证书编号、发证机构搜索 */
|
||||
q?: string;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
|
||||
Reference in New Issue
Block a user