刘洋 2 years ago
parent
commit
8930927432

+ 1 - 1
src/components/shared/ScoringPanelWithConfirm.vue

@@ -12,7 +12,7 @@
     <div class="fill-lighter p-t-base text-center">
       <div class="total-score-title">— 总分 —</div>
       <div class="m-t-extra-small">
-        <span class="score-value" style="color: red">{{ totalScore }}</span>
+        <span class="score-value" style="color: red">{{ !modelScore?.length ? '' : totalScore }}</span>
         <span class="score-unit">分</span>
       </div>
     </div>

+ 3 - 3
src/components/shared/SendBackMark.vue

@@ -4,7 +4,7 @@
     :title="needRejectReason === true ? '打回原因' : '提示'"
     :footer="false"
     destroy-on-close
-    :width="550"
+    :width="needRejectReason === true ? 550 : 330"
   >
     <template v-if="needRejectReason === true">
       <base-form ref="formRef" :model="model" :items="items" :rules="rules" label-width="72px">
@@ -16,7 +16,7 @@
 
     <!-- <base-form ref="formRef" :model="model" :items="items" :rules="rules" :label-width="useVW(72)"> -->
     <template v-else-if="needRejectReason === false">
-      <h3 style="margin-top: 25px; margin-bottom: 40px">确定打回吗?</h3>
+      <h3 style="margin-top: 10px; margin-bottom: 40px">确定打回吗?</h3>
       <el-form-item>
         <confirm-button @confirm="onSendBack" @cancel="onCancel"></confirm-button>
       </el-form-item>
@@ -92,7 +92,7 @@ const items: any[] = [
     labelWidth: '80px',
     prop: 'description',
     slotType: 'input',
-    slot: { type: 'textarea', maxlength: 200, resize: 'none', rows: 6, showWordLimit: true },
+    slot: { type: 'textarea', maxlength: 50, resize: 'none', rows: 6, showWordLimit: true },
   },
 ]
 

+ 8 - 1
src/modules/marking/mark/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="flex direction-column full">
+  <div class="flex direction-column full mark-page">
     <mark-header :exclude-operations="excludeOperations" :paper-path="currentTask?.url" @click="onOperationClick">
       <div class="data-item">
         已评: {{ markStatus?.personCount || 0 }} /
@@ -528,6 +528,13 @@ bus.on('mark-prev', async () => {
 </script>
 
 <style scoped lang="scss">
+.mark-page {
+  :deep(> .el-overlay) {
+    &.dialog-fade-leave-active {
+      animation: none !important;
+    }
+  }
+}
 .mark-container {
   .waiting {
     background-color: #fff;