guhongwei 4 years ago
parent
commit
036f8251d4
2 changed files with 25 additions and 9 deletions
  1. 24 9
      src/views/market/detail/patentDetail.vue
  2. 1 0
      src/views/market/marketlists.vue

+ 24 - 9
src/views/market/detail/patentDetail.vue

@@ -14,6 +14,14 @@
             <el-col :span="24" class="name textOver">
               {{ detailInfo.name }}
             </el-col>
+            <el-col :span="24">
+              <el-col :span="5" class="otherInfo textOver">
+                申请号
+              </el-col>
+              <el-col :span="19" class="otherInfo textOver">
+                {{ detailInfo.app_number || '暂无' }}
+              </el-col>
+            </el-col>
             <el-col :span="24">
               <el-col :span="5" class="otherInfo textOver">
                 申请日
@@ -22,7 +30,6 @@
                 {{ detailInfo.create_date || '暂无' }}
               </el-col>
             </el-col>
-
             <el-col :span="24">
               <el-col :span="5" class="otherInfo textOver">
                 公开(公告)号
@@ -39,13 +46,17 @@
                 {{ detailInfo.complete_date || '暂无' }}
               </el-col>
             </el-col>
-
             <el-col :span="24">
-              <el-col :span="5" class="otherInfo textOver">
-                发明人
-              </el-col>
+              <el-col :span="5" class="otherInfo textOver"> 发明人</el-col>
               <el-col :span="19" class="otherInfo textOver">
-                {{ detailInfo.inventor || '暂无' }}
+                <span v-if="detailInfo.inventor.length > 43">
+                  <el-tooltip :content="detailInfo.inventor" placement="top">
+                    <p class="tooltip textOver">{{ detailInfo.inventor || '暂无' }}</p>
+                  </el-tooltip>
+                </span>
+                <span v-else>
+                  {{ detailInfo.inventor || '暂无' }}
+                </span>
               </el-col>
             </el-col>
             <el-col :span="24">
@@ -118,10 +129,10 @@ export default {
       border: 1px solid #ccc;
       .el-image {
         width: 100%;
-        height: 320px;
+        height: 360px;
       }
       .noImage {
-        height: 320px;
+        height: 360px;
         p:nth-child(1) {
           font-size: 25px;
           text-align: left;
@@ -129,7 +140,7 @@ export default {
         }
         p:nth-child(2) {
           text-align: center;
-          padding: 25% 0;
+          padding: 30% 0;
           font-size: 35px;
           font-weight: bold;
           color: #ff0000;
@@ -155,6 +166,10 @@ export default {
         border-right: 1px solid #ccc;
         border-bottom: 1px solid #ccc;
         font-size: 16px;
+        .tooltip {
+          float: left;
+          width: 98%;
+        }
       }
     }
   }

+ 1 - 0
src/views/market/marketlists.vue

@@ -313,6 +313,7 @@ export default {
         if (this.$checkRes(res)) this.$set(this, `achiDetail`, res.data);
       } else if (columnName == 'e专利') {
         let res = await this.patentFetch(id);
+        // res.data.inventor = '朱妍; 朱叶; 于翠萍; 方琳; 周婷婷; 李慧超; 张海彬; 王冬; 郑海筝; 岳红';
         if (this.$checkRes(res)) this.$set(this, `patentDetail`, res.data);
       } else if (columnName == '商务服务') {
         let res = await this.productFetch(id);