|
@@ -46,7 +46,8 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
if (key !== defaultSelectedKey) {
|
|
if (key !== defaultSelectedKey) {
|
|
|
changePriority(key, id)
|
|
changePriority(key, id)
|
|
|
}
|
|
}
|
|
|
- }}>
|
|
|
|
|
|
|
+ }}
|
|
|
|
|
+ >
|
|
|
<Menu.Item key="1">1</Menu.Item>
|
|
<Menu.Item key="1">1</Menu.Item>
|
|
|
<Menu.Item key="2">2</Menu.Item>
|
|
<Menu.Item key="2">2</Menu.Item>
|
|
|
<Menu.Item key="3">3</Menu.Item>
|
|
<Menu.Item key="3">3</Menu.Item>
|
|
@@ -86,20 +87,24 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
{
|
|
{
|
|
|
title: '姓名',
|
|
title: '姓名',
|
|
|
dataIndex: 'clientName',
|
|
dataIndex: 'clientName',
|
|
|
|
|
+ width: 100,
|
|
|
render: (clientName, record) => (
|
|
render: (clientName, record) => (
|
|
|
<div className="text-primary hover:text-[#967bbd] line-clamp-1">
|
|
<div className="text-primary hover:text-[#967bbd] line-clamp-1">
|
|
|
- <span onClick={() => dispatchModal('D_CLIENT_DETAIL', { dataId: record.id })} className="cursor-pointer ">
|
|
|
|
|
|
|
+ <span
|
|
|
|
|
+ onClick={() => dispatchModal('D_CLIENT_DETAIL', { dataId: record.id })}
|
|
|
|
|
+ className="cursor-pointer "
|
|
|
|
|
+ >
|
|
|
{clientName}
|
|
{clientName}
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
)
|
|
)
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- title: '昵称',
|
|
|
|
|
- dataIndex: 'niceName',
|
|
|
|
|
- width: 110,
|
|
|
|
|
- ellipsis: true
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // title: '昵称',
|
|
|
|
|
+ // dataIndex: 'niceName',
|
|
|
|
|
+ // width: 110,
|
|
|
|
|
+ // ellipsis: true
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
title: '手机',
|
|
title: '手机',
|
|
|
dataIndex: 'telephone',
|
|
dataIndex: 'telephone',
|
|
@@ -121,9 +126,11 @@ 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={[
|
|
|
|
|
+ 'cursor-pointer hover:text-hex-967bbd',
|
|
|
|
|
+ record.preserveStatus === 3 ? null : 'text-primary'
|
|
|
|
|
+ ].join(' ')}
|
|
|
|
|
+ >
|
|
|
{record.preserveStatus === 3 ? (
|
|
{record.preserveStatus === 3 ? (
|
|
|
<Text delete type="secondary">
|
|
<Text delete type="secondary">
|
|
|
{clientName}
|
|
{clientName}
|
|
@@ -212,7 +219,8 @@ 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-[#967bbd]"
|
|
|
|
|
+ >
|
|
|
{text}
|
|
{text}
|
|
|
</span>
|
|
</span>
|
|
|
)
|
|
)
|
|
@@ -353,7 +361,8 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
landmarks: customer.landmarks
|
|
landmarks: customer.landmarks
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- }>
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ >
|
|
|
<Plus className="mr-1" />
|
|
<Plus className="mr-1" />
|
|
|
客户
|
|
客户
|
|
|
</Button>
|
|
</Button>
|