mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 15:26:48 +08:00
导出作业模板
This commit is contained in:
@@ -362,6 +362,7 @@ export default {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
function downTemplate() {
|
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`);
|
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>
|
</style>
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
>
|
>
|
||||||
<div class="drawerMain">
|
<div class="drawerMain">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="headerTitle">【作业111】{{ title }}</div>
|
<div class="headerTitle">【作业】{{ title }}</div>
|
||||||
<img
|
<img
|
||||||
style="width: 29px; height: 29px; cursor: pointer"
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
src="../../../assets/images/basicinfo/close.png"
|
src="../../../assets/images/basicinfo/close.png"
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
<EScore
|
<EScore
|
||||||
v-model:eScorevisible="Evisible"
|
v-model:eScorevisible="Evisible"
|
||||||
:type="2"
|
:type="2"
|
||||||
:id="datasource?.routerTaskId"
|
:id="datasource?.id"
|
||||||
:pid="datasource?.routerId"
|
:pid="datasource?.routerId"
|
||||||
v-model:searchTaskList="searchTaskList"
|
v-model:searchTaskList="searchTaskList"
|
||||||
/>
|
/>
|
||||||
@@ -482,6 +482,7 @@ export default {
|
|||||||
state.ASOvervisible = true;
|
state.ASOvervisible = true;
|
||||||
};
|
};
|
||||||
const showEntryScore = () => {
|
const showEntryScore = () => {
|
||||||
|
debugger
|
||||||
state.Evisible = true;
|
state.Evisible = true;
|
||||||
};
|
};
|
||||||
//催促学员学习
|
//催促学员学习
|
||||||
@@ -603,6 +604,7 @@ export default {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("导出作业", res.data.data);
|
console.log("导出作业", res.data.data);
|
||||||
if (res.data.code === 200) {
|
if (res.data.code === 200) {
|
||||||
|
debugger
|
||||||
// message.destroy();
|
// message.destroy();
|
||||||
// message.success("导出作业成功");
|
// message.success("导出作业成功");
|
||||||
state.exportHomeWorkV = true;
|
state.exportHomeWorkV = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user