fix modal

This commit is contained in:
=
2020-09-28 15:05:11 +02:00
parent 958b97814a
commit 93e48d5fd8
2 changed files with 13 additions and 11 deletions
@@ -43,17 +43,17 @@ export default class Setup extends Vue {
showModalStep(step: number): Promise<number> {
switch (step) {
case 0: return ModalHelper.ShowModalAsync(ShowFormatoInfo);
case 1: return ModalHelper.ShowModalAsync(ShowQuoteVelocitaInfo);
case 2: return ModalHelper.ShowModalAsync(ShowCicloInfo);
case 3: return ModalHelper.ShowModalAsync(ShowRiscaldamentoInfo);
case 4: return ModalHelper.ShowModalAsync(ShowPirometroInfo);
case 5: return ModalHelper.ShowModalAsync(ShowImbutituraInfo);
case 6: return ModalHelper.ShowModalAsync(ShowControstampoInfo);
case 7: return ModalHelper.ShowModalAsync(ShowRaffreddamentoInfo);
case 8: return ModalHelper.ShowModalAsync(ShowVuotoInfo);
case 9: return ModalHelper.ShowModalAsync(ShowEstrazioneInfo);
case 10: return ModalHelper.ShowModalAsync(ShowOpzioniInfo);
case 0: return ModalHelper.ShowModalAsync(ShowFormatoInfo, null);
case 1: return ModalHelper.ShowModalAsync(ShowQuoteVelocitaInfo, null);
case 2: return ModalHelper.ShowModalAsync(ShowCicloInfo, null);
case 3: return ModalHelper.ShowModalAsync(ShowRiscaldamentoInfo, null);
case 4: return ModalHelper.ShowModalAsync(ShowPirometroInfo, null);
case 5: return ModalHelper.ShowModalAsync(ShowImbutituraInfo, null);
case 6: return ModalHelper.ShowModalAsync(ShowControstampoInfo, null);
case 7: return ModalHelper.ShowModalAsync(ShowRaffreddamentoInfo, null);
case 8: return ModalHelper.ShowModalAsync(ShowVuotoInfo, null);
case 9: return ModalHelper.ShowModalAsync(ShowEstrazioneInfo, null);
case 10: return ModalHelper.ShowModalAsync(ShowOpzioniInfo, null);
// case 11: return ModalHelper.ShowModalAsync(AvvioProduzione);
}
@@ -26,6 +26,8 @@ export default {
this.deferred = args[1];
if (args[2])
this.model = args[2];
else
this.model = null;
});
messageService.subscribeToChannel("hide-" + this.containerName, args => {