feat: AI事前预警 — 现金流预测+预警扩展+准确率+情景建议
This commit is contained in:
@@ -113,6 +113,9 @@ export const alertRulesApi = {
|
||||
checkAll: () => api.post('/alert-rules/check-all'),
|
||||
calculateDynamic: () => api.post('/alert-rules/calculate-dynamic'),
|
||||
dynamicThresholds: (params?: any) => api.get('/alert-rules/dynamic-thresholds', { params }),
|
||||
// AI事前预警
|
||||
checkForecast: () => api.post('/alert-rules/check-forecast'),
|
||||
generateSuggestions: () => api.post('/alert-rules/generate-suggestions'),
|
||||
}
|
||||
|
||||
export const userApi = {
|
||||
@@ -174,6 +177,12 @@ export const predictApi = {
|
||||
sensitivity: (data: any) => api.post('/predict/sensitivity', data),
|
||||
scenario: (data: any) => api.post('/predict/scenario', data),
|
||||
growthQuality: (data: any) => api.post('/predict/growth-quality', data),
|
||||
// AI事前预警
|
||||
cashForecast: (data: any) => api.post('/predict/cash-forecast', data),
|
||||
cashForecastHistory: (params?: any) => api.get('/predict/cash-forecast/history', { params }),
|
||||
forecastAccuracy: (params?: any) => api.get('/predict/accuracy', { params }),
|
||||
scenarioSuggestions: (params?: any) => api.get('/predict/scenario-suggestions', { params }),
|
||||
generateSuggestion: (data: any) => api.post('/predict/scenario-suggestion/generate', data),
|
||||
}
|
||||
|
||||
export const deviationPushApi = {
|
||||
|
||||
Reference in New Issue
Block a user