feat: 提交

This commit is contained in:
cnxianyi
2026-09-29 18:49:45 +08:00
parent 8d8fa2af47
commit 09bcf20def
17 changed files with 357 additions and 62 deletions
@@ -790,6 +790,18 @@ export function buildSigningDocumentHtml(
renderStructuredFields(root, answers, interactive, signatureActionable)
renderTokenFields(root, answers, interactive, signatureActionable, claimed)
// 已签任务但图片产物暂时取不到时,不要把权威状态渲染成“未签署”。
// 签名图本身仍以 SIGNATURE_IMAGE 产物为准;这里仅修正文案,避免误导查看者。
if (data.signedAt && !answers[PRIMARY_SIGNATURE_FIELD_ID]) {
const pendingLabel = root.querySelector<HTMLElement>(
`[${FIELD_ATTR}="${PRIMARY_SIGNATURE_FIELD_ID}"] .docfld-empty`,
)
if (pendingLabel) {
pendingLabel.textContent = '签名图片暂不可显示'
}
}
const selected = new Set(data.selectedItems ?? [])
convertCheckboxTables(root, interactive, selected)
convertInlineOptions(root, interactive, selected)