| | |
| | | </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/models/fast-query-params.model'; |
| | | import { Selected } from '~/assets/ts/models/selected.model'; |
| | | import { FastQueryParams } from '~/assets/ts/api/consultant'; |
| | | import { QuestionOption } from '~/pages/quickFilter/index.vue'; |
| | | |
| | | import { hideReviews } from '~/assets/ts/const/hide-reviews'; |
| | | @Component |
| | | export default class QuickFilterDrawer extends Vue { |
| | | |
| | | |
| | | pickedItem: FastQueryParams = { |
| | | communicationStyles: [], |
| | |
| | | gender: '', |
| | | avgScore: 0 |
| | | } |
| | | |
| | | hideReviews = hideReviews ; |
| | | |
| | | @Prop() questionOption!: QuestionOption; |
| | | @Prop() isOpenQuestionPopUp!: boolean; |
| | | @Prop() confirmItem!: Selected[]; |
| | |
| | | |
| | | } |
| | | |
| | | export interface Selected { |
| | | option: string; |
| | | value: any; |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | |
| | | flex-wrap: wrap; |
| | | } |
| | | |
| | | </style> |
| | | </style> |