mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-09-11 23:51:53 +08:00
refactor:vue3 export function
This commit is contained in:
@@ -165,11 +165,6 @@ const handleResetPwd = (row: UserVO) => {
|
||||
})
|
||||
}
|
||||
|
||||
// 导出操作
|
||||
const handleExport = async () => {
|
||||
await exportList('用户数据.xls')
|
||||
}
|
||||
|
||||
// ========== 详情相关 ==========
|
||||
const detailRef = ref()
|
||||
|
||||
@@ -296,7 +291,11 @@ getList()
|
||||
>
|
||||
<Icon icon="ep:upload" class="mr-5px" /> {{ t('action.import') }}
|
||||
</el-button>
|
||||
<el-button type="warning" v-hasPermi="['system:user:export']" @click="handleExport">
|
||||
<el-button
|
||||
type="warning"
|
||||
v-hasPermi="['system:user:export']"
|
||||
@click="exportList('用户数据.xls')"
|
||||
>
|
||||
<Icon icon="ep:download" class="mr-5px" /> {{ t('action.export') }}
|
||||
</el-button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user