@fluxhub/fluxhub-lib 10.0.405 → 10.0.407
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 +13 -8
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine_v2/win_info_doc.js +4 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +10 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -8
- 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
|
@@ -14629,7 +14629,9 @@
|
|
|
14629
14629
|
};
|
|
14630
14630
|
win_info_doc_v2.prototype.load_info = function (data) {
|
|
14631
14631
|
console.log('data ', data);
|
|
14632
|
-
|
|
14632
|
+
if (data.v == null)
|
|
14633
|
+
data.v = 1;
|
|
14634
|
+
this.codice = data.codice + '/' + data.v;
|
|
14633
14635
|
this.data_richiesta = data.data_richiesta;
|
|
14634
14636
|
this.richiedente = data.richiedente;
|
|
14635
14637
|
this.stato = data.stato;
|
|
@@ -20184,8 +20186,7 @@
|
|
|
20184
20186
|
_this.resp_b(true);
|
|
20185
20187
|
return;
|
|
20186
20188
|
}
|
|
20187
|
-
|
|
20188
|
-
_this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota);
|
|
20189
|
+
_this.exec_wkf(o, _this.nlevel, result.arrsel, result.nota, _this.transizione_info.create_ver);
|
|
20189
20190
|
});
|
|
20190
20191
|
}
|
|
20191
20192
|
else {
|
|
@@ -20220,8 +20221,7 @@
|
|
|
20220
20221
|
_this.resp_b(true);
|
|
20221
20222
|
return;
|
|
20222
20223
|
}
|
|
20223
|
-
|
|
20224
|
-
_this.exec_wkf(o, _this.nlevel, arrAutori, result);
|
|
20224
|
+
_this.exec_wkf(o, _this.nlevel, arrAutori, result, _this.transizione_info.create_ver);
|
|
20225
20225
|
});
|
|
20226
20226
|
}
|
|
20227
20227
|
/*
|
|
@@ -20303,16 +20303,21 @@
|
|
|
20303
20303
|
});
|
|
20304
20304
|
}*/
|
|
20305
20305
|
};
|
|
20306
|
-
dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm) {
|
|
20306
|
+
dati_aggiuntivi_v2.prototype.exec_wkf = function (trans, liv, arrdest, comm, crea_ver) {
|
|
20307
20307
|
var _this = this;
|
|
20308
|
-
|
|
20308
|
+
if (crea_ver === void 0) { crea_ver = false; }
|
|
20309
|
+
if (crea_ver == null)
|
|
20310
|
+
crea_ver = false;
|
|
20309
20311
|
this.dialogRef_ww = this.m_dialog.open(fh_win_wait, {
|
|
20310
20312
|
disableClose: true, data: { label: 'Attendere' }
|
|
20311
20313
|
});
|
|
20312
20314
|
this.ttw = 0;
|
|
20313
20315
|
var fs = new FSInput();
|
|
20314
20316
|
fs.command = "exec_app";
|
|
20315
|
-
|
|
20317
|
+
if (!crea_ver)
|
|
20318
|
+
fs.p1 = 'exec_wkf';
|
|
20319
|
+
else
|
|
20320
|
+
fs.p1 = 'create_ver';
|
|
20316
20321
|
fs.p2 = JSON.stringify({
|
|
20317
20322
|
transizione: trans,
|
|
20318
20323
|
destinatari: arrdest,
|