mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
style:项目下作业面授导出参数错误,隐藏部分按钮
This commit is contained in:
@@ -624,7 +624,7 @@ export default {
|
||||
`${
|
||||
process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?currentStageId=${
|
||||
props.datasource.chapterId
|
||||
}&type=${2}&pid=${props.datasource.routerId}&taskType=2`
|
||||
}&type=${2}&pid=${props.datasource.routerId}&taskType=${1}`
|
||||
);
|
||||
// api
|
||||
// .exportTaskStudent({
|
||||
@@ -657,12 +657,12 @@ export default {
|
||||
api
|
||||
.exportHomeWork(obj)
|
||||
.then((res) => {
|
||||
console.log("导出作业", JSON.parse(res.data).data);
|
||||
if (JSON.parse(res.data).code === 200) {
|
||||
message.destroy();
|
||||
message.success("导出作业成功");
|
||||
console.log("导出作业", res.data.data);
|
||||
if (res.data.code === 200) {
|
||||
// message.destroy();
|
||||
// message.success("导出作业成功");
|
||||
state.exportHomeWorkV = true;
|
||||
state.downloadUrl = JSON.parse(res.data).data;
|
||||
state.downloadUrl = res.data.data;
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user