This commit is contained in:
2025-08-20 15:16:40 +08:00
parent c4dee115af
commit 65eb86c0dc
41 changed files with 2774 additions and 299 deletions
@@ -51,6 +51,7 @@ layout("/layouts/platform.html"){
</el-card>
<el-card shadow="never" class="mt10">
<table-tool label="积分列表">
<el-button @click="openImportAdd" size="small" type="primary">增加导入</el-button>
<el-button @click="batchDeductions()" size="small" type="primary">批量扣减
</el-button>
@@ -170,6 +171,12 @@ layout("/layouts/platform.html"){
post_url="/platform/integral/manage/doImport" @flush="$refs.guava.index();pageData()"
></file-import>
</template>
<template #public>
<file-import ref="viewImport" temp_url="/platform/integral/manage/downloadImport"
post_url="/platform/integral/manage/doImportAdd" @flush="$refs.guava.index();pageData()"
></file-import>
</template>
</guava>
@@ -283,6 +290,10 @@ layout("/layouts/platform.html"){
"file-import": httpVueLoader("/components/plugins/sysImport/index.vue?v=" + new Date().getTime())
},
methods: {
openImportAdd(){
this.$refs.guava.public()
this.$refs.viewImport.resetImportData()
},
openImport() {
this.$refs.guava.edit()
this.$refs.viewImport.resetImportData()