| | |
| | | <div |
| | | class="subject" |
| | | v-for="item in convertDatas" |
| | | :key="item.id" |
| | | > |
| | | <div class="subject-title"> |
| | | <h2>{{item.name}}</h2> |
| | |
| | | class="box-card" |
| | | v-for="(sub,index) in item.childs" |
| | | :id="item.code+(index+1)" |
| | | :key="sub.id" |
| | | > |
| | | <div |
| | | slot="header" |
| | |
| | | <el-radio |
| | | :disabled="disabledAnswer" |
| | | v-for="o in sub.answers" |
| | | :key="o.id" |
| | | :label="o.no" |
| | | class="answer-radio" |
| | | @change="answerButtionCheck($event,item,sub)" |
| | |
| | | <el-checkbox |
| | | :disabled="disabledAnswer" |
| | | v-for="o in sub.answers" |
| | | :key="o.id" |
| | | :label="o.no" |
| | | class="answer-checkbox" |
| | | @change="answerButtionCheck($event,item,sub)" |
| | |
| | | <el-collapse v-model="answerCardActiveName"> |
| | | <el-collapse-item |
| | | v-for="item in convertDatas" |
| | | :key="item.id" |
| | | :name="item.code" |
| | | > |
| | | <template slot="title"> |
| | |
| | | circle |
| | | size="small" |
| | | v-for="index of item.count" |
| | | :key="index" |
| | | :id="'answer'+item.code+index" |
| | | @click.native="jump(item.code+index)" |
| | | >{{index}}</el-button> |