guhongwei 4 лет назад
Родитель
Сommit
bd1a6ba2b1
1 измененных файлов с 10 добавлено и 60 удалено
  1. 10 60
      src/views/hall/direct.vue

+ 10 - 60
src/views/hall/direct.vue

@@ -135,7 +135,7 @@
             </el-col>
             <el-col :span="24" class="tabsData">
               <el-tabs type="border-card" @tab-click="handleClick">
-                <el-tab-pane label="中科院长春分院">
+                <el-tab-pane label="技术成果">
                   <el-col :span="24" class="one">
                     <el-row>
                       <el-col :span="24" class="demandList">
@@ -182,53 +182,6 @@
                     </el-row>
                   </el-col>
                 </el-tab-pane>
-                <el-tab-pane label="长春工业大学">
-                  <el-col :span="24" class="one">
-                    <el-row>
-                      <el-col :span="24" class="demandList">
-                        <el-col :span="24" class="topList">
-                          <el-col :span="4" class="list" v-for="(item, index) in ccfyList" :key="index" @click.native="oneBtnDetail(item)">
-                            <el-image :src="achievezb"></el-image>
-                            <el-col :span="24" class="company textOver">
-                              {{ item.company }}
-                            </el-col>
-                            <el-col :span="24" class="aName textOver">
-                              {{ item.name }}
-                            </el-col>
-                            <el-col :span="24" class="a-brief">{{ item.achievebrief }}</el-col>
-                            <el-col :span="24" class="cont">
-                              <el-col :span="24" class="a-field">领域:{{ item.field }}</el-col>
-                              <el-col :span="24" class="a-contacts">联系人:{{ item.contacts }}</el-col>
-                            </el-col>
-                            <el-col :span="24" class="clickBtn">
-                              <el-button size="mini" type="primary" @click="oneBtnDetail(item)">详情</el-button>
-                              <el-button
-                                size="mini"
-                                type="success"
-                                @click="
-                                  $router.push({
-                                    path: '/live/hall/dock/dockDetail',
-                                    query: { id: item._id, dockid: dock_id, user_id: user_id, type: item.type },
-                                  })
-                                "
-                                >对接</el-button
-                              >
-                            </el-col>
-                          </el-col>
-                        </el-col>
-                        <el-col :span="24" class="btn">
-                          <el-button
-                            type="primary"
-                            size="mini"
-                            @click="$router.push({ path: '/hall/productList/technologyList', query: { column_name: '产品', dockid: dock_id } })"
-                            v-if="demandList.length > 6"
-                            >查看所有项目</el-button
-                          >
-                        </el-col>
-                      </el-col>
-                    </el-row>
-                  </el-col>
-                </el-tab-pane>
                 <el-tab-pane label="科技需求">
                   <el-col :span="24" class="one">
                     <el-row class="jishulist">
@@ -319,8 +272,8 @@
                   <el-col :span="24" class="two">
                     <el-col :span="12" class="twoList" v-for="(item, index) in expertList" :key="index">
                       <el-col :span="4" class="image">
-                        <el-image :src="item.expertimage" style="height: 92px;" v-if="item.expertimage != ''"></el-image>
-                        <el-image :src="expertimage" style="height: 92px;" v-else></el-image>
+                        <el-image :src="item.expertimage" style="width:92px;height: 92px;" v-if="item.expertimage != ''"></el-image>
+                        <el-image :src="expertimage" style="width:92px;height: 92px;" v-else></el-image>
                       </el-col>
                       <el-col :span="20" class="info">
                         <el-col :span="16" class="name textOver">
@@ -335,9 +288,9 @@
                             >对接</el-button
                           >
                         </el-col>
-                        <el-col :span="12" class="txt"> 毕业院校:{{ item.school || '暂无' }} </el-col>
-                        <el-col :span="12" class="txt"> 最高学历:{{ item.education || '暂无' }} </el-col>
-                        <el-col :span="12" class="txt"> QQ/微信:{{ item.qqwx || '暂无' }} </el-col>
+                        <el-col :span="12" class="txt textOver"> 毕业院校:{{ item.school || '暂无' }} </el-col>
+                        <el-col :span="12" class="txt textOver"> 最高学历:{{ item.education || '暂无' }} </el-col>
+                        <el-col :span="12" class="txt textOver"> QQ/微信:{{ item.qqwx || '暂无' }} </el-col>
                         <el-col :span="12" class="txt textOver"> 电子邮箱:{{ item.email || '暂无' }} </el-col>
                       </el-col>
                     </el-col>
@@ -487,10 +440,7 @@ export default {
     // 找技术
     jishulist: [],
     // 找产品
-    // 长春工业大学
     demandList: [],
-    // 中科院长春分院
-    ccfyList: [],
     // 找服务
     serviceList: [],
     // 找专家
@@ -579,10 +529,10 @@ export default {
       this.$set(this, `jishulist`, jishuData);
       // 找产品
       var chanpinData = czxmNew.filter(item => item.type === '1');
-      var ccgydx = chanpinData.filter(item => item.company === '中科院长春分院');
-      if (ccgydx) this.$set(this, `demandList`, ccgydx);
-      var ccfy = chanpinData.filter(item => item.company === '长春工业大学');
-      if (ccfy) this.$set(this, `ccfyList`, ccfy);
+      // var ccgydx = chanpinData.filter(item => item.company === '中科院长春分院');
+      // if (ccgydx) this.$set(this, `demandList`, ccgydx);
+      // var ccfy = chanpinData.filter(item => item.company === '长春工业大学');
+      if (chanpinData) this.$set(this, `demandList`, chanpinData);
       // 找服务
       var fuwuData = czxmNew.filter(item => item.type === '2');
       this.$set(this, `serviceList`, fuwuData);