增加导入优化导出

This commit is contained in:
龙运模
2024-07-15 17:24:45 +08:00
parent bb6c776515
commit 6dd9d35ce3
10 changed files with 258 additions and 73 deletions
+4 -3
View File
@@ -9,7 +9,7 @@
:visible="show"
>
<template #reference>
<el-button :size="size" icon="sc-icon-Download" @click="exportClick">下载</el-button>
<el-button :size="size" icon="sc-icon-Download" @click="exportClick">下载 {{show}}</el-button>
</template>
<template #default>
<div v-for="item in list" :key="item">
@@ -30,7 +30,7 @@
export default {
name: "index",
props:{
size:{ type: String, default: "small" },
size:{type: String, default: "small" },
show:{type:Boolean, default: false},
type:{type: String, default: ""}
},
@@ -65,7 +65,8 @@ export default {
if(res.data.type == 8){
this.list[2] = item;
}
this.$emit('updateShow',item);
this.$emit('updateShow', item);
if(res.data.status==1){
this.down(res.data);
}