|
@@ -48,7 +48,12 @@ export async function setTaskAutomation(params, mandate) {
|
|
});
|
|
});
|
|
|
|
|
|
if (mandate.MandateClass === 2) {
|
|
if (mandate.MandateClass === 2) {
|
|
- res = await SetVarValues(mandate.MandateChild[0].Payload);
|
|
|
|
|
|
+ // res = await SetVarValues(mandate.MandateChild[0].Payload);
|
|
|
|
+ const query = {
|
|
|
|
+ mandate_id: item.Id,
|
|
|
|
+ mandate_type: 1
|
|
|
|
+ }
|
|
|
|
+ res = await request(`${baseURL}/v1/mandate/do?${stringify(query)}`)
|
|
if (res) {
|
|
if (res) {
|
|
return res;
|
|
return res;
|
|
} else {
|
|
} else {
|