修改导出重复导出的问题
This commit is contained in:
parent
e85f113865
commit
21aa90990b
@ -251,6 +251,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async exportData() {
|
async exportData() {
|
||||||
|
if(this.exportShow) return
|
||||||
const res = await this.$API.system.company.export.post(this.params);
|
const res = await this.$API.system.company.export.post(this.params);
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
this.$message.success('开始导出');
|
this.$message.success('开始导出');
|
||||||
|
|||||||
@ -78,6 +78,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async exportData() {
|
async exportData() {
|
||||||
|
if(this.exportShow) return
|
||||||
const res = await this.$API.system.log.export.post(this.params);
|
const res = await this.$API.system.log.export.post(this.params);
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
this.$message.success('开始导出');
|
this.$message.success('开始导出');
|
||||||
|
|||||||
@ -42,7 +42,11 @@
|
|||||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||||
<template #avatar="scope">
|
<template #avatar="scope">
|
||||||
<div class="userImg">
|
<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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #roles="scope">
|
<template #roles="scope">
|
||||||
@ -312,6 +316,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async exportData() {
|
async exportData() {
|
||||||
|
if(this.exportShow) return
|
||||||
const res = await this.$API.system.user.export.post();
|
const res = await this.$API.system.user.export.post();
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
this.$message.success('开始导出');
|
this.$message.success('开始导出');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user