| | |
| | | <span |
| | | class="smTxt_bold text--primary" |
| | | v-if="questionOption.name === 'communicationStyles'" |
| | | >(可複選)</span> |
| | | >(最多選擇兩種)</span> |
| | | <span |
| | | class="smTxt_bold text--primary" |
| | | v-if="questionOption.name === 'avgScore'" |
| | |
| | | :label="i.value" |
| | | :name="i.value" |
| | | :class="i.className" |
| | | @change="selectedCommunicationStyles" |
| | | ></el-checkbox> |
| | | </el-checkbox-group> |
| | | </div> |
| | |
| | | || name === 'communicationStyles' && !this.pickedItem[name].length |
| | | } |
| | | |
| | | selectedCommunicationStyles() { |
| | | if (this.pickedItem.communicationStyles.length > 2) { |
| | | this.pickedItem.communicationStyles.shift(); |
| | | } |
| | | } |
| | | |
| | | @Emit('confirm') |
| | | confirm() { |
| | | const name = this.questionOption.name; |