|
|
@@ -47,10 +47,10 @@
|
|
|
Home
|
|
|
},
|
|
|
fetch ({store}) {
|
|
|
- let today = new Date()
|
|
|
- let nowYear = today.getFullYear()
|
|
|
- let nowMonth = today.getMonth() + 1
|
|
|
- let LastMonth = today.getMonth()
|
|
|
+// let today = new Date()
|
|
|
+// let nowYear = today.getFullYear()
|
|
|
+// let nowMonth = today.getMonth() + 1
|
|
|
+// let LastMonth = today.getMonth()
|
|
|
return !store.state.option.isMobile ? Promise.all([
|
|
|
store.dispatch('loadNewFloors', {type: 'home_floor_f1,home_floor_f2,home_floor_f3,home_floor_f4,home_floor_f5,home_expand_f1,home_expand_f2'}),
|
|
|
store.dispatch('loadBanners', {type: 'home_banner_carousel'}),
|
|
|
@@ -66,8 +66,8 @@
|
|
|
]) : Promise.all([
|
|
|
store.dispatch('supplier/loadVendorAll', {page: 1, size: 20}),
|
|
|
store.dispatch('loadAllCount', {_status: 'actived', usedFor: 'mall_home_banner'}),
|
|
|
- store.dispatch('loadInquirySheet', {year: nowYear, month: nowMonth}),
|
|
|
- store.dispatch('loadInquirySheetLast', {year: nowYear, month: LastMonth}),
|
|
|
+ store.dispatch('loadInquirySheet'),
|
|
|
+// store.dispatch('loadInquirySheetLast', {year: nowYear, month: LastMonth}),
|
|
|
store.dispatch('provider/findSimilarStoreList', {page: 1, count: 10, type: 'ORIGINAL_FACTORY-DISTRIBUTION-AGENCY-CONSIGNMENT', keyword: ''}),
|
|
|
store.dispatch('applyPurchase/loadMobileHomeList', {pageNumber: 1, pageSize: 5, enUU: store.state.option.user.data.enterprise ? store.state.option.user.data.enterprise.uu : null})
|
|
|
])
|