mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
fix:导入成功后刷新列表
This commit is contained in:
@@ -103,7 +103,7 @@
|
|||||||
添加学员
|
添加学员
|
||||||
</a-button>
|
</a-button>
|
||||||
</CommonStudent>
|
</CommonStudent>
|
||||||
<CommonImport title="导入学员" :template-url="stuTemplateUrl" :data="{ targetId: offcoursePlanId, type:3 }" :url="`/admin/student/importStudent`" name="uploadFile">
|
<CommonImport @change="change" title="导入学员" :template-url="stuTemplateUrl" :data="{ targetId: offcoursePlanId, type:3 }" :url="`/admin/student/importStudent`" name="uploadFile">
|
||||||
<div class="btn btn1" style="margin-right: 20px;margin-left: 20px">
|
<div class="btn btn1" style="margin-right: 20px;margin-left: 20px">
|
||||||
<div class="img1"></div>
|
<div class="img1"></div>
|
||||||
<div class="wz">导入学员</div>
|
<div class="wz">导入学员</div>
|
||||||
@@ -377,6 +377,14 @@ const qrcodeVisible = () => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const change = (e) => {
|
||||||
|
console.log(e)
|
||||||
|
if(e==="end"){
|
||||||
|
// 请求刷新数据
|
||||||
|
tableRef.value.fetch();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|||||||
Reference in New Issue
Block a user