wupengfei
7 天以前 8977783adbbc842f523109d95273e345fee547dc
src/views/ProtocolManage/EditTemplate.vue
@@ -204,6 +204,8 @@
    enterpriseId: '',
    isAutoSign: false,
    autoSignPowerAttorneyUrl: [] as UploadUserFile[],
    customContents: [] as string[],
  },
  closeAfterConfirm: false,
});
@@ -224,6 +226,8 @@
        isAutoSign: detail.isAutoSign ?? false,
        autoSignPowerAttorneyUrl: convertApi2FormUrlOnlyOne(detail.autoSignPowerAttorneyUrl),
        enterpriseId: enterpriseId,
        customContents: detail.customContents.map((x) => x.name),
      });
    } else {
      handleAdd();
@@ -253,6 +257,7 @@
            } as TemplateEditDataItem)
        )
      ),
      customContents: editForm.customContents,
    };
    if (editForm.access === EnumElectronSignAccess.BestSign) {
      params.isAutoSign = editForm.isAutoSign;