同步6/16

This commit is contained in:
Zy
2026-06-01 18:12:58 +08:00
parent 38274ab612
commit 50e7b14fd6
183 changed files with 8956 additions and 4803 deletions

View File

@@ -51,8 +51,7 @@ export const workSpaceRepairTrendListApi = (
* @returns {*}
*/
export const workSpaceIncomeTrendListApi = (
villageId: string,
type: number
villageId: string
): Promise<
{
date: string;
@@ -63,11 +62,32 @@ export const workSpaceIncomeTrendListApi = (
url: '/workSpace/last7DaysIncomeTrend',
method: 'GET',
params: {
villageId: villageId,
type: type
villageId: villageId
}
});
};
/**
* 查询近一周支出趋势
* @param query
* @returns {*}
*/
export const workSpaceOutcomeTrendListApi = (
villageId: string
): Promise<
{
date: string;
expenditure: string;
}[]
> => {
return request({
url: '/workSpace/last7DaysExpenditureTrend',
method: 'GET',
params: {
villageId: villageId
}
});
};
/**
* 查询当日天气
* @param query