保誠-保戶業務員媒合平台
劉鈞霖
2021-12-15 95d0e5524c3ab1e55a9909e2c38e7cc35901220f
PAMapp/components/BackActionBar.vue
@@ -34,7 +34,7 @@
          featureLabel = '我的顧問清單';
          break;
        case 'agentInfo':
          featureLabel = '業務員資訊'
          featureLabel = _.isEqual(this.currentRole,Role.ADMIN) ? '查看帳號資訊' : '業務員資訊'
          break;
        default:
          featureLabel = '回首頁';
@@ -60,9 +60,12 @@
      return '回首頁';
    }
  }
  pushRouterByLoginRole():void{
    this.$router.go(-1);
    const pathName = this.$route.name;
    pathName?.includes('myConsultantList') ? this.$router.push('/') : this.$router.go(-1);
  }
}
</script>