Browse Source

feat: 客户共享 - 配置入口迁移至"邀请入群配置"页面

zhengxy 1 year ago
parent
commit
70e1fa487e

project/src/components/customerShare/index.vue → project/src/components/manage/InviteIntoGroup/customerShare/index.vue


project/src/components/customerShare/shareConfigDrawer.vue → project/src/components/manage/InviteIntoGroup/customerShare/shareConfigDrawer.vue


+ 12 - 5
project/src/components/manage/InviteIntoGroup/index.vue

@@ -2,24 +2,31 @@
2 2
   <div>
3 3
     <div class="topTagBox flex" style="min-width: 1200px;" id="customerAnalysis">
4 4
       <div class="left flex-align-center">
5
-        <div :class="['tagItem',tagType==1?'tagItem_active':'']" @click="changeType(1);">邀请入群配置</div>
6 5
         <div :class="['tagItem',tagType==2?'tagItem_active':'']" @click="changeType(2);">安卓设备绑定</div>
6
+        <div :class="['tagItem',tagType==1?'tagItem_active':'']" @click="changeType(1);">邀请入群配置</div>
7
+        <div :class="['tagItem',tagType==3?'tagItem_active':'']" @click="changeType(3);">客户共享配置</div>
7 8
       </div>
8 9
     </div>
9
-    <inviteRuleList v-if="tagType==1" />
10 10
     <deviceBind v-if="tagType==2" />
11
+    <inviteRuleList v-if="tagType==1" />
12
+    <customerShare v-if="tagType==3" />
11 13
   </div>
12 14
 </template>
13 15
 
14 16
 <script>
15 17
 import inviteRuleList from './inviteRuleList.vue'
16 18
 import deviceBind from './deviceBind/index.vue'
19
+import customerShare from './customerShare/index.vue'
17 20
 export default {
18
-  name: "smartPushV3",
19
-  components: { inviteRuleList, deviceBind, },
21
+  name: "InviteIntoGroup",
22
+  components: {
23
+    inviteRuleList,
24
+    deviceBind,
25
+    customerShare,
26
+  },
20 27
   data() {
21 28
     return {
22
-      tagType: this.$route.query.tag || 1,
29
+      tagType: this.$route.query.tag || 2,
23 30
     }
24 31
   },
25 32
   methods:{

+ 0 - 12
project/src/router/allRouter.js

@@ -110,8 +110,6 @@ const customerAlerts = () => import(/* webpackChunkName: 'customerAlerts' */ '@/
110 110
 const operatorGroup = () => import(/* webpackChunkName: 'operatorGroup' */ '@/components/operatorGroup/index.vue')
111 111
 // 设置管理 - 客服许可续期
112 112
 const license = () => import(/* webpackChunkName: 'license' */ '@/components/license/index.vue')
113
-// 客户共享
114
-const customerShare = () => import(/* webpackChunkName: 'customerShare' */ '@/components/customerShare/index.vue')
115 113
 // 预警管理 - 客户规模预警
116 114
 const customerWarn = () => import(/* webpackChunkName: 'customerWarn' */ '@/components/customerWarn/list.vue')
117 115
 
@@ -578,16 +576,6 @@ export var allRouter = [
578 576
         }
579 577
       },
580 578
       {
581
-        path: 'customerShare',
582
-        name: 'customerShare',
583
-        component: customerShare,
584
-        meta: {
585
-          keepAlive: false,
586
-          isLogin: true,
587
-          title: '客户共享'
588
-        }
589
-      },
590
-      {
591 579
         path: 'customerWarn',
592 580
         name: 'customerWarn',
593 581
         component: customerWarn,