This commit is contained in:
2019-02-20 21:28:57 +00:00
parent ff305a9b98
commit 2220f4ceb3
4 changed files with 99 additions and 20 deletions

View File

@@ -79,11 +79,11 @@ export default {
addNavItem(lt.get("Operations"), "cogs", "ops");
}
*/
console.log("MOUNTED");
//console.log("MOUNTED");
},
data: () => ({}),
beforeRouteEnter(to, from, next) {
console.log("BEFOREROUTENTER");
//console.log("BEFOREROUTENTER");
debugger;
if (
false

View File

@@ -166,8 +166,13 @@ export default {
});
},
editItem(item) {
this.dialogdata.recordId = item.id;
this.dialogdata.showeditdialog = true;
this.$router.push({
name: "inventory-widget-edit",
params: { id: item.id }
});
//router.push({ name: 'user', params: { userId: '123' } })
// this.dialogdata.recordId = item.id;
// this.dialogdata.showeditdialog = true;
}
}
};