|
@@ -34,6 +34,7 @@ |
|
@@ -34,6 +34,7 @@ |
34
|
</style>
|
34
|
</style>
|
35
|
<script>
|
35
|
<script>
|
36
|
import $ from 'jquery';
|
36
|
import $ from 'jquery';
|
|
|
37
|
+ import _ from 'lodash';
|
37
|
import yoho from 'yoho';
|
38
|
import yoho from 'yoho';
|
38
|
import qs from 'yoho-qs/parse';
|
39
|
import qs from 'yoho-qs/parse';
|
39
|
import bus from 'common/vue-bus';
|
40
|
import bus from 'common/vue-bus';
|
|
@@ -198,6 +199,13 @@ |
|
@@ -198,6 +199,13 @@ |
198
|
if (result.code === 200) {
|
199
|
if (result.code === 200) {
|
199
|
this.page = result.data.page;
|
200
|
this.page = result.data.page;
|
200
|
this.totalPage = result.data.pageTotal;
|
201
|
this.totalPage = result.data.pageTotal;
|
|
|
202
|
+
|
|
|
203
|
+ // yas report param injection
|
|
|
204
|
+ _.each(result.data.productList, item => {
|
|
|
205
|
+ item.from_page_name = this.pageName;
|
|
|
206
|
+ item.from_page_param = this.pageParam;
|
|
|
207
|
+ });
|
|
|
208
|
+
|
201
|
this.productList = this.productList.concat(result.data.productList);
|
209
|
this.productList = this.productList.concat(result.data.productList);
|
202
|
if (!this.filterConfig) {
|
210
|
if (!this.filterConfig) {
|
203
|
this.filterConfig = result.data.filter;
|
211
|
this.filterConfig = result.data.filter;
|