企微助手 ,仓库名 短剧

index.vue 1.3KB

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