Commit 49362fba authored by FE-安焕焕's avatar FE-安焕焕 👣

修改催办和超时标识

parent 6dcd0db6
...@@ -16,9 +16,9 @@ export const columnSticData = [ ...@@ -16,9 +16,9 @@ export const columnSticData = [
title: '售后单ID', title: '售后单ID',
dataIndex: 'serviceNo', dataIndex: 'serviceNo',
width: 300, width: 300,
render: (orderNo, r) => ( render: (serviceNo, r) => (
<div> <div>
<Tag className="mr10">{r.serviceNo}</Tag> {r.timeout ? <Tag color="red">{serviceNo}</Tag> : serviceNo}
{<Badge count={r.reminderFlag ? '' : ''} size="default" />} {<Badge count={r.reminderFlag ? '' : ''} size="default" />}
</div> </div>
), ),
...@@ -28,8 +28,6 @@ export const columnSticData = [ ...@@ -28,8 +28,6 @@ export const columnSticData = [
dataIndex: 'orderNo', dataIndex: 'orderNo',
hideInSearch: true, hideInSearch: true,
width: 300, width: 300,
// eslint-disable-next-line no-confusing-arrow
render: (orderNo, r) => <div>{r.timeout ? <Tag color="red">{orderNo}</Tag> : orderNo}</div>,
}, },
{ {
title: '售后状态', title: '售后状态',
......
...@@ -15,6 +15,15 @@ export function columns(res) { ...@@ -15,6 +15,15 @@ export function columns(res) {
width: 300, width: 300,
dataIndex: 'appealNo', dataIndex: 'appealNo',
key: 'appealNo', key: 'appealNo',
// eslint-disable-next-line no-confusing-arrow
render: (appealNo, row) =>
row.timeout ? (
<Tag color="red" key={appealNo}>
{appealNo}
</Tag>
) : (
appealNo
),
}, },
{ {
title: '售后单ID', title: '售后单ID',
...@@ -27,11 +36,6 @@ export function columns(res) { ...@@ -27,11 +36,6 @@ export function columns(res) {
width: 200, width: 200,
dataIndex: 'orderNo', dataIndex: 'orderNo',
key: 'orderNo', key: 'orderNo',
render: (orderNo, row) => (
<Tag color={row.timeout ? 'red' : 'green'} key={orderNo}>
{orderNo}
</Tag>
),
}, },
{ {
title: '申诉单开始时间', title: '申诉单开始时间',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment