提交 d048dc0d 编写于 作者: ibizdev's avatar ibizdev

chitanda 发布系统代码

上级 752f3075
......@@ -19,6 +19,7 @@ import view_form from '@widgets/account/edit-account-info-form/edit-account-info
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/account/edit-address-form/edit-address-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/account/edit-introduction-form/edit-introduction
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/account/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_treeexpbar from '@widgets/account/gradationtreeexpbar-treeexpbar/gra
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/account/info-all-form/info-all-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/account/info-major-contact-form/info-major-conta
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/account/infotabexppanel-tabexppanel/infot
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_grid from '@widgets/account/inner-pickip-grid/inner-pickip-grid.vue'
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/account/inner-pickup-viewpickupviewpa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/account/pickup-viewpickupviewpanel-pi
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/account/quick-create-form/quick-create-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/account/summary-dashboard/summary-dashboard
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/activity-pointer/default-searchform/defaul
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/activity-pointer/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/activity-pointer/default-searchform/defaul
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -17,6 +17,7 @@ import { ActivityPointerRedirectViewBase } from './activity-pointer-redirect-vie
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/appointment/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/appointment/quick-create-form/quick-create-form.
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_grid from '@widgets/contact/by-account-grid/by-account-grid.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/address-edit-form/address-edit-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/book-edit-form/book-edit-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/market-edit-form/market-edit-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/person-edit-form/person-edit-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/abstract-info-form/abstract-info-form.vu
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/contact/infotabexppanel-tabexppanel/infot
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/contact/pickup-viewpickupviewpanel-pi
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/quick-create-form/quick-create-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/contact/con-abs-dashboard/con-abs-dashboard
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/email/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/fax/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/letter/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/metric/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/metric/default-searchform/default-searchfo
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/metric/default-searchform/default-searchfo
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/metric/pickup-viewpickupviewpanel-pic
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/phone-call/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/subject/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/subject/pickup-viewpickupviewpanel-pi
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/task/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/task/quick-create-form/quick-create-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/transaction-currency/default-searchform/de
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/transaction-currency/pickup-viewpicku
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/uom/default-searchform/default-searchform.
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/uom/pickup-viewpickupviewpanel-pickup
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/invoice-detail/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/invoice-detail/default-searchform/default-
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/invoice/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/invoice/info-form/info-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/invoice/info-viewtabexppanel-tabexppanel/
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/invoice/quick-create-form/quick-create-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/invoice/board-dashboard/board-dashboard.vue
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/campaign-activity/default-searchform/defau
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-activity/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-activity/quick-create-form/quick-create
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/edit-head-form/edit-head-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/campaign/default-searchform/default-search
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/info-campagin-form/info-campagin-form.v
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/info-head-form/info-head-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/info-manager-form/info-manager-form.vue
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/info-schedule-form/info-schedule-form.v
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/campaign/infotabexppanel-tabexppanel/info
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-list/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/campaign-list/default-searchform/default-s
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/quick-create-form/quick-create-form.vue
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/campaign-response/default-searchform/defau
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-response/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-response/quick-create-form/quick-create
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/campaign/head-summary-dashboard/head-summar
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/campaign/summary-dashboard/summary-dashboar
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/ibiz-list/default-searchform/default-searc
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/ibiz-list/abstract-info-form/abstract-info-form.
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/ibiz-list/infotabexppanel-tabexppanel/inf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/ibiz-list/abstract-edit-form/abstract-edit-form.
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/ibiz-list/quick-create-form/quick-create-form.vu
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/ibiz-list/summary-dashboard/summary-dashboa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/list-account/default-searchform/default-se
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/list-account/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_grid from '@widgets/list-account/main-grid/main-grid.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/list-account/quick-create-by-list-form/quick-cre
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/list-contact/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/list-contact/default-searchform/default-se
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_grid from '@widgets/list-contact/inner-grid/inner-grid.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_grid from '@widgets/list-lead/main-grid/main-grid.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/list-lead/quick-create-by-list-form/quick-create
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/price-level/default-searchform/default-sea
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/price-level/pickup-viewpickupviewpane
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/product-association/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product-association/default-searchform/def
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/product/pro-info-form/pro-info-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/product/info-viewtabexppanel-tabexppanel/
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/product/pickup-viewpickupviewpanel-pi
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/product-price-level/pro-prilv-form/pro-prilv-for
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product-price-level/default-searchform/def
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/product/quick-create-form/quick-create-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/product-substitute/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product-substitute/default-searchform/defa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/product/pro-info-dashboard/pro-info-dashboa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/competitor/default-searchform/default-sear
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/competitor/abstract-info-form/abstract-info-form
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/competitor/infotabexppanel-tabexppanel/in
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/competitor/quick-create-form/quick-create-form.v
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/competitor/default-searchform/default-sear
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/competitor/pickup-viewpickupviewpanel
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/competitor-sales-literature/sal-lit-comp-form/sa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/competitor-sales-literature/default-search
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/competitor/abstract-info-dashboard/abstract
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/discount-type/default-searchform/default-s
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/discount-type/pickup-viewpickupviewpa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/goal/default-searchform/default-searchform
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/goal/edit-child-goal-form/edit-child-goal-form.v
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/goal/default-searchform/default-searchform
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/goal/info-goal-form/info-goal-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/goal/info-viewtabexppanel-tabexppanel/inf
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/goal/default-searchform/default-searchform
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/goal/pickup-viewpickupviewpanel-picku
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/goal/quick-create-form/quick-create-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/goal/goal-info-dashboard/goal-info-dashboar
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/lead/default-searchform/default-searchform
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/lead/lead-info-dashboard/lead-info-dashboar
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/lead/default-searchform/default-searchform
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/lead/contact-info-form/contact-info-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/lead/infotabexppanel-tabexppanel/infotabe
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/lead/default-searchform/default-searchform
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/lead/pickup-viewpickupviewpanel-picku
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/lead/quick-create-form/quick-create-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/opportunity-competitor/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/opportunity-competitor/default-searchform/
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/opportunity/default-searchform/default-sea
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/opportunity/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/opportunity/default-searchform/default-sea
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/opportunity/abstract-info-form/abstract-info-for
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/opportunity/infotabexppanel-tabexppanel/i
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/opportunity/default-searchform/default-sea
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/opportunity/pickup-viewpickupviewpane
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/opportunity-product/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/opportunity-product/default-searchform/def
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/opportunity/quick-create-form/quick-create-form.
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/opportunity/abstract-info-dashboard/abstrac
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/product-sales-literature/sal-lit-pro-form/sal-li
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product-sales-literature/default-searchfor
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/quote-detail/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/quote-detail/default-searchform/default-se
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/quote/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/quote/default-searchform/default-searchfor
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/quote/abstract-info-form/abstract-info-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/quote/infotabexppanel-tabexppanel/infotab
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/quote/default-searchform/default-searchfor
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/quote/quick-create-form/quick-create-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/quote/abstract-info-dashboard/abstract-info
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/sales-literature/default-searchform/defaul
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/sales-literature/info-form/info-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/sales-literature/info-viewtabexppanel-tab
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/sales-literature-item/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/sales-literature-item/default-searchform/d
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/sales-literature/quick-create-form/quick-create-
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/sales-literature/sal-lit-info-dashboard/sal
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/sales-order-detail/soproduct-edit-form/soproduct
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/sales-order-detail/default-searchform/defa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/sales-order/default-searchform/default-sea
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/sales-order/info-form/info-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/sales-order/info-viewtabexppanel-tabexppa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/sales-order/quick-create-form/quick-create-form.
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/sales-order/soinfo-dashboard/soinfo-dashboa
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/entitlement/default-searchform/default-sea
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/entitlement/pickup-viewpickupviewpane
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/incident/default-searchform/default-search
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/incident/edit-child-incident-form/edit-child-inc
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -21,6 +21,7 @@ import view_searchform from '@widgets/incident/default-searchform/default-search
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/incident/info-incident-form/info-incident-form.v
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/incident/info-viewtabexppanel-tabexppanel
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/incident/quick-create-form/quick-create-form.vue
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/incident/incident-info-dashboard/incident-i
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_form from '@widgets/service-appointment/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/app/centeral-portal-db-dashboard/centeral-p
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
}
})
......
......@@ -14,6 +14,7 @@ import view_appmenu from '@widgets/app/central-appmenu/central-appmenu.vue';
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
},
})
......
......@@ -180,7 +180,7 @@ export class AppNavHistoryBase {
}
/**
* 设置缓存视图标识
* 设置路由视图标识
*
* @param {string} tag
* @param {*} route
......@@ -197,6 +197,24 @@ export class AppNavHistoryBase {
return true;
}
/**
* 设置路由视图上下文
*
* @param {*} context
* @param {*} route
* @returns {boolean}
* @memberof AppNavHistoryBase
*/
public setViewContext(context: any, route: any): boolean {
const i = this.findHistoryIndex(route);
if (i === -1) {
return false;
}
const item = this.historyList[i];
item.context = context;
return true;
}
/**
* 删除其他缓存
*
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册