From 2e3c12ca3a7241f498c32121cb1572502c998d0d Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Sat, 09 Jan 2021 00:42:00 +0800
Subject: [PATCH] 公众号模板消息demo

---
 zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 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 79a7972..dfaf184 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
@@ -95,6 +95,14 @@
         .el-autocomplete {
             display: block !important;
         }
+
+        .vip-info {
+            padding: 30px 20px;
+        }
+
+        .vip-info p {
+            line-height: 30px;
+        }
     </style>
 
 </head>
@@ -115,7 +123,7 @@
                     <el-button type="primary" @click="searchVipInfo">查询</el-button>
                 </el-col>
             </el-col>
-            <el-col :span="6" style="float: right; margin-right: 20px;">
+            <el-col :span="8" style="float: right; margin-right: 20px;">
                 <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>
@@ -182,7 +190,7 @@
             <el-main style="background-color: white; margin-right: 15px; padding: 20px 30px;">
                 <el-tabs v-model="activeName" type="card" @tab-click="tabHandleClick">
                     <el-tab-pane label="会员信息" name="vipInfo">
-                        <el-row>
+                        <el-row class="vip-info">
                             <el-col :span="10">
                                 <p>生日 : {{vipInfo.birthday1}}</p>
                                 <p>会员状态 : {{vipInfo.vipState}}</p>
@@ -384,7 +392,6 @@
                     <el-tab-pane label="服务单" name="serviceOrder">
                         <el-row style="line-height: 40px;">
                             <el-col :span="11">
-                                <span>选择时间:</span>
                                 <el-date-picker v-model="serviceOrderTab.selectTime"
                                         type="datetimerange"
                                         range-separator="至" format="yyyy-MM-dd HH:mm"
@@ -476,7 +483,6 @@
                     <el-tab-pane label="订单" name="order">
                         <el-row style="line-height: 40px;">
                             <el-col :span="11">
-                                <span>选择时间:</span>
                                 <el-date-picker v-model="orderTab.selectTime"
                                                 type="datetimerange"
                                                 range-separator="至"
@@ -572,7 +578,6 @@
                     <el-tab-pane label="皮肤检测" name="skinCheck">
                         <el-row style="line-height: 40px;">
                             <el-col :span="11">
-                                <span>选择时间:</span>
                                 <el-date-picker v-model="skinTab.selectTime"
                                                 type="daterange"
                                                 range-separator="至"
@@ -737,6 +742,9 @@
             // 请求会员信息
             vipInfoFn(key) {
                 let _this = this;
+                if (!key) {
+                    key = _this.vipInfo.phone;
+                }
                 // 请求用户信息
                 $.AjaxProxy({
                     p: {
@@ -766,6 +774,10 @@
 
                     _this.tags.tags = data.labels;
                     _this.projTableQueryFn();
+                    _this.serviceOrderTableQueryFn();
+                    _this.orderTableDataQueryFn();
+                    _this.skinCheckTableDataQueryFn();
+                    _this.refreshTable();
                 });
             },
             addLabelFn(key) {

--
Gitblit v1.9.1