From 870960399814cff73d1e6ef93fccb11bede8d464 Mon Sep 17 00:00:00 2001 From: jyy <jyy> Date: Sat, 10 Jul 2021 09:04:39 +0800 Subject: [PATCH] Merge branch 'score_shop' into api_score_meger --- zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 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 cd511b3..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> @@ -195,7 +196,7 @@ </el-col> <el-col :span="10"> <p>会员卡类型 : {{vipInfo.vipType}}</p> - <p>会员等级 : {{vipInfo.levelName}}</p> + <p>会员等级 : {{vipInfo.vipLevel == null ? "" : vipInfo.vipLevel.levelName}}</p> <p>生肖/星座 : {{vipInfo.constell}}</p> <p>地址 : {{vipInfo.addr}}</p> <p>健康顾问 : {{vipInfo.staffName}}</p> @@ -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