|
@@ -61,11 +61,13 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
...patentinfo(['queryByOrg']),
|
|
...patentinfo(['queryByOrg']),
|
|
- async search({ skip = 0, limit = this.limit, term, ...info } = {}) {
|
|
|
|
- info.term = term ? term : '有效';
|
|
|
|
|
|
+ async search({ skip = 0, limit = this.limit, ...info } = {}) {
|
|
|
|
+ info.term = this.active ? this.active : '有效';
|
|
info.code = this.user.code;
|
|
info.code = this.user.code;
|
|
|
|
+ console.log({ ...info });
|
|
let res = await this.queryByOrg({ skip, limit, ...info });
|
|
let res = await this.queryByOrg({ skip, limit, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
|
|
+ console.log(res);
|
|
this.$set(this, `list`, res.data);
|
|
this.$set(this, `list`, res.data);
|
|
this.$set(this, `total`, res.total);
|
|
this.$set(this, `total`, res.total);
|
|
}
|
|
}
|