保誠-保戶業務員媒合平台
劉鈞霖
2021-12-28 6bbef91c402eaa58b8a4d8f11c466a39802ca0ca
PAMapp/components/QuickFilter/QuickFilterSelector.vue
@@ -94,6 +94,15 @@
import { FastQueryParams, QuestionOption, Selected } from '~/shared/models/quick-filter.model';
@Component
export default class QuickFilterDrawer extends Vue {
    @Prop()
    questionOption!: QuestionOption;
    @Prop()
    isOpenQuestionPopUp!: boolean;
    @Prop()
    confirmItem!: Selected[];
    pickedItem: FastQueryParams = {
        communicationStyles: [],
        status: '',
@@ -103,9 +112,7 @@
    }
    hideReviews = hideReviews ;
    @Prop() questionOption!: QuestionOption;
    @Prop() isOpenQuestionPopUp!: boolean;
    @Prop() confirmItem!: Selected[];
    //////////////////////////////////////////////////////////////////
    @Watch('isOpenQuestionPopUp', {immediate: true})
    onPopUpChange() {
@@ -127,8 +134,8 @@
        }
    }
    //////////////////////////////////////////////////////////////////
    get isDisabled() {
        const name = this.questionOption.name;
        return name === 'gender' && !this.pickedItem[name]
@@ -144,6 +151,7 @@
    }
    //////////////////////////////////////////////////////////////////
    private getGender(): string {
        return this.filterSingleSelected('gender');
    }