导出作业模板

This commit is contained in:
lpq
2023-02-20 23:38:30 +08:00
parent 49c6d06298
commit 329ce8797a
2 changed files with 6 additions and 4 deletions

View File

@@ -362,6 +362,7 @@ export default {
}
};
function downTemplate() {
debugger
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportHomeWorkTemplate?taskId=${props.id || ''}&type=${props.type || ''}&pid=${props.pid || ''}&thirdType=3`);
}
@@ -627,4 +628,3 @@ export default {
}
}
</style>

View File

@@ -10,7 +10,7 @@
>
<div class="drawerMain">
<div class="header">
<div class="headerTitle">作业111{{ title }}</div>
<div class="headerTitle">作业{{ title }}</div>
<img
style="width: 29px; height: 29px; cursor: pointer"
src="../../../assets/images/basicinfo/close.png"
@@ -128,7 +128,7 @@
<EScore
v-model:eScorevisible="Evisible"
:type="2"
:id="datasource?.routerTaskId"
:id="datasource?.id"
:pid="datasource?.routerId"
v-model:searchTaskList="searchTaskList"
/>
@@ -482,6 +482,7 @@ export default {
state.ASOvervisible = true;
};
const showEntryScore = () => {
debugger
state.Evisible = true;
};
//催促学员学习
@@ -603,6 +604,7 @@ export default {
.then((res) => {
console.log("导出作业", res.data.data);
if (res.data.code === 200) {
debugger
// message.destroy();
// message.success("导出作业成功");
state.exportHomeWorkV = true;