mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-08 02:16:45 +08:00
fix:导入作业加载
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
<div class="btn btn1" @click="batchFinish" style="margin-right: 20px">
|
||||
<div class="wz">批量标注完成</div>
|
||||
</div>
|
||||
<CommonImport title="录入成绩" v-if="homeWorkId" :template-url="scoreTemplateUrl"
|
||||
<CommonImport @change="change" title="录入成绩" v-if="homeWorkId" :template-url="scoreTemplateUrl"
|
||||
:data="{ targetId: offcoursePlanId, type:3,workId:homeWorkId }" :url="`/admin/student/importHomeWork`"
|
||||
name="uploadFile">
|
||||
<div class="btn btn1" style="margin-right: 20px;margin-left: 20px">
|
||||
@@ -392,6 +392,13 @@ function resetStudentPage() {
|
||||
tableRef.value.reset({ pid: data.value[coursePlanIndex.value]?.id, type: 3 });
|
||||
}
|
||||
|
||||
function change(e) {
|
||||
console.log('导入作业完成了吗',e)
|
||||
if(e=="end"){
|
||||
resetStudentPage()
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user