fix:更新
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m29s

This commit is contained in:
Your Name 2026-01-18 19:18:51 +08:00
parent b66917f999
commit 5848304307

View File

@ -1,7 +1,6 @@
import { import {
MyButtons, MyButtons,
MyColumns, MyColumns,
MyImportModal,
MyPageContainer, MyPageContainer,
MyProTableProps, MyProTableProps,
} from '@/common'; } from '@/common';
@ -37,15 +36,15 @@ export default function Index({ title = '账单明细' }) {
MyProTableProps.request(params, sort, Apis.Bill.HouseBills.List) MyProTableProps.request(params, sort, Apis.Bill.HouseBills.List)
} }
toolBarRender={(action) => [ toolBarRender={(action) => [
<MyImportModal // <MyImportModal
key="ImportHouse" // key="ImportHouse"
title="账单导入" // title="账单导入"
type="default" // type="default"
size="middle" // size="middle"
templateApi={Apis.Bill.HouseBills.DownloadTemplate} // templateApi={Apis.Bill.HouseBills.DownloadTemplate}
importApi={Apis.Bill.HouseBills.Import} // importApi={Apis.Bill.HouseBills.Import}
reload={action?.reload} // reload={action?.reload}
/>, // />,
<BillCreate key="Create" reload={action?.reload} title={title} />, <BillCreate key="Create" reload={action?.reload} title={title} />,
]} ]}
columns={[ columns={[
@ -61,10 +60,10 @@ export default function Index({ title = '账单明细' }) {
render: (_, record) => { render: (_, record) => {
return ( return (
<MyButtons.View <MyButtons.View
title={`${record.asset_house.full_name}`} title={record?.asset_house?.full_name || '-'}
type="link" type="link"
onClick={() => { onClick={() => {
navigate(`/bills/summary/show/${record.asset_houses_id}`); navigate(`/bills/summary/show/${record?.asset_houses_id}`);
}} }}
/> />
); );