@fluxhub/fluxhub-lib 10.0.673 → 10.0.675
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 +39 -23
- 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 +40 -24
- package/fesm2015/fluxhub-fluxhub-lib.js +39 -23
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -24853,15 +24853,20 @@ class dati_aggiuntivi_v2 {
|
|
|
24853
24853
|
console.log(' result.arrsel ', result.arrsel);
|
|
24854
24854
|
let arr_new_arr = '';
|
|
24855
24855
|
this.m_obj.autori = '';
|
|
24856
|
+
this.m_obj.pers_int = '';
|
|
24856
24857
|
let b_edit = false;
|
|
24857
24858
|
result.arrsel.map((v) => {
|
|
24858
24859
|
if (arr_new_arr != '')
|
|
24859
24860
|
arr_new_arr += ',';
|
|
24860
24861
|
arr_new_arr += v.username;
|
|
24861
24862
|
if (this.m_obj.autori.indexOf(v.username) == -1) {
|
|
24863
|
+
console.log('VVV ', v);
|
|
24862
24864
|
if (this.m_obj.autori != '')
|
|
24863
24865
|
this.m_obj.autori = this.m_obj.autori + ',';
|
|
24864
24866
|
this.m_obj.autori = this.m_obj.autori + v.username;
|
|
24867
|
+
if (this.m_obj.pers_int != '')
|
|
24868
|
+
this.m_obj.pers_int = this.m_obj.pers_int + ',';
|
|
24869
|
+
this.m_obj.pers_int = this.m_obj.pers_int + v.cognome + ' ' + v.nome;
|
|
24865
24870
|
}
|
|
24866
24871
|
if (v.username == this.app_info.user)
|
|
24867
24872
|
b_edit = true;
|
|
@@ -24882,8 +24887,8 @@ class dati_aggiuntivi_v2 {
|
|
|
24882
24887
|
this.update_status(b_edit, true, this.in_carico, this.b_assenza_a, 19);
|
|
24883
24888
|
let p = new QParam();
|
|
24884
24889
|
p.sql = "UPDATE_WKF_DOC_AUTHOR";
|
|
24885
|
-
p.values = [this.id_applicativo, this.id_documento, this.m_obj.autori];
|
|
24886
|
-
p.types = ["string", "string", "string"];
|
|
24890
|
+
p.values = [this.id_applicativo, this.id_documento, this.m_obj.autori, this.m_obj.pers_int];
|
|
24891
|
+
p.types = ["string", "string", "string", "string"];
|
|
24887
24892
|
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
24888
24893
|
if (data != null)
|
|
24889
24894
|
if (data.result_msg == "OK") {
|
|
@@ -24893,27 +24898,38 @@ class dati_aggiuntivi_v2 {
|
|
|
24893
24898
|
});
|
|
24894
24899
|
if (result.op == 'C')
|
|
24895
24900
|
this.update_status(true, this.respingi_enabled, this.in_carico, this.b_assenza_a, 18);
|
|
24896
|
-
else
|
|
24897
|
-
|
|
24898
|
-
|
|
24899
|
-
|
|
24900
|
-
|
|
24901
|
-
|
|
24902
|
-
|
|
24903
|
-
|
|
24904
|
-
|
|
24905
|
-
|
|
24906
|
-
|
|
24907
|
-
|
|
24908
|
-
|
|
24909
|
-
|
|
24910
|
-
|
|
24911
|
-
|
|
24912
|
-
|
|
24913
|
-
|
|
24914
|
-
|
|
24915
|
-
|
|
24916
|
-
|
|
24901
|
+
/* else
|
|
24902
|
+
this.sendEMail_ex(
|
|
24903
|
+
this.user_idp,
|
|
24904
|
+
arr_new_arr,
|
|
24905
|
+
this.app_info.descrizione_breve +
|
|
24906
|
+
", Ti è stato assegnato il documento numero: " +
|
|
24907
|
+
this.m_obj.codice +
|
|
24908
|
+
" " +
|
|
24909
|
+
this.getTitle() +
|
|
24910
|
+
" - " +
|
|
24911
|
+
this.getLvlDescri(String(this.m_liv), this.m_statox),
|
|
24912
|
+
"<br>Attività:" +
|
|
24913
|
+
this.getLvlDescri(String(this.m_liv), this.m_statox) +
|
|
24914
|
+
"<br>" +
|
|
24915
|
+
this.m_statox +
|
|
24916
|
+
"<br>" +
|
|
24917
|
+
this.getDescri(),
|
|
24918
|
+
this.id_applicativo,
|
|
24919
|
+
this.id_documento,
|
|
24920
|
+
this.app_info.COMPANY_SITE_ROOT +
|
|
24921
|
+
"#/" +
|
|
24922
|
+
this.app_info.modulo_swf +
|
|
24923
|
+
"/" +
|
|
24924
|
+
this.id_applicativo +
|
|
24925
|
+
"/" +
|
|
24926
|
+
this.id_documento +
|
|
24927
|
+
"/edit",
|
|
24928
|
+
this.m_obj.codice,
|
|
24929
|
+
"",
|
|
24930
|
+
true,
|
|
24931
|
+
"",false
|
|
24932
|
+
);*/ }
|
|
24917
24933
|
});
|
|
24918
24934
|
}
|
|
24919
24935
|
});
|