fix:修改任务大纲

This commit is contained in:
lixg
2022-12-07 15:53:02 +08:00
parent 96540c0835
commit 190d3b7870
5 changed files with 18 additions and 18 deletions

View File

@@ -319,6 +319,7 @@
'background-image': 'url(' + item.dictValue + ')',
display: index >= 5 ? 'none' : 'flex',
}"
style="background-size: 100% 100%"
>
<!-- <img class="im" :src="item.source" /> -->
</div>
@@ -857,8 +858,8 @@ export default {
api
.getLearnCount(router.id)
.then((res) => {
console.log("获取关卡、任务、学员统计数据", res.data);
if (res.status === 200) {
// console.log("获取关卡、任务、学员统计数据", res.data);
state.routeStudentsNum = res.data.students;
state.routeChapters = res.data.chapters;
state.routeTasks = res.data.tasks;
@@ -1045,18 +1046,14 @@ export default {
? "已结束"
: "-",
creater: value.createName ? value.createName : "-",
pubtime: value.publishTime
? value.publishTime
: "-",
cretime: value.createTime
? value.createTime
: "-",
pubtime: value.publishTime ? value.publishTime : "-",
cretime: value.createTime ? value.createTime : "-",
remark: value.remark ? value.remark : "-",
};
array.push(obj);
});
state.tableData = array;
console.log(array,tableData)
console.log(array, tableData);
};
const tableDataFunc = () => {