作者 张晓杰

修改导出文件名称,模版改模板

... ... @@ -46,7 +46,7 @@
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('tbl_salary_suanfa')">导出</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('基础信息')">导出</a-button>
<a-upload
name="file"
:showUploadList="false"
... ...
... ... @@ -34,7 +34,7 @@
<div class="table-operator">
<!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> -->
<!-- <a-button @click="handleAddUser" type="primary" icon="plus">新增用户</a-button> -->
<a-button type="primary" icon="download" @click="handleExportXls('tbl_salary_calculation')">导出</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('工资信息')">导出</a-button>
<a-upload
name="file"
:showUploadList="false"
... ... @@ -52,7 +52,7 @@
@handleSuperQuery="handleSuperQuery"
></j-super-query>
<a-button type="primary" @click="selectup(salaryMonth)" icon="search">计算</a-button>
<a-button type="primary" @click="downloadFile2('工资导入.xlsx')" download="工资导入.xlsx">导入模下载</a-button>
<a-button type="primary" @click="downloadFile2('工资导入.xlsx')" download="工资导入.xlsx">导入模下载</a-button>
<!-- <a href="https://feite-1300636907.cos.ap-chongqing.myqcloud.com/工资导入.xlsx" download="工资导入.xlsx"
>下载工资导入文件</a
> -->
... ...
... ... @@ -35,7 +35,7 @@
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('tbl_salary_suanfa')">导出</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('工资算法')">导出</a-button>
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
<a-button type="primary" icon="import">导入</a-button>
</a-upload>
... ...