This commit is contained in:
cclu 2024-04-10 18:51:38 +08:00
parent 65d53b712d
commit 2b72719de5
3 changed files with 5 additions and 3 deletions

View File

@ -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,//12 calcType: type,//12
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)

View File

@ -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"
}, },

View File

@ -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" >