|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div id="patent">
|
|
|
- <admin-frame @search="search" :limit="limit" :total="total" topType="2" @back="back" :rightArrow="false" :useNav="false">
|
|
|
+ <admin-frame @search="search" :limit="limit" :total="total" topType="3" @back="back" :rightArrow="false" :useNav="false">
|
|
|
<template v-slot:info>
|
|
|
<list-1 :list="list" @toView="toView" @toAccept="toAccept" @gzjSubmit="gzjSubmit"></list-1>
|
|
|
</template>
|
|
@@ -44,8 +44,9 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
...patentapply(['query', 'fetch', 'check']),
|
|
|
- async search({ skip = 0, limit = this.limit, ...info } = {}) {
|
|
|
+ async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
|
|
|
info.admin_id = this.user._id;
|
|
|
+ if (searchName) info.name = searchName;
|
|
|
let res = await this.query({ skip, limit, ...info });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `list`, res.data);
|