@fluxhub/fluxhub-lib 11.0.15 → 11.0.16
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 +1 -1
- 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/package.json +1 -1
|
@@ -23853,9 +23853,8 @@
|
|
|
23853
23853
|
return;
|
|
23854
23854
|
}
|
|
23855
23855
|
console.log(' o.pre_assegna_req ', o.pre_assegna_req);
|
|
23856
|
-
if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1
|
|
23856
|
+
if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1) {
|
|
23857
23857
|
var att_autor_1 = [];
|
|
23858
|
-
//console.log('this.m_obj.creatore ',this.m_obj.creatore);
|
|
23859
23858
|
if (this.m_obj.creatore != null)
|
|
23860
23859
|
if (this.m_obj.creatore != "")
|
|
23861
23860
|
arrAutori.map(function (v) {
|
|
@@ -23908,12 +23907,34 @@
|
|
|
23908
23907
|
var arr_aut_1 = [];
|
|
23909
23908
|
var arr_aut_all_2 = JSON.parse(JSON.stringify(arrAutori));
|
|
23910
23909
|
var b_f_1 = false;
|
|
23910
|
+
if (o.pre_assegna_req == 1) {
|
|
23911
|
+
var att_autor_2 = [];
|
|
23912
|
+
if (this.m_obj.creatore != null)
|
|
23913
|
+
if (this.m_obj.creatore != "")
|
|
23914
|
+
arrAutori.map(function (v) {
|
|
23915
|
+
// console.log('v ',v);
|
|
23916
|
+
if (v.username == _this.m_obj.creatore) {
|
|
23917
|
+
att_autor_2.push(v);
|
|
23918
|
+
}
|
|
23919
|
+
});
|
|
23920
|
+
att_autor_2 = att_autor_2.sort(function (n1, n2) {
|
|
23921
|
+
if (n1.nc > n2.nc) {
|
|
23922
|
+
return 1;
|
|
23923
|
+
}
|
|
23924
|
+
if (n1.nc < n2.nc) {
|
|
23925
|
+
return -1;
|
|
23926
|
+
}
|
|
23927
|
+
return 0;
|
|
23928
|
+
});
|
|
23929
|
+
if (att_autor_2.length > 0) {
|
|
23930
|
+
arrAutori = JSON.parse(JSON.stringify(att_autor_2));
|
|
23931
|
+
}
|
|
23932
|
+
}
|
|
23911
23933
|
arrAutori.map(function (v) {
|
|
23912
23934
|
if (v.default_value != null)
|
|
23913
23935
|
if (v.default_value == 1)
|
|
23914
23936
|
b_f_1 = true;
|
|
23915
23937
|
});
|
|
23916
|
-
console.log("b_f ", b_f_1);
|
|
23917
23938
|
if (b_f_1) {
|
|
23918
23939
|
arrAutori.map(function (v) {
|
|
23919
23940
|
if (v.default_value != null)
|
|
@@ -23922,7 +23943,6 @@
|
|
|
23922
23943
|
});
|
|
23923
23944
|
arrAutori = JSON.parse(JSON.stringify(arr_aut_1));
|
|
23924
23945
|
}
|
|
23925
|
-
console.log("arrAutori ", arrAutori); //qui6
|
|
23926
23946
|
for (var i = 0; i < arrAutori.length; i++)
|
|
23927
23947
|
if (arrAutori[i].nc != null)
|
|
23928
23948
|
if (sp.indexOf(arrAutori[i].nc) == -1) {
|