This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user