|
|
@@ -3488,17 +3488,7 @@ export const ssoLogin = (ticket) =>
|
|
|
|
|
|
// ============ 指标变化曲线 / 速查 / 关联 ============
|
|
|
// 规范入口(singular per URL)。后端契约见 design.md §6.1-6.4。
|
|
|
-/** 成员已有指标时对应的报告类型列表(S7 补漏导出) */
|
|
|
-export const getIndicatorSourceTypes = (params) => request('/api/indicator/source-types', 'POST', params || {})
|
|
|
-/** 报告指标(含上一期对照):{ reportId, withPrevious } */
|
|
|
-export const getReportIndicators = (params) => request('/api/health/report/indicators', 'POST', params || {})
|
|
|
-/** 指标时间轴:{ subjectId, definitionIds, sourceType?, fromDate?, toDate?, granularity?, sourceKind? } */
|
|
|
-export const getIndicatorTimeline = (params) => request('/api/indicator/trend', 'POST', params || {})
|
|
|
-/** 期次列表:{ subjectId, sourceType? } */
|
|
|
-export const getIndicatorPeriods = (params) => request('/api/indicator/periods', 'POST', params || {})
|
|
|
-/** [admin] 存量时序回填:{ subjectId?, reportId?, limit?, dryRun? } */
|
|
|
-export const backfillIndicatorValues = (params) => request('/api/admin/indicator/backfill', 'POST', params || {})
|
|
|
-/** 指标趋势(曲线页,保留向后兼容别名):{ subjectId, definitionIds:[] } */
|
|
|
+/** 指标趋势(曲线页):{ subjectId, definitionIds:[] } */
|
|
|
export const getIndicatorTrend = (params) => request('/api/indicator/trend', 'POST', params || {})
|
|
|
/** 变化幅度排名:{ subjectId, reportType?, category?, scope:'adjacent'|'first-vs-latest', orderBy:'up'|'down'|'magnitude', limit } */
|
|
|
export const getIndicatorChangeRanking = (params) => request('/api/indicator/change-ranking', 'POST', params || {})
|