feat: 提交
This commit is contained in:
@@ -30,6 +30,8 @@ const props = defineProps<{
|
||||
auditLoading: boolean
|
||||
auditError: boolean
|
||||
allowLocalSigning: boolean
|
||||
/** 真实模式下允许有签署权限的用户通过浏览器鼠标采集现场手写签名。 */
|
||||
allowMouseSigning: boolean
|
||||
artifacts: SigningArtifact[]
|
||||
artifactsLoading: boolean
|
||||
artifactsError: boolean
|
||||
@@ -188,9 +190,16 @@ defineExpose({ getDocumentElement, locateSignatureSlot })
|
||||
手写板 → 直接开签名板;Pad → 把文书滚到签名位等高亮;短信 → 开「发送签署短信」;
|
||||
公众号 → 开「消息推送」 -->
|
||||
<template v-if="isOnsiteMethod(task.method)">
|
||||
<template v-if="allowLocalSigning">
|
||||
<button type="button" class="action-button" @click="emit('action', 'pad-sign')">
|
||||
{{ formatSigningMethodTitle(task.method) }}
|
||||
<template v-if="allowLocalSigning || allowMouseSigning">
|
||||
<button
|
||||
type="button"
|
||||
class="action-button"
|
||||
:disabled="padSessionLoading"
|
||||
@click="emit('action', 'pad-sign')"
|
||||
>
|
||||
{{
|
||||
padSessionLoading ? '正在创建签署会话…' : formatSigningMethodTitle(task.method)
|
||||
}}
|
||||
</button>
|
||||
</template>
|
||||
<template v-else-if="canSignTask">
|
||||
|
||||
Reference in New Issue
Block a user