This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
ref="extensions"
|
||||
>
|
||||
</gz-extensions>
|
||||
|
||||
{{ customername }}
|
||||
|
||||
<gz-data-table
|
||||
ref="gzdatatable"
|
||||
formKey="customer-note-list"
|
||||
@@ -31,7 +34,7 @@ const FORM_KEY = "cust-customer-notes";
|
||||
|
||||
export default {
|
||||
created() {
|
||||
//this.dataListKey = this.$route.params.dataListKey;
|
||||
this.customername = this.$route.params.customername;
|
||||
this.customerId = this.$route.params.customerid;
|
||||
this.rights = window.$gz.role.getRights(window.$gz.type.Customer);
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
@@ -43,6 +46,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
customerId: undefined,
|
||||
customername: undefined,
|
||||
currentListViewId: 1,
|
||||
dataListKey: "CustomerNoteDataList",
|
||||
dataListFilter: "",
|
||||
@@ -72,7 +76,11 @@ async function clickHandler(menuItem) {
|
||||
case "new":
|
||||
m.vm.$router.push({
|
||||
name: "customer-note-edit",
|
||||
params: { recordid: 0, customerid: m.vm.customerId }
|
||||
params: {
|
||||
recordid: 0,
|
||||
customerid: m.vm.customerId,
|
||||
customername: m.vm.customername
|
||||
}
|
||||
});
|
||||
break;
|
||||
case "extensions":
|
||||
|
||||
Reference in New Issue
Block a user