feat:增加外部考试导入成绩

This commit is contained in:
wyx
2023-02-08 15:33:40 +08:00
parent c33cf73819
commit 2dd9298ea4
9 changed files with 99 additions and 9 deletions

View File

@@ -2887,6 +2887,56 @@ export default {
fileUrl: process.env.VUE_APP_FILE_PATH,
});
// 排行榜 - start
// 积分排行榜 Top10
//项目积分榜单
// const scoreRank = (period, type) => {
// state.scoreRankLoading = true;
// state.datascore = [];
// state.datascoreg = [];
// console.log("projectId----->", props.projectId,period, type);
// console.log('我是查询榜单传递的数据',{
// projectId: props.projectId, // 项目id
// name: state.searchRankName, // 名字,没有则传空字符串
// startTime:state.startTime, // 数据查询的起始时间 10位时间戳
// size: 5, // 前多少名
// type: Number(state.stuValue), // 查询类型 0 学员积分榜 1 小组积分榜
// })
// let obj = {
// projectId: props.projectId, // 项目id
// name: state.searchRankName, // 名字,没有则传空字符串
// startTime: state.startTime, // 数据查询的起始时间 10位时间戳
// size: 5, // 前多少名
// type: Number(state.stuValue), // 查询类型 0 学员积分榜 1 小组积分榜
// };
// api
// .scoreRank(obj)
// .then((res) => {
// console.log("获取项目积分-榜单", res);
// if(res.data.code==200){
// state.datascore = res.data.data;
// state.datascoreg = res.data.data;
// state.scoreRankLoading = false;
// }else{
// state.datascore = [];
// state.datascoreg = [];
// state.scoreRankLoading = false;
// }
// })
// .catch((err) => {
// console.log("获取项目积分-榜单失败", err);
// message.destroy();
// message.error('榜单获取失败');
// state.datascore = [];
// state.datascoreg = [];
// state.scoreRankLoading = false;
// });
// };
// 排行榜 - end
const levelList = reactive({
projectInfoOverview: {
// 整体数据概览