feat(签署): 保存并还原患者勾选结果
签署完成时将患者勾选的条目固化到任务记录,重新打开已签署文书时还原勾选状态,重新发起签署则清空历史勾选。
This commit is contained in:
@@ -24,6 +24,7 @@ defineProps<{
|
||||
const emit = defineEmits<{
|
||||
action: [action: SigningTaskAction]
|
||||
downloadArtifact: [artifact: SigningArtifact]
|
||||
selectionChange: [items: string[]]
|
||||
}>()
|
||||
</script>
|
||||
|
||||
@@ -144,6 +145,7 @@ const emit = defineEmits<{
|
||||
v-if="task.documentContentHtml"
|
||||
:task="task"
|
||||
:interactive="allowLocalSigning && task.status !== 'signed' && task.status !== 'void'"
|
||||
@selection-change="emit('selectionChange', $event)"
|
||||
/>
|
||||
<SigningDocumentPreview v-else :task="task" />
|
||||
<TaskAuditTimeline :events="auditEvents" :loading="auditLoading" :error="auditError" />
|
||||
|
||||
Reference in New Issue
Block a user