保誠-保戶業務員媒合平台
Mila
2021-11-10 7c291a812e980917bc9f64a3f251f2a08ae7f157
PAMapp/components/Consultant/ConsultantCard.vue
@@ -66,6 +66,7 @@
<script lang="ts">
import { Vue, Component, Prop, Emit } from 'nuxt-property-decorator';
import { Consultants } from '~/assets/ts/api/consultant';
import { isLogin } from '~/assets/ts/auth';
import { isMobileDevice } from '~/assets/ts/device';
@Component
@@ -96,7 +97,7 @@
    reserveCommunication() {
        if (this.agentInfo.contactStatus === 'picked') {
            this.$router.push('/communication/myDemand')
            isLogin() ? this.$router.push('/questionnaire') : this.$router.push('/login');
        } else {
            this.width = isMobileDevice() ? '80%' : '';
            this.isVisibleDialog = true;