zs 1 vuosi sitten
vanhempi
commit
1a058d3ae2
2 muutettua tiedostoa jossa 13 lisäystä ja 13 poistoa
  1. 2 2
      src/views/home/index.vue
  2. 11 11
      src/views/project/index.vue

+ 2 - 2
src/views/home/index.vue

@@ -418,9 +418,9 @@ const toView = (item, type) => {
   if (type == '0') router.push({ path: '/project/detail', query: { id: item.id || item._id } })
 }
 // 类型
-const mouseOver = (item) => {
+const mouseOver = async (item) => {
   active.value = item.type
-  search(item.type)
+  await search(item.type)
 }
 // 联络专家
 const toChat = (item) => {

+ 11 - 11
src/views/project/index.vue

@@ -32,14 +32,12 @@
                     </el-tooltip>
                   </el-col>
                   <el-col :span="24" class="two_1">
-                    <span>合作类型: </span>{{ getDict(item.maturity, 'maturity') }}
+                    <span>合作类型:</span>{{ getDict(item.maturity, 'maturity') }}
                   </el-col>
                   <el-col :span="24" class="two_1">
-                    <span>技术成熟度: </span>{{ getDict(item.cooperate, 'cooperate') }}
-                  </el-col>
-                  <el-col :span="24" class="two_1">
-                    <span>发布日期: </span>{{ item.time }}
+                    <span>技术成熟度:</span>{{ getDict(item.cooperate, 'cooperate') }}
                   </el-col>
+                  <el-col :span="24" class="two_1"> <span>发布日期:</span>{{ item.time }} </el-col>
                   <el-col :span="24" class="bottom">
                     <div class="status">{{ getDict(item.type, 'type') }}</div>
                     <div class="button" @click="toView(item)">查看详情</div>
@@ -111,7 +109,7 @@ const searchList = ref([
     ]
   },
   {
-    title: '合作方式',
+    title: '合作类型',
     list: [
       { value: '0', label: '全部' },
       { value: '1', label: '技术开发' },
@@ -125,7 +123,7 @@ const searchList = ref([
     ]
   },
   {
-    title: '需求地区',
+    title: '项目地区',
     list: [
       { value: '0', label: '北京市' },
       { value: '1', label: '天津市' },
@@ -154,11 +152,13 @@ const searchList = ref([
     ]
   },
   {
-    title: '需求状态',
+    title: '成熟度',
     list: [
-      { value: '0', label: '全部' },
-      { value: '1', label: '洽谈中' },
-      { value: '2', label: '已结束' }
+      { value: '0', label: '实验室' },
+      { value: '1', label: '小试' },
+      { value: '2', label: '中试' },
+      { value: '3', label: '小批量生产' },
+      { value: '4', label: '工业化生产' }
     ]
   }
 ])