退款
This commit is contained in:
parent
4a8a53c1c2
commit
897ed5c58d
@ -63,7 +63,7 @@ export default function RefunModal(props: any) {
|
|||||||
config: {
|
config: {
|
||||||
params: {
|
params: {
|
||||||
page: 1,
|
page: 1,
|
||||||
rows: 10,
|
rows: 20,
|
||||||
applyStatus: type
|
applyStatus: type
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -46,7 +46,7 @@ export default function Refun() {
|
|||||||
dataIndex: 'index',
|
dataIndex: 'index',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 80,
|
width: 80,
|
||||||
render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始
|
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '系统名称',
|
title: '系统名称',
|
||||||
@ -289,7 +289,7 @@ export default function Refun() {
|
|||||||
key: 'reviewReason',
|
key: 'reviewReason',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
// width: 150,
|
// width: 150,
|
||||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
render: (text) => <div className='ellipsis-text' title={text}>{text?text:'—'}</div>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '退款凭证',
|
title: '退款凭证',
|
||||||
@ -339,7 +339,7 @@ export default function Refun() {
|
|||||||
config: {
|
config: {
|
||||||
params: {
|
params: {
|
||||||
page: page,
|
page: page,
|
||||||
rows: 10,
|
rows: 20,
|
||||||
applyStatus: type
|
applyStatus: type
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -383,7 +383,7 @@ export default function Refun() {
|
|||||||
config: {
|
config: {
|
||||||
params: {
|
params: {
|
||||||
page: page,
|
page: page,
|
||||||
rows: 10,
|
rows: 20,
|
||||||
applyStatus: type
|
applyStatus: type
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -392,7 +392,7 @@ export default function Refun() {
|
|||||||
// setData(data.data.rows)
|
// setData(data.data.rows)
|
||||||
|
|
||||||
// setTotal(data.data.total)
|
// setTotal(data.data.total)
|
||||||
if (data.data.rows.length == 0) {
|
if (data.data.rows.length == 0 && page > 1 ) {
|
||||||
getData(page - 1)
|
getData(page - 1)
|
||||||
} else {
|
} else {
|
||||||
dispath({
|
dispath({
|
||||||
@ -442,7 +442,7 @@ export default function Refun() {
|
|||||||
// pagination={false} // 不显示分页
|
// pagination={false} // 不显示分页
|
||||||
pagination={
|
pagination={
|
||||||
{
|
{
|
||||||
pageSize: 10,
|
pageSize: 20,
|
||||||
total: total,
|
total: total,
|
||||||
onChange: (currentPage) => {
|
onChange: (currentPage) => {
|
||||||
setPage(currentPage);
|
setPage(currentPage);
|
||||||
|
Loading…
Reference in New Issue
Block a user