WANG 6 år sedan
förälder
incheckning
2b79729cde

+ 14 - 4
src/modules/examwork/view/examStudentImport.vue

@@ -61,24 +61,34 @@
                   :auto-upload="false"
                   :multiple="false"
                 >
-                  <el-button size="small" slot="trigger" type="primary"
+                  <el-button
+                    size="small"
+                    slot="trigger"
+                    type="primary"
+                    icon="el-icon-search"
                     >选择文件</el-button
                   >
                   <el-button
                     size="small"
                     style="margin-left:10px;"
-                    type="success"
+                    type="primary"
                     @click="submitUpload"
+                    icon="el-icon-check"
                     >确认上传
                   </el-button>
                   <el-button
                     size="small"
                     style="margin-left: 10px;"
-                    type="danger"
+                    type="primary"
                     @click="removeFile"
+                    icon="el-icon-refresh"
                     >清空文件
                   </el-button>
-                  <el-button size="small" type="info" @click="exportFile"
+                  <el-button
+                    size="small"
+                    type="primary"
+                    @click="exportFile"
+                    icon="el-icon-download"
                     >下载模板
                   </el-button>
                   <div slot="tip" class="el-upload__tip">只能上传xlsx文件</div>

+ 7 - 2
src/modules/examwork/view/student.vue

@@ -431,13 +431,18 @@
                   :auto-upload="false"
                   :multiple="false"
                 >
-                  <el-button size="small" slot="trigger" type="primary"
+                  <el-button
+                    size="small"
+                    slot="trigger"
+                    type="primary"
+                    icon="el-icon-search"
                     >选择文件
                   </el-button>
                   <el-button
                     size="small"
                     style="margin-left:10px;"
-                    type="success"
+                    type="primary"
+                    icon="el-icon-check"
                     @click="submitUpload"
                     >确认上传
                   </el-button>