Prechádzať zdrojové kódy

feat: 订阅代码回退

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 rok pred
rodič
commit
d35655b803

+ 5 - 42
apps/bigmember_pc/src/components/selector/SelectGroup.vue

@@ -1,16 +1,5 @@
 <template>
   <div class="select-group-container">
-    <Layout :value="getKeyValue" placeholder="关键词">
-      <SelectorCascader
-        slot="empty"
-        :value-label="'关键词'"
-        :list-data="keyList"
-        left-tit="关键词分类"
-        right-tit="关键词组"
-        @datachange="onKeywordChange"
-      ></SelectorCascader>
-    </Layout>
-    <!-- <KeywordSelector></KeywordSelector> -->
     <el-select
       :popper-append-to-body="false"
       @visible-change="getVipStatus"
@@ -30,14 +19,7 @@
       </el-option>
     </el-select>
     <div @click="addUserPerson">
-      <Layout
-        v-if="vt === 'q'"
-        @onPrefixClick="addUserPerson"
-        :value="getReceiveValue"
-        placeholder="接收人员"
-      >
-      </Layout>
-      <!-- <el-input
+      <el-input
         :contenteditable="true"
         v-if="vt === 'q'"
         class="select-common select-person"
@@ -49,7 +31,7 @@
           <span style="margin-top: 2px; color: #2abed1">{{ this.person }}</span>
           <span class="el-icon-arrow-down"></span>
         </template>
-      </el-input> -->
+      </el-input>
     </div>
     <el-select
       :popper-append-to-body="false"
@@ -74,19 +56,13 @@
 
 <script>
 import { Select, Option, Input } from 'element-ui'
-import Layout from '../filter-items/Layout.vue'
-import KeywordSelector from '../filter-items/KeywordSelector.vue'
-import SelectorCascader from './SelectorCascader.vue'
 import { mapState } from 'vuex'
 export default {
   name: 'select-group-container',
   components: {
     [Select.name]: Select,
     [Option.name]: Option,
-    [Input.name]: Input,
-    SelectorCascader,
-    KeywordSelector,
-    Layout
+    [Input.name]: Input
   },
   props: {
     viewStatusList: {
@@ -113,13 +89,7 @@ export default {
       type: Boolean,
       default: false
     },
-    beforeChange: Function,
-    keyList: {
-      type: Array,
-      default() {
-        return []
-      }
-    }
+    beforeChange: Function
   },
   computed: {
     personCount() {
@@ -150,17 +120,10 @@ export default {
       statusVal: '查看状态',
       infoVal: '信息来源',
       statusShow: true,
-      infoShow: true,
-      getKeyValue: '',
-      getReceiveValue: '' // 接收人员
+      infoShow: true
     }
   },
   methods: {
-    onKeywordChange(data) {
-      this.getKeyValue = `关键词${data.oneAndtwo.length}个`
-      this.$emit('onKeywordChange', data)
-    },
-    // 接收人员
     addUserPerson() {
       this.$emit('addUserPerson')
     },