Commit f3cba918 authored by FE-安焕焕's avatar FE-安焕焕 👣

修改样式

parent 00007b11
...@@ -161,9 +161,11 @@ export default () => { ...@@ -161,9 +161,11 @@ export default () => {
}} }}
bordered bordered
actionRef={table} actionRef={table}
scroll={{ x: '100%' }} scroll={{ x: '100%', y: 400 }}
toolBarRender={false}
search={{ search={{
collapsed: false, collapsed: false,
collapseRender: () => null,
}} }}
/> />
<RejectModal visible={visible} onCancel={closeModal} serviceNo={serviceNoInfo} /> <RejectModal visible={visible} onCancel={closeModal} serviceNo={serviceNoInfo} />
......
...@@ -108,10 +108,12 @@ export default () => { ...@@ -108,10 +108,12 @@ export default () => {
}} }}
bordered bordered
actionRef={table} actionRef={table}
scroll={{ x: '100%' }} scroll={{ x: '100%', y: 400 }}
search={{ search={{
collapsed: false, collapsed: false,
collapseRender: () => null,
}} }}
toolBarRender={false}
/> />
<AuditModal visible={visible} onCancel={closeModal} formData={auditInfo} /> <AuditModal visible={visible} onCancel={closeModal} formData={auditInfo} />
<DetailTable visible={detailVisible} onCancel={closeModal} dataSource={detailInfo} /> <DetailTable visible={detailVisible} onCancel={closeModal} dataSource={detailInfo} />
......
import { Tag } from 'antd'; import { Tag, Badge } from 'antd';
import React from 'react'; import React from 'react';
export const appealType = { export const appealType = {
...@@ -12,23 +12,24 @@ export const columnSticData = [ ...@@ -12,23 +12,24 @@ export const columnSticData = [
hideInTable: true, hideInTable: true,
width: 200, width: 200,
}, },
{
title: '售后单ID',
dataIndex: 'serviceNo',
width: 300,
render: (orderNo, r) => (
<div>
<Tag className="mr10">{r.serviceNo}</Tag>
{<Badge count={r.reminderFlag ? '' : ''} size="default" />}
</div>
),
},
{ {
title: '订单ID', title: '订单ID',
dataIndex: 'orderNo', dataIndex: 'orderNo',
hideInSearch: true, hideInSearch: true,
width: 300, width: 300,
// eslint-disable-next-line no-confusing-arrow // eslint-disable-next-line no-confusing-arrow
render: (orderNo, r) => render: (orderNo, r) => <div>{r.timeout ? <Tag color="red">{orderNo}</Tag> : orderNo}</div>,
r.timeout || r.reminderFlag ? (
<Tag color={r.timeout ? 'red' : 'green'}>{orderNo}</Tag>
) : (
orderNo
),
},
{
title: '售后单ID',
dataIndex: 'serviceNo',
width: 200,
}, },
{ {
title: '售后状态', title: '售后状态',
......
...@@ -86,7 +86,7 @@ const Appeal = () => { ...@@ -86,7 +86,7 @@ const Appeal = () => {
bordered bordered
className={styles.table} className={styles.table}
toolBarRender={false} toolBarRender={false}
scroll={{ x: '100%' }} scroll={{ x: '100%', y: 400 }}
/> />
<Detail <Detail
data={selectedRow} data={selectedRow}
......
...@@ -12,13 +12,13 @@ export function columns(res) { ...@@ -12,13 +12,13 @@ export function columns(res) {
return [ return [
{ {
title: '售后申诉单ID', title: '售后申诉单ID',
width: 120, width: 300,
dataIndex: 'appealNo', dataIndex: 'appealNo',
key: 'appealNo', key: 'appealNo',
}, },
{ {
title: '售后单ID', title: '售后单ID',
width: 120, width: 300,
dataIndex: 'serviceNo', dataIndex: 'serviceNo',
key: 'serviceNo', key: 'serviceNo',
}, },
......
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