Michael Wang 4 жил өмнө
parent
commit
0cf7e76555

+ 2 - 2
src/features/examwork/ExamStudentImport/ExamStudentImportDialog.vue

@@ -1,7 +1,7 @@
 <template>
   <el-dialog
     ref="dialog"
-    :title="'导入' + '考生'"
+    title="导入考生"
     width="540px"
     :visible.sync="visible"
     @close="closeDialog"
@@ -15,7 +15,7 @@
     >
       <el-row>
         <el-form-item label="选择文件">
-          <input @change="selectFile" type="file" />
+          <input @change="selectFile" type="file" accept=".xlsx,.xls" />
         </el-form-item>
         <el-form-item label="">
           {{ uploadingPercent ? ` 上传中(${uploadingPercent}%)` : "" }}