feat: 驱动因子计划 — 模式切换+行业包+敏感性分析
This commit is contained in:
@@ -199,6 +199,21 @@ export const deviationPushApi = {
|
||||
getMapNodes: (mapId: number) => api.get(`/deviation-push/map-nodes/${mapId}`),
|
||||
}
|
||||
|
||||
export const driverBudgetApi = {
|
||||
// 驱动因子模式切换
|
||||
getMode: () => api.get('/budget/driver/mode'),
|
||||
setMode: (data: any) => api.post('/budget/driver/mode', data),
|
||||
// 行业包
|
||||
getIndustries: () => api.get('/budget/driver/industries'),
|
||||
getTemplates: (params?: any) => api.get('/budget/driver/templates', { params }),
|
||||
// 驱动因子计算
|
||||
calculate: (data: any) => api.post('/budget/driver/calculate', data),
|
||||
// 敏感性分析
|
||||
sensitivity: (data: any) => api.post('/budget/driver/sensitivity', data),
|
||||
// 历史记录
|
||||
getHistory: (params?: any) => api.get('/budget/driver/history', { params }),
|
||||
}
|
||||
|
||||
export const budgetGenerateApi = {
|
||||
getCandidates: () => api.get('/budget/kpi-budget-candidates'),
|
||||
generateFromKpis: (data: any) => api.post('/budget/generate-from-kpis', data),
|
||||
|
||||
Reference in New Issue
Block a user