Browse Source

样式优化

刘洋 10 tháng trước cách đây
mục cha
commit
ae331b3f39

+ 41 - 28
src/modules/examwork/view/ipConfig.vue

@@ -33,31 +33,42 @@
               >查询</el-button
             >
           </el-form-item>
-          <el-form-item class="d-block">
-            <el-button size="small" type="primary" @click="editItem(null)"
-              >新增</el-button
-            >
-            <el-button size="small" type="primary" @click="impCourse"
-              >批量导入</el-button
-            >
-            <el-button
-              size="small"
-              type="danger"
-              :disabled="!selectedIds.length"
-              @click="deleteMult(selectedIds)"
-              >批量删除</el-button
-            >
-            <el-button
-              size="small"
-              type="success"
-              @click="openSynchronousDialog"
-              >同步到考试</el-button
-            >
-            <el-button size="small" type="primary" @click="exportHandler"
-              >导出</el-button
-            >
-          </el-form-item>
         </el-form>
+        <div class="block-seperator"></div>
+
+        <span>操作:</span>
+        <el-button
+          size="small"
+          type="primary"
+          icon="el-icon-plus"
+          @click="editItem(null)"
+          >新增</el-button
+        >
+        <el-button
+          size="small"
+          type="primary"
+          icon="el-icon-upload2"
+          @click="impCourse"
+          >批量导入</el-button
+        >
+        <el-button
+          size="small"
+          type="danger"
+          :disabled="!selectedIds.length"
+          icon="el-icon-delete"
+          @click="deleteMult(selectedIds)"
+          >批量删除</el-button
+        >
+        <el-button size="small" type="success" @click="openSynchronousDialog"
+          >同步到考试</el-button
+        >
+        <el-button
+          size="small"
+          type="primary"
+          icon="el-icon-download"
+          @click="exportHandler"
+          >导出</el-button
+        >
         <el-table
           :data="tableData"
           border
@@ -653,10 +664,12 @@ export default {
 <style lang="scss" scoped>
 .ip-config {
   margin-top: 0 !important;
-  .el-form-item {
-    margin-bottom: 15px !important;
-    :deep(.el-form-item__label) {
-      margin-bottom: 2px !important;
+  .el-dialog__body {
+    .el-form-item {
+      margin-bottom: 15px !important;
+      :deep(.el-form-item__label) {
+        margin-bottom: 2px !important;
+      }
     }
   }
 }

+ 11 - 3
src/modules/oe/views/ReexamineRecord.vue

@@ -71,14 +71,22 @@
             <el-button
               size="small"
               type="primary"
+              icon="el-icon-search"
               @click="resetPageAndSearchForm"
               >查询</el-button
             >
-            <el-button size="small" type="primary" @click="exportHandler"
-              >导出</el-button
-            >
           </el-form-item>
         </el-form>
+        <div class="block-seperator"></div>
+
+        <span>操作:</span>
+        <el-button
+          size="small"
+          type="primary"
+          icon="el-icon-download"
+          @click="exportHandler"
+          >导出</el-button
+        >
         <el-table
           :data="tableData"
           border