Browse Source

评卷界面切换任务窗口优化

nikang 6 years ago
parent
commit
e3f9617312
1 changed files with 14 additions and 28 deletions
  1. 14 28
      src/modules/marking/views/Marking.vue

+ 14 - 28
src/modules/marking/views/Marking.vue

@@ -25,18 +25,6 @@
               }}%
             </span>
           </small>
-          <!--
-            <small class="marktitle">
-              <el-button-group>
-                <el-button size="small">
-                  <span class="titlefont">待评</span>
-                </el-button>
-                <el-button size="small">
-                  <span class="titlefont">{{ task.leftCount }}</span>
-                </el-button>
-              </el-button-group>
-            </small>
-          -->
           <small class="marktitle">
             <el-button-group>
               <el-button size="small">
@@ -133,13 +121,7 @@
             width="80%"
           >
             <div class="scroll">
-              <el-form
-                :inline="true"
-                :model="markTaskFormSearch"
-                label-position="right"
-                label-width="70px"
-              ></el-form>
-              <el-table :data="markedResults" border style="width: 100%">
+              <el-table :data="markedResults" border style="width: 100%;">
                 <el-table-column
                   label="答卷Id"
                   width="100"
@@ -149,9 +131,9 @@
                 <el-table-column label="评阅时间">
                   <template slot-scope="scope">
                     <div>
-                      <span style="margin-left: 10px">{{
-                        dateFormatter(scope.row)
-                      }}</span>
+                      <span style="margin-left: 10px">
+                        {{ dateFormatter(scope.row) }}
+                      </span>
                     </div>
                   </template>
                 </el-table-column>
@@ -161,18 +143,18 @@
                 <el-table-column label="问题卷">
                   <template slot-scope="scope">
                     <div>
-                      <span style="margin-left: 10px">{{
-                        getTagName(scope.row.tag)
-                      }}</span>
+                      <span style="margin-left: 10px">
+                        {{ getTagName(scope.row.tag) }}
+                      </span>
                     </div>
                   </template>
                 </el-table-column>
                 <el-table-column label="评卷备注">
                   <template slot-scope="scope">
                     <div>
-                      <span style="margin-left: 10px">{{
-                        scope.row.markRemark
-                      }}</span>
+                      <span style="margin-left: 10px">
+                        {{ scope.row.markRemark }}
+                      </span>
                     </div>
                   </template>
                 </el-table-column>
@@ -767,4 +749,8 @@ li {
 .pull-left {
   float: left !important;
 }
+.scroll {
+  overflow: auto;
+  height: 450px;
+}
 </style>