wuhongyu 5 роки тому
батько
коміт
727060b054
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      src/views/market/index.vue

+ 3 - 3
src/views/market/index.vue

@@ -209,12 +209,12 @@ export default {
     ...product(['newquery']),
     ...talentExperts({ expertQuery: 'query' }),
     async search() {
-      let res = await this.newquery({ skip: 0, limit: 4, totaltype: '0' });
+      let res = await this.newquery({ skip: 0, limit: 4, totaltype: '0', status: '1' });
       if (this.$checkRes(res)) this.$set(this, `tecList`, res.data);
-      res = await this.newquery({ skip: 0, limit: 4, totaltype: '1' });
+      res = await this.newquery({ skip: 0, limit: 4, totaltype: '1', status: '1' });
       if (this.$checkRes(res)) this.$set(this, `productList`, res.data);
       if (this.$checkRes(res)) this.$set(this, `newList`, res.data);
-      res = await this.newquery({ skip: 0, limit: 4, totaltype: '2' });
+      res = await this.newquery({ skip: 0, limit: 4, totaltype: '2', status: '1' });
       if (this.$checkRes(res)) this.$set(this, `serviceList`, res.data);
       res = await this.expertQuery({ skip: 0, limit: 4 });
       if (this.$checkRes(res)) this.$set(this, `expertsList`, res.data);