@fluxhub/fluxhub-lib 10.0.667 → 10.0.668
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 +38 -31
- 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 +39 -32
- package/fesm2015/fluxhub-fluxhub-lib.js +38 -31
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -23538,37 +23538,44 @@
|
|
|
23538
23538
|
fs.p1 = 'exec_wkf';
|
|
23539
23539
|
else
|
|
23540
23540
|
fs.p1 = 'create_ver';
|
|
23541
|
-
|
|
23542
|
-
|
|
23543
|
-
|
|
23544
|
-
|
|
23545
|
-
|
|
23546
|
-
|
|
23547
|
-
|
|
23548
|
-
|
|
23549
|
-
|
|
23550
|
-
|
|
23551
|
-
|
|
23552
|
-
|
|
23553
|
-
|
|
23554
|
-
|
|
23555
|
-
|
|
23556
|
-
|
|
23557
|
-
|
|
23558
|
-
|
|
23559
|
-
|
|
23560
|
-
|
|
23561
|
-
|
|
23562
|
-
|
|
23563
|
-
|
|
23564
|
-
|
|
23565
|
-
|
|
23566
|
-
|
|
23567
|
-
|
|
23568
|
-
|
|
23569
|
-
|
|
23570
|
-
|
|
23571
|
-
|
|
23541
|
+
var uiid_op = this.uti_s.newGuid();
|
|
23542
|
+
fs.p2 = uiid_op;
|
|
23543
|
+
var p = new QParam();
|
|
23544
|
+
p.sql = "INSERT_WKF_OP";
|
|
23545
|
+
if (!crea_ver)
|
|
23546
|
+
p.values = [uiid_op, JSON.stringify({
|
|
23547
|
+
transizione: trans,
|
|
23548
|
+
destinatari: arrdest,
|
|
23549
|
+
commento: comm,
|
|
23550
|
+
assegnati_paralleli: assegnati_paralleli,
|
|
23551
|
+
id_applicazione: this.id_applicativo,
|
|
23552
|
+
id_documento: this.id_documento,
|
|
23553
|
+
username: this.app_s.user,
|
|
23554
|
+
title: this.getTitle().split('"').join("_doppiap_"),
|
|
23555
|
+
descri: this.getDescri().split('"').join("_doppiap_")
|
|
23556
|
+
}).split('\"').join("\"\"")];
|
|
23557
|
+
else
|
|
23558
|
+
p.values = [uiid_op, JSON.stringify({
|
|
23559
|
+
transizione: { uiid_wkf: trans.uiid_wkf, uiid: trans.uiid, step_d: trans.step_d },
|
|
23560
|
+
commento: comm,
|
|
23561
|
+
id_applicazione: this.id_applicativo,
|
|
23562
|
+
id_documento: this.id_documento,
|
|
23563
|
+
username: this.app_s.user
|
|
23564
|
+
}).split('\"').join("\"\"")];
|
|
23565
|
+
p.types = ["string", "string"];
|
|
23566
|
+
this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
23567
|
+
_this.reset_updw();
|
|
23568
|
+
_this.m_fileservice.doQuery(fs).subscribe(function (data) {
|
|
23569
|
+
console.log(data);
|
|
23570
|
+
if (trans.step_d >= 900)
|
|
23571
|
+
_this.doEnd(trans.step_d);
|
|
23572
|
+
else
|
|
23573
|
+
_this.chstato(trans.step_d);
|
|
23574
|
+
if (_this.dialogRef_ww != null)
|
|
23575
|
+
if (_this.dialogRef_ww.componentInstance != null)
|
|
23576
|
+
_this.dialogRef_ww.componentInstance.update_progess(100);
|
|
23577
|
+
_this.goto_edit_doc();
|
|
23578
|
+
});
|
|
23572
23579
|
});
|
|
23573
23580
|
};
|
|
23574
23581
|
dati_aggiuntivi_v2.prototype.reset_updw = function () {
|