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

chitanda 发布系统代码

上级 17349a60
...@@ -136,7 +136,8 @@ export default class AppFileUpload extends Vue { ...@@ -136,7 +136,8 @@ export default class AppFileUpload extends Vue {
if (this.ignorefieldvaluechange) { if (this.ignorefieldvaluechange) {
return; return;
} }
this.setFiles(newval) this.getParams();
this.setFiles(newval);
this.dataProcess(); this.dataProcess();
} }
...@@ -288,6 +289,7 @@ export default class AppFileUpload extends Vue { ...@@ -288,6 +289,7 @@ export default class AppFileUpload extends Vue {
this.formStateEvent = this.formState.subscribe(($event: any) => { this.formStateEvent = this.formState.subscribe(($event: any) => {
// 表单加载完成 // 表单加载完成
if (Object.is($event.type, 'load')) { if (Object.is($event.type, 'load')) {
this.getParams();
this.setFiles(this.value); this.setFiles(this.value);
this.dataProcess(); this.dataProcess();
} }
...@@ -303,27 +305,36 @@ export default class AppFileUpload extends Vue { ...@@ -303,27 +305,36 @@ export default class AppFileUpload extends Vue {
*/ */
public mounted() { public mounted() {
this.appData = this.$store.getters.getAppData(); this.appData = this.$store.getters.getAppData();
this.getParams();
this.setFiles(this.value);
this.dataProcess();
}
let uploadparams: any = {}; /**
let exportparams: any = {}; *获取上传,导出参数
*
*@memberof AppFileUpload
*/
public getParams(){
let uploadparams: any = JSON.parse(JSON.stringify(this.uploadparams));
let exportparams: any = JSON.parse(JSON.stringify(this.exportparams));
let upload_params: Array<string> = []; let upload_params: Array<string> = [];
let export_params: Array<string> = []; let export_params: Array<string> = [];
let custom_arr: Array<string> = [];
let param:any = this.viewparams; let param:any = this.viewparams;
let context:any = this.context; let context:any = this.context;
let _data:any = JSON.parse(this.data); let _data:any = JSON.parse(this.data);
if (this.uploadparams && !Object.is(this.uploadparams, '')) { if (this.uploadparams && !Object.is(this.uploadparams, '')) {
uploadparams = this.uploadparams;
upload_params = this.$util.computedNavData(_data,param,context,uploadparams); upload_params = this.$util.computedNavData(_data,param,context,uploadparams);
} }
if (this.exportparams && !Object.is(this.exportparams, '')) { if (this.exportparams && !Object.is(this.exportparams, '')) {
exportparams = this.exportparams;
export_params = this.$util.computedNavData(_data,param,context,exportparams); export_params = this.$util.computedNavData(_data,param,context,exportparams);
} }
this.upload_params = [];
this.export_params = [];
for (const item in upload_params) { for (const item in upload_params) {
this.upload_params.push({ this.upload_params.push({
...@@ -335,9 +346,6 @@ export default class AppFileUpload extends Vue { ...@@ -335,9 +346,6 @@ export default class AppFileUpload extends Vue {
[item]:export_params[item] [item]:export_params[item]
}) })
} }
this.setFiles(this.value);
this.dataProcess();
} }
/** /**
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
:filterable="filterable === true ? true : false" :filterable="filterable === true ? true : false"
@on-open-change="onClick" @on-open-change="onClick"
:placeholder="$t('components.dropDownListMpicker.placeholder')"> :placeholder="$t('components.dropDownListMpicker.placeholder')">
<i-option v-for="(item, index) in items" :key="index" :value="item.value" :label="item.text"> <i-option v-for="(item, index) in items" :key="index" :value="item.value.toString()" :label="item.text">
<Checkbox :value = "(currentVal.indexOf(item.value))==-1?false:true"> <Checkbox :value = "(currentVal.indexOf(item.value))==-1?false:true">
{{Object.is(codelistType,'STATIC') ? $t('codelist.'+tag+'.'+item.value) : item.text}} {{Object.is(codelistType,'STATIC') ? $t('codelist.'+tag+'.'+item.value) : item.text}}
</Checkbox> </Checkbox>
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
<div ref="scrollChild" class="tags-container" :style="{left: styleLeft + 'px'}"> <div ref="scrollChild" class="tags-container" :style="{left: styleLeft + 'px'}">
<transition-group name="tags-transition"> <transition-group name="tags-transition">
<template v-for="(item, index) of appService.navHistory.historyList"> <template v-for="(item, index) of appService.navHistory.historyList">
<Tag ref="tagElement" :key="index" :class="isActive(item) ? 'tag-is-active' : ''" :name="index" closable @click.native="changePage(item)" @on-close="onClose(item)"> <Tag ref="tagElement" :key="item.tag + index" :class="isActive(item) ? 'tag-is-active' : ''" :name="index" closable @click.native="changePage(item)" @on-close="onClose(item)">
<div class="tag-text"> <div class="tag-text">
<div :title="getCaption(item.meta.caption, item.meta.info)" style="max-width: 300px;"> <div :title="item.title" style="max-width: 300px;">
<i v-if="item.meta.iconCls && !Object.is(item.meta.iconCls, '')" :class="item.meta.iconCls"></i> <i v-if="item.meta.iconCls && !Object.is(item.meta.iconCls, '')" :class="item.meta.iconCls"></i>
<img v-else :src="item.meta.imgPath" class="text-icon" /> <img v-else :src="item.meta.imgPath" class="text-icon" />
&nbsp;{{getCaption(item.meta.caption, item.meta.info)}} &nbsp;{{item.title}}
</div> </div>
</div> </div>
</Tag> </Tag>
...@@ -63,10 +63,6 @@ export default class TabPageExp extends Vue { ...@@ -63,10 +63,6 @@ export default class TabPageExp extends Vue {
Vue.prototype.$tabPageExp = this; Vue.prototype.$tabPageExp = this;
} }
public getCaption(caption: any, info: any):any {
return info && !Object.is(info, '') ? `${this.$t(caption)} - ${info}` : this.$t(caption);
}
/** /**
* 向左移动 * 向左移动
* *
...@@ -107,10 +103,7 @@ export default class TabPageExp extends Vue { ...@@ -107,10 +103,7 @@ export default class TabPageExp extends Vue {
* @memberof TabPageExp * @memberof TabPageExp
*/ */
public isActive(item: HistoryItem): boolean { public isActive(item: HistoryItem): boolean {
if (Object.is(item.to.fullPath, this.$route.fullPath)) { return this.appService.navHistory.isRouteSame(item.to, this.$route);
return true;
}
return false;
} }
/** /**
...@@ -129,14 +122,24 @@ export default class TabPageExp extends Vue { ...@@ -129,14 +122,24 @@ export default class TabPageExp extends Vue {
content: content, content: content,
onOk: () => { onOk: () => {
this.appService.navHistory.remove(item); this.appService.navHistory.remove(item);
this.gotoPage(item.to); if (this.appService.navHistory.historyList.length > 0) {
}, if (this.appService.navHistory.isRouteSame(item.to, this.$route)) {
onCancel: () => { this.$router.back();
}
} else {
this.$router.push('/');
}
} }
}); });
} else { } else {
this.appService.navHistory.remove(item); this.appService.navHistory.remove(item);
this.gotoPage(item.to); if (this.appService.navHistory.historyList.length > 0) {
if (this.appService.navHistory.isRouteSame(item.to, this.$route)) {
this.$router.back();
}
} else {
this.$router.push('/');
}
} }
} }
...@@ -170,7 +173,7 @@ export default class TabPageExp extends Vue { ...@@ -170,7 +173,7 @@ export default class TabPageExp extends Vue {
* @memberof TabPageExp * @memberof TabPageExp
*/ */
public gotoPage(page?: any) { public gotoPage(page?: any) {
if (page) { if (page && this.appService.navHistory.historyList.length > 0) {
if (Object.is(page.fullPath, this.$route.fullPath)) { if (Object.is(page.fullPath, this.$route.fullPath)) {
return; return;
} }
...@@ -178,29 +181,13 @@ export default class TabPageExp extends Vue { ...@@ -178,29 +181,13 @@ export default class TabPageExp extends Vue {
} else { } else {
const path: string | null = window.sessionStorage.getItem(Environment.AppName); const path: string | null = window.sessionStorage.getItem(Environment.AppName);
if(path) { if(path) {
this.$router.push({path: path}); this.$router.push({ path: path });
} else { } else {
this.$router.push('/'); this.$router.push('/');
} }
} }
} }
/**
* 设置当前页标题
*
* @param {*} caption
* @memberof TabPageExp
*/
public setCurPageCaption(caption: string, title: any, info: string) {
if(this.$route.meta && (!Object.is(this.$route.meta.caption, caption))) {
return;
}
this.appService.navHistory.setCaption({ route: this.$route, caption: title, info: info });
setTimeout(() => {
this.moveToView(this.$route);
}, 1);
}
/** /**
* 移动至指定页面标签 * 移动至指定页面标签
* *
...@@ -264,4 +251,4 @@ export default class TabPageExp extends Vue { ...@@ -264,4 +251,4 @@ export default class TabPageExp extends Vue {
<style lang="less"> <style lang="less">
@import './tab-page-exp.less'; @import './tab-page-exp.less';
</style> </style>
\ No newline at end of file
...@@ -248,13 +248,12 @@ export default class EditViewEngine extends ViewEngine { ...@@ -248,13 +248,12 @@ export default class EditViewEngine extends ViewEngine {
public setTabCaption(info: string): void { public setTabCaption(info: string): void {
let viewdata: any = this.view.model; let viewdata: any = this.view.model;
if (viewdata && info && !Object.is(info, '') && this.view.$tabPageExp && (viewdata.srfTitle.indexOf(" - ") === -1)) { if (viewdata && info && !Object.is(info, '') && this.view.$tabPageExp && (viewdata.srfTitle.indexOf(" - ") === -1)) {
this.view.$tabPageExp.setCurPageCaption(viewdata.srfTitle, viewdata.srfTitle, info);
if(this.view.$route){ if(this.view.$route){
this.view.$route.meta.info = info; this.view.$route.meta.info = info;
} }
const title = this.view.model.srfTitle = `${this.view.$t(viewdata.srfTitle)} - ${viewdata.dataInfo}`; const title = this.view.model.srfTitle = `${this.view.$t(viewdata.srfTitle)} - ${viewdata.dataInfo}`;
this.view.$emit('viewModelChange', title); this.view.$emit('viewModelChange', title);
this.view.$appService.navHistory.setCaption({ route: this.view.$route, info: viewdata.dataInfo }); this.view.$appService.navHistory.setCaption({ tag: this.view.viewtag, info: viewdata.dataInfo });
} }
} }
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/edit-account-info-form/edit-account-info ...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/edit-account-info-form/edit-account-info
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/edit-address-form/edit-address-form.vue' ...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/edit-address-form/edit-address-form.vue'
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/edit-introduction-form/edit-introduction ...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/edit-introduction-form/edit-introduction
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/info-all-form/info-all-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/info-all-form/info-all-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/info-major-contact-form/info-major-conta ...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/info-major-contact-form/info-major-conta
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -457,14 +457,11 @@ export class AccountInfoBase extends TabExpViewBase { ...@@ -457,14 +457,11 @@ export class AccountInfoBase extends TabExpViewBase {
const { data: _data } = response; const { data: _data } = response;
if (_data.accountname) { if (_data.accountname) {
Object.assign(this.model, { dataInfo: _data.accountname }); Object.assign(this.model, { dataInfo: _data.accountname });
if (this.$tabPageExp) {
this.$tabPageExp.setCurPageCaption(this.model.srfTitle, this.model.srfTitle, this.model.dataInfo);
}
if(this.$route){ if(this.$route){
this.$route.meta.info = this.model.dataInfo; this.$route.meta.info = this.model.dataInfo;
} }
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` }); Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ route: this.$route, info: this.model.dataInfo }); this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
} }
}) })
} }
......
...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/account/infotabexppanel-tabexppanel/infot ...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/account/infotabexppanel-tabexppanel/infot
@Component({ @Component({
components: { components: {
view_tabexppanel, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_grid from '@widgets/account/inner-pickip-grid/inner-pickip-grid.vue' ...@@ -15,12 +15,6 @@ import view_grid from '@widgets/account/inner-pickip-grid/inner-pickip-grid.vue'
@Component({ @Component({
components: { components: {
view_grid, view_grid,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/account/inner-pickup-viewpickupviewpa ...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/account/inner-pickup-viewpickupviewpa
@Component({ @Component({
components: { components: {
view_pickupviewpanel, view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/account/pickup-viewpickupviewpanel-pi ...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/account/pickup-viewpickupviewpanel-pi
@Component({ @Component({
components: { components: {
view_pickupviewpanel, view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/quick-create-form/quick-create-form.vue' ...@@ -15,12 +15,6 @@ import view_form from '@widgets/account/quick-create-form/quick-create-form.vue'
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -107,14 +107,11 @@ export class AccountStatusTabViewBase extends TabExpViewBase { ...@@ -107,14 +107,11 @@ export class AccountStatusTabViewBase extends TabExpViewBase {
const { data: _data } = response; const { data: _data } = response;
if (_data.accountname) { if (_data.accountname) {
Object.assign(this.model, { dataInfo: _data.accountname }); Object.assign(this.model, { dataInfo: _data.accountname });
if (this.$tabPageExp) {
this.$tabPageExp.setCurPageCaption(this.model.srfTitle, this.model.srfTitle, this.model.dataInfo);
}
if(this.$route){ if(this.$route){
this.$route.meta.info = this.model.dataInfo; this.$route.meta.info = this.model.dataInfo;
} }
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` }); Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ route: this.$route, info: this.model.dataInfo }); this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
} }
}) })
} }
......
...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/account/status-tab-viewtabexppanel-tabexp ...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/account/status-tab-viewtabexppanel-tabexp
@Component({ @Component({
components: { components: {
view_tabexppanel, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/account/summary-dashboard/summary-dashboard ...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/account/summary-dashboard/summary-dashboard
@Component({ @Component({
components: { components: {
view_dashboard, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/account/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/activity-pointer/default-searchform/defaul ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/activity-pointer/default-searchform/defaul
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/activity-pointer/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/activity-pointer/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/activity-pointer/default-searchform/defaul ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/activity-pointer/default-searchform/defaul
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -13,12 +13,6 @@ import { ActivityPointerRedirectViewBase } from './activity-pointer-redirect-vie ...@@ -13,12 +13,6 @@ import { ActivityPointerRedirectViewBase } from './activity-pointer-redirect-vie
*/ */
@Component({ @Component({
components: { components: {
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/appointment/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/appointment/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/appointment/quick-create-form/quick-create-form. ...@@ -15,12 +15,6 @@ import view_form from '@widgets/appointment/quick-create-form/quick-create-form.
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_grid from '@widgets/contact/by-account-grid/by-account-grid.vue'; ...@@ -15,12 +15,6 @@ import view_grid from '@widgets/contact/by-account-grid/by-account-grid.vue';
@Component({ @Component({
components: { components: {
view_grid, view_grid,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/address-edit-form/address-edit-form.vue' ...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/address-edit-form/address-edit-form.vue'
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/book-edit-form/book-edit-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/book-edit-form/book-edit-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/market-edit-form/market-edit-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/market-edit-form/market-edit-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/person-edit-form/person-edit-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/person-edit-form/person-edit-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/abstract-info-form/abstract-info-form.vu ...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/abstract-info-form/abstract-info-form.vu
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -457,14 +457,11 @@ export class ContactInfoBase extends TabExpViewBase { ...@@ -457,14 +457,11 @@ export class ContactInfoBase extends TabExpViewBase {
const { data: _data } = response; const { data: _data } = response;
if (_data.fullname) { if (_data.fullname) {
Object.assign(this.model, { dataInfo: _data.fullname }); Object.assign(this.model, { dataInfo: _data.fullname });
if (this.$tabPageExp) {
this.$tabPageExp.setCurPageCaption(this.model.srfTitle, this.model.srfTitle, this.model.dataInfo);
}
if(this.$route){ if(this.$route){
this.$route.meta.info = this.model.dataInfo; this.$route.meta.info = this.model.dataInfo;
} }
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` }); Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ route: this.$route, info: this.model.dataInfo }); this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
} }
}) })
} }
......
...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/contact/infotabexppanel-tabexppanel/infot ...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/contact/infotabexppanel-tabexppanel/infot
@Component({ @Component({
components: { components: {
view_tabexppanel, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/contact/pickup-viewpickupviewpanel-pi ...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/contact/pickup-viewpickupviewpanel-pi
@Component({ @Component({
components: { components: {
view_pickupviewpanel, view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/quick-create-form/quick-create-form.vue' ...@@ -15,12 +15,6 @@ import view_form from '@widgets/contact/quick-create-form/quick-create-form.vue'
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/contact/con-abs-dashboard/con-abs-dashboard ...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/contact/con-abs-dashboard/con-abs-dashboard
@Component({ @Component({
components: { components: {
view_dashboard, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -107,14 +107,11 @@ export class ContactTabExpViewBase extends TabExpViewBase { ...@@ -107,14 +107,11 @@ export class ContactTabExpViewBase extends TabExpViewBase {
const { data: _data } = response; const { data: _data } = response;
if (_data.fullname) { if (_data.fullname) {
Object.assign(this.model, { dataInfo: _data.fullname }); Object.assign(this.model, { dataInfo: _data.fullname });
if (this.$tabPageExp) {
this.$tabPageExp.setCurPageCaption(this.model.srfTitle, this.model.srfTitle, this.model.dataInfo);
}
if(this.$route){ if(this.$route){
this.$route.meta.info = this.model.dataInfo; this.$route.meta.info = this.model.dataInfo;
} }
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` }); Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ route: this.$route, info: this.model.dataInfo }); this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
} }
}) })
} }
......
...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/contact/tab-exp-viewtabexppanel-tabexppan ...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/contact/tab-exp-viewtabexppanel-tabexppan
@Component({ @Component({
components: { components: {
view_tabexppanel, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/contact/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/email/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/email/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/fax/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/fax/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/letter/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/letter/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/metric/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/metric/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/metric/default-searchform/default-searchfo ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/metric/default-searchform/default-searchfo
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/metric/default-searchform/default-searchfo ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/metric/default-searchform/default-searchfo
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/metric/pickup-viewpickupviewpanel-pic ...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/metric/pickup-viewpickupviewpanel-pic
@Component({ @Component({
components: { components: {
view_pickupviewpanel, view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/phone-call/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/phone-call/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/subject/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/subject/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/subject/pickup-viewpickupviewpanel-pi ...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/subject/pickup-viewpickupviewpanel-pi
@Component({ @Component({
components: { components: {
view_pickupviewpanel, view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/task/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/task/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/task/quick-create-form/quick-create-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/task/quick-create-form/quick-create-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/transaction-currency/default-searchform/de ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/transaction-currency/default-searchform/de
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/transaction-currency/pickup-viewpicku ...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/transaction-currency/pickup-viewpicku
@Component({ @Component({
components: { components: {
view_pickupviewpanel, view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/uom/default-searchform/default-searchform. ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/uom/default-searchform/default-searchform.
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/uom/pickup-viewpickupviewpanel-pickup ...@@ -15,12 +15,6 @@ import view_pickupviewpanel from '@widgets/uom/pickup-viewpickupviewpanel-pickup
@Component({ @Component({
components: { components: {
view_pickupviewpanel, view_pickupviewpanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/invoice-detail/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/invoice-detail/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/invoice-detail/default-searchform/default- ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/invoice-detail/default-searchform/default-
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/invoice/default-searchform/default-searchf ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/invoice/default-searchform/default-searchf
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/invoice/info-form/info-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/invoice/info-form/info-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -458,14 +458,11 @@ export class InvoiceInfoViewBase extends TabExpViewBase { ...@@ -458,14 +458,11 @@ export class InvoiceInfoViewBase extends TabExpViewBase {
const { data: _data } = response; const { data: _data } = response;
if (_data.invoicename) { if (_data.invoicename) {
Object.assign(this.model, { dataInfo: _data.invoicename }); Object.assign(this.model, { dataInfo: _data.invoicename });
if (this.$tabPageExp) {
this.$tabPageExp.setCurPageCaption(this.model.srfTitle, this.model.srfTitle, this.model.dataInfo);
}
if(this.$route){ if(this.$route){
this.$route.meta.info = this.model.dataInfo; this.$route.meta.info = this.model.dataInfo;
} }
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` }); Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ route: this.$route, info: this.model.dataInfo }); this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
} }
}) })
} }
......
...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/invoice/info-viewtabexppanel-tabexppanel/ ...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/invoice/info-viewtabexppanel-tabexppanel/
@Component({ @Component({
components: { components: {
view_tabexppanel, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/invoice/quick-create-form/quick-create-form.vue' ...@@ -15,12 +15,6 @@ import view_form from '@widgets/invoice/quick-create-form/quick-create-form.vue'
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/invoice/board-dashboard/board-dashboard.vue ...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/invoice/board-dashboard/board-dashboard.vue
@Component({ @Component({
components: { components: {
view_dashboard, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/campaign-activity/default-searchform/defau ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/campaign-activity/default-searchform/defau
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-activity/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-activity/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-activity/quick-create-form/quick-create ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-activity/quick-create-form/quick-create
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/edit-head-form/edit-head-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/edit-head-form/edit-head-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/campaign/default-searchform/default-search ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/campaign/default-searchform/default-search
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/info-campagin-form/info-campagin-form.v ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/info-campagin-form/info-campagin-form.v
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/info-head-form/info-head-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/info-head-form/info-head-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/info-manager-form/info-manager-form.vue ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/info-manager-form/info-manager-form.vue
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/info-schedule-form/info-schedule-form.v ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/info-schedule-form/info-schedule-form.v
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -355,14 +355,11 @@ export class CampaignInfoBase extends TabExpViewBase { ...@@ -355,14 +355,11 @@ export class CampaignInfoBase extends TabExpViewBase {
const { data: _data } = response; const { data: _data } = response;
if (_data.campaignname) { if (_data.campaignname) {
Object.assign(this.model, { dataInfo: _data.campaignname }); Object.assign(this.model, { dataInfo: _data.campaignname });
if (this.$tabPageExp) {
this.$tabPageExp.setCurPageCaption(this.model.srfTitle, this.model.srfTitle, this.model.dataInfo);
}
if(this.$route){ if(this.$route){
this.$route.meta.info = this.model.dataInfo; this.$route.meta.info = this.model.dataInfo;
} }
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` }); Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ route: this.$route, info: this.model.dataInfo }); this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
} }
}) })
} }
......
...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/campaign/infotabexppanel-tabexppanel/info ...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/campaign/infotabexppanel-tabexppanel/info
@Component({ @Component({
components: { components: {
view_tabexppanel, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-list/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-list/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/campaign-list/default-searchform/default-s ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/campaign-list/default-searchform/default-s
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/quick-create-form/quick-create-form.vue ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign/quick-create-form/quick-create-form.vue
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/campaign-response/default-searchform/defau ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/campaign-response/default-searchform/defau
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-response/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-response/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-response/quick-create-form/quick-create ...@@ -15,12 +15,6 @@ import view_form from '@widgets/campaign-response/quick-create-form/quick-create
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/campaign/head-summary-dashboard/head-summar ...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/campaign/head-summary-dashboard/head-summar
@Component({ @Component({
components: { components: {
view_dashboard, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/campaign/summary-dashboard/summary-dashboar ...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/campaign/summary-dashboard/summary-dashboar
@Component({ @Component({
components: { components: {
view_dashboard, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/ibiz-list/default-searchform/default-searc ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/ibiz-list/default-searchform/default-searc
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/ibiz-list/abstract-info-form/abstract-info-form. ...@@ -15,12 +15,6 @@ import view_form from '@widgets/ibiz-list/abstract-info-form/abstract-info-form.
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -107,14 +107,11 @@ export class IBizListInfoBase extends TabExpViewBase { ...@@ -107,14 +107,11 @@ export class IBizListInfoBase extends TabExpViewBase {
const { data: _data } = response; const { data: _data } = response;
if (_data.listname) { if (_data.listname) {
Object.assign(this.model, { dataInfo: _data.listname }); Object.assign(this.model, { dataInfo: _data.listname });
if (this.$tabPageExp) {
this.$tabPageExp.setCurPageCaption(this.model.srfTitle, this.model.srfTitle, this.model.dataInfo);
}
if(this.$route){ if(this.$route){
this.$route.meta.info = this.model.dataInfo; this.$route.meta.info = this.model.dataInfo;
} }
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` }); Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
this.$appService.navHistory.setCaption({ route: this.$route, info: this.model.dataInfo }); this.$appService.navHistory.setCaption({ tag: this.viewtag, info: this.model.dataInfo });
} }
}) })
} }
......
...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/ibiz-list/infotabexppanel-tabexppanel/inf ...@@ -15,12 +15,6 @@ import view_tabexppanel from '@widgets/ibiz-list/infotabexppanel-tabexppanel/inf
@Component({ @Component({
components: { components: {
view_tabexppanel, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/ibiz-list/abstract-edit-form/abstract-edit-form. ...@@ -15,12 +15,6 @@ import view_form from '@widgets/ibiz-list/abstract-edit-form/abstract-edit-form.
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/ibiz-list/quick-create-form/quick-create-form.vu ...@@ -15,12 +15,6 @@ import view_form from '@widgets/ibiz-list/quick-create-form/quick-create-form.vu
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/ibiz-list/summary-dashboard/summary-dashboa ...@@ -15,12 +15,6 @@ import view_dashboard from '@widgets/ibiz-list/summary-dashboard/summary-dashboa
@Component({ @Component({
components: { components: {
view_dashboard, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/list-account/default-searchform/default-se ...@@ -17,12 +17,6 @@ import view_searchform from '@widgets/list-account/default-searchform/default-se
components: { components: {
view_grid, view_grid,
view_searchform, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/list-account/main-form/main-form.vue'; ...@@ -15,12 +15,6 @@ import view_form from '@widgets/list-account/main-form/main-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_grid from '@widgets/list-account/main-grid/main-grid.vue'; ...@@ -15,12 +15,6 @@ import view_grid from '@widgets/list-account/main-grid/main-grid.vue';
@Component({ @Component({
components: { components: {
view_grid, view_grid,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$appService.navHistory.setViewTag(vm.viewtag, to);
vm.$appService.navHistory.setViewContext(vm.context, to);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
...@@ -15,12 +15,6 @@ import view_form from '@widgets/list-account/quick-create-by-list-form/quick-cre ...@@ -15,12 +15,6 @@ import view_form from '@widgets/list-account/quick-create-by-list-form/quick-cre
@Component({ @Component({
components: { components: {
view_form, view_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);
});
} }
}) })
@VueLifeCycleProcessing() @VueLifeCycleProcessing()
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册