|
@@ -55,35 +55,28 @@ const ClientTabList = ({ clientId, software, updatePayload }) => {
|
|
|
title: '产品',
|
|
title: '产品',
|
|
|
dataIndex: 'product',
|
|
dataIndex: 'product',
|
|
|
width: 230,
|
|
width: 230,
|
|
|
- ellipsis: true,
|
|
|
|
|
- render: (_, record) => (
|
|
|
|
|
- <>
|
|
|
|
|
- {record.preserveStatus === 3 ? (
|
|
|
|
|
- <Text delete type="secondary">
|
|
|
|
|
- {record.product}
|
|
|
|
|
- </Text>
|
|
|
|
|
- ) : (
|
|
|
|
|
- <ProductLabel data={record.product} />
|
|
|
|
|
- )}
|
|
|
|
|
- </>
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ render: (_, record) =>
|
|
|
|
|
+ record.preserveStatus === 3 ? (
|
|
|
|
|
+ <Text delete type="secondary">
|
|
|
|
|
+ {record.product}
|
|
|
|
|
+ </Text>
|
|
|
|
|
+ ) : (
|
|
|
|
|
+ <ProductLabel data={record.product} />
|
|
|
|
|
+ )
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '销售状态',
|
|
title: '销售状态',
|
|
|
dataIndex: 'sellStatus',
|
|
dataIndex: 'sellStatus',
|
|
|
width: 90,
|
|
width: 90,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- render: (_, record) => (
|
|
|
|
|
- <>
|
|
|
|
|
- {record.preserveStatus === 3 ? (
|
|
|
|
|
- <Text delete type="secondary">
|
|
|
|
|
- {longleSellStatusNum[record.sellStatus]?.text}
|
|
|
|
|
- </Text>
|
|
|
|
|
- ) : (
|
|
|
|
|
- <>{longleSellStatusNum[record.sellStatus]?.text}</>
|
|
|
|
|
- )}
|
|
|
|
|
- </>
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ render: (_, record) =>
|
|
|
|
|
+ record.preserveStatus === 3 ? (
|
|
|
|
|
+ <Text delete type="secondary">
|
|
|
|
|
+ {longleSellStatusNum[record.sellStatus]?.text}
|
|
|
|
|
+ </Text>
|
|
|
|
|
+ ) : (
|
|
|
|
|
+ <>{longleSellStatusNum[record.sellStatus]?.text}</>
|
|
|
|
|
+ )
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '维护状态',
|
|
title: '维护状态',
|
|
@@ -91,34 +84,28 @@ const ClientTabList = ({ clientId, software, updatePayload }) => {
|
|
|
key: 'preserveStatus',
|
|
key: 'preserveStatus',
|
|
|
width: 90,
|
|
width: 90,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- render: (_, record) => (
|
|
|
|
|
- <>
|
|
|
|
|
- {record.preserveStatus === 3 ? (
|
|
|
|
|
- <Text delete type="secondary">
|
|
|
|
|
- {longlePreserveStatusNum[record.preserveStatus]?.text}
|
|
|
|
|
- </Text>
|
|
|
|
|
- ) : (
|
|
|
|
|
- <>{longlePreserveStatusNum[record.preserveStatus]?.text}</>
|
|
|
|
|
- )}
|
|
|
|
|
- </>
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ render: (_, record) =>
|
|
|
|
|
+ record.preserveStatus === 3 ? (
|
|
|
|
|
+ <Text delete type="secondary">
|
|
|
|
|
+ {longlePreserveStatusNum[record.preserveStatus]?.text}
|
|
|
|
|
+ </Text>
|
|
|
|
|
+ ) : (
|
|
|
|
|
+ <>{longlePreserveStatusNum[record.preserveStatus]?.text}</>
|
|
|
|
|
+ )
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '责任人',
|
|
title: '责任人',
|
|
|
dataIndex: 'responsible',
|
|
dataIndex: 'responsible',
|
|
|
width: 70,
|
|
width: 70,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
- render: (_, record) => (
|
|
|
|
|
- <>
|
|
|
|
|
- {record.preserveStatus === 3 ? (
|
|
|
|
|
- <Text delete type="secondary">
|
|
|
|
|
- {record.responsible}
|
|
|
|
|
- </Text>
|
|
|
|
|
- ) : (
|
|
|
|
|
- <>{record.responsible}</>
|
|
|
|
|
- )}
|
|
|
|
|
- </>
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ render: (_, record) =>
|
|
|
|
|
+ record.preserveStatus === 3 ? (
|
|
|
|
|
+ <Text delete type="secondary">
|
|
|
|
|
+ {record.responsible}
|
|
|
|
|
+ </Text>
|
|
|
|
|
+ ) : (
|
|
|
|
|
+ <>{record.responsible}</>
|
|
|
|
|
+ )
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
|
|
|