zhangjie 2 ani în urmă
părinte
comite
b19cc65dbb
1 a modificat fișierele cu 6 adăugiri și 3 ștergeri
  1. 6 3
      src/modules/questions/views/SelectQuestion.vue

+ 6 - 3
src/modules/questions/views/SelectQuestion.vue

@@ -77,13 +77,13 @@
       <!-- 页面列表 -->
       <el-table :data="tableData" @selection-change="handleSelectionChange">
         <el-table-column type="selection" width="45"> </el-table-column>
-        <el-table-column label="课程">
+        <!-- <el-table-column label="课程" width="120">
           <template slot-scope="scope">
             <span v-if="scope.row.course != null">{{
               scope.row.course.name
             }}</span>
           </template>
-        </el-table-column>
+        </el-table-column> -->
         <el-table-column label="题型" width="100">
           <template slot-scope="scope">
             <span>{{ scope.row.questionType | questionType }}</span>
@@ -105,6 +105,7 @@
           label="难度"
           width="80"
         ></el-table-column>
+        <el-table-column prop="propertyInfo" label="属性"></el-table-column>
       </el-table>
       <!--分页栏-->
       <div class="part-page">
@@ -233,7 +234,9 @@ export default {
             "?quesType=" +
             this.formSearch.questionType +
             "&quesBody=" +
-            this.formSearch.quesBody
+            this.formSearch.quesBody +
+            "&quesName=" +
+            this.formSearch.quesName
         )
         .then((response) => {
           this.tableData = response.data.content;