|
@@ -170,7 +170,7 @@ export interface ScoreTableQueryBody {
|
|
|
/** 条件获取分页积分 */
|
|
/** 条件获取分页积分 */
|
|
|
export const getScoreTable = (body: ScoreTableQueryBody) => {
|
|
export const getScoreTable = (body: ScoreTableQueryBody) => {
|
|
|
return http.request<ScoreTableRecord>({
|
|
return http.request<ScoreTableRecord>({
|
|
|
- url: '/scoreManagement/getScorePageByCondition',
|
|
|
|
|
|
|
+ url: '/admin/scoreManagement/getScorePageByCondition',
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data: body,
|
|
data: body,
|
|
|
});
|
|
});
|
|
@@ -195,10 +195,11 @@ export interface ScoreTableRecord {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/** 获取积分分段人数 */
|
|
/** 获取积分分段人数 */
|
|
|
-export const getScoreChartData = (deptIdList: string) => {
|
|
|
|
|
|
|
+export const getScoreChartData = (deptIdList: number[]) => {
|
|
|
return http.request<ScoreChartItem[]>({
|
|
return http.request<ScoreChartItem[]>({
|
|
|
- url: `/scoreManagement/getNumOfSectionScore?deptIdList=${deptIdList}`,
|
|
|
|
|
- method: 'get',
|
|
|
|
|
|
|
+ url: `/admin/scoreManagement/getNumOfSectionScore`,
|
|
|
|
|
+ method: 'post',
|
|
|
|
|
+ data: { deptIdList },
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
|
|
|