mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 06:16:46 +08:00
--fix 作业下载模板
This commit is contained in:
@@ -209,6 +209,10 @@ export default {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
pid: {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
searchTaskList: {
|
||||
type: Function,
|
||||
default: null,
|
||||
@@ -352,10 +356,7 @@ export default {
|
||||
}
|
||||
};
|
||||
function downTemplate() {
|
||||
window.open(
|
||||
process.env.VUE_APP_FILE_PATH +
|
||||
process.env.VUE_APP_UP_LOAD_HOMEWORK_TEMPLATE
|
||||
);
|
||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportHomeWorkTemplate?taskId=${props.id || ''}&type=${props.type || ''}&pid=${props.pid || ''}&thirdType=3`);
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user