@fluxhub/fluxhub-lib 10.0.339 → 10.0.341
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 +40 -6
- 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/fhuploadpanel.js +2 -1
- package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +15 -1
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +31 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +45 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/wkf_header_bar.d.ts +2 -0
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4851,6 +4851,7 @@ class FHUploadPanelComponent {
|
|
|
4851
4851
|
tipo: this.m_p_tipo,
|
|
4852
4852
|
local_path: this._appservice.LOCAL_PATH,
|
|
4853
4853
|
p1: this.m_programma_da_eseguire,
|
|
4854
|
+
ver: this.current_v
|
|
4854
4855
|
});
|
|
4855
4856
|
}
|
|
4856
4857
|
preview_email(ax) {
|
|
@@ -24245,17 +24246,42 @@ class dati_aggiuntivi_v2 {
|
|
|
24245
24246
|
break;
|
|
24246
24247
|
}
|
|
24247
24248
|
this.app_s.getState().wkf_doc_info.in_carico_a = this.s_uto;
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24249
|
+
if (this.m_obj.v == null)
|
|
24250
|
+
this.uti_s.set_home_title(this.app_info.descrizione_breve +
|
|
24251
|
+
" " +
|
|
24252
|
+
this.m_obj.codice +
|
|
24253
|
+
" - " +
|
|
24254
|
+
this.m_obj.stat_stato);
|
|
24255
|
+
else
|
|
24256
|
+
this.uti_s.set_home_title(this.app_info.descrizione_breve +
|
|
24257
|
+
" " +
|
|
24258
|
+
this.m_obj.codice + "/" + this.m_obj.v +
|
|
24259
|
+
" - " +
|
|
24260
|
+
this.m_obj.stat_stato);
|
|
24253
24261
|
this.reset_form(this.app_info.descrizione_breve +
|
|
24254
24262
|
" " +
|
|
24255
24263
|
this.m_obj.codice +
|
|
24256
24264
|
" - " +
|
|
24257
24265
|
this.m_obj.stat_stato); //+' ('+s_uto+')');
|
|
24258
24266
|
}
|
|
24267
|
+
revisione() {
|
|
24268
|
+
let p = new QParam();
|
|
24269
|
+
p.sql = "UPDATE_DOCUMENTO_REV";
|
|
24270
|
+
p.values = [this.id_applicativo, this.id_documento];
|
|
24271
|
+
p.types = ['string', 'string'];
|
|
24272
|
+
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
24273
|
+
if (data != null)
|
|
24274
|
+
if (data.result_msg == "OK") {
|
|
24275
|
+
this.alert('Revisione generata', 0);
|
|
24276
|
+
this.m_router.navigate([
|
|
24277
|
+
this.app_info.modulo_swf,
|
|
24278
|
+
this.id_applicativo,
|
|
24279
|
+
this.id_documento,
|
|
24280
|
+
"edit",
|
|
24281
|
+
]);
|
|
24282
|
+
}
|
|
24283
|
+
});
|
|
24284
|
+
}
|
|
24259
24285
|
onResize(event) { }
|
|
24260
24286
|
init_engine() {
|
|
24261
24287
|
if (this.user_idp == null || this.m_route.params == null) {
|
|
@@ -24396,10 +24422,13 @@ class wkf_header_bar_v2 {
|
|
|
24396
24422
|
this.utility_button = true;
|
|
24397
24423
|
this.force_save = false;
|
|
24398
24424
|
this.check_on_save = false;
|
|
24425
|
+
this.b_revisione = false;
|
|
24399
24426
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
24400
24427
|
this.sovra_path = '';
|
|
24401
24428
|
this.button_clicked = new EventEmitter();
|
|
24402
24429
|
}
|
|
24430
|
+
revisione() { this.button_clicked.emit('revisione'); if (this.dt_agg != null)
|
|
24431
|
+
this.dt_agg.revisione(); }
|
|
24403
24432
|
back() { this.button_clicked.emit('back'); if (this.dt_agg != null)
|
|
24404
24433
|
this.dt_agg.back(this.edit_button); }
|
|
24405
24434
|
evt_salv() { this.button_clicked.emit('evt_salv'); if (this.dt_agg != null)
|
|
@@ -24466,6 +24495,16 @@ wkf_header_bar_v2.decorators = [
|
|
|
24466
24495
|
Respingi
|
|
24467
24496
|
</button>
|
|
24468
24497
|
</div>
|
|
24498
|
+
<div>
|
|
24499
|
+
<button
|
|
24500
|
+
mat-flat-button
|
|
24501
|
+
(click)="revisione()"
|
|
24502
|
+
*ngIf="b_revisione"
|
|
24503
|
+
color="accent"
|
|
24504
|
+
>
|
|
24505
|
+
Revisione
|
|
24506
|
+
</button>
|
|
24507
|
+
</div>
|
|
24469
24508
|
<!-- <button mat-flat-button (click)="doEnd(900)" color="warn" >test</button>
|
|
24470
24509
|
-->
|
|
24471
24510
|
</div>
|
|
@@ -24540,6 +24579,7 @@ wkf_header_bar_v2.propDecorators = {
|
|
|
24540
24579
|
utility_button: [{ type: Input }],
|
|
24541
24580
|
force_save: [{ type: Input }],
|
|
24542
24581
|
check_on_save: [{ type: Input }],
|
|
24582
|
+
b_revisione: [{ type: Input }],
|
|
24543
24583
|
admin_role: [{ type: Input }],
|
|
24544
24584
|
sovra_path: [{ type: Input }],
|
|
24545
24585
|
button_clicked: [{ type: Output }]
|