瀏覽代碼

fix: 订阅样式调整、拟在建逻辑调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 11 月之前
父節點
當前提交
b14c4de86e

+ 17 - 8
apps/bigmember_pc/src/components/filter-items/AttachmentSelector.vue

@@ -6,9 +6,10 @@
     :trigger="trigger"
     :value="computedVal"
   >
-   <div slot="empty" class="filter-list">
-      <div class="filter-item"
-        :class="{'active': selected.value === item.value}"
+    <div slot="empty" class="filter-list">
+      <div
+        class="filter-item"
+        :class="{ active: selected.value === item.value }"
         v-for="item in options"
         :key="item.label"
         :label="item.label"
@@ -49,7 +50,7 @@ export default {
     },
     cname: {
       type: String,
-      default: ''
+      default: 'attachmentData'
     },
     beforeChange: Function
   },
@@ -66,11 +67,15 @@ export default {
     }
   },
   computed: {
-    computedVal () {
-      if (this.selected.value && this.selected.value !== '0') {
-        return this.selected.label
+    computedVal() {
+      if (this.cname === 'attachmentData') {
+        if (this.selected.value && this.selected.value !== '0') {
+          return this.getLabelOrDefault()
+        } else {
+          return ''
+        }
       } else {
-        return ''
+        return this.getLabelOrDefault()
       }
     }
   },
@@ -103,6 +108,10 @@ export default {
       }
       this.options = dataListObj[data]
     },
+    getLabelOrDefault() {
+      // 使用三元运算符简化逻辑
+      return this.selected.value ? this.selected.label : ''
+    },
     handleChange(item) {
       const beforeChange = this.beforeChange
       if (beforeChange) {

+ 41 - 1
apps/bigmember_pc/src/components/filter-items/CommonCheckboxSelector.vue

@@ -1,5 +1,8 @@
 <template>
-  <div class="common-checkbox-selector">
+  <div
+    class="common-checkbox-selector"
+    :class="{ 'more-height': !moreStatus && showMore }"
+  >
     <el-checkbox-group
       class="j-checkbox-group"
       :value="list"
@@ -17,6 +20,10 @@
         {{ field ? state.label : state }}
       </el-checkbox-button>
     </el-checkbox-group>
+    <div v-if="showMore" class="is-expand" @click="toggleMoreStatus">
+      <span>{{ moreStatus ? '收起' : '更多' }}</span>
+      <i class="el-icon-arrow-down" :class="{'is-reverse': moreStatus}"></i>
+    </div>
   </div>
 </template>
 
@@ -34,6 +41,10 @@ const props = defineProps({
     type: String,
     default: ''
   },
+  showMore: {
+    type: Boolean,
+    default: false
+  },
   options: {
     type: Object,
     default: () => {}
@@ -61,6 +72,12 @@ onMounted(() => {
     list.value = props.value
   }
 })
+
+const moreStatus = ref(false)
+function toggleMoreStatus() {
+  moreStatus.value = !moreStatus.value
+}
+
 function setSelectValue(state) {
   return props.field === '' ? state : state[props.field];
 }
@@ -94,6 +111,11 @@ function onIssueStateChange(value) {
 
 <style lang="scss" scoped>
 .common-checkbox-selector {
+  &.more-height{
+    height: 34px;
+    overflow: hidden;
+  }
+  position: relative;
   // checked-button
   .j-checkbox-button {
     margin: 0 10px 10px 0;
@@ -140,5 +162,23 @@ function onIssueStateChange(value) {
     border: none;
     border-color: transparent;
   }
+  .is-expand{
+    position: absolute;
+    top: 2px;
+    right: 32px;
+    display: inline-block;
+    font-size: 14px;
+    line-height: 22px;
+    color: #686868;
+    cursor: pointer;
+    i{
+      margin-left: 2px;
+      transform: rotate(0deg);
+      transition: transform .3s;
+    }
+    .is-reverse{
+      transform: rotate(180deg);
+    }
+  }
 }
 </style>

+ 1 - 0
apps/bigmember_pc/src/components/push-list/PushList.vue

@@ -2038,6 +2038,7 @@ export default {
   background: #fff;
   border-bottom: 1px solid #ececec;
   z-index: 9;
+  border-radius: 8px 8px 0 0;
 }
 
 .collect-list-content,

+ 11 - 11
apps/bigmember_pc/src/views/search/ent/constant/search-filters.js

@@ -106,6 +106,17 @@ function createSearchEntBaseSchema(conf = {}) {
 function createSearchEntMoreSchema() {
   // 更多筛选
   const SearchEntMoreSchema = [
+    {
+      key: 'establish',
+      label: '成立时间',
+      defaultVal: '',
+      _name: 'type',
+      _type: 'component',
+      expand: {
+        component: EstablishTimeSelector,
+        hooks: {}
+      }
+    },
     {
       key: 'area',
       label: '注册地',
@@ -167,17 +178,6 @@ function createSearchEntMoreSchema() {
         hooks: {}
       }
     },
-    {
-      key: 'establish',
-      label: '成立时间',
-      defaultVal: '',
-      _name: 'type',
-      _type: 'component',
-      expand: {
-        component: EstablishTimeSelector,
-        hooks: {}
-      }
-    },
     {
       key: 'biddingArea',
       label: '中标区域',

+ 25 - 18
apps/bigmember_pc/src/views/search/nzj/constant/search-filters.js

@@ -13,12 +13,30 @@ const labelOfKeyMap = [
 
 let filtersInfo = []
 const SearchNzjBaseSchema = ref([])
+
 async function useSearchNzjBaseSchema() {
   return await ajaxGetSearchNzjCondition().then((res) => {
     const { error_code: code, data } = res
-    if (code === 0) {
+    if (code === 0 && data) {
+      for (let index = 0; index < data.length; index++) {
+        const item = data[index]
+        item['label'] = Object.keys(item)[0]
+        item['value'] = item[item['label']]
+        // 工程类型单选
+        if (item['label'] === '工程类型') {
+          item['single'] = true
+        }
+      }
       filtersInfo = data
-      setNzjItemsInfo(data)
+      // 默认不展示'建筑工程', '土木工程', '机电工程'
+      const itemsToRemove = ['建筑工程', '土木工程', '机电工程']
+      const newData = data.filter((item) => {
+        // 获取当前对象的第一个也是唯一的键
+        const key = item.label
+        // 检查这个键是否在要删除的列表中
+        return !itemsToRemove.includes(key)
+      });
+      setNzjItemsInfo(newData)
     }
     return SearchNzjBaseSchema
   })
@@ -28,12 +46,6 @@ function setNzjItemsInfo(data) {
   SearchNzjBaseSchema.value = []
   for (let index = 0; index < data.length; index++) {
     const item = data[index]
-    item['label'] = Object.keys(item)[0]
-    item['value'] = item[item['label']]
-    // 工程类型单选
-    if (item['label'] === '工程类型') {
-      item['single'] = true
-    }
     SearchNzjBaseSchema.value.push(setNzjComponent(item, index))
   }
 }
@@ -41,10 +53,6 @@ function setNzjItemsInfo(data) {
 function initFilterData(data) {
   // 定义需要删除的数据项
   const itemsToRemove = ['建筑工程', '土木工程', '机电工程']
-  if (!data || !data.length) {
-    updateFiltersInfo([])
-    return
-  }
   const removeList = removeItems(data, itemsToRemove)
   // 更新过滤器信息
   updateFiltersInfo(removeList)
@@ -68,9 +76,10 @@ function removeItems(items, list) {
  */
 function updateFiltersInfo(removeList = []) {
   const updatedList = filtersInfo.slice()
-  const resultList = updatedList.filter(
-    (item) => !removeList.includes(item.label)
-  )
+  const resultList = updatedList.filter((item) => {
+    // 此时还没有设置label,先匹配原数据的key
+    return !removeList.includes(item.label)
+  })
   setNzjItemsInfo(resultList)
 }
 
@@ -89,9 +98,7 @@ function setNzjComponent(item, index) {
     expand: {
       component: commonCheckSelector,
       props: {
-        style: {
-          margin: 0
-        },
+        showMore: item.label === '地区',
         single: item.single,
         options: item,
         value: []

+ 25 - 36
apps/bigmember_pc/src/views/search/nzj/model/base.js

@@ -136,6 +136,7 @@ export default function () {
       project_stage,
       ownerclass
     } = data
+    console.log(engineer_type, 'engineer_type');
     const areaJudge = checkIfArrayHasOnlyValue(area, '全部')
     const buildJudge = checkIfArrayHasOnlyValue(build, '全部')
     const civilJudge = checkIfArrayHasOnlyValue(civil, '全部')
@@ -147,46 +148,34 @@ export default function () {
     const ownerclassJudge = checkIfArrayHasOnlyValue(ownerclass, '全部')
     // 地区
     area = areaJudge ? '' : area.join(',')
-    // 工程类型为全部时,还是走老逻辑
-    //   (建筑、土木、机电)
-    //   如果三个都选全部,则category为空,有一个不选全部,剩下两个选全部,则category为两个不选全部的字符串拼接
-    //   如果三个都不选全部,则category为三个不选全部的字符串拼接
+    // 工程类型为全部时,category为空
     let category = ''
     const engineerType = engineer_type
     initFilterData(engineerType)
-    if (buildJudge && civilJudge && electromechanicalJudge) {
-      category = ''
-    } else {
-      const buildValue = getCategoryValue(build, 'build', buildJudge)
-      const civilValue = getCategoryValue(civil, 'civil', civilJudge)
-      const electromechanicalValue = getCategoryValue(
-        electromechanical,
-        'electromechanical',
-        electromechanicalJudge
-      )
-      // 工程类型选择一个,只显示一个,则category为这个选择的值
-      if (engineerType && engineerType.length) {
-        // 单选,直接取第0项的值
-        const engineerTypeZero = engineerType[0]
-        if (engineerTypeZero === '建筑工程') {
-          category = setSelectValueData(engineerTypeZero, buildValue)
-        } else if (engineerTypeZero === '土木工程') {
-          category = setSelectValueData(engineerTypeZero, civilValue)
-        } else if (engineerTypeZero === '机电工程') {
-          category = setSelectValueData(
-            engineerTypeZero,
-            electromechanicalValue
-          )
-        }
-        // 检查并移除最后一个字符是否为逗号
-        if (category.endsWith(',')) {
-          category = category.slice(0, -1)
-        }
-      } else {
-        category = `${buildValue}${buildValue ? ',' : ''}${civilValue}${
-          civilValue ? ',' : ''
-        }${electromechanicalValue}`
+    const buildValue = getCategoryValue(build, 'build', buildJudge)
+    const civilValue = getCategoryValue(civil, 'civil', civilJudge)
+    const electromechanicalValue = getCategoryValue(
+      electromechanical,
+      'electromechanical',
+      electromechanicalJudge
+    )
+    // 工程类型选择一个,只显示一个,则category为这个选择的值
+    if (engineerType && engineerType.length) {
+      // 单选,直接取第0项的值
+      const engineerTypeZero = engineerType[0]
+      if (engineerTypeZero === '建筑工程') {
+        category = setSelectValueData(engineerTypeZero, buildValue)
+      } else if (engineerTypeZero === '土木工程') {
+        category = setSelectValueData(engineerTypeZero, civilValue)
+      } else if (engineerTypeZero === '机电工程') {
+        category = setSelectValueData(engineerTypeZero, electromechanicalValue)
+      }
+      // 检查并移除最后一个字符是否为逗号
+      if (category.endsWith(',')) {
+        category = category.slice(0, -1)
       }
+    } else {
+      category = ''
     }
     const pattern = /(全部,){2}全部/
     if (pattern.test(category)) {

+ 14 - 2
apps/bigmember_pc/src/views/subscribe/SubPush.vue

@@ -1421,6 +1421,9 @@ export default {
     height: 32px;
     cursor: pointer;
   }
+  .search-schema-filter-container.use-style-row{
+    align-items: center;
+  }
 }
 
 .custom-report {
@@ -1533,6 +1536,9 @@ export default {
     .date-time-container{
       background-color: transparent;
     }
+    .selector-card{
+      height: 24px;
+    }
     .selector-card:not(:last-of-type){
       border-bottom: none;
     }
@@ -1564,6 +1570,12 @@ export default {
 
     .selector-card.s-line {
       padding: 0;
+      .j-button-item{
+        margin: 0 5px;
+      }
+      .s-header{
+        line-height: 24px
+      }
     }
 
     .selector-card.s-line .selector-card-header {
@@ -1901,7 +1913,7 @@ export default {
     display: flex;
     align-items: center;
     justify-content: space-between;
-    padding: 0 0 24px 0;
+    padding: 0 0 16px 0;
 
     .header-right {
       display: flex;
@@ -2006,7 +2018,7 @@ export default {
   }
 
   .m-24 {
-    margin-top: 24px;
+    margin-top: 16px;
   }
 }
 

+ 19 - 12
apps/mobile/src/ui/sidebar-selector/index.vue

@@ -51,9 +51,9 @@
             <div
               class="content-list-item-container border-line-b"
               :class="{
-              all: child.level === 0,
-              child: child.level === 1 || child.level === 2
-            }"
+                all: child.level === 0,
+                child: child.level === 1 || child.level === 2
+              }"
               v-for="(child, index2) in parent.children"
               @click="childCellClick(parent, child)"
               v-show="showChildrenItem(parent, child, index2)"
@@ -189,6 +189,11 @@ export default {
     lazyRender: {
       type: Boolean,
       default: true
+    },
+    // 二级分类为空时,是否需要填充一级分类
+    isFill: {
+      type: Boolean,
+      default: false
     }
   },
   data() {
@@ -230,14 +235,17 @@ export default {
           if (this.childrenAddAll) {
             // 子项长度为0,则添加父项内容(除了level=0的项)
             if (parent.children.length === 0) {
-              if (parent.level !== 0) {
-                parent.children.push({
-                  name: parent.name,
-                  value: parent.value,
-                  parentCloneNode: true,
-                  level: parent.level,
-                  parentName: parent.name
-                })
+              // 当isFill为true时,填充一级分类
+              if (this.isFill) {
+                if (parent.level !== 0) {
+                  parent.children.push({
+                    name: parent.name,
+                    value: parent.value,
+                    parentCloneNode: true,
+                    level: parent.level,
+                    parentName: parent.name
+                  })
+                }
               }
             }
             // 所有二级菜单添加全部按钮
@@ -471,7 +479,6 @@ export default {
       const childrenState = this.calcChildrenState(children)
       const { _children_count: count, _children_selectedCount: selected } =
         childrenState
-
       // 如果count==selected,则全选按钮选中
       // 如果count!=selected,则全选按钮不选中
       const allButtonState = count === selected

+ 59 - 13
apps/mobile/src/views/collection/components/filters.vue

@@ -73,11 +73,24 @@
         <div class="wrapper">
           <JCell class="more-filter-item" title="标题正文">
             <template #label>
-              <KeywordsInputGroup
+              <!-- <KeywordsInputGroup
                 v-model="cacheMoreFilters.moreKeywordsMode"
                 ref="moreKeywordsGroup"
                 class="more-keywords-component"
-              />
+              /> -->
+              <van-form
+                class="keywords-input-container"
+                action="javascript:return true"
+              >
+                <van-field
+                  class="keywords-input"
+                  v-model.trim="cacheMoreFilters.moreKeywordsMode"
+                  :formatter="formatter"
+                  placeholder="请输入关键词"
+                  maxlength="15"
+                  show-word-limit
+                ></van-field>
+              </van-form>
             </template>
           </JCell>
           <JCell class="more-filter-item" title="金额">
@@ -324,7 +337,7 @@
 
 <script>
 import { mapGetters } from 'vuex'
-import { DropdownMenu, DropdownItem, Cell, Field, Popup, Tag } from 'vant'
+import { DropdownMenu, DropdownItem, Cell, Field, Popup, Tag, Form } from 'vant'
 import { JCell, CheckboxGroup, AppIcon } from '@/ui'
 import PopupLayout from '@/components/common/PopupLayout'
 import DropdownLayout from '@/components/common/DropdownLayout'
@@ -338,7 +351,6 @@ import InfoTypeSidebar from '@/components/selector/info-type-sidebar/index'
 import InfoTypeOneClassify from '@/components/selector/info-type-one-classify/index'
 import BuyerClassSidebar from '@/components/selector/buyer-class-sidebar/index'
 import MoneyInputGroup from '@/components/selector/money-input-group'
-import KeywordsInputGroup from '@/components/selector/keyword-input-group/index'
 import { deepCompare, FilterHistoryViewModel2AjaxModel } from '@/utils'
 import {
   biddingSearchConcat,
@@ -350,6 +362,7 @@ export default {
   name: 'BiddingFilters',
   components: {
     [Field.name]: Field,
+    [Form.name]: Form,
     [Tag.name]: Tag,
     [Cell.name]: Cell,
     [Popup.name]: Popup,
@@ -367,7 +380,6 @@ export default {
     CheckboxGroup,
     DateTimeList,
     InfoTypeOneClassify,
-    KeywordsInputGroup,
     AppIcon,
     JCell
   },
@@ -428,7 +440,7 @@ export default {
       default() {
         return {
           label: [],
-          moreKeywordsMode: {},
+          moreKeywordsMode: '',
           industry: {},
           area: {},
           priceCheckbox: [''],
@@ -454,7 +466,7 @@ export default {
       type: Object,
       default() {
         return {
-          moreKeywordsMode: {},
+          moreKeywordsMode: '',
           label: [],
           industry: {},
           area: {},
@@ -502,7 +514,7 @@ export default {
       },
       // 选择器对应的数据
       cacheMoreFilters: {
-        moreKeywordsMode: {},
+        moreKeywordsMode: '',
         industry: {},
         area: {},
         priceCheckbox: [''],
@@ -622,6 +634,9 @@ export default {
     })
   },
   methods: {
+    formatter(value) {
+      return value.replace(/,/g, ' ').replace(/\s{2,}/g, ' ')
+    },
     getContainer() {
       return this.$root.$el.querySelector('.search-result-bidding')
     },
@@ -730,7 +745,7 @@ export default {
     },
     // 从filters中恢复选择器状态
     openedDropDown(type) {
-      const { tagSelector, selectTimeSelector, priceSelector, publishTimeSelector, moreKeywordsGroup, areaSelector } = this.$refs
+      const { tagSelector, selectTimeSelector, priceSelector, publishTimeSelector, areaSelector } = this.$refs
       let { label, selectTime, publishTime } = this.filters
       switch (type) {
         case 'label': {
@@ -762,9 +777,6 @@ export default {
           } = this.filters
           // 更多关键词
           this.cacheMoreFilters.moreKeywordsMode = moreKeywordsMode
-          try {
-            moreKeywordsGroup?.setState(moreKeywordsMode)
-          } catch (error) {}
 
           // 金额
           this.cacheMoreFilters.priceCheckbox = priceCheckbox
@@ -1103,9 +1115,43 @@ export default {
   color: #5f5e64;
 }
 
-.more-keywords-component {
+.keywords-input-container {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
   padding: 8px 0;
 }
+.keywords-input {
+  flex: 1;
+  position: relative;
+  height: 32px;
+  line-height: 32px;
+  border-radius: 4px;
+  padding: 0 12px;
+  border: 1px solid $border_color_4;
+  &:focus-within {
+    border-color: $main;
+  }
+  &::after {
+    content: unset;
+  }
+  ::v-deep {
+    .van-field__control {
+      font-size: 14px;
+    }
+    .van-field__body {
+      padding-right: 32px;
+    }
+    .van-field__word-limit {
+      position: absolute;
+      top: 50%;
+      right: 0;
+      margin: 0;
+      transform: translateY(-50%);
+      color: $gray_6;
+    }
+  }
+}
 .search-mode-filter {
   .search-mode-label-icon {
     margin-left: 8px;

+ 27 - 112
apps/mobile/src/views/collection/index.vue

@@ -97,7 +97,7 @@
               :time="item.publishtime * 1000"
               v-visited:content="item._id"
               :isFile="item.isFile"
-              :keys="filters.keyWords"
+              :keys="[filters.keyWords]"
               :leftTopBadgeText="item.leftTopBadgeText"
               :tags="item.tagList"
               :key="item.vKid"
@@ -264,14 +264,6 @@
         </div>
         <AppEmpty v-show="listState.list.length === 0 && listState.finished">
           <div class="empty-text" v-html="emptyText"></div>
-          <van-button
-            class="feedback-button"
-            plain
-            size="small"
-            type="primary"
-            @click="feedback"
-            >意见反馈</van-button
-          >
         </AppEmpty>
       </div>
     </div>
@@ -380,7 +372,7 @@ export default {
           }
         ],
         defaultFilterState: {
-          moreKeywordsMode: {},
+          moreKeywordsMode: '',
           label: [],
           industry: {},
           area: {},
@@ -404,7 +396,7 @@ export default {
       },
       // 发送请求整理的数据
       filters: {
-        moreKeywordsMode: {},
+        moreKeywordsMode: '',
         keywords: '',
         label: [],
         industry: {},
@@ -575,20 +567,6 @@ export default {
       const { count } = this.listState
       return count > 0
     },
-    additionalWordsArr() {
-      const { moreKeywordsMode } = this.filters
-      let additionalWordsArr = []
-
-      if (moreKeywordsMode) {
-        if (
-          Array.isArray(moreKeywordsMode.tags) &&
-          moreKeywordsMode.tags.length
-        ) {
-          additionalWordsArr = moreKeywordsMode.tags
-        }
-      }
-      return additionalWordsArr
-    },
     emptyText() {
       return '暂未收藏标讯'
     },
@@ -856,17 +834,18 @@ export default {
         }
       }
       // 附加词
-      const { additionalWords, wordsMode } = filters
-      const moreKeywordsModeState = {}
-      if (Array.isArray(additionalWords) && additionalWords.length) {
-        moreKeywordsModeState.tags = additionalWords
-      }
-      if (Array.isArray(wordsMode) && wordsMode.length) {
-        moreKeywordsModeState.wordsMode = wordsMode.join(',')
-      }
-      if (Object.keys(moreKeywordsModeState).length) {
-        this.$set(this.filters, 'moreKeywordsMode', moreKeywordsModeState)
-      }
+      // const { additionalWords, wordsMode } = filters
+      // const moreKeywordsModeState = {}
+      // if (Array.isArray(additionalWords) && additionalWords.length) {
+      //   moreKeywordsModeState.tags = additionalWords
+      // }
+      // if (Array.isArray(wordsMode) && wordsMode.length) {
+      //   moreKeywordsModeState.wordsMode = wordsMode.join(',')
+      // }
+      // if (Object.keys(moreKeywordsModeState).length) {
+      //   this.$set(this.filters, 'moreKeywordsMode', moreKeywordsModeState)
+      // }
+      this.$set(this.filters, 'moreKeywordsMode', filters.moreKeywordsMode)
 
       // 附件
       if (filters.fileExists) {
@@ -954,22 +933,22 @@ export default {
       const infoTypeText = InfoTypeTransform.formatMapToList(infoType)
       const { price, moreKeywordsMode, publishTime, selectTime, label, buyerClass, winnerConcat, buyerConcat, industry } = this.filters
       // 整理wordsMode和additionalWords
-      let additionalWords
-      if (moreKeywordsMode) {
-        if (
-          Array.isArray(moreKeywordsMode) &&
-          moreKeywordsMode.length
-        ) {
-          additionalWords = moreKeywordsMode.join(',')
-        }
-      }
-      this.filters.keyWords = additionalWords
+      // let additionalWords
+      // if (moreKeywordsMode) {
+      //   if (
+      //     Array.isArray(moreKeywordsMode) &&
+      //     moreKeywordsMode.length
+      //   ) {
+      //     additionalWords = moreKeywordsMode.join(',')
+      //   }
+      // }
+      this.filters.keyWords = moreKeywordsMode
 
       const params = {
         pageNum: this.listState.pageNum,
         pageSize: this.listState.pageSize,
         reqType: '', // cache:空搜索缓存数据;lastNews:最新数据
-        keyWords: additionalWords,
+        keyWords: moreKeywordsMode,
         province: area,
         city: city,
         district: district,
@@ -1005,8 +984,6 @@ export default {
             t.list = []
             t.refreshing = false
           }
-          // 请求完成后的回调
-          this.afterSearch(params, data)
           // 列表赋值
           const list = data.res
           const count = data.count
@@ -1089,42 +1066,6 @@ export default {
         this.$router.push('/common/order/create/svip')
       } catch (error) {}
     },
-    afterSearch(params = {}, data = {}) {
-      const {
-        list = [],
-        keyWords = '',
-        interceptOtherWords,
-        interceptLimit,
-        interceptKeyWords
-      } = data
-      this.pageState.splitKeywords = keyWords
-      if (keyWords) {
-        this.pageState.splitKeys = keyWords.split(' ')
-      } else {
-        const keywordsArr = this.filters.keywords.split(' ')
-        let additionalWordsArr = []
-        const { moreKeywordsMode } = this.filters
-        if (
-          Array.isArray(moreKeywordsMode.tags) &&
-          moreKeywordsMode.tags.length
-        ) {
-          additionalWordsArr = moreKeywordsMode.tags
-        }
-        this.pageState.splitKeys = keywordsArr.concat(additionalWordsArr)
-      }
-      // 限制数据赋值
-      this.pageState.interceptOtherWords = interceptOtherWords
-      this.pageState.interceptLimit = interceptLimit
-      // 如果超出限制字符数,则替换输入框内容
-      if (interceptKeyWords) {
-        this.topSearch.input = interceptKeyWords
-      }
-
-      if (params.pageNum === 1) {
-        // 保存更多关键词到历史记录中
-        this.saveAdditionalWordsToHistory()
-      }
-    },
     // 获取参标状态
     async getCanBiaoStatus(arr) {
       let idArr = arr.map((item) => item._id)
@@ -1316,22 +1257,6 @@ export default {
       // }
       openAppOrWxPage(targetMap)
     },
-    // 保存更多关键词到历史记录中
-    saveAdditionalWordsToHistory() {
-      const { moreKeywordsMode } = this.filters
-      const tags = moreKeywordsMode.tags
-      if (Array.isArray(tags) && tags.length) {
-        tags.forEach((t) => {
-          // 历史记录新增
-          this.setHistory({
-            type: 'bidding',
-            item: {
-              label: t
-            }
-          })
-        })
-      }
-    },
     calcProjectCardType(item) {
       const type = this.cellCardType
       return type
@@ -1433,16 +1358,6 @@ export default {
         FilterHistoryViewModel2AjaxModel.formatAreaCity(this.filters.area)
       const infoType = InfoTypeTransform.listToMap(this.filters.infoType)
       const infoTypeText = InfoTypeTransform.formatMapToList(infoType)
-      let additionalWords
-
-      if (moreKeywordsMode) {
-        if (
-          Array.isArray(moreKeywordsMode.tags) &&
-          moreKeywordsMode.tags.length
-        ) {
-          additionalWords = moreKeywordsMode.tags.join(',')
-        }
-      }
 
       const params = {
         label: this.filters.label.join(','), // 个人标签
@@ -1450,7 +1365,7 @@ export default {
         area, // 地区省份(保存筛选接口用到)
         city,
         district,
-        keyWords: additionalWords,
+        keyWords: moreKeywordsMode,
         industry: FilterHistoryViewModel2AjaxModel.formatIndustry(this.filters.industry), // 行业
         minprice: this.filters.price.start,
         maxprice: this.filters.price.end,