1
This commit is contained in:
@@ -15,7 +15,7 @@ const LogTableList: React.FC = () => {
|
||||
const [tempFormModal, setTempFormModal] = useState(false);
|
||||
const [shopOption, setShopOption] = useState([]);
|
||||
const [searchParams, setSearchParams] = useState(null);
|
||||
|
||||
const access = useAccess()
|
||||
|
||||
|
||||
|
||||
@@ -228,11 +228,11 @@ const LogTableList: React.FC = () => {
|
||||
defaultCollapsed: false,
|
||||
}}
|
||||
toolBarRender={() => [
|
||||
<Button type="primary" onClick={async () => {
|
||||
<Button hidden={!access.hasPerms('/api/userspoints/points/extract/export')} type="primary" onClick={async () => {
|
||||
let _res = await withdrawExtract(searchParams)
|
||||
exportData(_res, '提现记录')
|
||||
}}>导出提现申请</Button>,
|
||||
<Button icon={<UploadOutlined />} onClick={async () => {
|
||||
<Button hidden={!access.hasPerms('/api/userspoints/importUsersPointsExtract')} icon={<UploadOutlined />} onClick={async () => {
|
||||
setTempFormModal(true)
|
||||
}}>导入提现结果</Button>
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user