|
|
@@ -9,6 +9,7 @@ import { longleSellStatusNum, longlePreserveStatusNum } from '@/pages/Product/Lo
|
|
|
import { ProductLabel } from '@/pages/Product/Lock/LockStore/index'
|
|
|
import { useModal } from '@/components/ModalStore'
|
|
|
import { Plus } from '@icon-park/react'
|
|
|
+import classNames from 'classnames'
|
|
|
import { queryRoadPricingListByClientId } from '@/services/product'
|
|
|
import { cloudTitleEnum } from '@/pages/Product/Cloud/components/Detail/Form'
|
|
|
|
|
|
@@ -30,10 +31,9 @@ const ClientTabList = ({ clientId, software, updatePayload }) => {
|
|
|
render: (clientName, record) => (
|
|
|
<span
|
|
|
onClick={() => dispatchModal('D_LOCK_DETAIL', { dataId: record.id })}
|
|
|
- className={className('cursor-pointer hover:text-hex-967bbd', {
|
|
|
+ className={classNames('cursor-pointer hover:text-hex-967bbd', {
|
|
|
'text-primary': record.preserveStatus !== 3
|
|
|
- })}
|
|
|
- >
|
|
|
+ })}>
|
|
|
{record.preserveStatus === 3 ? (
|
|
|
<Text delete type="secondary">
|
|
|
{clientName}
|
|
|
@@ -134,8 +134,7 @@ const ClientTabList = ({ clientId, software, updatePayload }) => {
|
|
|
dataId: record.ssoId,
|
|
|
projectType: record.project_type
|
|
|
})
|
|
|
- }
|
|
|
- >
|
|
|
+ }>
|
|
|
{text}
|
|
|
</div>
|
|
|
)
|
|
|
@@ -233,8 +232,7 @@ const ClientTabList = ({ clientId, software, updatePayload }) => {
|
|
|
ghost
|
|
|
size="small"
|
|
|
className="mr-1"
|
|
|
- onClick={() => dispatchModal('M_RECORD_ADD', { onConfirm: handleAddService })}
|
|
|
- >
|
|
|
+ onClick={() => dispatchModal('M_RECORD_ADD', { onConfirm: handleAddService })}>
|
|
|
<Plus className="mr-1" /> 添加服务记录
|
|
|
</Button>
|
|
|
</div>
|