|
@@ -14,6 +14,7 @@ import { ProductLabel } from '@/pages/Product/Lock/LockStore/index'
|
|
|
import { useModal } from '@/components/ModalStore'
|
|
import { useModal } from '@/components/ModalStore'
|
|
|
import { Plus } from '@icon-park/react'
|
|
import { Plus } from '@icon-park/react'
|
|
|
import { VList } from 'virtuallist-antd'
|
|
import { VList } from 'virtuallist-antd'
|
|
|
|
|
+import classNames from 'classnames'
|
|
|
|
|
|
|
|
const { Text } = Typography
|
|
const { Text } = Typography
|
|
|
const CompanyTabList = ({ initData, customerId, client, software, customer, business, updatePayload }) => {
|
|
const CompanyTabList = ({ initData, customerId, client, software, customer, business, updatePayload }) => {
|
|
@@ -127,10 +128,9 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
render: (clientName, record) => (
|
|
render: (clientName, record) => (
|
|
|
<span
|
|
<span
|
|
|
onClick={() => dispatchModal('D_LOCK_DETAIL', { dataId: record.id })}
|
|
onClick={() => dispatchModal('D_LOCK_DETAIL', { dataId: record.id })}
|
|
|
- className={[
|
|
|
|
|
- 'cursor-pointer hover:text-hex-967bbd',
|
|
|
|
|
- record.preserveStatus === 3 ? null : 'text-primary'
|
|
|
|
|
- ].join(' ')}
|
|
|
|
|
|
|
+ className={classNames('cursor-pointer hover:text-hex-967bbd', {
|
|
|
|
|
+ 'text-primary': record.preserveStatus === 3
|
|
|
|
|
+ })}
|
|
|
>
|
|
>
|
|
|
{record.preserveStatus === 3 ? (
|
|
{record.preserveStatus === 3 ? (
|
|
|
<Text delete type="secondary">
|
|
<Text delete type="secondary">
|
|
@@ -220,7 +220,7 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
render: (text, record) => (
|
|
render: (text, record) => (
|
|
|
<span
|
|
<span
|
|
|
onClick={() => dispatchModal('D_BUSINESS_DETAIL', { dataId: record.id })}
|
|
onClick={() => dispatchModal('D_BUSINESS_DETAIL', { dataId: record.id })}
|
|
|
- className="text-primary cursor-pointer hover:text-[#967bbd]"
|
|
|
|
|
|
|
+ className="text-primary cursor-pointer hover:text-hex-967bbd"
|
|
|
>
|
|
>
|
|
|
{text}
|
|
{text}
|
|
|
</span>
|
|
</span>
|
|
@@ -322,7 +322,7 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</TabPane>
|
|
</TabPane>
|
|
|
- <TabPane tab={<span>商机{renderBadge(business.total, true)}</span>} key="3">
|
|
|
|
|
|
|
+ {/* <TabPane tab={<span>商机{renderBadge(business.total, true)}</span>} key="3">
|
|
|
<div className="sheet-right-panel">
|
|
<div className="sheet-right-panel">
|
|
|
<ProTable
|
|
<ProTable
|
|
|
size="small"
|
|
size="small"
|
|
@@ -335,7 +335,7 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
scroll={{ y: clientHeight }}
|
|
scroll={{ y: clientHeight }}
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
- </TabPane>
|
|
|
|
|
|
|
+ </TabPane> */}
|
|
|
</Tabs>
|
|
</Tabs>
|
|
|
</div>
|
|
</div>
|
|
|
<div className="sheet-btns pl-15px pt-15px flex items-center">
|
|
<div className="sheet-btns pl-15px pt-15px flex items-center">
|