Commit b90f6a79 by end

修改工作台排行榜

parent f5196248
File deleted
......@@ -350,10 +350,8 @@ class homePage extends Component {
};
getPhbRes = () => {
this.props.getPhbChartList({
pageNo: 1,
pageSize: 5,
nameType: this.state.phbType,
dateType: this.state.phbTime,
type: this.state.phbType,
date: this.state.phbTime,
});
};
//专栏左侧
......@@ -916,7 +914,7 @@ class homePage extends Component {
)}
</p>
<p>{item.name}</p>
<p>{item.totalPoint}</p>
<p>{item.num}</p>
</div>
);
});
......
......@@ -27,13 +27,13 @@ export function queryExamNum() {
};
}
export function getPhbChartList(data) {
const url = `${getUrl}/web-manage/manage/point/user/new/rank/list`;
const url = `${getUrl}/web-manage/manage/api/eventTrack/queryRankList`;
return dispatch => {
return request({
url,
data,
}).then(res => {
dispatch({ type: Types.PHB_CHART, data: res.data.records });
dispatch({ type: Types.PHB_CHART, data: res.data });
});
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment