| | |
| | | onMyConsultantListChange() { |
| | | this.filterContactedList(); |
| | | } |
| | | |
| | | tabClick(path: string) { |
| | | this.activeTabName = path; |
| | | this.$router.push('/myConsultantList/' + this.activeTabName) |
| | | |
| | | beforeRouteEnter(to: any, from: any, next: any) { |
| | | next(vm => { |
| | | if (to.name === 'myConsultantList') { |
| | | vm.$router.push('myConsultantList/consultantList'); |
| | | return; |
| | | } |
| | | }) |
| | | } |
| | | |
| | | mounted() { |
| | |
| | | } |
| | | } |
| | | |
| | | tabClick(path: string) { |
| | | this.activeTabName = path; |
| | | this.$router.push('/myConsultantList/' + this.activeTabName) |
| | | } |
| | | |
| | | |
| | | filterContactedList() { |
| | | this.consultantList = (this.myConsultantList || []) |
| | | .filter(item => item.contactStatus !== 'contacted') |