zhengyiming
5 天以前 d650e26862fc3288b32bc05813976260df7a5801
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) =>