zhangjie 3 gadi atpakaļ
vecāks
revīzija
d88eb8b024

+ 1 - 1
src/modules/base/components/ModifyExam.vue

@@ -98,7 +98,7 @@ export default {
       return !!this.instance.id;
     },
     title() {
-      return (this.isEdit ? "编辑" : "新增") + "学期";
+      return (this.isEdit ? "编辑" : "新增") + "考试";
     }
   },
   data() {

+ 5 - 5
src/modules/exam/components/CreatePrintTask.vue

@@ -72,9 +72,9 @@
         >
           <el-option
             v-for="room in printRooms"
-            :key="room.houseId"
-            :value="room.houseId"
-            :label="room.houseName"
+            :key="room.printHouseId"
+            :value="room.printHouseId"
+            :label="room.printHouseName"
           ></el-option>
         </el-select>
       </el-form-item>
@@ -291,9 +291,9 @@ export default {
       this.modalForm.printHouseName = val.printHouseName;
     },
     printHouseChange(val) {
-      const curHouse = this.printRooms.find(item => item.houseId === val);
+      const curHouse = this.printRooms.find(item => item.printHouseId === val);
       if (curHouse) {
-        this.modalForm.printHouseName = curHouse.houseName;
+        this.modalForm.printHouseName = curHouse.printHouseName;
       }
     },
     async submit() {

+ 5 - 5
src/modules/exam/components/createExamAndPrintTask/InfoPrintTask.vue

@@ -126,9 +126,9 @@
             >
               <el-option
                 v-for="room in printHouses"
-                :key="room.houseId"
-                :value="room.houseId"
-                :label="room.houseName"
+                :key="room.printHouseId"
+                :value="room.printHouseId"
+                :label="room.printHouseName"
               ></el-option>
             </el-select>
           </template>
@@ -448,10 +448,10 @@ export default {
     },
     printHouseChange(row) {
       const curHouse = this.printHouses.find(
-        item => item.houseId === row.printHouseId
+        item => item.printHouseId === row.printHouseId
       );
       if (curHouse) {
-        row.printHouseName = curHouse.houseName;
+        row.printHouseName = curHouse.printHouseName;
       }
     },
     toAdd() {