feat(signing): 支持点击文中签名位就地采集签名
This commit is contained in:
@@ -86,7 +86,10 @@ interface DemoDocumentSpec {
|
||||
/**
|
||||
* 生成演示文书正文。
|
||||
* 标题、说明段、勾选表、签名位、签署日期都用真实文书的写法,
|
||||
* 其中 {患者签名}{签署日期} 是签署端识别签名位与日期的依据。
|
||||
* 其中 {患者签名}{医师签名}{签署日期} 是签署端识别签名位与日期的依据。
|
||||
*
|
||||
* 患者签名与医师签名是两栏:前者是主签名位(手写板/线上签署采集),
|
||||
* 后者是文书上的独立签名位,由医师在签署页点击就地采集,两者互不覆盖。
|
||||
*/
|
||||
function buildDemoDocumentHtml(spec: DemoDocumentSpec): string {
|
||||
const paragraphs = [
|
||||
@@ -109,6 +112,7 @@ function buildDemoDocumentHtml(spec: DemoDocumentSpec): string {
|
||||
checkboxTable,
|
||||
...extraFields,
|
||||
'<p>患者(或家属)签名:{患者签名}</p>',
|
||||
'<p>医师签名:{医师签名}</p>',
|
||||
'<p>签署日期:{签署日期}</p>',
|
||||
].join('')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user