Procházet zdrojové kódy

feat: 云版宽度的调整

outaozhen před 4 roky
rodič
revize
ae2b7d64c8
1 změnil soubory, kde provedl 13 přidání a 11 odebrání
  1. 13 11
      src/pages/Product/Cloud/index.jsx

+ 13 - 11
src/pages/Product/Cloud/index.jsx

@@ -75,11 +75,12 @@ const Cloud = () => {
       dataIndex: 'mobile',
       key: 'mobile',
       fixed: 'left',
-      width: 80,
+      width: 110,
       render: (text, record) => (
         <span
           onClick={() => showDrawerRoadpricing(record.ssoId)}
-          className="text-primary cursor-pointer hover:text-[#967bbd]">
+          className="text-primary cursor-pointer hover:text-[#967bbd]"
+        >
           {text}
         </span>
       )
@@ -89,7 +90,7 @@ const Cloud = () => {
       dataIndex: 'username',
       key: 'username',
       ellipsis: true,
-      width: 60,
+      width: 100,
       search: false
     },
     {
@@ -97,7 +98,7 @@ const Cloud = () => {
       dataIndex: 'real_name',
       key: 'real_name',
       ellipsis: true,
-      width: 60,
+      width: 100,
       search: false
     },
     {
@@ -105,14 +106,14 @@ const Cloud = () => {
       dataIndex: 'qq',
       key: 'qq',
       ellipsis: true,
-      width: 60
+      width: 110
     },
     {
       title: '企业名称',
       dataIndex: 'company',
       key: 'company',
       ellipsis: true,
-      width: 100
+      width: 150
     },
     {
       title: 'CLD客户',
@@ -127,7 +128,7 @@ const Cloud = () => {
       dataIndex: 'customerName',
       key: 'customerName',
       ellipsis: true,
-      width: 100,
+      width: 150,
       renderText: (_, record) => record.cld?.customerName
     },
     {
@@ -160,7 +161,8 @@ const Cloud = () => {
                       )
                   )}
                 </div>
-              }>
+              }
+            >
               {record.all_online_times}
             </Tooltip>
           )
@@ -174,7 +176,7 @@ const Cloud = () => {
       key: 'latestUsed',
       filters: true,
       filterMultiple: false,
-      width: 80,
+      width: 120,
       valueEnum: compilation.reduce((prev, curr) => {
         const obj = { ...prev }
         if (curr._id) {
@@ -200,7 +202,7 @@ const Cloud = () => {
         return obj
       }, {}),
       filterMultiple: false,
-      width: 50
+      width: 80
     },
     {
       title: '注册时间',
@@ -208,7 +210,7 @@ const Cloud = () => {
       key: 'create_time',
       sorter: true,
       ellipsis: true,
-      width: 60,
+      width: 150,
       renderText: text => dayjsFormat(text, 'YYYY-MM-DD HH:mm')
     },
     {