zs 6 months ago
parent
commit
796ac61510

+ 4 - 4
src/views/search/parts/achievement.vue

@@ -68,7 +68,7 @@
             </div>
           </div>
         </div>
-        <div class="twoSeacher">
+        <!-- <div class="twoSeacher">
           <div class="twoLeft">
             <span>价格</span>
           </div>
@@ -77,7 +77,7 @@
               {{ item.label }}
             </div>
           </div>
-        </div>
+        </div> -->
         <div class="twoSeacher border">
           <div class="twoLeft">
             <span>所在地</span>
@@ -88,13 +88,13 @@
             </div>
           </div>
         </div>
-        <div class="two_ipunt">
+        <!-- <div class="two_ipunt">
           <el-input class="input" clearable size="large" v-model="searchForm.name" placeholder="成果名称" />
           <el-input class="input" clearable size="large" v-model="searchForm.tags" placeholder="标签名称" />
           <el-input class="input" clearable size="large" v-model="searchForm.source" placeholder="项目来源" />
           <el-input class="input" clearable size="large" v-model="searchForm.industry" placeholder="所属产业" />
           <el-button class="button" size="large" type="primary" @click="toSearchInfo">检索</el-button>
-        </div>
+        </div> -->
       </div>
       <div class="thr">
         <div class="list" v-for="(item, index) in list" :key="index" @click="toView(item)">

+ 5 - 4
src/views/search/parts/company.vue

@@ -45,13 +45,13 @@
             </div>
           </div>
         </div>
-        <div class="two_ipunt">
+        <!-- <div class="two_ipunt">
           <el-input class="input" clearable size="large" v-model="searchForm.name" placeholder="公司名称" />
           <el-input class="input" clearable size="large" v-model="searchForm.tags" placeholder="标签名称" />
           <el-input class="input" clearable size="large" v-model="searchForm.direction" placeholder="研究方向" />
           <el-input class="input" clearable size="large" v-model="searchForm.scale" placeholder="公司规模" />
           <el-button class="button" size="large" type="primary" @click="toSearchInfo">检索</el-button>
-        </div>
+        </div> -->
       </el-col>
       <div class="thr">
         <div class="list" :class="['list' + index]" v-for="(item, index) in list" :key="index" @click="toView(item)">
@@ -211,8 +211,8 @@ const toSearchFind = async () => {
     })
   } else delete searchForm.value.industry
   if (pattern.value && pattern.value.length > 0) {
-    searchForm.value.field = pattern.value.map((i) => {
-      return i.label
+    searchForm.value.pattern = pattern.value.map((i) => {
+      return i.value
     })
   } else delete searchForm.value.pattern
   if (city.value && city.value.length > 0) {
@@ -368,6 +368,7 @@ defineExpose({
     }
   }
   .two {
+    margin: 0 0 20px 0;
     .Seacher {
       display: flex;
       justify-content: center;

+ 1 - 1
src/views/search/parts/demand.vue

@@ -2,7 +2,7 @@
   <div class="main">
     <div class="one">
       <div class="w_1300">
-        <custom-search :cityList="cityList" :typeList="typeList" :plateList="plateList" :fields="fields" :searchFields="searchFields" @toSearchInfo="toSearchInfo"></custom-search>
+        <custom-search :cityList="cityList" :typeList="typeList" :plateList="plateList" :fields="fields" :searchFields="searchFields" @toSearchInfo="toSearchInfo" :is_search="false"></custom-search>
       </div>
     </div>
     <div class="w_1300">

+ 2 - 2
src/views/search/parts/project.vue

@@ -58,13 +58,13 @@
                 <el-checkbox class="label" @change="oneChange" v-for="(item, index) in maturityList" :key="index" v-model="checked4" :label="item.label" size="large" />
               </div>
             </div>
-            <div class="one_ipunt">
+            <!-- <div class="one_ipunt">
               <el-input class="input" clearable size="large" v-model="searchForm.name" placeholder="项目名称" />
               <el-input class="input" clearable size="large" v-model="searchForm.tags" placeholder="标签名称" />
               <el-input class="input" clearable size="large" v-model="searchForm.source" placeholder="项目来源" />
               <el-input class="input" clearable size="large" v-model="searchForm.industry" placeholder="所属产业" />
               <el-button class="button" size="large" type="primary" @click="toSearchInfo">检索</el-button>
-            </div>
+            </div> -->
           </div>
           <div class="one_2_2">
             <div class="list" :class="['list' + index]" v-for="(item, index) in list" :key="index" @click="toView(item)">

+ 1 - 1
src/views/search/parts/supply.vue

@@ -2,7 +2,7 @@
   <div class="main">
     <div class="one" v-if="is_show !== '1'">
       <div class="w_1300">
-        <custom-search :cityList="cityList" :typeList="typeList" :plateList="plateList" :fields="fields" :searchFields="searchFields" @toSearchInfo="toSearchInfo"></custom-search>
+        <custom-search :is_search="false" :cityList="cityList" :typeList="typeList" :plateList="plateList" :fields="fields" :searchFields="searchFields" @toSearchInfo="toSearchInfo"></custom-search>
       </div>
     </div>
     <div class="w_1300">