[测评系统]--前端(用户答题页面)
src/views/exam/paper/values.vue
@@ -312,7 +312,7 @@
                     <div v-html="$t('values_pic_tmpArea_desc')">
                     </div>
                     <el-button type="primary" round style="height: fit-content;margin: 0 10px;"
                     <el-button type="primary" round style="height: fit-content;margin-top:5px"
                        @click="step3_commit" :disabled="submitDisable">
                        {{$t('commit')}}
                     </el-button>
@@ -337,7 +337,7 @@
               </div>
            </div>
            <div style="display:flex;margin-top: 200px;">
               <div style="display: inline-block;min-width: 150px;text-align: right;padding-right: 5px;">
               <div style="display: inline-block;min-width: 160px;text-align: right;padding-right: 5px;">
                  <div class="mul-inlinediv-row mul-inlinediv-lineheight"
                     v-for="(item,index) in step2ScoreRanges">
                     <span v-if="item.stepName=='不确定是否相似'">
@@ -955,8 +955,19 @@
         resetQuestionItemsSubjectIdById(id, value) {
            for (let item of this.questionItems) {
               if (item.id == id) {
                  item["subjectId"] = value
                  item['content'] = this.getLikeTypeByScoreRangeItemOrder(value)
                  // 如果为null,就是从选择中取消
                  if (value == null) {
                     item["subjectId"] = value
                     item['content'] = item['tempContent']
                  } else {
                     if (item['content'] != null && item['content'] != undefined) {
                        item['tempContent'] = item['content']
                     }
                     item["subjectId"] = value
                     item['content'] = this.getLikeTypeByScoreRangeItemOrder(value)
                  }
                  console.log("更改content:", item)
               }
            }
            //console.log('resetQuestionItems...', id, value, this.questionItems)
@@ -967,6 +978,9 @@
               if (this.isNull(item[key])) {
                  item[key] = value
                  if ("subjectId" == key) {
                     if (item['content'] != null && item['content'] != undefined) {
                        item['tempContent'] = item['content']
                     }
                     item['content'] = this.getLikeTypeByScoreRangeItemOrder(value)
                  }
               }