第一次

This commit is contained in:
PC-202306242200\Administrator
2024-09-10 16:47:49 +08:00
parent 4988491b1c
commit d4720a32e1
419 changed files with 59630 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
import { integralPage } from '@/services/finance/index';
import React, { useRef, useEffect } from 'react';
import { useIntl, useAccess } from '@umijs/max';
import { message, Tag } from 'antd';
import { ActionType, PageContainer, ProTable } from '@ant-design/pro-components';
const LogTableList: React.FC = () => {
const actionRef = useRef<ActionType>();
const columns = [
{
title: 'ID',
dataIndex: 'id',
valueType: 'text',
search: false,
},
{
title: '用户ID',
dataIndex: 'userId',
valueType: 'text',
search: false,
},
{
title: '钱包',
dataIndex: 'points2',
valueType: 'text',
search: false,
},
{
title: '修改时间',
dataIndex: 'updateTime',
valueType: 'text',
search: false,
},
{
title: '创建时间',
dataIndex: 'createTime',
valueType: 'text',
search: false,
},
];
return (
<PageContainer>
<div style={{ width: '100%', float: 'right' }}>
<ProTable
actionRef={actionRef}
rowKey="id"
key="logList"
search={{
labelWidth: 120,
}}
request={async (params, sorter, filter) => {
let { data } = await integralPage(params)
return {
data: data?.records || [],
total: data?.total,
};
}}
columns={columns}
/>
</div>
</PageContainer>
);
};
export default LogTableList;