feat(sign): 补齐医护端与患者端签署流程

This commit is contained in:
xy
2026-09-28 19:57:57 +08:00
parent a25716c861
commit 8024075439
22 changed files with 1082 additions and 163 deletions
+8 -1
View File
@@ -1,4 +1,9 @@
import type { SignDeliveryChannel, SignatureUploadResponse, SigningContextField } from '@/api/types'
import type {
SignDeliveryChannel,
SignatureFieldPosition,
SignatureUploadResponse,
SigningContextField,
} from '@/api/types'
export type SignerRelation = '本人' | '父亲' | '母亲' | '其他监护人' | '其他'
@@ -34,6 +39,8 @@ export interface SignFlowState {
staffAnswers: Record<string, string>
/** 患者端可交互的字段。按约定只有主签名位(`id === 'signature'`) */
fields: SigningContextField[]
/** PDF points and page number supplied by the task's frozen template version. */
signatureFields: SignatureFieldPosition[]
/** 有没有真的拿到正文 —— 没拿到就不该让患者签 */
documentLoaded: boolean
documentError: string