@fluxhub/fluxhub-lib 10.0.33 → 10.0.35
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 +20 -5
- 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/controls/fhgrid.js +3 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +20 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5658,7 +5658,7 @@
|
|
|
5658
5658
|
q =
|
|
5659
5659
|
" " +
|
|
5660
5660
|
key +
|
|
5661
|
-
"
|
|
5661
|
+
" > " +
|
|
5662
5662
|
this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)) +
|
|
5663
5663
|
"";
|
|
5664
5664
|
if (obj_filtro.type == "equals")
|
|
@@ -5683,7 +5683,7 @@
|
|
|
5683
5683
|
q =
|
|
5684
5684
|
" " +
|
|
5685
5685
|
key +
|
|
5686
|
-
"
|
|
5686
|
+
" < " +
|
|
5687
5687
|
this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)) +
|
|
5688
5688
|
"";
|
|
5689
5689
|
if (obj_filtro.type == "lessThanOrEqual")
|
|
@@ -15865,6 +15865,11 @@
|
|
|
15865
15865
|
if (b_notif_av)
|
|
15866
15866
|
this.alert("Avanzamento effettuato", 0);
|
|
15867
15867
|
};
|
|
15868
|
+
dati_aggiuntivi.prototype.addOverrideLvlUser = function (lvlcfg) {
|
|
15869
|
+
if (this.override_livs == null)
|
|
15870
|
+
this.override_livs = [];
|
|
15871
|
+
this.override_livs.push(lvlcfg);
|
|
15872
|
+
};
|
|
15868
15873
|
dati_aggiuntivi.prototype.getLvlInfo = function (lvl) {
|
|
15869
15874
|
for (var i = 0; i < this.livs.length; i++)
|
|
15870
15875
|
if (lvl == this.livs[i].livello) {
|
|
@@ -16141,19 +16146,29 @@
|
|
|
16141
16146
|
};
|
|
16142
16147
|
dati_aggiuntivi.prototype.ok_load_document = function (o) {
|
|
16143
16148
|
var _this = this;
|
|
16144
|
-
this.m_obj = JSON.parse(JSON.stringify(o));
|
|
16149
|
+
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
16145
16150
|
this.edit_b(false);
|
|
16146
16151
|
this.save_to_app_state();
|
|
16147
16152
|
var p = new QParam();
|
|
16148
16153
|
p.sql = "SELECT_LIVELLI_DOC";
|
|
16149
|
-
p.types = [
|
|
16154
|
+
p.types = ['string', 'string'];
|
|
16150
16155
|
p.values = [this.id_applicativo, this.id_documento];
|
|
16151
16156
|
this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
16152
16157
|
if (data != null)
|
|
16153
16158
|
if (data.result_msg == "OK") {
|
|
16159
|
+
if (_this.override_livs != null)
|
|
16160
|
+
if (data.result_data != null)
|
|
16161
|
+
for (var y = 0; y < _this.override_livs.length; y++)
|
|
16162
|
+
for (var i = 0; i < data.result_data.length; i++)
|
|
16163
|
+
if (data.result_data[i].id_Applicativo != null)
|
|
16164
|
+
if (data.result_data[i].id_Applicativo == _this.override_livs[y].id_Applicativo) {
|
|
16165
|
+
data.result_data[i].idp = _this.override_livs[y].idp;
|
|
16166
|
+
data.result_data[i].gruppo_parallelo = _this.override_livs[y].gruppo_parallelo;
|
|
16167
|
+
data.result_data[i].nc = _this.override_livs[y].nc;
|
|
16168
|
+
}
|
|
16154
16169
|
_this.ok_livelli_doc(data.result_data);
|
|
16155
16170
|
}
|
|
16156
|
-
}
|
|
16171
|
+
});
|
|
16157
16172
|
};
|
|
16158
16173
|
dati_aggiuntivi.prototype.ok_livelli_doc = function (r) {
|
|
16159
16174
|
this.livs = r;
|