From 6a6f4b59e9eaf37cc569f215e9b39e5076ee4da3 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Wed, 07 Jul 2021 21:55:31 +0800
Subject: [PATCH] 新增客户资料导出

---
 zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html
index 038f955..7aa8771 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html
@@ -127,6 +127,7 @@
                 <el-button type="primary" plain @click="recharge">充值</el-button>
                 <el-button type="warning" plain @click="addOrder">开单</el-button>
                 <el-button type="success" plain @click="addServiceOrder">开服务单</el-button>
+                <el-button type="info" plain @click="exportExcel">导出项目</el-button>
             </el-col>
         </el-header>
         <el-container>
@@ -1542,6 +1543,14 @@
                 vipId = this.vipInfo.id;
                 openAddService(vipId);
             },
+            exportExcel(){
+                if (!this.vipInfo.id) {
+                    this.$message.error('请选择用户');
+                    return;
+                }
+                vipId = this.vipInfo.id;
+                window.location.href=basePath+"/admin/vipInfo/exportExcel/"+vipId;
+            },
             // 开订单
             addOrder() {
                 if (!this.vipInfo.id) {

--
Gitblit v1.9.1