Explorar el Código

feat: 注释单位下商机

lanjianrong hace 4 años
padre
commit
172b2b0ce1
Se han modificado 1 ficheros con 12 adiciones y 6 borrados
  1. 12 6
      src/pages/Customer/Company/components/CompanyDetail/TabList.jsx

+ 12 - 6
src/pages/Customer/Company/components/CompanyDetail/TabList.jsx

@@ -47,7 +47,8 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
         if (key !== defaultSelectedKey) {
           changePriority(key, id)
         }
-      }}>
+      }}
+    >
       <Menu.Item key="1">1</Menu.Item>
       <Menu.Item key="2">2</Menu.Item>
       <Menu.Item key="3">3</Menu.Item>
@@ -93,7 +94,8 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
         <div className="text-primary hover:text-hex-967bbd">
           <span
             onClick={() => dispatchModal('D_CLIENT_DETAIL', { dataId: record.id })}
-            className="cursor-pointer ">
+            className="cursor-pointer "
+          >
             {clientName}
           </span>
         </div>
@@ -128,7 +130,8 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
           onClick={() => dispatchModal('D_LOCK_DETAIL', { dataId: record.id })}
           className={classNames('cursor-pointer hover:text-hex-967bbd', {
             'text-primary': record.preserveStatus === 3
-          })}>
+          })}
+        >
           {record.preserveStatus === 3 ? (
             <Text delete type="secondary">
               {clientName}
@@ -217,7 +220,8 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
       render: (text, record) => (
         <span
           onClick={() => dispatchModal('D_BUSINESS_DETAIL', { dataId: record.id })}
-          className="text-primary cursor-pointer hover:text-hex-967bbd">
+          className="text-primary cursor-pointer hover:text-hex-967bbd"
+        >
           {text}
         </span>
       )
@@ -340,7 +344,8 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
           ghost
           size="small"
           className="mr-1"
-          onClick={() => dispatchModal('M_RECORD_ADD', { onConfirm: handleAddCustomerService })}>
+          onClick={() => dispatchModal('M_RECORD_ADD', { onConfirm: handleAddCustomerService })}
+        >
           <Plus className="mr-1" /> 添加服务记录
         </Button>
         <Button
@@ -359,7 +364,8 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
                 landmarks: customer.landmarks
               }
             })
-          }>
+          }
+        >
           <Plus className="mr-1" />
           客户
         </Button>