update 用户、部门到处改成.xls

This commit is contained in:
赵霄
2023-11-09 15:05:55 +08:00
parent b2c480b123
commit 4eeb6668ee
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -7,10 +7,10 @@
<a-row style="margin-left: 14px">
<a-button @click="handleAdd(1)" type="primary">{{ $t('depart.addDepartment') }}</a-button>
<a-button @click="handleAdd(2)" type="primary">{{ $t('depart.addSubordinate') }}</a-button>
<a-button type="primary" icon="download" @click="handleExportXls($t('depart.departmentInformation'))">{{ $t('export') }}</a-button>
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
<a-button type="primary" icon="import">{{ $t('import') }}</a-button>
</a-upload>
<a-button type="primary" icon="download" @click="handleExportXls($t('depart.departmentInformation'), '.xls')">{{ $t('export') }}</a-button>
<!--<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">-->
<!-- <a-button type="primary" icon="import">{{ $t('import') }}</a-button>-->
<!--</a-upload>-->
<a-button :title="$t('depart.deleteMultiplePiecesData')" @click="batchDel" type="default">{{ $t('batchDelete') }}</a-button>
<!--<a-button @click="refresh" type="default" icon="reload" :loading="loading">刷新</a-button>-->
</a-row>
+1 -1
View File
@@ -86,7 +86,7 @@
<!-- 操作按钮区域 -->
<div class="table-operator" style="border-top: 5px">
<a-button @click="handleAdd" type="primary" icon="plus" >{{ $t('user.addUser') }}</a-button>
<a-button type="primary" icon="download" @click="handleExportXls($t('user.userInformation'))">{{ $t('export') }}</a-button>
<a-button type="primary" icon="download" @click="handleExportXls($t('user.userInformation'), '.xls')">{{ $t('export') }}</a-button>
<a-button type="primary" icon="hdd" @click="recycleBinVisible=true">{{ $t('recycleBin') }}</a-button>
<a-button type="primary" icon="hdd" @click="roleAssignment">{{ $t('user.roleAllocation') }}</a-button>
<a-dropdown v-if="selectedRowKeys.length > 0">