|
@@ -89,7 +89,7 @@
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<addAndEditSearchRecords ref="addAndEditSearchRecords" :projectId="condition.importToId"></addAndEditSearchRecords>
|
|
<addAndEditSearchRecords ref="addAndEditSearchRecords" :projectId="condition.importToId"></addAndEditSearchRecords>
|
|
- <inventionPointDialog v-if="noveltySearch" :projectId="projectId" :retrieveRecordId="retrieveRecordId" :contrastFileList="saveRemarkList"></inventionPointDialog>
|
|
|
|
|
|
+ <inventionPointDialog v-if="noveltySearch" :projectId="projectId" :retrieveRecordId="retrieveRecordId" :contrastFileList="saveRemarkList" @updateInventionPoint="getPatentSimilarMess"></inventionPointDialog>
|
|
<reportTemplateDialog ref="reportTemplateDialog"></reportTemplateDialog>
|
|
<reportTemplateDialog ref="reportTemplateDialog"></reportTemplateDialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -561,6 +561,7 @@ export default {
|
|
this.$store.commit("SET_PATENT_PARAMS", queryParams);
|
|
this.$store.commit("SET_PATENT_PARAMS", queryParams);
|
|
this.$store.commit("SET_PATENT_RECORDS", []);
|
|
this.$store.commit("SET_PATENT_RECORDS", []);
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
|
+ this.$commonJS.scrollToTop()
|
|
await this.$api.patentSelect(params).then((response) => {
|
|
await this.$api.patentSelect(params).then((response) => {
|
|
if (response.code == 200) {
|
|
if (response.code == 200) {
|
|
this.total = response.data.total;
|
|
this.total = response.data.total;
|
|
@@ -577,7 +578,7 @@ export default {
|
|
this.$store.commit("SET_PATENT_PARAMS", queryParams);
|
|
this.$store.commit("SET_PATENT_PARAMS", queryParams);
|
|
this.$store.commit("SET_PATENT_RECORDS", records);
|
|
this.$store.commit("SET_PATENT_RECORDS", records);
|
|
this.getImageAndStatus()
|
|
this.getImageAndStatus()
|
|
- // this.getPatentSimilarMess()
|
|
|
|
|
|
+ this.getPatentSimilarMess()
|
|
this.loading = false;
|
|
this.loading = false;
|
|
if(response.data.redisKey && !this.condition.redisKey){
|
|
if(response.data.redisKey && !this.condition.redisKey){
|
|
this.condition.redisKey = response.data.redisKey
|
|
this.condition.redisKey = response.data.redisKey
|
|
@@ -627,6 +628,37 @@ export default {
|
|
if(this.tableData.length == 0 || !this.noveltySearch){
|
|
if(this.tableData.length == 0 || !this.noveltySearch){
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ this.tableData.forEach(item=>{
|
|
|
|
+ var params = {
|
|
|
|
+ projectId:this.projectId,
|
|
|
|
+ patentScoreDTOList:[]
|
|
|
|
+ }
|
|
|
|
+ var obj = {
|
|
|
|
+ patentNo:item.patentNo,
|
|
|
|
+ appNo:item.appNo,
|
|
|
|
+ rowApplicationNo:item.rowApplicationNo,
|
|
|
|
+ publicNo:item.publicNo,
|
|
|
|
+ grantNo:item.grantNo
|
|
|
|
+ }
|
|
|
|
+ params.patentScoreDTOList.push(obj)
|
|
|
|
+ this.$api.getPatentSimilarMess(params).then(response=>{
|
|
|
|
+ if(response.code == 200){
|
|
|
|
+ var data = response.data.patentScoreDTOList
|
|
|
|
+ for(var i = 0;i<this.tableData.length;i++){
|
|
|
|
+ var item1 = this.tableData[i]
|
|
|
|
+ var index = data.findIndex(j=>{
|
|
|
|
+ return j.patentNo == item1.patentNo
|
|
|
|
+ })
|
|
|
|
+ if(index!=-1){
|
|
|
|
+ var score = (data[index].score * 100 + '').substring(0, 5)
|
|
|
|
+ this.$set(item1, 'score', Number(score))
|
|
|
|
+ data.splice(index,1)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ return
|
|
var params = {
|
|
var params = {
|
|
projectId:this.projectId,
|
|
projectId:this.projectId,
|
|
patentScoreDTOList:[]
|
|
patentScoreDTOList:[]
|