WANG 6 жил өмнө
parent
commit
02c964aa08

+ 4 - 3
src/modules/examwork/view/student.vue

@@ -52,7 +52,7 @@
               <el-option label="否" value="FALSE"> </el-option>
             </el-select>
           </el-form-item>
-          <el-form-item class="pull-left">
+          <el-form-item class="d-block">
             <el-button
               v-if="rolePrivileges.search_student"
               size="small"
@@ -75,6 +75,7 @@
           </el-form-item>
         </el-form>
 
+        <div class="block-seperator"></div>
         <span>批量操作:</span>
 
         <el-button
@@ -190,7 +191,7 @@
           <el-table-column label="操作" width="260">
             <div slot-scope="scope">
               <el-button
-                v-if="scope.row.photoPath"
+                :disabled="!scope.row.photoPath"
                 size="mini"
                 type="warning"
                 @click="showPhoto(scope.row)"
@@ -916,6 +917,6 @@ export default {
 </script>
 <style scoped>
 .input {
-  width: 200px;
+  width: 180px;
 }
 </style>