刘洋 2 år sedan
förälder
incheckning
5920da7c76

+ 12 - 2
src/components/shared/MarkHistoryList.vue

@@ -9,7 +9,15 @@
   >
     <template #default>
       <slot :data="tableData">
-        <base-table border stripe highlight-current-row size="small" :data="tableData" :columns="columns"></base-table>
+        <base-table
+          :style="props.height ? { height: props.height } : {}"
+          border
+          stripe
+          highlight-current-row
+          size="small"
+          :data="tableData"
+          :columns="columns"
+        ></base-table>
       </slot>
     </template>
   </scoring-panel-container>
@@ -33,12 +41,14 @@ const props = withDefaults(
     modal?: boolean
     showLevel?: boolean
     task: any
+    height?: string
   }>(),
   {
     modelValue: true,
     modal: true,
     showLevel: false,
     task: {},
+    height: '',
   }
 )
 
@@ -90,7 +100,7 @@ const columns = computed<EpTableColumn<ExtractArrayValue<ExtractApiResponse<'get
       },
     },
     { label: '类型', prop: 'historyType' },
-    { label: '评卷时间', prop: 'markTime', width: 160 },
+    { label: '评卷时间', prop: 'markTime', width: 130 },
   ]
 )
 </script>

+ 8 - 2
src/modules/analysis/group-monitoring-detail/index.vue

@@ -72,7 +72,13 @@
         ></scoring-panel-with-confirm>
       </div>
       <div class="radius-base p-extra-small fill-blank m-l-base overflow-auto paper-mark-record">
-        <mark-history-list :id="current?.taskId" :model-value="true" :modal="false" :task="current"></mark-history-list>
+        <mark-history-list
+          :id="current?.taskId"
+          height="100%"
+          :model-value="true"
+          :modal="false"
+          :task="current"
+        ></mark-history-list>
       </div>
     </div>
   </div>
@@ -143,7 +149,7 @@ const tableColumn: EpTableColumn<ExtractMultipleApiResponse<'getGroupMonitorDeta
   { label: '客观分', prop: 'objectiveScore', width: 60 },
   { label: '客主比', prop: 'headerRatio', width: 60 },
   { label: '分档', prop: 'scoreLevel' },
-  { label: '评卷时间', prop: 'markTime', width: 150 },
+  { label: '评卷时间', prop: 'markTime', width: 130 },
 ]
 
 const { fetch: getStatisticObjectiveByMarker, result: objectiveByMarker } = useFetch('getStatisticObjectiveByMarker')

+ 1 - 1
src/modules/analysis/view-marked-detail/index.vue

@@ -185,7 +185,7 @@ const columns: EpTableColumn<RowType>[] = [
   { label: '给分', prop: 'markerScore' },
   { label: '客观分', prop: 'objectiveScore' },
   { label: '客主比', prop: 'markerRatio' },
-  { label: '评卷时间', prop: 'markTime', width: 150 },
+  { label: '评卷时间', prop: 'markTime', width: 130 },
 ]
 
 const { pagination, currentPage, data, fetchTable } = useTable('getPersonalMarkDetail', {

+ 1 - 1
src/modules/marking/inquiry-result/index.vue

@@ -218,7 +218,7 @@ const columns: EpTableColumn<RowType>[] = [
   { label: '评卷员', prop: 'markerName', width: 90 },
   { label: '评卷员给分', prop: 'markerScore', width: 88 },
   { label: '组长给分', prop: 'headerScore', width: 70 },
-  { label: '评卷时间', prop: 'markTime', width: 152 },
+  { label: '评卷时间', prop: 'markTime', width: 130 },
   { label: '抽查次数', prop: 'customCheckNumber' },
 ]
 

+ 1 - 1
src/modules/marking/problem/index.vue

@@ -238,7 +238,7 @@ const columns: EpTableColumn[] = [
   { label: '客观分', prop: 'objectiveScore', width: 55 },
   { label: '主观分', prop: 'markScore', width: 55 },
   { label: '客主比', prop: 'markRatio', width: 55 },
-  { label: '评卷时间', prop: 'markTime', width: 160 },
+  { label: '评卷时间', prop: 'markTime', width: 130 },
   { label: '处理人', prop: 'headerName', width: 75 },
   { label: '处理时间', prop: 'solveTime', width: 160 },
 ]

+ 1 - 1
src/modules/marking/view-sample/index.vue

@@ -6,7 +6,7 @@
       @click="onOperationClick"
     ></mark-header> -->
     <mark-header :exclude-operations="['delete', 'bookmark']" :paper-path="current?.url" @click="onOperationClick">
-      <div v-show="current" class="data-item">
+      <div v-if="current" class="data-item">
         <p class="main-ques-info truncate">{{ current?.mainNumber }}-{{ current?.mainTitle }}</p>
       </div>
       <div class="data-item">

+ 1 - 1
src/modules/monitor/system-check/index.vue

@@ -273,7 +273,7 @@ const columns: EpTableColumn[] = [
   { label: '组长给分', prop: 'headerScore', width: 70 },
   // { label: '评卷时间', prop: 'markTime', width: 160 },
   { label: '抽查次数', prop: 'checkCount', width: 70 },
-  { label: '评卷时间', prop: 'markTime', width: 160 },
+  { label: '评卷时间', prop: 'markTime', width: 130 },
 ]
 
 // const { fetch: getSystemSpotList, result: systemSpotList, loading } = useFetch('getSystemSpotList')

+ 1 - 1
src/modules/monitor/training-monitoring-detail/index.vue

@@ -134,7 +134,7 @@ const columns: EpTableColumn<RowType>[] = [
   // { label: '分组', prop: 'group' },
   { label: '分组', prop: 'groupName', width: 60 },
   { label: '评卷员', prop: 'markerName', minWidth: 60 },
-  { label: '评卷时间', prop: 'markTime', width: 150 },
+  { label: '评卷时间', prop: 'markTime', width: 130 },
 ]
 
 const { fetch: getTrainingMonitorDetail, result: trainingMonitorDetail } = useFetch('getTrainingMonitorDetail')

+ 1 - 1
src/modules/quality/self-check-detail/index.vue

@@ -186,7 +186,7 @@ const columns: EpTableColumn<RowType>[] = [
   { label: '离差', prop: 'diff' },
   { label: '正式分', prop: 'markerScore' },
   { label: '自查分', prop: 'selfScore' },
-  { label: '评卷时间', prop: 'markTime' },
+  { label: '评卷时间', prop: 'markTime', width: 130 },
 ]
 
 const {

+ 1 - 1
src/modules/quality/self-check/index.vue

@@ -163,7 +163,7 @@ const columns3: EpTableColumn[] = [
   { label: '自查分', prop: 'markScore' },
   // { label: '上次分数', prop: 'lastMarkScore' },
   { label: '分数', prop: 'lastMarkScore' },
-  { label: '评卷时间', prop: 'markTime' },
+  { label: '评卷时间', prop: 'markTime', width: 130 },
 ]
 
 watch(currentSelfCheckAnalysis, () => {