update
This commit is contained in:
parent
65d53b712d
commit
2b72719de5
@ -720,13 +720,14 @@ export default {
|
|||||||
const date = new Date()
|
const date = new Date()
|
||||||
let y = date.getFullYear()
|
let y = date.getFullYear()
|
||||||
let m = date.getMonth() + 1
|
let m = date.getMonth() + 1
|
||||||
|
console.log('thisMonth',this.thisMonth)
|
||||||
const type = this.currentScroll.split('item')[1]==='0'?2:1
|
const type = this.currentScroll.split('item')[1]==='0'?2:1
|
||||||
const req = {
|
const req = {
|
||||||
calcType: type,//计算方式:1【当月】,2【累计】
|
calcType: type,//计算方式:1【当月】,2【累计】
|
||||||
pushProvinceCode: this.useInfo.userData.ProvinceCode || '340000',
|
pushProvinceCode: this.useInfo.userData.ProvinceCode || '340000',
|
||||||
curYear: this.curYear,//本年年份
|
curYear: this.curYear,//本年年份
|
||||||
compareYear: this.curYear-1,//历年年份
|
compareYear: this.curYear-1,//历年年份
|
||||||
StatisticsMonth:this.thisMonth===0?y>this.curYear?12:m:this.thisMonth,//结算月份
|
StatisticsMonth:this.thisMonth===0?y>this.curYear?12:m-1:this.thisMonth,//结算月份
|
||||||
StatisticsDate: this.lastDay
|
StatisticsDate: this.lastDay
|
||||||
}
|
}
|
||||||
console.log('req',req)
|
console.log('req',req)
|
||||||
|
|||||||
@ -92,7 +92,8 @@ export default {
|
|||||||
dataLabel: false,
|
dataLabel: false,
|
||||||
enableScroll: false,
|
enableScroll: false,
|
||||||
title: {
|
title: {
|
||||||
name:config.Abundant?'盈足':'不盈足',
|
// name:config.Abundant?'盈足':'不盈足',
|
||||||
|
name:'',
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
color: "#341D00"
|
color: "#341D00"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
<div class="chartsItem" style="margin-top: 32px">
|
<div class="chartsItem" style="margin-top: 32px">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<p class="title">业态充盈度</p>
|
<p class="title">业态占比</p>
|
||||||
<div class="time">
|
<div class="time">
|
||||||
<div class="select">
|
<div class="select">
|
||||||
<picker mode="date" fields="month" :value="single" :start="startDate" :end="endData" @change="bindDateChange" >
|
<picker mode="date" fields="month" :value="single" :start="startDate" :end="endData" @change="bindDateChange" >
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user