guhongwei 2 years ago
parent
commit
cb8bfc6482

+ 3 - 2
src/views/patent/admin/examine/patent.vue

@@ -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);

+ 1 - 1
src/views/patent/admin/message/question.vue

@@ -43,7 +43,7 @@ export default {
   },
   methods: {
     ...problem_service(['query', 'update']),
-    async search({ skip = 0, limit = this.limit, ...info } = {}) {
+    async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
       let res = await this.query({ skip, limit, ...info });
       if (this.$checkRes(res)) {
         this.$set(this, `list`, res.data);

+ 1 - 1
src/views/patent/answertea/message/question.vue

@@ -43,7 +43,7 @@ export default {
   },
   methods: {
     ...problem_service(['query', 'update']),
-    async search({ skip = 0, limit = this.limit, ...info } = {}) {
+    async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
       let res = await this.query({ skip, limit, answer_id: this.user.id, ...info });
       if (this.$checkRes(res)) {
         this.$set(this, `list`, res.data);

+ 1 - 1
src/views/patent/mech/examine/contract.vue

@@ -44,7 +44,7 @@ export default {
   },
   methods: {
     ...patenttrans(['query', 'update', 'check', 'delete']),
-    async search({ skip = 0, limit = this.limit, searchNamem, ...info } = {}) {
+    async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
       let res = await this.query({ skip, limit, mech_id: this.user.id, status: '2', ...info });
       if (this.$checkRes(res)) {
         this.$set(this, `list`, res.data);

+ 1 - 1
src/views/patent/mech/examine/trans.vue

@@ -41,7 +41,7 @@ export default {
   },
   methods: {
     ...patenttrans(['query', 'update', 'check', 'delete']),
-    async search({ skip = 0, limit = this.limit, searchNamem, ...info } = {}) {
+    async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
       let res = await this.query({ skip, limit, mech_id: this.user.id, status: '4', ...info });
       if (this.$checkRes(res)) {
         this.$set(this, `list`, res.data);

+ 1 - 1
src/views/patent/mech/examine/trans_examine.vue

@@ -44,7 +44,7 @@ export default {
   },
   methods: {
     ...patenttrans(['query', 'update', 'check', 'delete']),
-    async search({ skip = 0, limit = this.limit, searchNamem, ...info } = {}) {
+    async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
       let res = await this.query({ skip, limit, mech_id: this.user.id, status: '0', ...info });
       if (this.$checkRes(res)) {
         this.$set(this, `list`, res.data);

+ 1 - 1
src/views/patent/user/transaction/index.vue

@@ -57,7 +57,7 @@ export default {
   },
   methods: {
     ...patenttrans(['query', 'update', 'check', 'delete']),
-    async search({ skip = 0, limit = this.limit, searchNamem, ...info } = {}) {
+    async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
       let res = await this.query({ skip, limit, type: this.type, user_id: this.user.id, ...info });
       if (this.$checkRes(res)) {
         this.$set(this, `list`, res.data);