|
@@ -223,10 +223,6 @@ export default {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.queryParams.beginTime = this.getMonthDate();
|
|
this.queryParams.beginTime = this.getMonthDate();
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
- this.queryParams.stationId=this.$store.selectDeptId;
|
|
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.initChart();
|
|
this.initChart();
|
|
}, 1000);
|
|
}, 1000);
|
|
@@ -238,10 +234,6 @@ export default {
|
|
this.reset();
|
|
this.reset();
|
|
this.queryParams.beginTime = this.getMonthDate();
|
|
this.queryParams.beginTime = this.getMonthDate();
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
- this.queryParams.stationId=this.$store.selectDeptId;
|
|
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
this.getDatas();
|
|
this.getDatas();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -484,9 +476,6 @@ export default {
|
|
|
|
|
|
/** 查询优惠劵管理列表 */
|
|
/** 查询优惠劵管理列表 */
|
|
getList() {
|
|
getList() {
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
listSum(this.queryParams).then(response => {
|
|
listSum(this.queryParams).then(response => {
|
|
if (response.data!=null) {
|
|
if (response.data!=null) {
|
|
this.form.zongAmt = response.data.amt;
|
|
this.form.zongAmt = response.data.amt;
|
|
@@ -519,10 +508,6 @@ export default {
|
|
this.dateRangeCreatedDate=null;
|
|
this.dateRangeCreatedDate=null;
|
|
this.queryParams.beginTime = this.getNowFormatDate(new Date());
|
|
this.queryParams.beginTime = this.getNowFormatDate(new Date());
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
- this.queryParams.stationId=this.$store.selectDeptId;
|
|
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
//昨天的数据
|
|
//昨天的数据
|
|
@@ -531,10 +516,6 @@ export default {
|
|
this.dateRangeCreatedDate=null;
|
|
this.dateRangeCreatedDate=null;
|
|
this.queryParams.beginTime = this.getFormatDate(new Date());
|
|
this.queryParams.beginTime = this.getFormatDate(new Date());
|
|
this.queryParams.endTime = this.getNowFormatDate(new Date());
|
|
this.queryParams.endTime = this.getNowFormatDate(new Date());
|
|
- this.queryParams.stationId=this.$store.selectDeptId;
|
|
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
//本周的数据
|
|
//本周的数据
|
|
@@ -543,10 +524,6 @@ export default {
|
|
this.dateRangeCreatedDate=null;
|
|
this.dateRangeCreatedDate=null;
|
|
this.queryParams.beginTime = this.getDates();
|
|
this.queryParams.beginTime = this.getDates();
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
- this.queryParams.stationId=this.$store.selectDeptId;
|
|
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
//this.initChart();
|
|
//this.initChart();
|
|
//this.getDatas();
|
|
//this.getDatas();
|
|
this.getList();
|
|
this.getList();
|
|
@@ -558,10 +535,6 @@ export default {
|
|
this.dateRangeCreatedDate=null;
|
|
this.dateRangeCreatedDate=null;
|
|
this.queryParams.beginTime = this.getMonthDate();
|
|
this.queryParams.beginTime = this.getMonthDate();
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
this.queryParams.endTime = this.getEndFormatDate(new Date());
|
|
- this.queryParams.stationId=this.$store.selectDeptId;
|
|
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
//this.getDatas();
|
|
//this.getDatas();
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
@@ -570,21 +543,13 @@ export default {
|
|
queryDataSource() {
|
|
queryDataSource() {
|
|
this.reset();
|
|
this.reset();
|
|
if(this.dateRangeCreatedDate==null){
|
|
if(this.dateRangeCreatedDate==null){
|
|
- this.queryParams.stationId=this.$store.selectDeptId;
|
|
|
|
this.queryParams.beginTime = null;
|
|
this.queryParams.beginTime = null;
|
|
this.queryParams.endTime = null;
|
|
this.queryParams.endTime = null;
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
// this.getDatas();
|
|
// this.getDatas();
|
|
this.getList();
|
|
this.getList();
|
|
}else {
|
|
}else {
|
|
this.queryParams.beginTime = this.dateRangeCreatedDate[0];
|
|
this.queryParams.beginTime = this.dateRangeCreatedDate[0];
|
|
this.queryParams.endTime = this.dateRangeCreatedDate[1];
|
|
this.queryParams.endTime = this.dateRangeCreatedDate[1];
|
|
- this.queryParams.stationId=this.$store.selectDeptId;
|
|
|
|
- if(this.queryParams.stationId==null || this.queryParams.stationId==""){
|
|
|
|
- this.queryParams.stationId =this.$store.state.user.deptId;
|
|
|
|
- }
|
|
|
|
// this.getDatas();
|
|
// this.getDatas();
|
|
this.getList();
|
|
this.getList();
|
|
}
|
|
}
|
|
@@ -706,7 +671,6 @@ export default {
|
|
this.queryInfo.pageNum=row.page;
|
|
this.queryInfo.pageNum=row.page;
|
|
this.queryInfo.pageSize =row.limit;
|
|
this.queryInfo.pageSize =row.limit;
|
|
this.queryInfo.orderType = "1";
|
|
this.queryInfo.orderType = "1";
|
|
- this.queryInfo.stationId=this.$store.selectDeptId;
|
|
|
|
getDetails(this.queryInfo).then(response => {
|
|
getDetails(this.queryInfo).then(response => {
|
|
this.dayReportDetailsList = response.rows;
|
|
this.dayReportDetailsList = response.rows;
|
|
this.total1 = response.total;
|
|
this.total1 = response.total;
|