feat: 提交
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user