فهرست منبع

权要树,权利要求修改

zhuhao 1 سال پیش
والد
کامیت
b0b45c2411

+ 11 - 3
src/api/newApi/patent.js

@@ -145,11 +145,11 @@ export default {
   },
   /**
    * 专利详情外部(检索)查询权利要求
-   * @param {*} data 
+   * @param {*} params 
    * @returns 
    */
-  queryExternalClaim(data) {
-    return axios.post("/xiaoshi/patentStar/queryExternalClaim", data);
+  queryExternalClaim(params) {
+    return axios.get("/xiaoshi/patentStar/queryExternalClaim", {params});
   },
   /**
    * 专利详情外部(检索)查询权利要求
@@ -303,4 +303,12 @@ export default {
   queryScratchWordsGroup(data) {
     return axios.post("/xiaoshi/scratchWords/queryScratchWordsGroup", data);
   },
+  /**
+   * 查询权利要求树
+   * @param {*} params 
+   * @returns 
+   */
+  getPatentRightTree(params) {
+    return axios.get("/xiaoshi/feature/getPatentRightTree", {params});
+  },
 }

+ 1 - 1
src/views/components/indicia/components/card.vue

@@ -107,9 +107,9 @@ export default {
         path: '/patentDetails/' + row.patentNo,
         query: {
           projectId: row.projectId,
+          outside:row.createFrom == 0?true:false//createFrom添加批注的时候传后台,0接口检索出的专利1专题库2报告
         }
       })
-      // this.$s.setSession('params', this.params)
       window.open(router.href, '_blank');
     },
     // 选中标注

+ 28 - 14
src/views/patentMining/components/details/components/projectPath.vue

@@ -11,14 +11,16 @@
           <rect width="200" height="120" :fill="getColor('创新点梳理',1)"> </rect>
           <text x="30" y="65">创新点梳理</text>
         </g>
-        <g @click="toFilePage('创新点梳理', 1,'任务')">
+        <!-- <g @click="toFilePage('创新点梳理', 1,'任务')"> -->
+        <g>
           <text x="120" y="45">任务:</text>
           <circle cx="180" cy="40" r="16" stroke-width="1" stroke="#fff" :fill="getColor('创新点梳理',1)"/>
           <text :x="getNumber('创新点梳理',1) > 9 ? '175' : '170'" y="45" fill="#fff">{{ getNumber('创新点梳理',1, 'taskCount') }}</text>
           
           <line x1="200" y1="60" x2="350" y2="60" stroke='#333'></line>
         </g>
-        <g @click="toFilePage('创新点梳理', 1,'文件')">
+        <!-- <g @click="toFilePage('创新点梳理', 1,'文件')"> -->
+        <g>
           <text x="120" y="85">文件:</text>
           <circle cx="180" cy="80" r="16" stroke-width="1" stroke="#fff" :fill="getColor('创新点梳理',1)" />
           <text :x="getNumber('创新点梳理',1) > 9 ? '175' : '175'" y="85" fill="#fff">{{ getNumber('创新点梳理',1 , 'fileCount') }}</text>
@@ -33,13 +35,15 @@
           <rect width="200" height="120" :fill="getColor('查新检索',2)"> </rect>
           <text x="30" y="65">查新检索</text>
         </g>
-        <g @click="toFilePage('查新检索', 2,'任务')">
+        <!-- <g @click="toFilePage('查新检索', 2,'任务')"> -->
+        <g>
           <text x="120" y="45">任务:</text>
           <circle cx="180" cy="40" r="15" stroke-width="1" stroke="#fff" :fill="getColor('查新检索',2)" />
           <text :x="getNumber('查新检索',2) > 9 ? '170' : '175'" y="45" fill="#fff">{{ getNumber('查新检索',2,'taskCount') }}</text>
           <line x1="200" y1="60" x2="350" y2="60" stroke='#333'></line>
         </g>
-        <g @click="toFilePage('查新检索', 2,'文件')">
+        <!-- <g @click="toFilePage('查新检索', 2,'文件')"> -->
+        <g>
           <text x="120" y="85">文件:</text>
           <circle cx="180" cy="80" r="15" stroke-width="1" stroke="#fff" :fill="getColor('查新检索',2)" />
           <text :x="getNumber('查新检索',2) > 9 ? '170' : '175'" y="85" fill="#fff">{{ getNumber('查新检索',2,'fileCount') }}</text>
@@ -54,13 +58,15 @@
           <rect width="200" height="120" :fill="getColor('保护主题规划',3)"> </rect>
           <text x="30" y="65">保护主题规划</text>
         </g>
-        <g @click="toFilePage('保护主题规划', 3,'任务')">
+        <!-- <g @click="toFilePage('保护主题规划', 3,'任务')"> -->
+        <g>
           <text x="120" y="45">任务:</text>
           <circle cx="180" cy="40" r="15" stroke-width="1" stroke="#fff" :fill="getColor('保护主题规划',3)" />
           <text :x="getNumber('保护主题规划',3) > 9 ? '170' : '175'" y="45" fill="#fff">{{ getNumber('保护主题规划',3,'taskCount') }}</text>
           <line x1="200" y1="60" x2="350" y2="60" stroke='#333'></line>
         </g>
-        <g @click="toFilePage('保护主题规划', 3,'文件')">
+        <!-- <g @click="toFilePage('保护主题规划', 3,'文件')"> -->
+        <g>
           <text x="120" y="85">文件:</text>
           <circle cx="180" cy="80" r="15" stroke-width="1" stroke="#fff" :fill="getColor('保护主题规划',3)" />
           <text :x="getNumber('保护主题规划',3) > 9 ? '170' : '175'" y="85" fill="#fff">{{ getNumber('保护主题规划',3,'fileCount') }}</text>
@@ -75,13 +81,15 @@
           <rect width="200" height="120" :fill="getColor('独权撰写',4)"> </rect>
           <text x="30" y="65">独权撰写</text>
         </g>
-        <g @click="toFilePage('独权撰写', 4,'任务')">
+        <!-- <g @click="toFilePage('独权撰写', 4,'任务')"> -->
+        <g>
           <text x="120" y="45">任务:</text>
           <circle cx="180" cy="40" r="15" stroke-width="1" stroke="#fff" :fill="getColor('独权撰写',4)" />
           <text :x="getNumber('独权撰写',4) > 9 ? '170' : '175'" y="45" fill="#fff">{{ getNumber('独权撰写',4,'taskCount') }}</text>
           <line x1="200" y1="60" x2="350" y2="60" stroke='#333'></line>
         </g>
-        <g @click="toFilePage('独权撰写', 4,'文件')">
+        <!-- <g @click="toFilePage('独权撰写', 4,'文件')"> -->
+        <g>
           <text x="120" y="85">文件:</text>
           <circle cx="180" cy="80" r="15" stroke-width="1" stroke="#fff" :fill="getColor('独权撰写',4)" />
           <text :x="getNumber('独权撰写',4) > 9 ? '170' : '175'" y="85" fill="#fff">{{ getNumber('独权撰写',4,'fileCount') }}</text>
@@ -98,13 +106,15 @@
           <rect width="200" height="120" :fill="getColor('从权撰写',5)"> </rect>
           <text x="30" y="65">从权撰写</text>
         </g>
-        <g @click="toFilePage('从权撰写', 5,'任务')">
+        <!-- <g @click="toFilePage('从权撰写', 5,'任务')"> -->
+        <g>
           <text x="120" y="45">任务:</text>
           <circle cx="180" cy="40" r="15" stroke-width="1" stroke="#fff" :fill="getColor('从权撰写',5)" />
           <text :x="getNumber('从权撰写',5) > 9 ? '170' : '175'"  y="45" fill="#fff">{{ getNumber('从权撰写',5,'taskCount') }}</text>
           <line x1="100" y1="120" x2="100" y2="190" stroke='#333'></line>
         </g>
-        <g @click="toFilePage('从权撰写', 5,'文件')">
+        <!-- <g @click="toFilePage('从权撰写', 5,'文件')"> -->
+        <g>
           <text x="120" y="85">文件:</text>
           <circle cx="180" cy="80" r="15" stroke-width="1" stroke="#fff" :fill="getColor('从权撰写',5)" />
           <text :x="getNumber('从权撰写',5) > 9 ? '170' : '175'"  y="85" fill="#fff">{{ getNumber('从权撰写',5,'fileCount') }}</text>
@@ -125,13 +135,15 @@
           <rect width="200" height="120" :fill="getColor('申请文件定稿',6)"> </rect>
           <text x="30" y="65">申请文件定稿</text>
         </g>
-        <g @click="toFilePage('申请文件定稿', 6,'任务')">
+        <!-- <g @click="toFilePage('申请文件定稿', 6,'任务')"> -->
+        <g>
           <text x="120" y="45">任务:</text>
           <circle cx="180" cy="40" r="15" stroke-width="1" stroke="#fff" :fill="getColor('申请文件定稿',6)" />
           <text :x="getNumber('申请文件定稿',6) > 9 ? '170' : '175'" y="45" fill="#fff">{{ getNumber('申请文件定稿',6,'taskCount') }}</text>
           <line x1="0" y1="60" x2="-150" y2="60" stroke='#333'></line>
         </g>
-        <g @click="toFilePage('申请文件定稿', 6,'文件')">
+        <!-- <g @click="toFilePage('申请文件定稿', 6,'文件')"> -->
+        <g>
           <text x="120" y="85">文件:</text>
           <circle cx="180" cy="80" r="15" stroke-width="1" stroke="#fff" :fill="getColor('申请文件定稿',6)" />
           <text :x="getNumber('申请文件定稿',6) > 9 ? '170' : '175'" y="85" fill="#fff">{{ getNumber('申请文件定稿',6,'fileCount') }}</text>
@@ -145,12 +157,14 @@
         <rect width="200" height="120" :fill="getColor('说明书规划撰写',7)"> </rect>
         <text x="15" y="65" xml:space='preserve'>说明书规划撰写
         </text>
-        <g @click="toFilePage('说明书规划撰写', 7,'任务')">
+        <!-- <g @click="toFilePage('说明书规划撰写', 7,'任务')"> -->
+        <g>
           <text x="120" y="45">任务:</text>
           <circle cx="180" cy="40" r="15" stroke-width="1" stroke="#fff" :fill="getColor('说明书规划撰写',7)" />
           <text :x="getNumber('说明书规划撰写',7) > 9 ? '170' : '175'" y="45" fill="#fff">{{ getNumber('说明书规划撰写',7,'taskCount') }}</text>
         </g>
-        <g @click="toFilePage('说明书规划撰写', 7,'文件')">
+        <!-- <g @click="toFilePage('说明书规划撰写', 7,'文件')"> -->
+        <g>
           <text x="120" y="85">文件:</text>
           <circle cx="180" cy="80" r="15" stroke-width="1" stroke="#fff" :fill="getColor('说明书规划撰写',7)" />
           <text :x="getNumber('说明书规划撰写',7) > 9 ? '170' : '175'" y="85" fill="#fff">{{ getNumber('说明书规划撰写',7,'fileCount') }}</text>

+ 6 - 2
src/views/product/components/commodity/commodity.vue

@@ -3,9 +3,10 @@
   <div class="commodity">
     <el-container>
       <el-header class="header">
-        <div class="headerDiv_one">测试人员产品产品的相关专利</div>
+        <div class="headerDiv_one">产品名称:{{ productName }}</div>
         <div class="headerDiv_two">
           <div>
+            <!-- 检索信息 -->
             <mySearch style="width: 500px" :SearchFields="searchFiled" @search="search" :searchValue="searchOption">
             </mySearch>
           </div>
@@ -82,7 +83,10 @@ export default {
   props:{
     productId:{
       default:0
-    }
+    },
+    productName:{
+      default:'--'
+    },
   },
   data() {
     return {

+ 5 - 2
src/views/product/components/commodity/index.vue

@@ -1,7 +1,7 @@
 <template>
   <!-- 商品化专利 -->
   <div>
-    <commodity :productId="productId"></commodity>
+    <commodity :productId="productId" :productName="productName"></commodity>
   </div>
 </template>
 
@@ -19,7 +19,10 @@ export default {
   computed:{
     productId(){
       return this.$route.query.productId
-    }
+    },
+    productName(){
+      return this.$route.query.productName
+    },
   },
   mounted() {
 

+ 2 - 3
src/views/product/components/index.vue

@@ -261,12 +261,11 @@ export default {
 
      // 进入商品化专利
     toCommodity(row) {
-      console.log(row);
-      return
       let router = this.$router.resolve({
         path: '/commodity',
         query: {
-          productId:row.id
+          productId:row.id,
+          productName:row.name,
         }
       })
       window.open(router.href,'_blank')

+ 6 - 6
src/views/project/patentDetails/components/patentMessage/PatentRight.vue

@@ -122,10 +122,10 @@ export default {
       this.show = true
       if (this.name == 2 && !this.patent.patentRightTree) {
         this.$api
-          .queryPatentRightTree({ patentNo: this.patent.patentNo })
+          .getPatentRightTree({ patentNo: this.patent.patentNo })
           .then((response) => {
             if (response.code == 200) {
-              this.$set(this.patent, "patentRightTree", response.data);
+              this.$set(this.patent, "patentRightTree", response.data.data);
               this.$nextTick(()=>{
                 this.getEchart();
               })
@@ -344,14 +344,14 @@ export default {
         if (this.outside) {
           var params = {
             // patentCell: 1,
-            patentNo: this.patent.patentNo,
-            pageNum: 1,
-            pageSize:10,
+            appNo: this.patent.rowApplicationNo,
+            // pageNum: 1,
+            // pageSize:10,
             // appNo: this.patent.applicationNo,
           };
           this.$api.queryExternalClaim(params).then((response) => {
             if (response.code == 200) {
-              this.$set(this.patent, "claims", response.data.claimContent);
+              this.$set(this.patent, "claim", response.data.claimContent);
             }
           });
         }

+ 2 - 2
src/views/project/patentDetails/components/patentMessage/PatentStatus.vue

@@ -19,9 +19,9 @@
         <el-timeline-item v-for="(item, index1) in patent.legalEvents" :key="index1" :timestamp="item.eventDate"
           placement="top">
           <el-card>
-            <span>申请号:{{ item.appNo || '--' }}</span>;
+            <!-- <span>申请号:{{ item.appNo || '--' }}</span>;
             <span>公开号:{{ item.publicNo || '--' }}</span>;
-            <span>授权号:{{ item.grantNo || '--' }}</span>;
+            <span>授权号:{{ item.grantNo || '--' }}</span>; -->
             <span>名称:{{ item.name || '--' }}</span>;
             <span>法律日期:{{ item.eventDate || '--' }}</span>;
             <span>描述:{{ item.description || '--' }}</span>;