@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
|
@@ -17420,7 +17420,6 @@
|
|
|
17420
17420
|
if (this.nlevel != null)
|
|
17421
17421
|
if (this.nlevel.descri_livello != null)
|
|
17422
17422
|
this.m_oper = this.m_oper + " -> " + this.nlevel.descri_livello;
|
|
17423
|
-
console.log('ccan ', ccan);
|
|
17424
17423
|
/** @type {?} */
|
|
17425
17424
|
var p = new QParam();
|
|
17426
17425
|
p.sql = "doWKF";
|
|
@@ -18267,18 +18266,23 @@
|
|
|
18267
18266
|
/**
|
|
18268
18267
|
* @param {?} lvlb
|
|
18269
18268
|
* @param {?=} can
|
|
18269
|
+
* @param {?=} b_send_email
|
|
18270
18270
|
* @return {?}
|
|
18271
18271
|
*/
|
|
18272
18272
|
dati_aggiuntivi.prototype.setForceJump = /**
|
|
18273
18273
|
* @param {?} lvlb
|
|
18274
18274
|
* @param {?=} can
|
|
18275
|
+
* @param {?=} b_send_email
|
|
18275
18276
|
* @return {?}
|
|
18276
18277
|
*/
|
|
18277
|
-
function (lvlb, can) {
|
|
18278
|
+
function (lvlb, can, b_send_email) {
|
|
18278
18279
|
var _this = this;
|
|
18279
18280
|
if (can === void 0) {
|
|
18280
18281
|
can = "";
|
|
18281
18282
|
}
|
|
18283
|
+
if (b_send_email === void 0) {
|
|
18284
|
+
b_send_email = true;
|
|
18285
|
+
}
|
|
18282
18286
|
/** @type {?} */
|
|
18283
18287
|
var s = "";
|
|
18284
18288
|
/** @type {?} */
|
|
@@ -18340,6 +18344,14 @@
|
|
|
18340
18344
|
*/function (err) {
|
|
18341
18345
|
_this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
|
|
18342
18346
|
}));
|
|
18347
|
+
p = new QParam();
|
|
18348
|
+
p.sql = "exec_app_workflow";
|
|
18349
|
+
p.values = [this.app_info.codice_documento, this.id_documento, '' + this.m_obj.stato, '' + lvlb, this.user_idp];
|
|
18350
|
+
this.m_wkf.doQuery(p).subscribe(( /**
|
|
18351
|
+
* @param {?} data
|
|
18352
|
+
* @return {?}
|
|
18353
|
+
*/function (data) {
|
|
18354
|
+
}));
|
|
18343
18355
|
/** @type {?} */
|
|
18344
18356
|
var p = new QParam();
|
|
18345
18357
|
p.sql = "UPDATE_WKF_DOCUMENTOV3_NS";
|
|
@@ -18364,7 +18376,11 @@
|
|
|
18364
18376
|
*/function (err) {
|
|
18365
18377
|
_this.alert("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI", 1);
|
|
18366
18378
|
}));
|
|
18367
|
-
|
|
18379
|
+
if (b_send_email) {
|
|
18380
|
+
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, "");
|
|
18381
|
+
}
|
|
18382
|
+
else
|
|
18383
|
+
this.goto_edit_doc();
|
|
18368
18384
|
return "OK";
|
|
18369
18385
|
};
|
|
18370
18386
|
/**
|