tooling
This commit is contained in:
@@ -7,7 +7,8 @@ import { AppModel, store } from "../store";
|
||||
|
||||
export default class Tooling extends Vue{
|
||||
|
||||
public test: Array<Object> = (store.state as AppModel).tooling.magazines;
|
||||
$store: any;
|
||||
public test: Array<Object> = (this.$store.state as AppModel).tooling.magazines;
|
||||
|
||||
public archiveClick = function(){
|
||||
console.log(this.test);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<div class="tooling-boxbody">
|
||||
<div class="list-top scrollable">
|
||||
<card v-for="t in test" :key="t.id" title="tooling" img-source="../assets/images/image_tooling.PNG" @click="archiveClick()"></card>
|
||||
<card v-for="t in test" :key="t.id" :title="t.type == 0 ? 'Magazzino ' + t.id: 'Mandrino ' + t.id" img-source="../assets/images/image_tooling.PNG" @click="archiveClick()"></card>
|
||||
<!-- <card title="magazzino 1" img-source="../assets/images/image_tooling.PNG" @click="archiveClick()"></card>
|
||||
<card title="magazzino 1" @click="archiveClick()"></card>
|
||||
<card title="magazzino 1" @click="archiveClick()"></card>
|
||||
|
||||
@@ -20,7 +20,7 @@ let router = new VueRouter({ linkActiveClass: "inpath", linkExactActiveClass: "a
|
||||
router.addRoutes(routes);
|
||||
|
||||
// ATTENZIONE : mettere a true durante lo sviluppo e riportare a false per la pubblicazione
|
||||
let developerMode = false;
|
||||
let developerMode = true;
|
||||
|
||||
// manipulate the title page
|
||||
router.beforeEach((to, from, next) => {
|
||||
|
||||
Reference in New Issue
Block a user