增加导入优化导出
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user