Browse Source

上月收入 & 本月收入

master
nili 9 months ago
parent
commit
adf8817991
  1. 2
      dist/index.html
  2. 1
      dist/p__AdvRecordList.32672198.async.js
  3. 1
      dist/p__AdvRecordList.ae9d0fb3.async.js
  4. 2
      dist/umi.bb0368ff.js
  5. 9
      src/pages/AdvRecordList.tsx
  6. 2
      src/services/matrix/typings.d.ts

2
dist/index.html

@ -8,6 +8,6 @@
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="/umi.33085593.js"></script> <script src="/umi.bb0368ff.js"></script>
</body></html> </body></html>

1
dist/p__AdvRecordList.32672198.async.js

File diff suppressed because one or more lines are too long

1
dist/p__AdvRecordList.ae9d0fb3.async.js

File diff suppressed because one or more lines are too long

2
dist/umi.33085593.js → dist/umi.bb0368ff.js

File diff suppressed because one or more lines are too long

9
src/pages/AdvRecordList.tsx

@ -247,7 +247,14 @@ const AdvRecordList: React.FC = () => {
<StatisticCard <StatisticCard
statistic={{ statistic={{
title: '上月收入(元)', title: '上月收入(元)',
value: formatIncome(overview?.totalIncome), value: formatIncome(overview?.lastMonthIncome),
}}
/>
<Divider type={responsive ? 'horizontal' : 'vertical'} />
<StatisticCard
statistic={{
title: '本月收入(元)',
value: formatIncome(overview?.thisMonthIncome),
}} }}
/> />
<Divider type={responsive ? 'horizontal' : 'vertical'} /> <Divider type={responsive ? 'horizontal' : 'vertical'} />

2
src/services/matrix/typings.d.ts

@ -179,6 +179,8 @@ declare namespace API {
todayIncome?: number; todayIncome?: number;
totalIncome?: number; totalIncome?: number;
yesterdayIncome?: number; yesterdayIncome?: number;
lastMonthIncome?: number;
thisMonthIncome?: number;
}; };
type PageResultMatrixAdvRecordBo = { type PageResultMatrixAdvRecordBo = {

Loading…
Cancel
Save