Przeglądaj źródła

阅卷评卷界面优化

nikang 6 lat temu
rodzic
commit
34f8cbff4c

+ 12 - 12
src/modules/marking/views/Marking.vue

@@ -43,7 +43,7 @@
                 <span class="titlefont">已评</span>
               </el-button>
               <el-button size="small" @click="markedClick">
-                <span class="titlefont"> {{ task.markedCount }} </span>
+                <span class="titlefont">{{ task.markedCount }}</span>
               </el-button>
             </el-button-group>
           </small>
@@ -149,9 +149,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 +161,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>
@@ -210,8 +210,8 @@
             </span>
           </small>
           <small class="marktitle titlefont marksign">
-            <el-button type="success" @click="backIndex" size="mini">
-              <v-icon name="sign-out-alt" />
+            <el-button type="success" @click="backIndex" size="small">
+              <v-icon name="sign-out-alt" scale="0.5" />
               <span class="titlefont">退回</span>
             </el-button>
           </small>

+ 8 - 7
src/modules/marking/views/TpScoreBoard.vue

@@ -33,12 +33,12 @@
                   "
                   class="button button-border button-box button-primary button-small titlebutton"
                 >
-                  <label class>
+                  <span class>
                     {{ resultItem.markItem.mainNumber }}({{
                       resultItem.markItem.orders
                     }})
-                  </label>
-                  <label class="score">{{ resultItem.score }}分</label>
+                  </span>
+                  <span class="score">{{ resultItem.score }}分</span>
                 </a>
               </li>
               <li class="clear"></li>
@@ -58,7 +58,7 @@
                   @click="scoreClick(score);"
                   class="button button-primary button-box scorebutton"
                 >
-                  <label>{{ score }}</label>
+                  <span>{{ score }}</span>
                 </button>
               </li>
             </ul>
@@ -161,9 +161,9 @@
                   v-for="tag in tags"
                   :key="tag.code"
                 >
-                  <el-radio :label="tag.code" :key="tag.code">{{
-                    tag.name
-                  }}</el-radio>
+                  <el-radio :label="tag.code" :key="tag.code">
+                    {{ tag.name }}
+                  </el-radio>
                 </li>
               </el-radio-group>
             </span>
@@ -855,6 +855,7 @@ li {
   float: right;
 }
 .scorebutton {
+  cursor: pointer;
   background-color: #1b9af7;
   border-color: #1b9af7;
   color: #fff;