From 17d7043f10d55429db919238fe639bff1b51ec0e Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期五, 07 二月 2025 15:59:37 +0800 Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/funingyunwei into 2.0.1 --- admin/src/views/client/staffList.vue | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/admin/src/views/client/staffList.vue b/admin/src/views/client/staffList.vue index e3be587..fdb031d 100644 --- a/admin/src/views/client/staffList.vue +++ b/admin/src/views/client/staffList.vue @@ -70,6 +70,7 @@ import OperaYwCustomerWindow from './components/staffEdit.vue' import { fetchList } from '@/api/client/ywCustomer' import { updateStatusById } from '@/api/business/member' +import { ywExportExcel } from '@/api/client/staff' import { Message } from 'element-ui' export default { name: 'YwCustomer', @@ -113,6 +114,28 @@ this.clientList = res.records || [] }) }, + exportExcel () { + this.$dialog.exportConfirm('纭瀵煎嚭鍚楋紵') + .then(() => { + this.isWorking.export = true + ywExportExcel({ + page: this.tableData.pagination.pageIndex, + capacity: 1000000, + model: this.searchForm, + sorts: this.tableData.sorts + }) + .then(response => { + this.download(response) + }) + .catch(e => { + this.$tip.apiFailed(e) + }) + .finally(() => { + this.isWorking.export = false + }) + }) + .catch(() => {}) + }, } } </script> -- Gitblit v1.9.3