|
@@ -93,6 +93,7 @@ export default {
|
|
saveType: 1,
|
|
saveType: 1,
|
|
loadingBtn:false,
|
|
loadingBtn:false,
|
|
id:null,
|
|
id:null,
|
|
|
|
+ patentNum:0
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch: {},
|
|
watch: {},
|
|
@@ -108,15 +109,40 @@ export default {
|
|
projectId(){
|
|
projectId(){
|
|
return this.$route.query.projectId
|
|
return this.$route.query.projectId
|
|
},
|
|
},
|
|
- patentNum(){
|
|
|
|
|
|
+ patentNums(){
|
|
return this.$route.query.patentNum || 0
|
|
return this.$route.query.patentNum || 0
|
|
},
|
|
},
|
|
|
|
+ searchPatentNum(){
|
|
|
|
+ return this.$route.query.searchPatentNum
|
|
|
|
+ }
|
|
},
|
|
},
|
|
created() {},
|
|
created() {},
|
|
mounted() {
|
|
mounted() {
|
|
|
|
+ this.getPatentNum()
|
|
this.getData()
|
|
this.getData()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ getPatentNum(){
|
|
|
|
+ if(!this.searchPatentNum){
|
|
|
|
+ this.patentNum = this.patentNums
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ let params = {
|
|
|
|
+ current: 1,
|
|
|
|
+ size: 1,
|
|
|
|
+ projectId: this.projectId,
|
|
|
|
+ searchQuery: '',//检索条件
|
|
|
|
+ customFields: [],
|
|
|
|
+ orderDTOList: [],//排序信息
|
|
|
|
+ }
|
|
|
|
+ this.$api.QueryPatent(params).then(res => {
|
|
|
|
+ if (res.code == 200) {
|
|
|
|
+ this.patentNum = res.data.total
|
|
|
|
+ }
|
|
|
|
+ }).catch(error=>{
|
|
|
|
+ this.patentNum = 0
|
|
|
|
+ })
|
|
|
|
+ },
|
|
openDrawer(type){
|
|
openDrawer(type){
|
|
var components = {
|
|
var components = {
|
|
1:'tabData',
|
|
1:'tabData',
|