fix opening dashboard
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
width: 100%;
|
||||
background-image: url("../../assets/icons/png/bg.png");
|
||||
position: fixed;
|
||||
z-index: 1001;
|
||||
z-index: 1002;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
|
||||
@@ -4042,7 +4042,7 @@
|
||||
width: 100%;
|
||||
background-image: url("../../assets/icons/png/bg.png");
|
||||
position: fixed;
|
||||
z-index: 1001;
|
||||
z-index: 1002;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
|
||||
+9
-4
@@ -4,7 +4,8 @@ import { Factory, messageService, awaiter } from "@/_base";
|
||||
import Component from "vue-class-component";
|
||||
import { Prop } from 'vue-property-decorator';
|
||||
import ToggleButton from "@/components/toggleButton.vue";
|
||||
import Tastierino from "@/app_modules_thermo/setup/formato/components/tastierino.vue"
|
||||
import Tastierino from "@/app_modules_thermo/setup/formato/components/tastierino.vue";
|
||||
import {appModelActions} from "@/store/app.store";
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
@@ -25,9 +26,13 @@ export default class AvvioProduzione extends Vue {
|
||||
ModalHelper.HideModal();
|
||||
};
|
||||
|
||||
conferma(){
|
||||
ModalHelper.HideModal();
|
||||
};
|
||||
// conferma(){
|
||||
// ModalHelper.HideModal();
|
||||
// };
|
||||
|
||||
showDashboard() {
|
||||
appModelActions.ShowDashboard(this.$store);
|
||||
}
|
||||
|
||||
async beforeMount() {
|
||||
// this.contactInfo = await awaiter(new machineService().getContactConfiguration());
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
</section>
|
||||
<footer>
|
||||
<button class="btn" @click="annulla()">Annulla</button>
|
||||
<button class="btn btn-success" @click="conferma()">Avvio</button>
|
||||
<button class="btn btn-success" @click="showDashboard()">Avvio</button>
|
||||
</footer>
|
||||
</modal>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,6 @@ import { Modal, ModalHelper } from "@/components/modals"
|
||||
import Component from 'vue-class-component';
|
||||
import { messageService } from "@/_base/messageService";
|
||||
import setupButton from "./setupButton.vue";
|
||||
import {appModelActions} from "@/store/app.store";
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
@@ -16,7 +15,5 @@ export default class Setup extends Vue {
|
||||
messageService.publishToChannel(name);
|
||||
}
|
||||
|
||||
showDashboard() {
|
||||
appModelActions.ShowDashboard(this.$store);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -80,7 +80,7 @@
|
||||
></setup-button>
|
||||
|
||||
<div class="setup-play">
|
||||
<img class="dim" src="assets/icons/svg/setup-play.svg" @click="showDashboard()"/>
|
||||
<img class="dim" src="assets/icons/svg/setup-play.svg" @click="sendMessage('show-avvio-produzione-info')"/>
|
||||
</div>
|
||||
</div>
|
||||
</modal>
|
||||
|
||||
Reference in New Issue
Block a user