作者 张晓杰

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

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