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