feat:增加总积分

This commit is contained in:
lixg
2023-02-09 09:35:07 +08:00
parent 2a026d81ce
commit 6272bb3223
8 changed files with 250 additions and 19 deletions

View File

@@ -458,8 +458,25 @@ export default {
getStageList();
getTaskList();
getTaskExam();
allPoints();
}
};
//获取项目积分
const allPoints = () => {
let obj = {
projectId: props.projectId,
};
api
.allPoints(obj)
.then((res) => {
if (res.data.code === 200) {
console.log("获取项目总积分", res);
}
})
.catch((err) => {
console.log("获取总积分失败", err);
});
};
//获取阶段
const getStageList = () => {
let obj = {