feat:修改版本

This commit is contained in:
lixg
2022-11-30 14:38:57 +08:00
parent 55a0519268
commit 29d3c8a8a1
3 changed files with 68 additions and 41 deletions

View File

@@ -3199,20 +3199,22 @@ export default {
projectId: state.projectId,
topFlag: "",
};
getProjStu(objf).then((res) => {
console.log(res.data, "获取学员列表");
if (res.data.code === 200) {
let leng = res.data.data.rows.length;
state.total = res.data.data.total;
if (leng > 0) {
let arr = res.data.data.rows;
getTableDataList(arr);
// studentData();
getProjStu(objf)
.then((res) => {
console.log(res.data, "获取学员列表");
if (res.data.code === 200) {
let leng = res.data.data.rows.length;
state.total = res.data.data.total;
if (leng > 0) {
let arr = res.data.data.rows;
getTableDataList(arr);
// studentData();
}
}
}
}).catch(err=>{
console.log('获取学员列表失败',err)
});
})
.catch((err) => {
console.log("获取学员列表失败", err);
});
};
//获取项目信息
const getTaskInfo = () => {
@@ -3277,7 +3279,7 @@ export default {
: "-";
// state.fileList=info.attach.split(",")
let d = info.attach.indexOf(",");
console.log(info.attach, "xgo", info.attach.length);
// console.log(info.attach, "xgo", info.attach.length);
if (info.attach.length == 0) {
return;
} else if (info.attach.length !== 0 && d == -1) {