- 新增 utils/formDataGroups.ts:groups 顺序展示、schema 外字段归「其他信息」、无 schema 回落按 key - ApplyDetail 改用详情出参 formSchemaJson(删除再调 /api/apply/item 取 schema 的旁路);ApplyVo 类型补 formSchemaJson - 顺带入库 hall 动态表单修复(就地写 reactive + 内联 validate,2026-09-17 会话)
This commit is contained in:
@@ -28,6 +28,8 @@ export interface ApplyVo {
|
||||
itemSnapshotJson?: string;
|
||||
formVersion?: number;
|
||||
formDataJson?: string;
|
||||
/** 办理表单 schema(仅详情出参;「申请内容」按 groups/fields 显示中文 label 与分组的唯一事实源) */
|
||||
formSchemaJson?: string;
|
||||
attachmentsJson?: string;
|
||||
submitterId: number;
|
||||
submitterName: string;
|
||||
@@ -41,6 +43,22 @@ export interface ApplyVo {
|
||||
}
|
||||
|
||||
|
||||
/** 表单附件字段行(对齐后端 ApplyAttachmentItem;attachmentId=上传接口返回的附件行 id) */
|
||||
export interface ApplyAttachmentItem {
|
||||
fieldKey?: string;
|
||||
attachmentId: number;
|
||||
}
|
||||
|
||||
/** 发起提交入参(对齐后端 ApplySubmitRequest) */
|
||||
export interface ApplySubmitRequest {
|
||||
siteCode: string;
|
||||
itemCode: string;
|
||||
/** 表单数据 JSON 字符串({key:value};无表单事项传空) */
|
||||
formData?: string;
|
||||
/** 附件字段上传的附件行(可空;缺失会导致后端 bindApply 不执行、办件材料无效) */
|
||||
attachments?: ApplyAttachmentItem[];
|
||||
}
|
||||
|
||||
/** 事项大厅列表行(后端复用 oapi ItemRow,见 HallController) */
|
||||
export interface HallItem {
|
||||
id: number;
|
||||
|
||||
Reference in New Issue
Block a user