WANG 6 år sedan
förälder
incheckning
06960b9ab4

+ 10 - 4
src/modules/examwork/view/examStudent.vue

@@ -117,7 +117,13 @@
               @click="resetPageAndSearchForm"
               >查询
             </el-button>
-            <el-button size="small" @click="resetSearchForm"> 重置 </el-button>
+            <el-button
+              size="small"
+              icon="el-icon-refresh"
+              @click="resetSearchForm"
+            >
+              重置
+            </el-button>
             <el-button
               v-if="rolePrivileges.add_examStudent"
               size="small"
@@ -130,7 +136,7 @@
               v-if="rolePrivileges.del_examStudent"
               size="small"
               type="danger"
-              icon="delete"
+              icon="el-icon-delete"
               @click="deleteStuByExam"
               >批次删除
             </el-button>
@@ -138,7 +144,7 @@
               v-if="rolePrivileges.copy_examStudent"
               size="small"
               type="primary"
-              icon="document"
+              icon="el-icon-document"
               @click="copy"
               >复制
             </el-button>
@@ -152,7 +158,7 @@
             v-if="rolePrivileges.del_examStudent"
             size="small"
             type="danger"
-            icon="delete"
+            icon="el-icon-delete"
             @click="deleteStuBatch"
             :disabled="noBatchSelected"
             >删除

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

@@ -7,7 +7,7 @@
           <el-button
             size="small"
             type="primary"
-            icon="el-icon-plus"
+            icon="el-icon-upload2"
             @click="imp"
             >导入
           </el-button>

+ 19 - 5
src/modules/examwork/view/student.vue

@@ -61,16 +61,27 @@
               @click="resetPageAndSearchForm"
               >查询
             </el-button>
-            <el-button size="small" @click="resetSearchForm"> 重置 </el-button>
+            <el-button
+              size="small"
+              icon="el-icon-refresh"
+              @click="resetSearchForm"
+            >
+              重置
+            </el-button>
             <el-button
               v-if="rolePrivileges.upload_student_photo"
               size="small"
               type="primary"
-              icon="el-icon-plus"
+              icon="el-icon-upload2"
               @click="uploadPhoto"
               >上传照片
             </el-button>
-            <el-button size="small" type="primary" @click="exportStudent">
+            <el-button
+              size="small"
+              type="primary"
+              icon="el-icon-download"
+              @click="exportStudent"
+            >
               导出
             </el-button>
           </el-form-item>
@@ -209,15 +220,16 @@
               </span>
             </span>
           </el-table-column>
-          <el-table-column label="操作" width="260">
+          <el-table-column label="操作" width="300">
             <div slot-scope="scope">
               <el-button
                 :disabled="!scope.row.photoPath"
                 size="mini"
                 type="primary"
                 plain
+                icon="el-icon-picture"
                 @click="showPhoto(scope.row)"
-                ><i class="fa fa-check" aria-hidden="true"></i>查看照片
+                >查看照片
               </el-button>
               <el-button
                 v-if="
@@ -228,6 +240,7 @@
                 size="mini"
                 type="primary"
                 plain
+                icon="el-icon-check"
                 @click="enableStudent(scope.row)"
                 >启用
               </el-button>
@@ -236,6 +249,7 @@
                 size="mini"
                 type="primary"
                 plain
+                icon="el-icon-close"
                 @click="disableStudent(scope.row)"
                 >禁用
               </el-button>