vcomply-workflow-engine 3.8.4 → 3.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12280,9 +12280,7 @@ class WorkflowRiskComponent {
12280
12280
  // assessment_deadline_days: (this.settingsInfo.assessment_deadline_enable) ? this.settingsInfo.assessment_deadline_days : riskForm.assessment_deadline_days,
12281
12281
  risk_type: this.riskForm?.riskType ?? 'NORMAL',
12282
12282
  risk_owner: riskForm.addRiskOwner ? riskForm.risk_owner ?? '' : '',
12283
- mitigation_plan_recommendation: this.riskForm?.addMitigationPlan
12284
- ? this.riskForm?.mitigationDescriptionPlan ?? ''
12285
- : '',
12283
+ mitigation_plan_recommendation: this.riskForm?.mitigationDescriptionPlan,
12286
12284
  frequency_details: this.riskForm?.frequency_details,
12287
12285
  risk_label: riskForm?.addRiskLabel ? riskForm?.riskLabelValue : 1,
12288
12286
  future_businesscycle_visibility: riskForm?.enableAllFutureBusinessCycle ?? true,
@@ -25450,7 +25448,8 @@ class WorkflowComplianceComponent {
25450
25448
  },
25451
25449
  formatAndEvidence: {
25452
25450
  formatRequired: res?.report_format?.length > 0 ||
25453
- res?.link_for_details?.length > 0
25451
+ res?.link_for_details?.length > 0 ||
25452
+ res?.isFormatUpload
25454
25453
  ? true
25455
25454
  : false,
25456
25455
  formatFiles: res?.report_format,
@@ -26955,6 +26954,10 @@ class WorkflowComplianceComponent {
26955
26954
  report_format: moreOptions?.FORMATE_EVIDENCE
26956
26955
  ? entrustForm.formatAndEvidence.formatFiles
26957
26956
  : [],
26957
+ isFormatUpload: moreOptions?.FORMATE_EVIDENCE &&
26958
+ entrustForm.formatAndEvidence.formatRequired
26959
+ ? 1
26960
+ : 0,
26958
26961
  report_format_link: '',
26959
26962
  report_name: entrustForm.responsibility.name,
26960
26963
  report_upload_flag: entrustForm.formatAndEvidence.evidenceRequired