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

修改催办和超时标识

parent 6dcd0db6
......@@ -16,9 +16,9 @@ export const columnSticData = [
title: '售后单ID',
dataIndex: 'serviceNo',
width: 300,
render: (orderNo, r) => (
render: (serviceNo, r) => (
<div>
<Tag className="mr10">{r.serviceNo}</Tag>
{r.timeout ? <Tag color="red">{serviceNo}</Tag> : serviceNo}
{<Badge count={r.reminderFlag ? '' : ''} size="default" />}
</div>
),
......@@ -28,8 +28,6 @@ export const columnSticData = [
dataIndex: 'orderNo',
hideInSearch: true,
width: 300,
// eslint-disable-next-line no-confusing-arrow
render: (orderNo, r) => <div>{r.timeout ? <Tag color="red">{orderNo}</Tag> : orderNo}</div>,
},
{
title: '售后状态',
......
......@@ -15,6 +15,15 @@ export function columns(res) {
width: 300,
dataIndex: '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',
......@@ -27,11 +36,6 @@ export function columns(res) {
width: 200,
dataIndex: 'orderNo',
key: 'orderNo',
render: (orderNo, row) => (
<Tag color={row.timeout ? 'red' : 'green'} key={orderNo}>
{orderNo}
</Tag>
),
},
{
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