@fluxhub/fluxhub-lib 10.0.660 → 10.0.662
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +24 -4
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +25 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +1 -1
- package/package.json +1 -1
|
@@ -23272,7 +23272,7 @@
|
|
|
23272
23272
|
_this.update_status(true, true, null, null, 5);
|
|
23273
23273
|
return;
|
|
23274
23274
|
}
|
|
23275
|
-
_this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver);
|
|
23275
|
+
_this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver, null);
|
|
23276
23276
|
});
|
|
23277
23277
|
}
|
|
23278
23278
|
else {
|
|
@@ -23281,7 +23281,24 @@
|
|
|
23281
23281
|
if (v.nc == null)
|
|
23282
23282
|
v.nc = v.value.split('*').join('');
|
|
23283
23283
|
});
|
|
23284
|
-
|
|
23284
|
+
var arr_aut_1 = [];
|
|
23285
|
+
var arr_aut_all_1 = JSON.parse(JSON.stringify(arrAutori));
|
|
23286
|
+
var b_f_1 = false;
|
|
23287
|
+
arrAutori.map(function (v) {
|
|
23288
|
+
if (v.default_value != null)
|
|
23289
|
+
if (v.default_value == 1)
|
|
23290
|
+
b_f_1 = true;
|
|
23291
|
+
});
|
|
23292
|
+
console.log('b_f ', b_f_1);
|
|
23293
|
+
if (b_f_1) {
|
|
23294
|
+
arrAutori.map(function (v) {
|
|
23295
|
+
if (v.default_value != null)
|
|
23296
|
+
if (v.default_value == 1)
|
|
23297
|
+
arr_aut_1.push(v);
|
|
23298
|
+
});
|
|
23299
|
+
arrAutori = JSON.parse(JSON.stringify(arr_aut_1));
|
|
23300
|
+
}
|
|
23301
|
+
console.log('arrAutori ', arrAutori); //qui6
|
|
23285
23302
|
for (var i = 0; i < arrAutori.length; i++)
|
|
23286
23303
|
if (arrAutori[i].nc != null)
|
|
23287
23304
|
if (sp.indexOf(arrAutori[i].nc) == -1) {
|
|
@@ -23310,7 +23327,7 @@
|
|
|
23310
23327
|
_this.update_status(true, true, null, null, 7);
|
|
23311
23328
|
return;
|
|
23312
23329
|
}
|
|
23313
|
-
_this.exec_wkf(o, _this.nlevel, arrAutori, result, _this.transizione_info.create_ver);
|
|
23330
|
+
_this.exec_wkf(o, _this.nlevel, arrAutori, result, _this.transizione_info.create_ver, arr_aut_all_1);
|
|
23314
23331
|
});
|
|
23315
23332
|
}
|
|
23316
23333
|
/*
|
|
@@ -23485,7 +23502,7 @@
|
|
|
23485
23502
|
}
|
|
23486
23503
|
});
|
|
23487
23504
|
};
|
|
23488
|
-
dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm, crea_ver) {
|
|
23505
|
+
dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm, crea_ver, assegnati_paralleli) {
|
|
23489
23506
|
var _this = this;
|
|
23490
23507
|
if (crea_ver === void 0) { crea_ver = false; }
|
|
23491
23508
|
if (crea_ver == null)
|
|
@@ -23494,6 +23511,8 @@
|
|
|
23494
23511
|
disableClose: true, data: { label: this.tsr.instant('Attendere') }
|
|
23495
23512
|
});
|
|
23496
23513
|
this.ttw = 0;
|
|
23514
|
+
if (assegnati_paralleli == null)
|
|
23515
|
+
assegnati_paralleli = JSON.parse(JSON.stringify(arrdest));
|
|
23497
23516
|
var fs = new FSInput();
|
|
23498
23517
|
fs.command = "exec_app";
|
|
23499
23518
|
if (!crea_ver)
|
|
@@ -23504,6 +23523,7 @@
|
|
|
23504
23523
|
transizione: trans,
|
|
23505
23524
|
destinatari: arrdest,
|
|
23506
23525
|
commento: comm,
|
|
23526
|
+
assegnati_paralleli: assegnati_paralleli,
|
|
23507
23527
|
id_applicazione: this.id_applicativo,
|
|
23508
23528
|
id_documento: this.id_documento,
|
|
23509
23529
|
username: this.app_s.user,
|