WANG 6 tahun lalu
induk
melakukan
2d4a3fd681

+ 5 - 3
src/modules/examwork/view/examStudent.vue

@@ -523,7 +523,7 @@
             ref="studentCopyForm"
             class="editForm"
             :inline="true"
-            label-width="200px"
+            label-width="120px"
           >
             <el-form-item label="源考试批次" prop="sourceExamId">
               <el-select
@@ -566,7 +566,7 @@
                 </el-option>
               </el-select>
             </el-form-item>
-            <div class="dialog-footer">
+            <div style="text-align: center;">
               <el-button type="primary" @click="copyStudent">确 定</el-button>
               <el-button @click="studentCopyDialog = false">取 消</el-button>
             </div>
@@ -1523,6 +1523,8 @@ export default {
       this.studentCopyForm.targetExamId = null;
       this.examList4CopyFrom = [];
       this.examList4CopyTo = [];
+      this.queryExams4CopyFrom("");
+      this.queryExams4CopyTo("");
     },
     //复制学生
     copyStudent() {
@@ -1538,7 +1540,7 @@ export default {
             });
             return;
           }
-          var url =
+          let url =
             TASK_API +
             "/copyExamStudent/addCopyTask?" +
             new URLSearchParams({

+ 1 - 0
src/modules/examwork/view/examStudentImport.vue

@@ -223,6 +223,7 @@ export default {
       this.fileList = [];
       this.studentImportForm.examId = null;
       this.examList = [];
+      this.queryExams("");
     },
     beforeUpload(file) {
       console.log(file);