gqx лет назад: 2
Родитель
Сommit
9884cd1c84

+ 29 - 5
src/views/settings/components/BusMarketMemberLableList.vue

@@ -1,6 +1,18 @@
 <template>
   <a-card :bordered="false">
-    <h4 style="margin-bottom: 16px">会员分组设置</h4>
+    <h4 style="margin-bottom: 16px">
+      会员分组设置
+      <a-tooltip
+        placement="right"
+        title="将具有相同特征的会员放在一个分组,您可以更有针对性地营销。列如:5月1日发过短信、有欠款、可总换积分 "
+      >
+        <a-icon
+          style="margin-left: 15px"
+          type="question-circle"
+          theme="filled"
+        />
+      </a-tooltip>
+    </h4>
     <a-tag
       closable
       :visible="visible"
@@ -13,7 +25,19 @@
 
     <a-button @click="handleAdd" icon="plus">新分组</a-button>
     <a-divider />
-    <h4 style="margin-bottom: 16px">会员标签设置</h4>
+    <h4 style="margin-bottom: 16px">
+      会员标签设置
+      <a-tooltip
+        placement="right"
+        title="帮您迅速锁定顾客喜好,投其所好地推荐商品,提高成交的可能性。例如:土豪、大方、注重质量、爱还价、苛刻等  "
+      >
+        <a-icon
+          style="margin-left: 15px"
+          type="question-circle"
+          theme="filled"
+        />
+      </a-tooltip>
+    </h4>
     <a-tag
       closable
       :visible="visible2"
@@ -131,14 +155,14 @@ export default {
         },
       });
     },
-    handleEditGroup (item) {
-      console.log(1)
+    handleEditGroup(item) {
+      console.log(1);
       this.$refs.modalForm.edit(item);
       this.$refs.modalForm.title = "编辑";
       this.$refs.modalForm.disableSubmit = false;
     },
     handleEditLabel(item) {
-      console.log(1)
+      console.log(1);
       this.$refs.modalForm2.edit(item);
       this.$refs.modalForm2.title = "编辑";
       this.$refs.modalForm2.disableSubmit = false;

+ 24 - 20
src/views/settings/components/modules/BusMarketMemberForm.vue

@@ -18,7 +18,7 @@
               <a-input v-model="model.hotelId" placeholder="请输入关联酒店"  ></a-input>
             </a-form-model-item>
           </a-col> -->
-          <a-col :span="24">
+          <a-col :span="12">
             <a-form-model-item
               label="会员名称"
               :labelCol="labelCol"
@@ -31,7 +31,7 @@
               ></a-input>
             </a-form-model-item>
           </a-col>
-          <a-col :span="24">
+          <a-col :span="12">
             <a-form-model-item
               label="选择类型"
               :labelCol="labelCol"
@@ -44,7 +44,7 @@
               </a-radio-group>
             </a-form-model-item>
           </a-col>
-          <a-col :span="24" v-show="model.type == 0">
+          <a-col :span="12" v-show="model.type == 0">
             <a-form-model-item
               label="会员折扣"
               :labelCol="labelCol"
@@ -60,7 +60,7 @@
               />%
             </a-form-model-item>
           </a-col>
-          <a-col :span="24" v-show="model.type == 1">
+          <a-col :span="12" v-show="model.type == 1">
             <a-form-model-item
               label="房价方案"
               :labelCol="labelCol"
@@ -139,7 +139,7 @@
               </a-radio-group>
             </a-form-model-item>
           </a-col> -->
-          <a-col :span="24">
+          <a-col :span="12">
             <a-form-model-item
               label="等级"
               :labelCol="labelCol"
@@ -149,12 +149,11 @@
               <a-input-number
                 v-model="model.level"
                 placeholder="请输入等级"
-                style="width: 20%"
                 :precision="0"
               />
             </a-form-model-item>
           </a-col>
-          <a-col :span="24">
+          <a-col :span="12">
             <a-form-model-item
               label="会员优惠"
               :labelCol="labelCol"
@@ -169,7 +168,7 @@
               />元
             </a-form-model-item>
           </a-col>
-          <a-col :span="24">
+          <a-col :span="12">
             <a-form-model-item
               label="自动续期"
               :labelCol="labelCol"
@@ -194,7 +193,10 @@
           <a-col :span="24">
             <a-form-model-item
               label="积分设置"
-              :labelCol="labelCol"
+              :labelCol="{
+                xs: { span: 24 },
+                sm: { span: 3},
+              }"
               :wrapperCol="wrapperCol"
               prop="tenantPointsChecked"
             >
@@ -314,12 +316,12 @@
                   style="width: 120px"
                   :allowClear="true"
                 >
-                <a-select-option
-                  :value="item.value"
-                  v-for="(item, index) in members"
-                  :key="index"
-                  >{{ item.label }}</a-select-option
-                >
+                  <a-select-option
+                    :value="item.value"
+                    v-for="(item, index) in members"
+                    :key="index"
+                    >{{ item.label }}</a-select-option
+                  >
                 </a-select></block
               ><br />
               <a-checkbox
@@ -339,7 +341,7 @@
               /></block>
             </a-form-model-item>
           </a-col>
-          <a-col :span="24">
+          <a-col :span="12">
             <a-form-model-item
               label="会员图标"
               :labelCol="labelCol"
@@ -359,7 +361,7 @@
               </a-input>
             </a-form-model-item>
           </a-col>
-          <a-col :span="24">
+          <a-col :span="12">
             <a-form-model-item
               label="卡片背景"
               :labelCol="labelCol"
@@ -376,7 +378,10 @@
           <a-col :span="24">
             <a-form-model-item
               label="卡片描述"
-              :labelCol="labelCol"
+              :labelCol="{
+                xs: { span: 24 },
+                sm: { span: 3},
+              }"
               :wrapperCol="wrapperCol"
               prop="content"
             >
@@ -400,7 +405,7 @@
 </template>
 
 <script>
-import { getRoomPlans,getSelectList } from "@/api/api";
+import { getRoomPlans, getSelectList } from "@/api/api";
 import { httpAction, getAction } from "@/api/manage";
 import { validateDuplicateValue } from "@/utils/util";
 import Icons from "./icon/Icons";
@@ -480,7 +485,6 @@ export default {
           this.roomPlans = res.result;
         }
       });
-
     },
     selectIcons() {
       this.iconChooseVisible = true;