From d650e26862fc3288b32bc05813976260df7a5801 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 24 十月 2025 13:48:31 +0800
Subject: [PATCH] fix: 自动签配置
---
src/views/ProtocolManage/EditTemplate.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/views/ProtocolManage/EditTemplate.vue b/src/views/ProtocolManage/EditTemplate.vue
index 0154140..d99ffb6 100644
--- a/src/views/ProtocolManage/EditTemplate.vue
+++ b/src/views/ProtocolManage/EditTemplate.vue
@@ -198,6 +198,8 @@
isEnterpriseUserCreated: false,
templateEditData: '',
enterpriseId: '',
+ isAutoSign: false,
+ autoSignPowerAttorneyUrl: [] as UploadUserFile[],
},
closeAfterConfirm: false,
});
@@ -215,6 +217,8 @@
access: row.access,
isEnterpriseUserCreated: detail.isEnterpriseUserCreated,
templateEditData: detail.templateEditData,
+ isAutoSign: detail.isAutoSign ?? false,
+ autoSignPowerAttorneyUrl: convertApi2FormUrlOnlyOne(detail.autoSignPowerAttorneyUrl),
enterpriseId: enterpriseId,
});
} else {
@@ -234,6 +238,8 @@
code: editForm.code,
access: editForm.access,
templateId: editForm.templateId,
+ isAutoSign: editForm.isAutoSign,
+ autoSignPowerAttorneyUrl: editForm.autoSignPowerAttorneyUrl?.[0]?.path ?? '',
templateEditData: JSON.stringify(
pdfToImage.map(
(x) =>
--
Gitblit v1.9.1