|
@@ -239,9 +239,15 @@
|
|
|
<!-- 按钮 -->
|
|
|
<div class="btn-group clearfix" style="display: flex">
|
|
|
<el-button type="primary" size="mini" @click="hanleDownloadFiles">导出 </el-button>
|
|
|
- <!-- v-if="$checkBtnRole('import', $route.meta.roles)"-->
|
|
|
+ <!-- -->
|
|
|
|
|
|
- <el-upload class="import-btn" :http-request="handleImport" :file-list="importFileList" :show-file-list="false">
|
|
|
+ <el-upload
|
|
|
+ v-if="$checkBtnRole('import', $route.meta.roles)"
|
|
|
+ class="import-btn"
|
|
|
+ :http-request="handleImport"
|
|
|
+ :file-list="importFileList"
|
|
|
+ :show-file-list="false"
|
|
|
+ >
|
|
|
<el-button size="mini" type="primary">导入</el-button>
|
|
|
</el-upload>
|
|
|
</div>
|