|
@@ -93,7 +93,6 @@ export default {
|
|
|
saveType: 1,
|
|
|
loadingBtn:false,
|
|
|
id:null,
|
|
|
- patentNum:0
|
|
|
};
|
|
|
},
|
|
|
watch: {},
|
|
@@ -109,40 +108,15 @@ export default {
|
|
|
projectId(){
|
|
|
return this.$route.query.projectId
|
|
|
},
|
|
|
- patentNums(){
|
|
|
+ patentNum(){
|
|
|
return this.$route.query.patentNum || 0
|
|
|
},
|
|
|
- searchPatentNum(){
|
|
|
- return this.$route.query.searchPatentNum
|
|
|
- }
|
|
|
},
|
|
|
created() {},
|
|
|
mounted() {
|
|
|
- this.getPatentNum()
|
|
|
this.getData()
|
|
|
},
|
|
|
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){
|
|
|
var components = {
|
|
|
1:'tabData',
|