This commit is contained in:
zhangsir
2024-04-03 16:54:07 +08:00
parent 7e19cbd787
commit 531429fa49
2 changed files with 7 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
<div class="evadown">
<div class="down_header">
<div class="down_header_title" @click="downloadAll">
<div class="down_header_btn">
<div class="down_header_btn" v-if="downloadShow">
<div class="btnText">全量下载</div>
</div>
</div>
@@ -42,7 +42,7 @@
>
<template #operation="{ record, column }">
<a-space>
<a-button type="link" @click="downloadItem(record)">
<a-button type="link" v-if="downloadShow" @click="downloadItem(record)">
<a-tooltip>
<template #title>下载</template>
<span class="download"></span>
@@ -77,6 +77,7 @@ import {boeRequest} from "@/api/request";
const userInfo = computed(()=>store.state.userInfo)
const route = useRoute();
const state = reactive({
downloadShow: route.query.permission=='true'?true:false,
searchName: '',
tableLoading: false,
tableData:[],