导入模版

This commit is contained in:
gengxin
2025-02-21 16:21:48 +08:00
parent ad7d10d540
commit c010a91d18
2 changed files with 2 additions and 2 deletions

View File

@@ -331,7 +331,7 @@ export default {
console.log("downTemplate gx")
window.open(
`${process.env.VUE_APP_BASE_API}/admin/export/exportExpenseTemplate`
`${process.env.VUE_APP_BASE_API}${props.template}`
);
// window.open(`${process.env.VUE_APP_BOE_API_URL}/upload/template/${props.template}`);

View File

@@ -546,7 +546,7 @@
</div>
</a-drawer>
<!-- TODO dr01 -->
<ImportWork v-model:showWork="showWork" :template="'讲师费导入模版-20250115.xlsx'"
<ImportWork v-model:showWork="showWork" :template="'/admin/export/exportExpenseTemplate'"
:url="'/admin/export/importTeacherExpense'" :fileName="uploadFile" :title="title"></ImportWork>
</div>
<div class="example" v-if="example">