Browse Source

表格列宽优化

刘洋 2 years ago
parent
commit
d00939c237
27 changed files with 188 additions and 195 deletions
  1. BIN
      electron/build/icons/icon.ico
  2. BIN
      electron/main/public/icons/icon.png
  3. 8 18
      src/components/shared/StandardDialog.vue
  4. 1 1
      src/hooks/useSetImgBg.ts
  5. 10 10
      src/modules/admin-data/export/index.vue
  6. 5 5
      src/modules/admin-exam/manage/index.vue
  7. 1 1
      src/modules/admin-subject/manage/index.vue
  8. 9 9
      src/modules/admin-user/manage/hooks/useUserManageTable.ts
  9. 8 8
      src/modules/analysis/group-monitoring/index.vue
  10. 1 1
      src/modules/analysis/marking-progress/components/TotalProgress.vue
  11. 21 21
      src/modules/analysis/personnel-statistics/components/StatisticsGroup.vue
  12. 21 21
      src/modules/analysis/personnel-statistics/components/StatisticsPersonnel.vue
  13. 6 6
      src/modules/analysis/view-marked-detail/index.vue
  14. 5 5
      src/modules/expert/assess/index.vue
  15. 6 6
      src/modules/expert/expert/index.vue
  16. 5 5
      src/modules/expert/sample/index.vue
  17. 4 4
      src/modules/expert/standard/index.vue
  18. 5 5
      src/modules/expert/training/index.vue
  19. 11 11
      src/modules/marking/arbitration/index.vue
  20. 6 6
      src/modules/marking/inquiry-result/index.vue
  21. 9 9
      src/modules/marking/problem/index.vue
  22. 6 6
      src/modules/marking/repeat/index.vue
  23. 4 3
      src/modules/marking/similar/index.vue
  24. 6 6
      src/modules/monitor/system-check/index.vue
  25. 7 6
      src/modules/monitor/training-monitoring/index.vue
  26. 13 12
      src/modules/quality/ending-check/components/SubjectProgress.vue
  27. 10 10
      src/modules/quality/subjective-check/index.vue

BIN
electron/build/icons/icon.ico


BIN
electron/main/public/icons/icon.png


+ 8 - 18
src/components/shared/StandardDialog.vue

@@ -1,10 +1,5 @@
 <template>
 <template>
-  <div
-    v-if="visible"
-    v-dialogResizeStandard="resizeKey ? resizeKey : 'can-resize2'"
-    class="standard-dialog"
-    :class="[resizeKey ? resizeKey : 'can-resize2']"
-  >
+  <div v-if="visible" v-dialogResizeStandard="'can-resize3'" class="standard-dialog can-resize3">
     <div class="standard-head">
     <div class="standard-head">
       <span>评分标准</span>
       <span>评分标准</span>
       <div class="head-btn-box flex justify-center items-center" @click="closeDialog">
       <div class="head-btn-box flex justify-center items-center" @click="closeDialog">
@@ -13,28 +8,18 @@
     </div>
     </div>
     <div class="standard-body">
     <div class="standard-body">
       <div id="my-iframe-mask"></div>
       <div id="my-iframe-mask"></div>
-      <iframe
-        style="width: 100%; height: 100%; prevent-events: pointer"
-        :src="
-          standardRes?.url
-            ? standardRes?.url + '#view=FitH&scrollbar=0&toolbar=0&statusbar=0&messages=0&navpanes=0'
-            : ''
-        "
-        alt=""
-      ></iframe>
+      <iframe style="width: 100%; height: 100%; prevent-events: pointer" :src="iframeSrc" alt=""></iframe>
     </div>
     </div>
   </div>
   </div>
 </template>
 </template>
 
 
 <script setup lang="ts" name="StandardDialog">
 <script setup lang="ts" name="StandardDialog">
 import useVModel from '@/hooks/useVModel'
 import useVModel from '@/hooks/useVModel'
-import { ref, watch } from 'vue'
+import { ref, computed } from 'vue'
 import { Close } from '@element-plus/icons-vue'
 import { Close } from '@element-plus/icons-vue'
 import { ElIcon } from 'element-plus'
 import { ElIcon } from 'element-plus'
 import useFetch from '@/hooks/useFetch'
 import useFetch from '@/hooks/useFetch'
 
 
-const showDialog = ref(true)
-
 const props = defineProps<{
 const props = defineProps<{
   modelValue: boolean
   modelValue: boolean
   resizeKey?: string
   resizeKey?: string
@@ -46,6 +31,11 @@ const closeDialog = () => {
 
 
 const { fetch: fetchStandard, result: standardRes } = useFetch('getMarkingStandard')
 const { fetch: fetchStandard, result: standardRes } = useFetch('getMarkingStandard')
 fetchStandard()
 fetchStandard()
+const iframeSrc = computed(() => {
+  return standardRes.value?.url
+    ? standardRes.value?.url + '#view=FitH&scrollbar=0&toolbar=0&statusbar=0&messages=0&navpanes=0'
+    : ''
+})
 </script>
 </script>
 //
 //
 <style scoped lang="scss">
 <style scoped lang="scss">

+ 1 - 1
src/hooks/useSetImgBg.ts

@@ -100,7 +100,7 @@ export const useSetImgBg = (option: Ref<SetImgBgOption>, frontColor?: Ref<string
           if (frontColor && setFrontColor) {
           if (frontColor && setFrontColor) {
             // console.time()
             // console.time()
             try {
             try {
-              const result = await analyze(image, { scale: 0.1 })
+              const result = await analyze(image, { scale: 0.2 })
               const bgColorRgb = result[0].color
               const bgColorRgb = result[0].color
               const bgColorNum = bgColorRgb.split('rgb(')[1].slice(0, -1)
               const bgColorNum = bgColorRgb.split('rgb(')[1].slice(0, -1)
               const splitArr = bgColorNum.split(',')
               const splitArr = bgColorNum.split(',')

+ 10 - 10
src/modules/admin-data/export/index.vue

@@ -84,17 +84,17 @@ const items = computed<EpFormItem[]>(() => {
 const { pagination, currentPage, loading, data, fetchTable } = useTable('getCetScoreList', model)
 const { pagination, currentPage, loading, data, fetchTable } = useTable('getCetScoreList', model)
 
 
 const columns: EpTableColumn[] = [
 const columns: EpTableColumn[] = [
-  { label: '准考证号', prop: 'examNumber', minWidth: '160', fixed: 'left' },
-  { label: '科目代码', prop: 'subjectCode', width: 90 },
-  { label: '作文分', prop: 'compositionScore', width: 70 },
-  { label: '主观分', prop: 'subjectScore', width: 70 },
-  { label: '作文评卷员代码', prop: 'compositionMarker', width: 110 },
-  { label: '作文题评卷标志', prop: 'compositionTag', width: 110 },
-  { label: '翻译题得分', prop: 'translateScore', width: 90 },
+  { label: '准考证号', prop: 'examNumber', minWidth: 160, fixed: 'left' },
+  { label: '科目代码', prop: 'subjectCode', minWidth: 90 },
+  { label: '作文分', prop: 'compositionScore', minWidth: 70 },
+  { label: '主观分', prop: 'subjectScore', minWidth: 70 },
+  { label: '作文评卷员代码', prop: 'compositionMarker', minWidth: 110 },
+  { label: '作文题评卷标志', prop: 'compositionTag', minWidth: 110 },
+  { label: '翻译题得分', prop: 'translateScore', minWidth: 90 },
   { label: '翻译题评卷员代码', prop: 'translateMarker', minWidth: 120 },
   { label: '翻译题评卷员代码', prop: 'translateMarker', minWidth: 120 },
-  { label: '翻译题评卷标志', prop: 'translateTag', width: 110 },
-  { label: '作文雷同标记', prop: 'compositionSame', width: 90 },
-  { label: '翻译雷同标记', prop: 'translateSame', width: 90 },
+  { label: '翻译题评卷标志', prop: 'translateTag', minWidth: 110 },
+  { label: '作文雷同标记', prop: 'compositionSame', minWidth: 90 },
+  { label: '翻译雷同标记', prop: 'translateSame', minWidth: 90 },
 ]
 ]
 
 
 const onSearch = async () => {
 const onSearch = async () => {

+ 5 - 5
src/modules/admin-exam/manage/index.vue

@@ -70,11 +70,11 @@ const items: EpFormItem[] = [
 const { data, fetchTable, loading } = useTable('getExamList', model)
 const { data, fetchTable, loading } = useTable('getExamList', model)
 
 
 const columns: EpTableColumn<ExtractMultipleApiResponse<'getExamList'>>[] = [
 const columns: EpTableColumn<ExtractMultipleApiResponse<'getExamList'>>[] = [
-  { prop: 'id', label: 'ID' },
-  { prop: 'name', label: '考试名称' },
-  { prop: 'enable', label: '状态', formatter: (row) => (row.enable ? '启用' : '禁用') },
-  { prop: 'updateTime', label: '更新时间', width: 190 },
-  { label: '操作', slotName: 'operation', width: 180 },
+  { prop: 'id', label: 'ID', minWidth: 50 },
+  { prop: 'name', label: '考试名称', minWidth: 100 },
+  { prop: 'enable', label: '状态', minWidth: 70, formatter: (row) => (row.enable ? '启用' : '禁用') },
+  { prop: 'updateTime', label: '更新时间', minWidth: 190 },
+  { label: '操作', slotName: 'operation', minWidth: 180 },
 ]
 ]
 
 
 /** 查询 */
 /** 查询 */

+ 1 - 1
src/modules/admin-subject/manage/index.vue

@@ -109,7 +109,7 @@ const columns: EpTableColumn<ExtractMultipleApiResponse<'getSubjectList'>>[] = [
   { label: '主观分', prop: 'subjectiveScore' },
   { label: '主观分', prop: 'subjectiveScore' },
   { label: '客观分', prop: 'objectiveScore' },
   { label: '客观分', prop: 'objectiveScore' },
   { label: '试卷总分', prop: 'totalScore' },
   { label: '试卷总分', prop: 'totalScore' },
-  { label: '操作', slotName: 'operation', width: 180 },
+  { label: '操作', slotName: 'operation' },
 ]
 ]
 
 
 async function onSearch() {
 async function onSearch() {

+ 9 - 9
src/modules/admin-user/manage/hooks/useUserManageTable.ts

@@ -6,22 +6,22 @@ const useUserManageTable = (model?: ModelType<'getUserList'>) => {
   const { data, ...other } = useTable('getUserList', model)
   const { data, ...other } = useTable('getUserList', model)
 
 
   const columns: EpTableColumn<MultipleResponseType<'getUserList'>>[] = [
   const columns: EpTableColumn<MultipleResponseType<'getUserList'>>[] = [
-    { type: 'selection' },
-    { label: 'ID', prop: 'id' },
-    { label: '姓名', prop: 'name' },
-    { label: '登录名', prop: 'loginName' },
-    { label: '角色', prop: 'roleName', width: 80 },
+    { type: 'selection', width: 60 },
+    { label: 'ID', prop: 'id', minWidth: 50 },
+    { label: '姓名', prop: 'name', minWidth: 100 },
+    { label: '登录名', prop: 'loginName', minWidth: 100 },
+    { label: '角色', prop: 'roleName', minWidth: 80 },
     {
     {
       label: '状态',
       label: '状态',
       prop: 'enable',
       prop: 'enable',
-      width: 50,
+      minWidth: 50,
       formatter(row) {
       formatter(row) {
         return row.enable ? '启用' : '禁用'
         return row.enable ? '启用' : '禁用'
       },
       },
     },
     },
-    { label: '更新人', prop: 'updaterName' },
-    { label: '更新时间', prop: 'updateTime', width: 160 },
-    { label: '操作', slotName: 'operation', showOverflowTooltip: false, width: 180 },
+    { label: '更新人', prop: 'updaterName', minWidth: 100 },
+    { label: '更新时间', prop: 'updateTime', minWidth: 130 },
+    { label: '操作', slotName: 'operation', showOverflowTooltip: false, minWidth: 180 },
   ]
   ]
 
 
   return {
   return {

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

@@ -36,16 +36,16 @@ const { loading, fetch: getGroupMonitor, result } = useFetch('getGroupMonitor')
 
 
 const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getGroupMonitor'>>>[] = [
 const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getGroupMonitor'>>>[] = [
   { label: '组长', prop: 'markingGroupLeader', fixed: 'left' },
   { label: '组长', prop: 'markingGroupLeader', fixed: 'left' },
-  { label: '已浏览系统抽查卷数', prop: 'sysCheckCount', width: 160, sortable: true },
-  { label: '已给分系统抽查卷数', prop: 'sysCheckReScoreCount', width: 160, sortable: true },
-  { label: '已浏览问题卷数', prop: 'problemCount', width: 130, sortable: true },
-  { label: '已给分问题卷数', prop: 'problemReScoreCount', width: 130, sortable: true },
-  { label: '已浏览自定义抽查卷数', prop: 'customCheckCount', width: 170, sortable: true },
-  { label: '已给分自定义抽查卷数', prop: 'customCheckReScoreCount', width: 170, sortable: true },
+  { label: '已浏览系统抽查卷数', prop: 'sysCheckCount', minWidth: 160, sortable: true },
+  { label: '已给分系统抽查卷数', prop: 'sysCheckReScoreCount', minWidth: 160, sortable: true },
+  { label: '已浏览问题卷数', prop: 'problemCount', minWidth: 130, sortable: true },
+  { label: '已给分问题卷数', prop: 'problemReScoreCount', minWidth: 130, sortable: true },
+  { label: '已浏览自定义抽查卷数', prop: 'customCheckCount', minWidth: 170, sortable: true },
+  { label: '已给分自定义抽查卷数', prop: 'customCheckReScoreCount', minWidth: 170, sortable: true },
   {
   {
     label: '已浏览试卷总数',
     label: '已浏览试卷总数',
     prop: 'totalCount',
     prop: 'totalCount',
-    width: 130,
+    minWidth: 130,
     sortable: true,
     sortable: true,
     formatter(row) {
     formatter(row) {
       return (
       return (
@@ -58,7 +58,7 @@ const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getGroupMonit
   {
   {
     label: '已给分试卷总数',
     label: '已给分试卷总数',
     prop: 'totalReScoreCount',
     prop: 'totalReScoreCount',
-    width: 130,
+    minWidth: 130,
     sortable: true,
     sortable: true,
     formatter(row) {
     formatter(row) {
       return (
       return (

+ 1 - 1
src/modules/analysis/marking-progress/components/TotalProgress.vue

@@ -140,7 +140,7 @@ const totalColumns: EpTableColumn<TotalProgress>[] = [
     // label: '预计耗时(分)',
     // label: '预计耗时(分)',
     label: '耗时',
     label: '耗时',
     align: 'center',
     align: 'center',
-    width: 150,
+    minWidth: 150,
     prop: 'takeTime',
     prop: 'takeTime',
     // formatter(row) {
     // formatter(row) {
     //   // return `${parseFloat((row.takeTime / 60 / 60).toFixed(2))}`
     //   // return `${parseFloat((row.takeTime / 60 / 60).toFixed(2))}`

+ 21 - 21
src/modules/analysis/personnel-statistics/components/StatisticsGroup.vue

@@ -53,7 +53,7 @@ const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getStatistics
   {
   {
     label: '小组',
     label: '小组',
     prop: 'markingGroupNumber',
     prop: 'markingGroupNumber',
-    width: 52,
+    width: 60,
     fixed: 'left',
     fixed: 'left',
     formatter(row: any) {
     formatter(row: any) {
       return row.markingGroupNumber === 0 ? '全部' : `${row.markingGroupNumber}`
       return row.markingGroupNumber === 0 ? '全部' : `${row.markingGroupNumber}`
@@ -68,39 +68,39 @@ const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getStatistics
       return row.markingGroupNumber === 0 ? '全体' : `第${row.markingGroupNumber}组`
       return row.markingGroupNumber === 0 ? '全体' : `第${row.markingGroupNumber}组`
     },
     },
   },
   },
-  { align: 'center', label: '评卷份数', prop: 'markingPaperCount', width: 92 },
-  { align: 'center', label: '平均分', prop: 'avg', width: 80 },
-  { align: 'center', label: '相关系数', prop: 'xyRelate', width: 90 },
-  { align: 'center', label: '标准差', prop: 'std', width: 80 },
-  { align: 'center', label: '综合系数', prop: 'integration', width: 90 },
+  { align: 'center', label: '评卷份数', prop: 'markingPaperCount', minWidth: 92 },
+  { align: 'center', label: '平均分', prop: 'avg', minWidth: 80 },
+  { align: 'center', label: '相关系数', prop: 'xyRelate', minWidth: 90 },
+  { align: 'center', label: '标准差', prop: 'std', minWidth: 80 },
+  { align: 'center', label: '综合系数', prop: 'integration', minWidth: 90 },
 
 
   // { align: 'center', label: '评卷份数', prop: 'markingPaperCount', width: 92 },
   // { align: 'center', label: '评卷份数', prop: 'markingPaperCount', width: 92 },
-  { align: 'center', label: '当日可阅', prop: 'markDayCount', width: 92 },
-  { align: 'center', label: '剩余可阅', prop: 'todoMarkDayCount', width: 92 },
-  { align: 'center', label: '客观题0分量', prop: 'objectiveZero', width: 120 },
-  { align: 'center', label: '客观平均分', prop: 'objectiveAvg', width: 110 },
-  { align: 'center', label: '客观标准差', prop: 'objectiveStd', width: 104 },
+  { align: 'center', label: '当日可阅', prop: 'markDayCount', minWidth: 92 },
+  { align: 'center', label: '剩余可阅', prop: 'todoMarkDayCount', minWidth: 92 },
+  { align: 'center', label: '客观题0分量', prop: 'objectiveZero', minWidth: 120 },
+  { align: 'center', label: '客观平均分', prop: 'objectiveAvg', minWidth: 110 },
+  { align: 'center', label: '客观标准差', prop: 'objectiveStd', minWidth: 104 },
   {
   {
     align: 'center',
     align: 'center',
     label: '重评/待确认',
     label: '重评/待确认',
     prop: 'reMarkUnConfirmCount',
     prop: 'reMarkUnConfirmCount',
-    width: 120,
+    minWidth: 120,
     formatter(row: any) {
     formatter(row: any) {
       return `${row.reMarkCount}/${row.reMarkUnConfirmCount}`
       return `${row.reMarkCount}/${row.reMarkUnConfirmCount}`
     },
     },
   },
   },
-  { align: 'center', label: '抽查量', prop: 'checkCount', width: 90 },
-  { align: 'center', label: '抽查改正量', prop: 'checkCorrectCount', width: 110 },
+  { align: 'center', label: '抽查量', prop: 'checkCount', minWidth: 90 },
+  { align: 'center', label: '抽查改正量', prop: 'checkCorrectCount', minWidth: 110 },
   // { align: 'center', label: '相关系数', prop: 'xyRelate', width: 90 },
   // { align: 'center', label: '相关系数', prop: 'xyRelate', width: 90 },
   // { align: 'center', label: '平均分', prop: 'avg', width: 80 },
   // { align: 'center', label: '平均分', prop: 'avg', width: 80 },
   // { align: 'center', label: '标准差', prop: 'std', width: 80 },
   // { align: 'center', label: '标准差', prop: 'std', width: 80 },
-  { align: 'center', label: '近5分钟最高分', prop: 'scoreTop', width: 124 },
-  { align: 'center', label: '近5分钟最低分', prop: 'scoreLow', width: 124 },
-  { align: 'center', label: '近5分钟客主比', prop: 'objSubRate', width: 124 },
-  { align: 'center', label: '平均客主比', prop: 'objSubAvgRate', width: 110 },
-  { align: 'center', label: '在线', prop: 'online', width: 72 },
-  { align: 'center', label: '状态', prop: 'markingStatus', width: 100 },
-  { align: 'center', label: '速度', prop: 'markingRate', width: 66 },
+  { align: 'center', label: '近5分钟最高分', prop: 'scoreTop', minWidth: 124 },
+  { align: 'center', label: '近5分钟最低分', prop: 'scoreLow', minWidth: 124 },
+  { align: 'center', label: '近5分钟客主比', prop: 'objSubRate', minWidth: 124 },
+  { align: 'center', label: '平均客主比', prop: 'objSubAvgRate', minWidth: 110 },
+  { align: 'center', label: '在线', prop: 'online', minWidth: 72 },
+  { align: 'center', label: '状态', prop: 'markingStatus', minWidth: 100 },
+  { align: 'center', label: '速度', prop: 'markingRate', minWidth: 66 },
   // { align: 'center', label: '综合系数', prop: 'integration', width: 90 },
   // { align: 'center', label: '综合系数', prop: 'integration', width: 90 },
 ].map((col: any) => {
 ].map((col: any) => {
   if (!['小组', '重评/待确认'].includes(col.label)) col.sortable = 'custom'
   if (!['小组', '重评/待确认'].includes(col.label)) col.sortable = 'custom'

+ 21 - 21
src/modules/analysis/personnel-statistics/components/StatisticsPersonnel.vue

@@ -107,7 +107,7 @@ const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getStatistics
   {
   {
     label: '小组',
     label: '小组',
     prop: 'markingGroupNumber',
     prop: 'markingGroupNumber',
-    width: 52,
+    width: 60,
     fixed: 'left',
     fixed: 'left',
     formatter(row: any) {
     formatter(row: any) {
       return row.markingGroupNumber === 0 ? '全部' : `第${row.markingGroupNumber}组`
       return row.markingGroupNumber === 0 ? '全部' : `第${row.markingGroupNumber}组`
@@ -115,47 +115,47 @@ const columns: EpTableColumn<ExtractArrayValue<ExtractApiResponse<'getStatistics
   },
   },
   { label: '评卷员', prop: 'markerName', minWidth: 84, slotName: 'marker' },
   { label: '评卷员', prop: 'markerName', minWidth: 84, slotName: 'marker' },
 
 
-  { align: 'center', label: '评卷份数', prop: 'markingPaperCount', width: 92 },
-  { align: 'center', label: '平均分', prop: 'avg', width: 80 },
-  { align: 'center', label: '相关系数', prop: 'xyRelate', width: 90 },
-  { align: 'center', label: '标准差', prop: 'std', width: 80 },
-  { align: 'center', label: '综合系数', prop: 'integration', width: 90 },
+  { align: 'center', label: '评卷份数', prop: 'markingPaperCount', minWidth: 92 },
+  { align: 'center', label: '平均分', prop: 'avg', minWidth: 80 },
+  { align: 'center', label: '相关系数', prop: 'xyRelate', minWidth: 90 },
+  { align: 'center', label: '标准差', prop: 'std', minWidth: 80 },
+  { align: 'center', label: '综合系数', prop: 'integration', minWidth: 90 },
 
 
   // { align: 'center', label: '评卷份数', prop: 'markingPaperCount', width: 92 },
   // { align: 'center', label: '评卷份数', prop: 'markingPaperCount', width: 92 },
-  { align: 'center', label: '当日可阅', prop: 'markDayCount', width: 92 },
-  { align: 'center', label: '剩余可阅', prop: 'todoMarkDayCount', width: 92 },
-  { align: 'center', label: '客观题0分量', prop: 'objectiveZero', width: 120 },
-  { align: 'center', label: '客观平均分', prop: 'objectiveAvg', width: 110 },
-  { align: 'center', label: '客观标准差', prop: 'objectiveStd', width: 104 },
+  { align: 'center', label: '当日可阅', prop: 'markDayCount', minWidth: 92 },
+  { align: 'center', label: '剩余可阅', prop: 'todoMarkDayCount', minWidth: 92 },
+  { align: 'center', label: '客观题0分量', prop: 'objectiveZero', minWidth: 120 },
+  { align: 'center', label: '客观平均分', prop: 'objectiveAvg', minWidth: 110 },
+  { align: 'center', label: '客观标准差', prop: 'objectiveStd', minWidth: 104 },
   {
   {
     align: 'center',
     align: 'center',
     label: '重评/待确认',
     label: '重评/待确认',
     prop: 'reMarkUnConfirmCount',
     prop: 'reMarkUnConfirmCount',
-    width: 120,
+    minWidth: 120,
     formatter(row: any) {
     formatter(row: any) {
       return `${row.reMarkCount}/${row.reMarkUnConfirmCount}`
       return `${row.reMarkCount}/${row.reMarkUnConfirmCount}`
     },
     },
   },
   },
-  { align: 'center', label: '抽查量', prop: 'checkCount', width: 90 },
-  { align: 'center', label: '抽查改正量', prop: 'checkCorrectCount', width: 110 },
+  { align: 'center', label: '抽查量', prop: 'checkCount', minWidth: 90 },
+  { align: 'center', label: '抽查改正量', prop: 'checkCorrectCount', minWidth: 110 },
   // { align: 'center', label: '相关系数', prop: 'xyRelate', width: 90 },
   // { align: 'center', label: '相关系数', prop: 'xyRelate', width: 90 },
   // { align: 'center', label: '平均分', prop: 'avg', width: 80 },
   // { align: 'center', label: '平均分', prop: 'avg', width: 80 },
   // { align: 'center', label: '标准差', prop: 'std', width: 80 },
   // { align: 'center', label: '标准差', prop: 'std', width: 80 },
-  { align: 'center', label: '近5分钟最高分', prop: 'scoreTop', width: 124 },
-  { align: 'center', label: '近5分钟最低分', prop: 'scoreLow', width: 124 },
-  { align: 'center', label: '近5分钟客主比', prop: 'objSubRate', width: 124 },
-  { align: 'center', label: '平均客主比', prop: 'objSubAvgRate', width: 110 },
+  { align: 'center', label: '近5分钟最高分', prop: 'scoreTop', minWidth: 124 },
+  { align: 'center', label: '近5分钟最低分', prop: 'scoreLow', minWidth: 124 },
+  { align: 'center', label: '近5分钟客主比', prop: 'objSubRate', minWidth: 124 },
+  { align: 'center', label: '平均客主比', prop: 'objSubAvgRate', minWidth: 110 },
   {
   {
     align: 'center',
     align: 'center',
     label: '在线',
     label: '在线',
     prop: 'online',
     prop: 'online',
-    width: 72,
+    minWidth: 72,
     formatter(row: any) {
     formatter(row: any) {
       return row.online ? '在线' : '离线'
       return row.online ? '在线' : '离线'
     },
     },
   },
   },
-  { align: 'center', label: '状态', prop: 'markingStatus', width: 100 },
-  { align: 'center', label: '速度', prop: 'markingRate', width: 66 },
+  { align: 'center', label: '状态', prop: 'markingStatus', minWidth: 100 },
+  { align: 'center', label: '速度', prop: 'markingRate', minWidth: 66 },
   // { align: 'center', label: '综合系数', prop: 'integration', width: 90 },
   // { align: 'center', label: '综合系数', prop: 'integration', width: 90 },
 ].map((col: any) => {
 ].map((col: any) => {
   if (!['小组', '重评/待确认'].includes(col.label)) col.sortable = 'custom'
   if (!['小组', '重评/待确认'].includes(col.label)) col.sortable = 'custom'

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

@@ -180,12 +180,12 @@ const onOperationClick: OperationClick = ({ type, value }) => {
 }
 }
 
 
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '评卷员', prop: 'markerName', width: 90 },
-  { label: '密号', prop: 'secretNumber', width: 100 },
-  { label: '给分', prop: 'markerScore' },
-  { label: '客观分', prop: 'objectiveScore' },
-  { label: '客主比', prop: 'markerRatio' },
-  { label: '评卷时间', prop: 'markTime', width: 130 },
+  { label: '评卷员', prop: 'markerName', minWidth: 90 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100 },
+  { label: '给分', prop: 'markerScore', minWidth: 70 },
+  { label: '客观分', prop: 'objectiveScore', minWidth: 70 },
+  { label: '客主比', prop: 'markerRatio', minWidth: 80 },
+  { label: '评卷时间', prop: 'markTime', minWidth: 130 },
 ]
 ]
 
 
 const { pagination, currentPage, data, fetchTable } = useTable('getPersonalMarkDetail', {
 const { pagination, currentPage, data, fetchTable } = useTable('getPersonalMarkDetail', {

+ 5 - 5
src/modules/expert/assess/index.vue

@@ -206,11 +206,11 @@ const formItems = computed<EpFormItem[]>(() => [
 /** 强制考核卷 */
 /** 强制考核卷 */
 
 
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '序号', type: 'index' },
-  { label: '密号', prop: 'secretNumber', width: 100 },
-  { label: '标准分', prop: 'score' },
-  { label: '分组', prop: 'forceGroupNumber' },
-  { label: '提交时间', prop: 'createTime', width: 160 },
+  { label: '序号', type: 'index', width: 60 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100 },
+  { label: '标准分', prop: 'score', minWidth: 70 },
+  { label: '分组', prop: 'forceGroupNumber', minWidth: 90 },
+  { label: '提交时间', prop: 'createTime', minWidth: 130 },
 ]
 ]
 
 
 const { fetch: getExpertAssessList, result: rfSampleList, loading } = useFetch('getExpertAssessList')
 const { fetch: getExpertAssessList, result: rfSampleList, loading } = useFetch('getExpertAssessList')

+ 6 - 6
src/modules/expert/expert/index.vue

@@ -266,12 +266,12 @@ const formItems = computed<EpFormItem[]>(() => {
 /** 专家挑选卷 */
 /** 专家挑选卷 */
 
 
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '序号', type: 'index' },
-  { label: '密号', prop: 'secretNumber', width: 100 },
-  { label: '标准分', prop: 'score', width: 60 },
-  { label: '提交人', prop: 'createName' },
-  { label: '角色', prop: 'roleName' },
-  { label: '提交时间', prop: 'createTime', width: 160 },
+  { label: '序号', type: 'index', width: 60 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100 },
+  { label: '标准分', prop: 'score', minWidth: 60 },
+  { label: '提交人', prop: 'createName', minWidth: 100 },
+  { label: '角色', prop: 'roleName', minWidth: 70 },
+  { label: '提交时间', prop: 'createTime', minWidth: 130 },
 ]
 ]
 
 
 const { fetch: getExpertPickList, result: expertPaperList, loading } = useFetch('getExpertPickList')
 const { fetch: getExpertPickList, result: expertPaperList, loading } = useFetch('getExpertPickList')

+ 5 - 5
src/modules/expert/sample/index.vue

@@ -184,11 +184,11 @@ const formItems = computed<EpFormItem[]>(() => [
 
 
 /** RF卷 */
 /** RF卷 */
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '密号', prop: 'secretNumber', width: 100, fixed: 'left' },
-  { label: '分数', prop: 'score' },
-  { label: '档次', prop: 'scoreLevel' },
-  { label: '提交人', prop: 'createName' },
-  { label: '提交时间', prop: 'createTime', width: 160 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100, fixed: 'left' },
+  { label: '分数', prop: 'score', minWidth: 60 },
+  { label: '档次', prop: 'scoreLevel', minWidth: 90 },
+  { label: '提交人', prop: 'createName', minWidth: 100 },
+  { label: '提交时间', prop: 'createTime', minWidth: 130 },
 ]
 ]
 
 
 const { fetch: getRfSampleList, result: rfSampleList, loading } = useFetch('getRfSampleList')
 const { fetch: getRfSampleList, result: rfSampleList, loading } = useFetch('getRfSampleList')

+ 4 - 4
src/modules/expert/standard/index.vue

@@ -167,10 +167,10 @@ const formItems = computed<EpFormItem[]>(() => [
 
 
 /** 标准卷列表 */
 /** 标准卷列表 */
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '密号', prop: 'secretNumber', width: 100, fixed: 'left' },
-  { label: '分数', prop: 'score' },
-  { label: '提交人', prop: 'createName' },
-  { label: '提交时间', prop: 'createTime', width: 160 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100, fixed: 'left' },
+  { label: '分数', prop: 'score', minWidth: 60 },
+  { label: '提交人', prop: 'createName', minWidth: 100 },
+  { label: '提交时间', prop: 'createTime', minWidth: 130 },
 ]
 ]
 
 
 const { fetch: getStandardList, result: standardList, loading } = useFetch('getStandardList')
 const { fetch: getStandardList, result: standardList, loading } = useFetch('getStandardList')

+ 5 - 5
src/modules/expert/training/index.vue

@@ -167,11 +167,11 @@ const formItems = computed<EpFormItem[]>(() => [
 /** AB培训卷 */
 /** AB培训卷 */
 
 
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '序号', type: 'index' },
-  { label: '密号', prop: 'secretNumber', width: 100 },
-  { label: '标准分', prop: 'score', width: 60 },
-  { label: '分组', prop: 'type' },
-  { label: '提交时间', prop: 'createTime', width: 160 },
+  { label: '序号', type: 'index', width: 60 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100 },
+  { label: '标准分', prop: 'score', minWidth: 60 },
+  { label: '分组', prop: 'type', minWidth: 90 },
+  { label: '提交时间', prop: 'createTime', minWidth: 130 },
 ]
 ]
 
 
 const { fetch: getSampleList, result: sampleList, loading } = useFetch('getSampleList')
 const { fetch: getSampleList, result: sampleList, loading } = useFetch('getSampleList')

+ 11 - 11
src/modules/marking/arbitration/index.vue

@@ -188,17 +188,17 @@ const formItems = computed<EpFormItem[]>(() => [
 /** 查询仲裁卷列表 */
 /** 查询仲裁卷列表 */
 
 
 const columns: EpTableColumn[] = [
 const columns: EpTableColumn[] = [
-  { label: '密号', prop: 'secretNumber', width: 100, fixed: 'left' },
-  { label: '客观分', prop: 'objectiveScore', width: 60 },
-  { label: '组员给分', prop: 'markerScore', width: 70 },
-  { label: '组员', prop: 'markerName', width: 90 },
-  { label: '组员客主比', prop: 'markerRatio', width: 80 },
-  { label: '小组长给分', prop: 'deputyScore', width: 80 },
-  { label: '小组长', prop: 'deputyName', width: 90 },
-  { label: '小组长客主比', prop: 'deputyRatio', width: 90 },
-  { label: '大组长给分', prop: 'chiefScore', width: 80 },
-  { label: '大组长', prop: 'chiefName', width: 90 },
-  { label: '大组长客主比', prop: 'chiefRatio', width: 90 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100, fixed: 'left' },
+  { label: '客观分', prop: 'objectiveScore', minWidth: 60 },
+  { label: '组员给分', prop: 'markerScore', minWidth: 70 },
+  { label: '组员', prop: 'markerName', minWidth: 90 },
+  { label: '组员客主比', prop: 'markerRatio', minWidth: 80 },
+  { label: '小组长给分', prop: 'deputyScore', minWidth: 80 },
+  { label: '小组长', prop: 'deputyName', minWidth: 90 },
+  { label: '小组长客主比', prop: 'deputyRatio', minWidth: 90 },
+  { label: '大组长给分', prop: 'chiefScore', minWidth: 80 },
+  { label: '大组长', prop: 'chiefName', minWidth: 90 },
+  { label: '大组长客主比', prop: 'chiefRatio', minWidth: 90 },
 ]
 ]
 
 
 const { fetch: getArbitrationList, result: arbitrationList, loading } = useFetch('getArbitrationList')
 const { fetch: getArbitrationList, result: arbitrationList, loading } = useFetch('getArbitrationList')

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

@@ -214,12 +214,12 @@ const onOperationClick: OperationClick = ({ type, value }) => {
 }
 }
 
 
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '密号', prop: 'secretNumber', width: 100, fixed: 'left' },
-  { label: '评卷员', prop: 'markerName', width: 90 },
-  { label: '评卷员给分', prop: 'markerScore', width: 88 },
-  { label: '组长给分', prop: 'headerScore', width: 70 },
-  { label: '评卷时间', prop: 'markTime', width: 130 },
-  { label: '抽查次数', prop: 'customCheckNumber' },
+  { label: '密号', prop: 'secretNumber', minWidth: 100, fixed: 'left' },
+  { label: '评卷员', prop: 'markerName', minWidth: 90 },
+  { label: '评卷员给分', prop: 'markerScore', minWidth: 88 },
+  { label: '组长给分', prop: 'headerScore', minWidth: 70 },
+  { label: '评卷时间', prop: 'markTime', minWidth: 130 },
+  { label: '抽查次数', prop: 'customCheckNumber', minWidth: 70 },
 ]
 ]
 
 
 const transTime = (str: any) => {
 const transTime = (str: any) => {

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

@@ -232,15 +232,15 @@ const formItems = computed<EpFormItem[]>(() => [
 
 
 /** 查询问题卷列表 */
 /** 查询问题卷列表 */
 const columns: EpTableColumn[] = [
 const columns: EpTableColumn[] = [
-  { label: '密号', prop: 'secretNumber', width: 100, fixed: 'left' },
-  { label: '提交人', prop: 'markerName', width: 75 },
-  { label: '问题类型', prop: 'problemTypeName', width: 90 },
-  { label: '客观分', prop: 'objectiveScore', width: 55 },
-  { label: '主观分', prop: 'markScore', width: 55 },
-  { label: '客主比', prop: 'markRatio', width: 55 },
-  { label: '评卷时间', prop: 'markTime', width: 130 },
-  { label: '处理人', prop: 'headerName', width: 75 },
-  { label: '处理时间', prop: 'solveTime', width: 160 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100, fixed: 'left' },
+  { label: '提交人', prop: 'markerName', minWidth: 75 },
+  { label: '问题类型', prop: 'problemTypeName', minWidth: 90 },
+  { label: '客观分', prop: 'objectiveScore', minWidth: 55 },
+  { label: '主观分', prop: 'markScore', minWidth: 55 },
+  { label: '客主比', prop: 'markRatio', minWidth: 55 },
+  { label: '评卷时间', prop: 'markTime', minWidth: 130 },
+  { label: '处理人', prop: 'headerName', minWidth: 75 },
+  { label: '处理时间', prop: 'solveTime', minWidth: 160 },
 ]
 ]
 
 
 const { fetch: getProblemHistory, result: problemHistory, loading } = useFetch('getProblemHistory')
 const { fetch: getProblemHistory, result: problemHistory, loading } = useFetch('getProblemHistory')

+ 6 - 6
src/modules/marking/repeat/index.vue

@@ -197,14 +197,14 @@ const formItems = computed<EpFormItem[]>(() => [
 
 
 /** 查询重评卷列表 */
 /** 查询重评卷列表 */
 const columns: EpTableColumn[] = [
 const columns: EpTableColumn[] = [
-  { label: '密号', prop: 'secretNumber', width: 100, fixed: 'left' },
-  { label: '评卷员', prop: 'markerName', width: 80 },
-  { label: '给分', prop: 'markerScore', width: 54 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100, fixed: 'left' },
+  { label: '评卷员', prop: 'markerName', minWidth: 80 },
+  { label: '给分', prop: 'markerScore', minWidth: 54 },
   // { label: '重评时间', prop: 'reMarkTime', width: 160 },
   // { label: '重评时间', prop: 'reMarkTime', width: 160 },
 
 
-  { label: '确认状态', prop: 'confirmName', width: 72 },
-  { label: '确认给分', prop: 'confirmScore', width: 72 },
-  { label: '重评时间', prop: 'reMarkTime', width: 160 },
+  { label: '确认状态', prop: 'confirmName', minWidth: 72 },
+  { label: '确认给分', prop: 'confirmScore', minWidth: 72 },
+  { label: '重评时间', prop: 'reMarkTime', minWidth: 130 },
 ]
 ]
 
 
 const { fetch: getReMarkPaperList, result: reMarkPaperList, loading } = useFetch('getReMarkPaperList')
 const { fetch: getReMarkPaperList, result: reMarkPaperList, loading } = useFetch('getReMarkPaperList')

+ 4 - 3
src/modules/marking/similar/index.vue

@@ -134,12 +134,13 @@ const formItems = computed<EpFormItem[]>(() => [
 
 
 /** 雷同卷卷列表 */
 /** 雷同卷卷列表 */
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '密号', prop: 'secretNumber', width: 100, fixed: 'left' },
-  { label: '雷同密号', prop: 'sameSecretNumber' },
-  { label: '评卷员', prop: 'markerName' },
+  { label: '密号', prop: 'secretNumber', minWidth: 100, fixed: 'left' },
+  { label: '雷同密号', prop: 'sameSecretNumber', minWidth: 100 },
+  { label: '评卷员', prop: 'markerName', minWidth: 100 },
   {
   {
     label: '雷同判定',
     label: '雷同判定',
     prop: 'status',
     prop: 'status',
+    minWidth: 100,
     formatter(row) {
     formatter(row) {
       // return { INITIAL: '', SAME: '雷同', NOT_SAME: '不雷同' }[row.status]
       // return { INITIAL: '', SAME: '雷同', NOT_SAME: '不雷同' }[row.status]
       return { INITIAL: '', SAME: '是', NOT_SAME: '否' }[row.status]
       return { INITIAL: '', SAME: '是', NOT_SAME: '否' }[row.status]

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

@@ -267,13 +267,13 @@ const formItems = computed<EpFormItem[]>(() => [
 /** 系统抽查卷列表 */
 /** 系统抽查卷列表 */
 
 
 const columns: EpTableColumn[] = [
 const columns: EpTableColumn[] = [
-  { label: '密号', prop: 'secretNumber', width: 100, fixed: 'left' },
-  { label: '评卷员', prop: 'markerName', width: 80 },
-  { label: '评卷员给分', prop: 'markerScore', width: 80 },
-  { label: '组长给分', prop: 'headerScore', width: 70 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100, fixed: 'left' },
+  { label: '评卷员', prop: 'markerName', minWidth: 80 },
+  { label: '评卷员给分', prop: 'markerScore', minWidth: 80 },
+  { label: '组长给分', prop: 'headerScore', minWidth: 70 },
   // { label: '评卷时间', prop: 'markTime', width: 160 },
   // { label: '评卷时间', prop: 'markTime', width: 160 },
-  { label: '抽查次数', prop: 'checkCount', width: 70 },
-  { label: '评卷时间', prop: 'markTime', width: 130 },
+  { label: '抽查次数', prop: 'checkCount', minWidth: 70 },
+  { label: '评卷时间', prop: 'markTime', minWidth: 130 },
 ]
 ]
 
 
 // const { fetch: getSystemSpotList, result: systemSpotList, loading } = useFetch('getSystemSpotList')
 // const { fetch: getSystemSpotList, result: systemSpotList, loading } = useFetch('getSystemSpotList')

+ 7 - 6
src/modules/monitor/training-monitoring/index.vue

@@ -125,13 +125,14 @@ const columns = computed<EpTableColumn<TableDataType>[]>(() => {
       selectable(row) {
       selectable(row) {
         return !!row.markerId
         return !!row.markerId
       },
       },
+      width: 60,
       fixed: 'left',
       fixed: 'left',
     },
     },
-    { label: '评卷员', prop: 'markerName', width: 110, fixed: 'left' },
+    { label: '评卷员', prop: 'markerName', minWidth: 110, fixed: 'left' },
     {
     {
       label: '状态',
       label: '状态',
       prop: 'status',
       prop: 'status',
-      width: 110,
+      width: 120,
       fixed: 'left',
       fixed: 'left',
       formatter(row: any) {
       formatter(row: any) {
         let cls =
         let cls =
@@ -156,10 +157,10 @@ const columns = computed<EpTableColumn<TableDataType>[]>(() => {
         )
         )
       },
       },
     },
     },
-    { label: '平均分', prop: 'avg', width: 80 },
-    { label: '标准差', prop: 'std', width: 80 },
-    { label: '相关系数', prop: 'xyRelate', width: 80 },
-    { label: '差异份数', prop: 'diffCount', width: 80 },
+    { label: '平均分', prop: 'avg', minWidth: 80 },
+    { label: '标准差', prop: 'std', minWidth: 80 },
+    { label: '相关系数', prop: 'xyRelate', minWidth: 80 },
+    { label: '差异份数', prop: 'diffCount', minWidth: 80 },
     ...cols,
     ...cols,
   ]
   ]
 })
 })

+ 13 - 12
src/modules/quality/ending-check/components/SubjectProgress.vue

@@ -148,49 +148,50 @@ const columns: EpTableColumn<SubjectProgress>[] = [
     formatter() {
     formatter() {
       return mainStore.myUserInfo?.subjectCode + '-' + mainStore.myUserInfo?.subjectName
       return mainStore.myUserInfo?.subjectCode + '-' + mainStore.myUserInfo?.subjectName
     },
     },
+    minWidth: 100,
   },
   },
-  { label: '大题', prop: 'questionMainName', width: 80 },
-  { label: '试卷总量', prop: 'totalPaper', width: 90 },
-  { label: '已完成', prop: 'finishCount', width: 70 },
+  { label: '大题', prop: 'questionMainName', minWidth: 80 },
+  { label: '试卷总量', prop: 'totalPaper', minWidth: 90 },
+  { label: '已完成', prop: 'finishCount', minWidth: 70 },
   {
   {
     label: '完成比',
     label: '完成比',
     prop: 'finishRate',
     prop: 'finishRate',
-    width: 70,
+    minWidth: 70,
     formatter(row) {
     formatter(row) {
       return `${row.finishRate}%`
       return `${row.finishRate}%`
     },
     },
   },
   },
   {
   {
     label: '待完成',
     label: '待完成',
-    width: 90,
+    minWidth: 90,
     formatter(row) {
     formatter(row) {
       return `${minus(row.totalPaper, row.finishCount)}`
       return `${minus(row.totalPaper, row.finishCount)}`
     },
     },
   },
   },
   {
   {
     label: '待完成比',
     label: '待完成比',
-    width: 90,
+    minWidth: 90,
     prop: 'totalPaper',
     prop: 'totalPaper',
     formatter(row) {
     formatter(row) {
       return `${minus(100, row.finishRate)}%`
       return `${minus(100, row.finishRate)}%`
     },
     },
   },
   },
-  { label: '问题卷待处理', prop: 'todoProblemPaperCount', width: 110 },
-  { label: '雷同卷待处理', prop: 'todoSamePaperCount', width: 110 },
-  { label: '主观题校验待处理', prop: 'subjectiveUnVerifyPaperCount', width: 140 },
+  { label: '问题卷待处理', prop: 'todoProblemPaperCount', minWidth: 110 },
+  { label: '雷同卷待处理', prop: 'todoSamePaperCount', minWidth: 110 },
+  { label: '主观题校验待处理', prop: 'subjectiveUnVerifyPaperCount', minWidth: 140 },
   {
   {
     label: '抽查比例',
     label: '抽查比例',
     prop: 'checkPaperRate',
     prop: 'checkPaperRate',
-    width: 90,
+    minWidth: 90,
     formatter(row) {
     formatter(row) {
       return `${row.checkPaperRate}%`
       return `${row.checkPaperRate}%`
     },
     },
   },
   },
-  { label: '仲裁卷待处理', prop: 'todoArbitrationPaperCount', width: 110 },
+  { label: '仲裁卷待处理', prop: 'todoArbitrationPaperCount', minWidth: 110 },
   {
   {
     label: '仲裁率',
     label: '仲裁率',
     prop: 'arbitrationPaperRate',
     prop: 'arbitrationPaperRate',
-    width: 70,
+    minWidth: 70,
     formatter(row) {
     formatter(row) {
       return `${row.arbitrationPaperRate}%`
       return `${row.arbitrationPaperRate}%`
     },
     },

+ 10 - 10
src/modules/quality/subjective-check/index.vue

@@ -260,19 +260,19 @@ const formItems = computed<EpFormItem[]>(() => [
 
 
 /** 主观题校验 */
 /** 主观题校验 */
 const columns: EpTableColumn<RowType>[] = [
 const columns: EpTableColumn<RowType>[] = [
-  { label: '序号', type: 'index' },
-  { label: '密号', prop: 'secretNumber', width: 100 },
-  { label: '大题名称', prop: 'mainName' },
-  { label: '处理结果', prop: 'status' },
-  { label: '处理人', prop: 'headerName' },
-  { label: '处理时间', prop: 'updateTime', width: 160 },
+  { label: '序号', type: 'index', width: 60 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100 },
+  { label: '大题名称', prop: 'mainName', minWidth: 100 },
+  { label: '处理结果', prop: 'status', minWidth: 100 },
+  { label: '处理人', prop: 'headerName', minWidth: 100 },
+  { label: '处理时间', prop: 'updateTime', minWidth: 130 },
 ]
 ]
 
 
 const subColumns: EpTableColumn<RowType>[] = [
 const subColumns: EpTableColumn<RowType>[] = [
-  { label: '密号', prop: 'secretNumber', width: 100 },
-  { label: '大题名称', prop: 'mainName' },
-  { label: '当前成绩', prop: 'markScore' },
-  { label: '修改成绩', prop: 'headerScore', width: 160 },
+  { label: '密号', prop: 'secretNumber', minWidth: 100 },
+  { label: '大题名称', prop: 'mainName', minWidth: 100 },
+  { label: '当前成绩', prop: 'markScore', minWidth: 100 },
+  { label: '修改成绩', prop: 'headerScore', minWidth: 100 },
 ]
 ]
 
 
 const { fetch: getSubjectiveCheckList, result: subjectiveCheckList, loading } = useFetch('getSubjectiveCheckList')
 const { fetch: getSubjectiveCheckList, result: subjectiveCheckList, loading } = useFetch('getSubjectiveCheckList')