|
@@ -39,12 +39,12 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.oneSearch();
|
|
|
- // this.twoSearch();
|
|
|
+ // this.oneSearch();
|
|
|
+ this.twoSearch();
|
|
|
},
|
|
|
methods: {
|
|
|
...statistics(['patentInfoByApplyPerson']),
|
|
|
- ...personal({ personalQuery: 'query' }),
|
|
|
+ ...personal({ personalQuery: 'query', personalUpdate: 'update' }),
|
|
|
...patentearly({ patentearlyQuery: 'query' }),
|
|
|
// 添加用户
|
|
|
async toAdd() {
|
|
@@ -74,15 +74,15 @@ export default {
|
|
|
console.log(early_num);
|
|
|
}
|
|
|
},
|
|
|
- // async twoSearch() {
|
|
|
- // let res = await this.personalQuery({ code: 'XQGQ' });
|
|
|
- // if (this.$checkRes(res)) {
|
|
|
- // for (const val of res.data) {
|
|
|
- // let arr = await this.patentearlyQuery({ user_id: val._id });
|
|
|
- // console.log(arr);
|
|
|
- // }
|
|
|
- // }
|
|
|
- // },
|
|
|
+ async twoSearch() {
|
|
|
+ // let res = await this.personalQuery({ code: 'FMTTHY', isdel: '1' });
|
|
|
+ // if (this.$checkRes(res)) {
|
|
|
+ // for (const val of res.data) {
|
|
|
+ // let res = await this.personalUpdate({ id: val.id, isdel: '0' });
|
|
|
+ // console.log(res);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ },
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['user']),
|