Browse Source

fix: 表格宽度省略展示

wangzs 5 months ago
parent
commit
5d968f5657
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/project/report-manage/report-summary/index.vue

+ 3 - 3
src/views/project/report-manage/report-summary/index.vue

@@ -14,6 +14,7 @@
     url: '/supports/delivery/day/report/summary/list',
     // 设置网络请求方式为GET
     requestMethod: 'GET',
+    scroll: { x: 'true' },
     tableId: TABLE_ID_CONST.TEAMWORK.PROJECT_MANAGE.Task_LIST,
     tableAttrs: {},
     showIndexColumn: true,
@@ -25,7 +26,7 @@
       },
     ],
     columns: [
-    {
+      {
         title: '星期',
         dataIndex: 'weekCn',
         align: 'center',
@@ -64,8 +65,7 @@
       {
         title: '驻场情况',
         dataIndex: 'residentSituation',
-        align: 'center',
-        width: '100px',
+        width: 300,
         ellipsis: true,
       },
       {