Sfoglia il codice sorgente

fix: 仪表盘相关尺寸

outaozhen 5 anni fa
parent
commit
d92bc0ce95
1 ha cambiato i file con 42 aggiunte e 22 eliminazioni
  1. 42 22
      src/pages/workbench/Dashboard/components/ReminderList.jsx

+ 42 - 22
src/pages/workbench/Dashboard/components/ReminderList.jsx

@@ -16,87 +16,107 @@ const ReminderList = props => {
   const clientColumns = [
     {
       title: '联系人名称',
-      dataIndex: 'clientName'
+      dataIndex: 'clientName',
+      width: '15%'
     },
     {
       title: '地区',
-      dataIndex: 'districtName'
+      dataIndex: 'districtName',
+      width: '15%'
     },
     {
       title: '手机',
-      dataIndex: 'telephone'
+      dataIndex: 'telephone',
+      width: '10%'
     },
     {
       title: '服务日期',
-      dataIndex: 'serviceDate'
+      dataIndex: 'serviceDate',
+      width: '10%'
     },
     {
       title: '服务内容',
-      dataIndex: 'serviceContent'
+      dataIndex: 'serviceContent',
+      width: '20%'
     },
     {
       title: '备忘时间',
-      dataIndex: 'memoDate'
+      dataIndex: 'memoDate',
+      width: '10%'
     },
     {
       title: '备忘内容',
-      dataIndex: 'memoContent'
+      dataIndex: 'memoContent',
+      width: '20%'
     }
   ]
   const customerColumns = [
     {
       title: '客户名称',
-      dataIndex: 'companyName'
+      dataIndex: 'companyName',
+      width: '15%'
     },
     {
       title: '地区',
-      dataIndex: 'districtName'
+      dataIndex: 'districtName',
+      width: '15%'
     },
     {
       title: '电话',
-      dataIndex: 'phone'
+      dataIndex: 'phone',
+      width: '10%'
     },
     {
       title: '服务日期',
-      dataIndex: 'serviceDate'
+      dataIndex: 'serviceDate',
+      width: '10%'
     },
     {
       title: '服务内容',
-      dataIndex: 'serviceContent'
+      dataIndex: 'serviceContent',
+      width: '20%'
     },
     {
       title: '备忘时间',
-      dataIndex: 'memoDate'
+      dataIndex: 'memoDate',
+      width: '10%'
     },
     {
       title: '备忘内容',
-      dataIndex: 'memoContent'
+      dataIndex: 'memoContent',
+      width: '20%'
     }
   ]
   const businessColumns = [
     {
       title: '商机名称',
-      dataIndex: 'name'
+      dataIndex: 'name',
+      width: '15%'
     },
     {
       title: '客户名称',
-      dataIndex: 'customerName'
+      dataIndex: 'customerName',
+      width: '15%'
     },
     {
       title: '服务日期',
-      dataIndex: 'serviceDate'
+      dataIndex: 'serviceDate',
+      width: '10%'
     },
     {
       title: '服务内容',
-      dataIndex: 'serviceContent'
+      dataIndex: 'serviceContent',
+      width: '25%'
     },
     {
       title: '备忘时间',
-      dataIndex: 'memoDate'
+      dataIndex: 'memoDate',
+      width: '10%'
     },
     {
       title: '备忘内容',
-      dataIndex: 'memoContent'
+      dataIndex: 'memoContent',
+      width: '25%'
     }
   ]
   const dataMap = {
@@ -122,11 +142,11 @@ const ReminderList = props => {
 
   return (
     <div className={['ant-modal-content', styles.modalContainer].join(' ')}>
-      <div className={styles.modalHeader}>
+      {/* <div className={styles.modalHeader}>
         <span className={styles.closeIcon}>
           <CloseOutlined onClick={closeModal} />
         </span>
-      </div>
+      </div> */}
       <div className="mx-4">
         <ProTable
           size="small"