mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
导入导出调整
This commit is contained in:
@@ -274,7 +274,22 @@ import {getCookieForName} from "@/api/method";
|
||||
}
|
||||
};
|
||||
function downTemplate() {
|
||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportHomeWorkTemplate?taskId=${props.id || ''}&type=${props.type || ''}&pid=${props.pid || ''}&thirdType=3`);
|
||||
if (props.url=='/admin/export/importInTeacherRecord'){
|
||||
window.open(
|
||||
`${process.env.VUE_APP_BASE_API}/admin/export/importInTeacherRecord?
|
||||
&name=${props.name||''}`
|
||||
);}
|
||||
else if(props.url=='/admin/export/importOutTeacherRecord'){
|
||||
window.open(
|
||||
`${process.env.VUE_APP_BASE_API}/admin/export/exportOutTeacherRecord?
|
||||
&name=${props.name||''}`
|
||||
);
|
||||
}else {
|
||||
window.open(
|
||||
`${process.env.VUE_APP_BASE_API}/admin/export/importTeacherExpense?
|
||||
&name=${props.name||''}`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user