Commit 92703c91 authored by 卢均锐's avatar 卢均锐

fix: [23170]

parent a75867a1
......@@ -42,6 +42,7 @@ const Admin: React.FC = () => {
title: intl.formatMessage({ id: 'balance.qingkuandanhao' }),
key: 'applyNo',
dataIndex: 'applyNo',
width: 150,
render: (text: any, record: any) => (
AuthUrl('businessRequestFundsAdmin.see') ? <Link to={`search/preview?id=${record.id}&no=${text}`}>{text}</Link> : <Button type='link' style={{padding: 0}}>{text}</Button>
)
......@@ -94,6 +95,8 @@ const Admin: React.FC = () => {
title: intl.formatMessage({ id: 'balance.caozuo' }),
dataIndex: 'operate',
align: 'center',
width: 150,
fixed: 'right',
render: (_: any, record: any) => <>
<AuthButton btnCode='businessRequestFundsAdmin.confirm'>
<Popconfirm title={intl.formatMessage({ id: 'balance.quedingyaotijiaoma' })} okText={intl.formatMessage({ id: 'balance.shi' })} cancelText={intl.formatMessage({ id: 'balance.fou' })} onConfirm={() => fetchSubmitBatch(record.id)}>
......
......@@ -44,6 +44,7 @@ const Search: React.FC = () => {
title: intl.formatMessage({ id: 'balance.qingkuandanhao' }),
key: 'applyNo',
dataIndex: 'applyNo',
width: 150,
render: (text: any, record: any) => (
AuthUrl('businessRequestFundsSearch.see') ? <Link to={`search/preview?id=${record.id}&no=${text}`}>{text}</Link> : <Button type='link' style={{padding: 0}}>{text}</Button>
)
......
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