Skip to content

Commit

Permalink
fixed next reviewer button actions
Browse files Browse the repository at this point in the history
  • Loading branch information
midhun-aot committed Jan 30, 2024
1 parent 261edd0 commit 674a87b
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 89 deletions.
10 changes: 5 additions & 5 deletions forms-flow-ai/epd-forms/Site Risk Classification Report.json
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
"height": ""
},
"type": "button",
"custom": " form.emit('customEvent', {\n type: \"actionError\", \n component: component,\n actionType:'Accepted'\n }); ",
"custom": "const submissionId = form._submission._id;\n const formId = form._submission.form;\n const formDataReqUrl = form.formio?form.formio.formUrl:(localStorage.getItem('customSubmissionUrl')+'/form/'+formId)+'/submission/'+submissionId;\n const formDataReqObj1 = { \"_id\": submissionId, \"data\": data};\n const formio = new Formio(formDataReqUrl);\n formio.saveSubmission(formDataReqObj1).then( result => {\n form.emit('customEvent', {\n type: \"actionComplete\", \n component: component,\n actionType: 'Accepted'\n }); \n }).catch((error)=>{\n //Error callback on not Save\n form.emit('customEvent', {\n type: \"actionError\", \n component: component,\n actionType:'Accepted'\n }); \n });",
"input": true,
"keyModified": true,
"placeholder": "",
Expand Down Expand Up @@ -305,7 +305,7 @@
"showWordCount": false,
"allowMultipleMasks": false,
"addons": [],
"id": "efzg6y"
"id": "ee2sv6m"
},
{
"label": "Approved",
Expand Down Expand Up @@ -4303,7 +4303,7 @@
"attributes": {},
"components": [
{
"id": "ele95t0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "ele95t000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "spropertyOwnerAndOrOperator",
"tree": false,
"type": "panel",
Expand Down Expand Up @@ -13713,7 +13713,7 @@
"attributes": {},
"components": [
{
"id": "eks0gu000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "eks0gu00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"key": "exposurePathwayQuestionnaireAffectedParcel",
"tree": false,
"type": "panel",
Expand Down Expand Up @@ -17656,7 +17656,7 @@
}
],
"collapsible": false,
"id": "eo5mwyp0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"id": "eo5mwyp000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down
Loading

0 comments on commit 674a87b

Please sign in to comment.