优化excel模板导出方法声明

dev
smallchill 6 years ago
parent e2e6503492
commit 4b98b90e70
  1. 2
      src/views/base/region.vue
  2. 3
      src/views/system/user.vue

@ -33,7 +33,7 @@
width="555px">
<avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter">
<template slot="excelTemplate">
<el-button type="primary" @click="handleTemplate()">
<el-button type="primary" @click="handleTemplate">
点击下载<i class="el-icon-download el-icon--right"></i>
</el-button>
</template>

@ -85,6 +85,7 @@
<el-tree :data="roleGrantList"
show-checkbox
check-strictly
default-expand-all
node-key="id"
ref="treeRole"
@ -104,7 +105,7 @@
width="555px">
<avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter">
<template slot="excelTemplate">
<el-button type="primary" @click="handleTemplate()">
<el-button type="primary" @click="handleTemplate">
点击下载<i class="el-icon-download el-icon--right"></i>
</el-button>
</template>

Loading…
Cancel
Save