...
|
...
|
@@ -118,7 +118,20 @@ |
|
|
|
|
|
},
|
|
|
ready() {
|
|
|
//this.fetchData2();
|
|
|
this.fetchData1();
|
|
|
this.fetchData2();
|
|
|
/*
|
|
|
this.$broadcast('grid-reload',{
|
|
|
type:1,
|
|
|
reqTime:this.dateFormat(new Date(),"YYYYMMdd"),
|
|
|
beginTime:"",
|
|
|
endTime:"",
|
|
|
productSkn:"",
|
|
|
productSkc:"",
|
|
|
productSku:"",
|
|
|
factoryCode:"",
|
|
|
sortId:""
|
|
|
});*/
|
|
|
},
|
|
|
methods:{
|
|
|
//获取店铺的经营指标:一个自然日内有效订单商品件数、有效订单商品金额
|
...
|
...
|
@@ -127,6 +140,9 @@ |
|
|
type:"post",
|
|
|
url:"/report/getShopBusinessOverview",
|
|
|
dataType: 'json',
|
|
|
data: {
|
|
|
dateId: util.dateFormat(new Date(),"YYYYMMdd")
|
|
|
},
|
|
|
success: function(rs) {
|
|
|
this.buyNumbers = rs.data.buyNumbers;
|
|
|
this.orderAmount = rs.data.orderAmount;
|
...
|
...
|
@@ -143,6 +159,9 @@ |
|
|
type:"post",
|
|
|
url:"/report/getShopBrandRank",
|
|
|
dataType: 'json',
|
|
|
data: {
|
|
|
dateId: util.dateFormat(new Date(),"YYYYMMdd")
|
|
|
},
|
|
|
success: function(rs) {
|
|
|
this.rankNow = rs.data.rankNow;
|
|
|
this.rankChange = rs.data.rankChange;
|
...
|
...
|
|