保誠-保戶業務員媒合平台
PAMapp/components/Interview/InterviewMsg.vue
@@ -14,7 +14,7 @@
      <el-input
        type="textarea"
        autosize="true"
        :autosize="true"
        placeholder="約訪通知"
        resize="none"
        v-model="isInterviewTxt">
@@ -41,10 +41,13 @@
  </div>
</template>
<script lang="ts">
import { Vue, Component, Prop, PropSync, Emit, Action } from 'nuxt-property-decorator';
import { Vue, Component, Prop, PropSync, Emit, Action, namespace } from 'nuxt-property-decorator';
import appointmentService from '~/shared/services/appointment.service';
import { Appointment, ToInformAppointment } from '~/shared/models/appointment.model';
import { AgentInfo } from '~/shared/models/agent-info.model';
const loginStore = namespace('login.store');
@Component
export default class InterviewMsg extends Vue {
@@ -65,6 +68,9 @@
    closeDialog() {
        return;
    }
    @loginStore.State
    loginConsultant!: AgentInfo;
    isShowSuccessAlert = false;
@@ -92,7 +98,7 @@
    }
    get isInterviewTxt() : string{
      return this.interviewTxt = "您好!我是保誠媒合平台的保險顧問" + "agentName"+",感謝您的預約!我預計會在下述的時間與您聯繫"+"\n"+"以下是我的電話號碼/Email:"+"\n"+"agentPhone"+"\n"+"agentEmail"+"\n"+"若此時間不方便,請與我聯繫!謝謝!"
      return this.interviewTxt = "您好!我是保誠媒合平台的保險顧問" + this.loginConsultant.name + ",感謝您的預約!我預計會在下述的時間與您聯繫"+"\n"+"以下是我的電話號碼/Email:"+"\n" + this.loginConsultant.phoneNumber + "\n" + this.loginConsultant.email + "\n"+"若此時間不方便,請與我聯繫!謝謝!"
    }
}