| | |
| | | </el-radio-group> |
| | | </div> |
| | | |
| | | <div v-else> |
| | | <div v-else> |
| | | <el-rate |
| | | v-if="!hideReviews" |
| | | class="pam-quickFilter-rate" |
| | | v-model="pickedItem.avgScore" |
| | | ></el-rate> |
| | |
| | | |
| | | <script lang="ts"> |
| | | import { Vue, Component, Prop, Watch, Emit } from 'nuxt-property-decorator'; |
| | | import { FastQueryParams } from '~/assets/ts/api/consultant'; |
| | | import { QuestionOption } from '~/pages/quickFilter/index.vue'; |
| | | |
| | | import { hideReviews } from '~/assets/ts/const/hide-reviews'; |
| | | import { FastQueryParams, QuestionOption, Selected } from '~/assets/ts/models/quickFilter.model'; |
| | | @Component |
| | | export default class QuickFilterDrawer extends Vue { |
| | | |
| | | pickedItem: FastQueryParams = { |
| | | communicationStyles: [], |
| | | status: '', |
| | | gender: '', |
| | | avgScore: 0 |
| | | } |
| | | hideReviews = hideReviews ; |
| | | |
| | | @Prop() questionOption!: QuestionOption; |
| | | @Prop() isOpenQuestionPopUp!: boolean; |
| | |
| | | value: this.pickedItem[name] |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | export interface Selected { |
| | | option: string; |
| | | value: any; |
| | | } |
| | | </script> |
| | | |