初始化项目
This commit is contained in:
@@ -52,14 +52,28 @@ export interface ChartDataItem extends BasicModel<ChartDataItem> {
|
||||
indexMin: number; // 指标最小
|
||||
}
|
||||
|
||||
|
||||
export interface ScreenTop extends BasicModel<ScreenTop> {
|
||||
module: string; // 模块名称
|
||||
title: string; // 说明描述
|
||||
label?: string; // 名称
|
||||
value?: number; // 数值
|
||||
iconImg: string; // 图片路径
|
||||
iconFilter?: string; // 图标颜色
|
||||
sort: number; // 序号
|
||||
}
|
||||
|
||||
export const ErpChartTop = (params?: ErpTransactionFlow | any) =>
|
||||
defHttp.get<ScreenTop[]>({ url: adminPath + '/erp/screen/getErpChartTop', params });
|
||||
|
||||
export const ErpYearChart = (params?: ErpTransactionFlow | any) =>
|
||||
defHttp.get<ChartDataItem[]>({ url: adminPath + '/erp/screen/getErpYearChart', params });
|
||||
|
||||
export const ErpMonthChart = (params?: ErpTransactionFlow | any) =>
|
||||
defHttp.get<ChartDataItem[]>({ url: adminPath + '/erp/screen/getErpMonthChart', params });
|
||||
|
||||
export const CategoryChart = (params?: ErpTransactionFlow | any) =>
|
||||
defHttp.get<ChartDataItem[]>({ url: adminPath + '/erp/screen/getCategoryChart', params });
|
||||
export const ErpCategoryChart = (params?: ErpTransactionFlow | any) =>
|
||||
defHttp.get<ChartDataItem[]>({ url: adminPath + '/erp/screen/getErpCategoryChart', params });
|
||||
|
||||
export const ErpAccountChart = (params?: ErpTransactionFlow | any) =>
|
||||
defHttp.get<ChartDataItem[]>({ url: adminPath + '/erp/screen/getErpAccountChart', params });
|
||||
|
||||
Reference in New Issue
Block a user