修改导出重复导出的问题

This commit is contained in:
龙运模 2024-07-18 16:34:10 +08:00
parent e85f113865
commit 21aa90990b
3 changed files with 8 additions and 1 deletions

View File

@ -251,6 +251,7 @@ export default {
}
},
async exportData() {
if(this.exportShow) return
const res = await this.$API.system.company.export.post(this.params);
if(res.code == 200){
this.$message.success('开始导出');

View File

@ -78,6 +78,7 @@
}
},
async exportData() {
if(this.exportShow) return
const res = await this.$API.system.log.export.post(this.params);
if(res.code == 200){
this.$message.success('开始导出');

View File

@ -42,7 +42,11 @@
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
<template #avatar="scope">
<div class="userImg">
<el-avatar :src="scope.row.avatar" size="small"></el-avatar>
<el-avatar :src="scope.row.avatar" size="small">
<span v-if="scope.row.avatar== ''">
{{scope.row.name.substring(0, 1)}}
</span>
</el-avatar>
</div>
</template>
<template #roles="scope">
@ -312,6 +316,7 @@
}
},
async exportData() {
if(this.exportShow) return
const res = await this.$API.system.user.export.post();
if(res.code == 200){
this.$message.success('开始导出');