zhuliu преди 1 година
родител
ревизия
74dd8dabb9

+ 5 - 1
src/views/project/patentCollection/components/views/Abstract.vue

@@ -47,10 +47,14 @@
               <!-- 专利号 -->
               <td width="850px">
                 <div class="patent-abstract-title">
-                  <el-link type="success"
+                  <el-link v-if="patent.ifSearch" type="success"
                     @click.native="handleClick(patent, index)">
                     <span v-html="getView(patent, 'patentNo')"></span>
                   </el-link>
+                  <template v-else>
+                      <span v-html="getView(patent, 'patentNo')"></span>
+                      <span>(未匹配到专利)</span>
+                  </template>
                   <el-tag class="margin-left_10" type="primary" effect="dark" size="small" v-if="patent.simpleStatus">{{
                     simpleStatus[patent.simpleStatus] }}</el-tag>
                 </div>

+ 5 - 1
src/views/project/patentCollection/components/views/Picture.vue

@@ -10,10 +10,14 @@
           <span v-if="refresh"> 
             <el-checkbox-group :value="patentNoList" >
               <el-checkbox :label="item.patentNo" @change="changeSelect(item)">
-                  <el-link :type="item.read === 1 ? 'success' : 'danger'"
+                  <el-link v-if="item.ifSearch" :type="item.read === 1 ? 'success' : 'danger'"
                     @click.native.prevent="handleClick(item, index)">
                     <span v-html="getView(item, 'patentNo')"></span>
                   </el-link>
+                  <template v-else>
+                      <span v-html="getView(item, 'patentNo')"></span>
+                      <span>(未匹配到专利)</span>
+                  </template>
                   </el-checkbox>
                 </el-checkbox-group>
              </span>

+ 3 - 3
src/views/project/patentCollection/components/views/Table.vue

@@ -49,15 +49,15 @@
                   </td>
                 </tr>
               </table>
-              <template  slot="reference">
+              <template v-if="scope.row.ifSearch" slot="reference">
                 <el-link  type="primary" @click="handleClick(scope.row, scope.$index)">
                   <span v-html="getView(scope.row, item.value, item.type)"></span>
                 </el-link>
               </template>
-              <!-- <template v-else slot="reference">
+              <template v-else slot="reference">
                   <span v-html="getView(scope.row, item.value, item.type)"></span>
                   <span>(未匹配到专利)</span>
-              </template> -->
+              </template>
               
             </el-popover>
           </div>