|
@@ -346,12 +346,12 @@ export default {
|
|
|
//bfy
|
|
|
handleSizeChange(val) {
|
|
|
this.pagesize=val;
|
|
|
- this.PostMarketingSalesGroupList(this.years,1);
|
|
|
+ this.PostMarketingSalesGroupList(this.years,2);
|
|
|
},
|
|
|
//bfy
|
|
|
handleCurrentChange(val) {
|
|
|
this.currentPage=val;
|
|
|
- this.PostMarketingSalesGroupList(this.years,1);
|
|
|
+ this.PostMarketingSalesGroupList(this.years,2);
|
|
|
},
|
|
|
//pfy
|
|
|
handleSizeChanges(val) {
|
|
@@ -670,6 +670,19 @@ export default {
|
|
|
}
|
|
|
beginDt=this.YbeginDt;
|
|
|
endDt=this.YendDt;
|
|
|
+ }else{
|
|
|
+ for(let j=0;j<this.yearsarr.length;j++){
|
|
|
+ if(this.yearsarr[j].year==val){
|
|
|
+ this.quarterarr=this.yearsarr[j].quarterData;
|
|
|
+ // this.quarter=this.quarterarr[1].name;
|
|
|
+ // this.montharr=this.yearsarr[j].quarterData[1].monthData;
|
|
|
+ // this.month=this.montharr[0].name;
|
|
|
+ this.YbeginDt=this.yearsarr[j].quarterData[0].beginDt;
|
|
|
+ this.YendDt=this.yearsarr[j].quarterData[0].endDt;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ beginDt=this.YbeginDt;
|
|
|
+ endDt=this.YendDt;
|
|
|
}
|
|
|
var url = "/api/Statistics/PostMarketingSalesGroupList"
|
|
|
var that = this
|
|
@@ -695,7 +708,11 @@ export default {
|
|
|
if (res.data.code == 200) {
|
|
|
that.tableData=res.data.data;
|
|
|
that.tabletotal=res.data.count;
|
|
|
- that.YPostMarketingSalesStatistic();
|
|
|
+ if (index==1) {
|
|
|
+ console.log(1);
|
|
|
+
|
|
|
+ that.YPostMarketingSalesStatistic();
|
|
|
+ }
|
|
|
setTimeout(function(){
|
|
|
that.PostMarketingSalesGroupStatistics(beginDt,endDt);
|
|
|
},500);
|