@fluxhub/fluxhub-lib 1.0.315 → 1.0.317
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 +19 -3
- 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/docs/classes/dati_aggiuntivi.html +16 -1
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +17 -4
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +19 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +16 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +18 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15793,7 +15793,6 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15793
15793
|
if (this.nlevel != null)
|
|
15794
15794
|
if (this.nlevel.descri_livello != null)
|
|
15795
15795
|
this.m_oper = this.m_oper + " -> " + this.nlevel.descri_livello;
|
|
15796
|
-
console.log('ccan ', ccan);
|
|
15797
15796
|
/** @type {?} */
|
|
15798
15797
|
var p = new QParam();
|
|
15799
15798
|
p.sql = "doWKF";
|
|
@@ -16658,16 +16657,19 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
16658
16657
|
/**
|
|
16659
16658
|
* @param {?} lvlb
|
|
16660
16659
|
* @param {?=} can
|
|
16660
|
+
* @param {?=} b_send_email
|
|
16661
16661
|
* @return {?}
|
|
16662
16662
|
*/
|
|
16663
16663
|
dati_aggiuntivi.prototype.setForceJump = /**
|
|
16664
16664
|
* @param {?} lvlb
|
|
16665
16665
|
* @param {?=} can
|
|
16666
|
+
* @param {?=} b_send_email
|
|
16666
16667
|
* @return {?}
|
|
16667
16668
|
*/
|
|
16668
|
-
function (lvlb, can) {
|
|
16669
|
+
function (lvlb, can, b_send_email) {
|
|
16669
16670
|
var _this = this;
|
|
16670
16671
|
if (can === void 0) { can = ""; }
|
|
16672
|
+
if (b_send_email === void 0) { b_send_email = true; }
|
|
16671
16673
|
/** @type {?} */
|
|
16672
16674
|
var s = "";
|
|
16673
16675
|
/** @type {?} */
|
|
@@ -16731,6 +16733,15 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
16731
16733
|
function (err) {
|
|
16732
16734
|
_this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
|
|
16733
16735
|
}));
|
|
16736
|
+
p = new QParam();
|
|
16737
|
+
p.sql = "exec_app_workflow";
|
|
16738
|
+
p.values = [this.app_info.codice_documento, this.id_documento, '' + this.m_obj.stato, '' + lvlb, this.user_idp];
|
|
16739
|
+
this.m_wkf.doQuery(p).subscribe((/**
|
|
16740
|
+
* @param {?} data
|
|
16741
|
+
* @return {?}
|
|
16742
|
+
*/
|
|
16743
|
+
function (data) {
|
|
16744
|
+
}));
|
|
16734
16745
|
/** @type {?} */
|
|
16735
16746
|
var p = new QParam();
|
|
16736
16747
|
p.sql = "UPDATE_WKF_DOCUMENTOV3_NS";
|
|
@@ -16757,7 +16768,11 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
16757
16768
|
function (err) {
|
|
16758
16769
|
_this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
|
|
16759
16770
|
}));
|
|
16760
|
-
|
|
16771
|
+
if (b_send_email) {
|
|
16772
|
+
this.sendEMail_ex(this.user_idp, s, this.app_info.descrizione_breve + ", Ti è stato assegnato il documento numero: " + this.m_obj.codice + " " + this.getTitle(), "<br>Attività:" + this.getLvlDescri(String(this.m_liv), this.m_statox) + "<br>" + this.m_statox + "<br>" + this.getDescri(), this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit", this.m_obj.codice, this.nota, true, "");
|
|
16773
|
+
}
|
|
16774
|
+
else
|
|
16775
|
+
this.goto_edit_doc();
|
|
16761
16776
|
return "OK";
|
|
16762
16777
|
};
|
|
16763
16778
|
/**
|