소스 검색

fix: 仪表盘表格宽度

outaozhen 5 년 전
부모
커밋
3758103ccc
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/pages/workbench/Dashboard/components/RatioPanels.jsx

+ 3 - 3
src/pages/workbench/Dashboard/components/RatioPanels.jsx

@@ -81,7 +81,7 @@ const ServiceRatioPanels = ({ staffIds, cyclical, dataPermission }) => {
       dataIndex: activeKeyMap[state.activeKey].key,
       title: `${activeKeyMap[state.activeKey].title}名称`,
       ellipsis: true,
-      width: '8%'
+      width: '15%'
       // render: (text, record) => (
       //   <span
       //     onClick={() => showDrawer(record[activeKeyMap[state.activeKey].id])}
@@ -93,13 +93,13 @@ const ServiceRatioPanels = ({ staffIds, cyclical, dataPermission }) => {
     {
       dataIndex: 'status',
       title: '服务类型',
-      width: '9%',
+      width: '8%',
       render: type => servicelogEnum[type]
     },
     {
       dataIndex: 'date',
       title: '服务日期',
-      width: '10%',
+      width: '9%',
       valueType: 'date'
     },
     {