feat(largeScreen): 大屏展示功能开发
- 新增 RevenueContractCard 组件,用于展示收入、支出等合同数据 - 实现 bottomboxconpoent 组件的通用化,支持自定义标题、数值等 - 在 centerPage 中集成 RevenueContractCard 组件,展示大屏数据 - 更新 rightPage 组件,添加实际数据请求和展示 - 优化 optionList 中的图表配置,提高图表可读性
This commit is contained in:
22
src/api/largeScreen/index.js
Normal file
22
src/api/largeScreen/index.js
Normal file
@ -0,0 +1,22 @@
|
||||
import request from '@/utils/request';
|
||||
// 合同金额
|
||||
export const totalAmount = () => {
|
||||
return request({
|
||||
url: '/money/big/screen/totalAmount',
|
||||
method: 'get',
|
||||
});
|
||||
};
|
||||
// 资金KPI
|
||||
export const monthMoney = () => {
|
||||
return request({
|
||||
url: '/money/big/screen/monthMoney',
|
||||
method: 'get',
|
||||
});
|
||||
};
|
||||
// 现金流
|
||||
export const monthCash = () => {
|
||||
return request({
|
||||
url: '/money/big/screen/monthCash',
|
||||
method: 'get',
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user