From 8b2a9dcd9ada7a5fd40f8aa0993f6afef67493d3 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 12 六月 2024 17:58:26 +0800
Subject: [PATCH] feat:科目、题目

---
 src/views/exam/question/edit/short-answer.vue |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/src/views/exam/question/edit/short-answer.vue b/src/views/exam/question/edit/short-answer.vue
index d00367f..9758de1 100644
--- a/src/views/exam/question/edit/short-answer.vue
+++ b/src/views/exam/question/edit/short-answer.vue
@@ -1,14 +1,9 @@
 <template>
   <div class="app-container">
     <el-form :model="form" ref="form" label-width="100px" v-loading="formLoading" :rules="rules">
-      <el-form-item label="骞寸骇锛�" prop="gradeLevel" required>
-        <el-select v-model="form.gradeLevel"   placeholder="骞寸骇"  @change="levelChange">
-          <el-option v-for="item in levelEnum" :key="item.key" :value="item.key" :label="item.value"></el-option>
-        </el-select>
-      </el-form-item>
       <el-form-item label="瀛︾锛�" prop="subjectId" required>
         <el-select v-model="form.subjectId" placeholder="瀛︾" >
-          <el-option v-for="item in subjectFilter" :key="item.id" :value="item.id" :label="item.name+' ( '+item.levelName+' )'"></el-option>
+          <el-option v-for="item in subjects" :key="item.id" :value="item.id" :label="item.name"></el-option>
         </el-select>
       </el-form-item>
       <el-form-item label="棰樺共锛�" prop="title" required>
@@ -19,9 +14,6 @@
       </el-form-item>
       <el-form-item label="瑙f瀽锛�" prop="analyze" required>
         <el-input v-model="form.analyze"  @focus="inputClick(form,'analyze')" />
-      </el-form-item>
-      <el-form-item label="鍒嗘暟锛�" prop="score" required>
-        <el-input-number v-model="form.score" :precision="1" :step="1" :max="100"></el-input-number>
       </el-form-item>
       <el-form-item label="闅惧害锛�" required>
         <el-rate v-model="form.difficult" class="question-item-rate"></el-rate>

--
Gitblit v1.8.0