long
2021-09-13 f84ee2c0436617048ed3457a4dfe5582fc140539
功能列表展示页添加 导出模板 按钮
1个文件已修改
18 ■■■■■ 已修改文件
src/pages/demo/list.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/demo/list.vue
@@ -41,16 +41,7 @@
          icon="el-icon-download"
          size="mini"
          @click="exportList"
        >导出数据</el-button>
      </el-col>
      <el-col :span="1.5">
        <a href="http://serv3.phiskin.com/appointment/adminweb/appointment_template.xls" download>
          <el-button
            type="primary"
            size="mini"
            icon="el-icon-download"
          >模板下载</el-button>
        </a>
        >导出列表</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
@@ -64,6 +55,13 @@
          <input id="upload" ref="upload" type="file" @change="fileChange">
        </el-button>
      </el-col>
      <el-col :span="1.5">
        <!-- 导出模版 -->
        <a v-if="getAuthValueFN('xxxx')" href="./static/excel/schedule.xls" download>
          <el-button type="primary" icon="el-icon-download" size="mini">导出模版</el-button>
        </a>
      </el-col>
      <right-toolbar :show-search.sync="showSearch" @queryTable="getList" />
    </el-row>
    <!-- 操作区 ↑↑↑↑↑↑↑↑↑↑ -->