feat(签署方式): 扩展为手写板/短信/Pad/公众号四种并集中口径
This commit is contained in:
@@ -17,8 +17,9 @@
|
||||
* 只声明实际用到的字段,不绑定文档库页面的类型,避免 utils 反向依赖 views。
|
||||
*/
|
||||
|
||||
import type { SigningFieldDef, SigningMethod, SigningTemplate } from '@/api/workbench/types'
|
||||
import type { SigningFieldDef, SigningTemplate } from '@/api/workbench/types'
|
||||
|
||||
import { ALL_SIGNING_METHODS } from './signing-method'
|
||||
import { buildFieldSpanHtml } from './signing-fields'
|
||||
import { MOCK_STORAGE_KEYS, readMockState, writeMockState } from './mock-storage'
|
||||
|
||||
@@ -311,7 +312,7 @@ export function readLocalSigningTemplates(): SigningTemplate[] {
|
||||
campusId: document.campusId ?? undefined,
|
||||
category: category.name,
|
||||
description: document.description ?? '',
|
||||
supportedMethods: ['pad', 'sms'] as SigningMethod[],
|
||||
supportedMethods: [...ALL_SIGNING_METHODS],
|
||||
contentHtml: document.contentHtml,
|
||||
contentSha256: document.contentSha256,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user