| | |
| | | </el-col> --> |
| | | |
| | | <div class="flex-column contactInfo" :xs="4" :sm="6"> |
| | | <!-- <div |
| | | class="smTxt_bold fix-chrome-click--issue" |
| | | :class="{'unread-txt': reservedTxt === '未讀', 'read-txt': reservedTxt !== '未讀'}" |
| | | >{{ reservedTxt }}</div> --> |
| | | <div class="invite-msg smTxt_bold" @click.stop="showMsgDialog"> |
| | | 傳送約訪通知 |
| | | |
| | | <div |
| | | class="invite-msg smTxt_bold" |
| | | @click.stop="makeInterview" |
| | | v-if="client.communicateStatus === contactStatus.RESERVED"> |
| | | 傳送約訪通知 |
| | | </div> |
| | | <div |
| | | class="invite-msg smTxt_bold" |
| | | @click.stop="closeAppointment" |
| | | v-else-if="client.communicateStatus === contactStatus.CONTACTED"> |
| | | 結案 |
| | | </div> |
| | | <div |
| | | class="invite-msg smTxt_bold" |
| | | @click.stop="inviteReview" |
| | | v-else> |
| | | 發送滿意度 |
| | | </div> |
| | | |
| | | <div |
| | | class="date xsTxt text--black" |
| | | >{{ date }}</div> |
| | |
| | | import myConsultantService from '~/shared/services/my-consultant.service'; |
| | | import { ElRow } from 'element-ui/types/row'; |
| | | import { Appointment, AppointmentMemoInfo } from '~/shared/models/appointment.model'; |
| | | import { ContactStatus } from '~/shared/models/enum/contact-status'; |
| | | |
| | | const localStorage = namespace('localStorage'); |
| | | @Component({ |
| | |
| | | dialogWidth = ''; |
| | | hideReviews = hideReviews; |
| | | |
| | | contactStatus = ContactStatus; |
| | | // currentAppointmentStatus = this.contactStatus.RESERVED; |
| | | |
| | | isEdit = false; |
| | | memoInfo: AppointmentMemoInfo = { |
| | | appointmentId: 0, |
| | |
| | | this.$router.push(`/appointment/${this.client.id}`); |
| | | } |
| | | |
| | | showMsgDialog(): void { |
| | | makeInterview(): void { |
| | | this.isMsgDialog = true; |
| | | } |
| | | |
| | | closeAppointment(): void { |
| | | this.$router.push(`/appointment/${this.client.id}/close`); |
| | | } |
| | | |
| | | makeAppointment(): void { |
| | | alert('MAKE AN APPOINTMENT!'); |
| | | } |
| | | |
| | | get newAppointment(): boolean { |
| | | return !this.client.consultantViewTime |
| | | && this.client.communicateStatus === 'reserved'; |
| | |
| | | display: flex; |
| | | } |
| | | .invite-msg{ |
| | | color: #ED1B2E; |
| | | border-bottom: 1px solid #ED1B2E; |
| | | width: 97px; |
| | | } |
| | | .line{ |
| | | height: 4px; |
| | | width: 10px; |
| | | background-color: $PRUDENTIAL_GREY; |
| | | |
| | | color: $PRIMARY_RED; |
| | | @extend .text--underline; |
| | | } |
| | | </style> |