|
@@ -16,7 +16,7 @@
|
|
|
<!-- <div style="max-width:calc(100% - 620px)">
|
|
|
<p><span>条件:</span>{{ searchData.searchCondition }}</p>
|
|
|
</div> -->
|
|
|
- <div style="max-width: 800px;margin-top: 0px;display: flex;justify-content: center;align-items: center;">
|
|
|
+ <div style="max-width: 800px;margin-top: 0px;display: flex;justify-content: center;align-items: center;" v-if="condition.component != 'patentNoSearch'">
|
|
|
<search :field="field" :searchResult="true" :searchValue="false" :countryList="queryParams.countryList"
|
|
|
@search="search"></search>
|
|
|
<p><el-link style="width: 50px;color: #409EFF;" @click="searches">检索式</el-link></p>
|
|
@@ -28,7 +28,7 @@
|
|
|
</el-header>
|
|
|
<el-main id="patent-list-container" v-loading="loading">
|
|
|
<div class="height_100">
|
|
|
- <component ref="patentViewList" :is="viewSelected" :outside="true" :column="columnList" :tableData="tableData" @clickPatentNo="handleClick"
|
|
|
+ <component ref="patentViewList" :is="viewSelected" :outside="true" :column="columnList" :tableData="tableData" @clickPatentNo="handleClick" :canSort="condition.component != 'patentNoSearch'?true:false"
|
|
|
@select-change="handleSelect" :selected.sync="queryParams.selected" :queryParams="queryParams" :patentNoList.sync="patentNoList" :refresh='true'
|
|
|
:view-field="patentViewField" @on-sort="handleSort" @addSelect="getChoosePatentNo"></component>
|
|
|
</div>
|
|
@@ -379,7 +379,11 @@ export default {
|
|
|
RowCount: this.queryParams.size, //每页返回条数(最多 50 条)
|
|
|
OrderBy: this.queryParams.OrderBy, //排序字段:“AD”,“PD”,“GD”, “ID”(检索引擎自生成字段,排序顺序固定)
|
|
|
OrderByType: this.queryParams.OrderByType, //排序方式:“ASC”,“DESC” 即正序倒序
|
|
|
- retrieveRecordId: this.queryParams.retrieveRecordId
|
|
|
+ retrieveRecordId: this.queryParams.retrieveRecordId,
|
|
|
+
|
|
|
+ //专利号检索
|
|
|
+ NO:this.condition.NO,
|
|
|
+ redisKey:this.condition.redisKey
|
|
|
};
|
|
|
// console.log(this.$s.getSession('retrieveRecordId'),)
|
|
|
queryParams.params = params;
|
|
@@ -394,12 +398,23 @@ export default {
|
|
|
let records = response.data.data
|
|
|
this.tableData = records
|
|
|
params.retrieveRecordId = response.data.retrieveRecordId
|
|
|
+
|
|
|
this.queryParams.retrieveRecordId = response.data.retrieveRecordId
|
|
|
this.$store.commit("SET_PATENT_PARAMS", queryParams);
|
|
|
this.$s.setSession('queryParams', queryParams)
|
|
|
this.$store.commit("SET_PATENT_RECORDS", records);
|
|
|
this.getImageAndStatus()
|
|
|
this.loading = false;
|
|
|
+ if(response.data.redisKey){
|
|
|
+ this.condition.redisKey = response.data.redisKey
|
|
|
+ this.condition.NO=''
|
|
|
+ this.$router.push({
|
|
|
+ path: '/searchResult',
|
|
|
+ query: {
|
|
|
+ data: JSON.stringify(this.condition),
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
.catch((error) => {
|