Sfoglia il codice sorgente

修改广告主信息

朱鑫波 3 anni fa
parent
commit
80fbd022df
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      src/views/modules/advertiser/AdvertiserList.vue

+ 3 - 1
src/views/modules/advertiser/AdvertiserList.vue

@@ -387,7 +387,7 @@ export default {
     },
   },
   created() {
-    // this.queryParam.userId = this.userInfo().id
+    this.queryParam.userId = this.userInfo().id
     this.getList(null)
   },
   methods: {
@@ -494,6 +494,7 @@ export default {
     },
     ...mapGetters(['nickname', 'avatar', 'userInfo']),
     searchRe() {
+      this.queryParam.userId = this.userInfo().id
       this.queryParam.name = null
       this.queryParam.advertiserId = null
       this.queryParam.productId = null
@@ -505,6 +506,7 @@ export default {
     },
     searchQueryOne() {
       console.log(this.allIdUser)
+      this.queryParam.userId = this.userInfo().id
       if (this.allIdUser.key) {
         if (this.active == 'advertiser') {
           this.queryParam.advertiserId = null