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

chitanda 发布系统代码

上级 752f3075
...@@ -19,6 +19,7 @@ import view_form from '@widgets/account/edit-account-info-form/edit-account-info ...@@ -19,6 +19,7 @@ import view_form from '@widgets/account/edit-account-info-form/edit-account-info
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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' ...@@ -19,6 +19,7 @@ import view_form from '@widgets/account/edit-address-form/edit-address-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/account/edit-introduction-form/edit-introduction
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/account/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_treeexpbar from '@widgets/account/gradationtreeexpbar-treeexpbar/gra
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/account/info-all-form/info-all-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/account/info-major-contact-form/info-major-conta
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/account/infotabexppanel-tabexppanel/infot
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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' ...@@ -19,6 +19,7 @@ import view_grid from '@widgets/account/inner-pickip-grid/inner-pickip-grid.vue'
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/account/inner-pickup-viewpickupviewpa
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/account/pickup-viewpickupviewpanel-pi
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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' ...@@ -19,6 +19,7 @@ import view_form from '@widgets/account/quick-create-form/quick-create-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/account/summary-dashboard/summary-dashboard
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/activity-pointer/default-searchform/defaul
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/activity-pointer/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/activity-pointer/default-searchform/defaul
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -17,6 +17,7 @@ import { ActivityPointerRedirectViewBase } from './activity-pointer-redirect-vie
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/appointment/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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. ...@@ -19,6 +19,7 @@ import view_form from '@widgets/appointment/quick-create-form/quick-create-form.
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_grid from '@widgets/contact/by-account-grid/by-account-grid.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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' ...@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/address-edit-form/address-edit-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/book-edit-form/book-edit-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/market-edit-form/market-edit-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/person-edit-form/person-edit-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/abstract-info-form/abstract-info-form.vu
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/contact/infotabexppanel-tabexppanel/infot
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/contact/pickup-viewpickupviewpanel-pi
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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' ...@@ -19,6 +19,7 @@ import view_form from '@widgets/contact/quick-create-form/quick-create-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/contact/con-abs-dashboard/con-abs-dashboard
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/email/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/fax/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/letter/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/metric/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/metric/default-searchform/default-searchfo
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/metric/default-searchform/default-searchfo
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/metric/pickup-viewpickupviewpanel-pic
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/phone-call/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/subject/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/subject/pickup-viewpickupviewpanel-pi
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/task/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/task/quick-create-form/quick-create-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/transaction-currency/default-searchform/de
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/transaction-currency/pickup-viewpicku
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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. ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/uom/default-searchform/default-searchform.
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/uom/pickup-viewpickupviewpanel-pickup
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/invoice-detail/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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- ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/invoice-detail/default-searchform/default-
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/invoice/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/invoice/info-form/info-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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/ ...@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/invoice/info-viewtabexppanel-tabexppanel/
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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' ...@@ -19,6 +19,7 @@ import view_form from '@widgets/invoice/quick-create-form/quick-create-form.vue'
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/invoice/board-dashboard/board-dashboard.vue
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/campaign-activity/default-searchform/defau
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-activity/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-activity/quick-create-form/quick-create
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/edit-head-form/edit-head-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/campaign/default-searchform/default-search
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/info-campagin-form/info-campagin-form.v
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/info-head-form/info-head-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/info-manager-form/info-manager-form.vue
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/info-schedule-form/info-schedule-form.v
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/campaign/infotabexppanel-tabexppanel/info
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-list/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/campaign-list/default-searchform/default-s
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign/quick-create-form/quick-create-form.vue
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/campaign-response/default-searchform/defau
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-response/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_form from '@widgets/campaign-response/quick-create-form/quick-create
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/campaign/head-summary-dashboard/head-summar
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/campaign/summary-dashboard/summary-dashboar
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/ibiz-list/default-searchform/default-searc
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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. ...@@ -19,6 +19,7 @@ import view_form from '@widgets/ibiz-list/abstract-info-form/abstract-info-form.
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/ibiz-list/infotabexppanel-tabexppanel/inf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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. ...@@ -19,6 +19,7 @@ import view_form from '@widgets/ibiz-list/abstract-edit-form/abstract-edit-form.
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -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) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_dashboard from '@widgets/ibiz-list/summary-dashboard/summary-dashboa
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/list-account/default-searchform/default-se
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/list-account/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_grid from '@widgets/list-account/main-grid/main-grid.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -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) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/list-contact/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/list-contact/default-searchform/default-se
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_grid from '@widgets/list-contact/inner-grid/inner-grid.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_grid from '@widgets/list-lead/main-grid/main-grid.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -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) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/price-level/default-searchform/default-sea
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/price-level/pickup-viewpickupviewpane
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/product-association/main-form/main-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product-association/default-searchform/def
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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'; ...@@ -19,6 +19,7 @@ import view_form from '@widgets/product/pro-info-form/pro-info-form.vue';
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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/ ...@@ -19,6 +19,7 @@ import view_tabexppanel from '@widgets/product/info-viewtabexppanel-tabexppanel/
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product/default-searchform/default-searchf
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -19,6 +19,7 @@ import view_pickupviewpanel from '@widgets/product/pickup-viewpickupviewpanel-pi
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -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) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); 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 ...@@ -21,6 +21,7 @@ import view_searchform from '@widgets/product-price-level/default-searchform/def
beforeRouteEnter: (to: any, from: any, next: any) => { beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => { next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to); vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
}); });
} }
}) })
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册