This commit is contained in:
cclu 2023-12-29 23:30:31 +08:00
parent 949c197b4f
commit 2e3995cb08
6 changed files with 18 additions and 16 deletions

View File

@ -1281,7 +1281,7 @@ export default {
components: {SliderPage, RateCharts, MonthCharts, Tabbar,uniPopup}, components: {SliderPage, RateCharts, MonthCharts, Tabbar,uniPopup},
data() { data() {
const lastDay = this.$util.cutDate(new Date(), 'YYYY-MM-DD', -1) const lastDay = this.$util.cutDate(new Date(), 'YYYY-MM-DD', -1)
// const lastDay = '2025-01-01' // const lastDay = '2024-01-01'
const nowDay = this.$util.cutDate(new Date(), 'MM月DD日') const nowDay = this.$util.cutDate(new Date(), 'MM月DD日')
return { return {
statusBarHeight:'',// statusBarHeight:'',//
@ -2055,8 +2055,8 @@ export default {
// this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=1`) // this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=1`)
}, },
handleFestival(){ handleFestival(){
this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=5`) // this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=5`)
// this.$util.toNextRoute('navigateTo', `/pages/commercialBI/formatPortrait?time=${this.lastDay}&serviceInfo=${JSON.stringify(this.nearServiceInfo)}`) this.$util.toNextRoute('navigateTo', `/pages/commercialBI/formatPortrait?time=${this.lastDay}&serviceInfo=${JSON.stringify(this.nearServiceInfo)}`)
// uni.showToast({title: '', icon: 'none'}) // uni.showToast({title: '', icon: 'none'})
}, },
handleMoney(){ handleMoney(){
@ -2300,8 +2300,8 @@ export default {
}, },
// //
handleGoExamine(type){ handleGoExamine(type){
// this.$util.toNextRoute('navigateTo', `/pages/newamine/index?come=index&type=${type}&time=${this.single}`) this.$util.toNextRoute('navigateTo', `/pages/newamine/index?come=index&type=${type}&time=${this.single}`)
this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=6`) // this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=6`)
}, },
async initYesterdayData(type,str){ async initYesterdayData(type,str){
this.typeList= [] this.typeList= []

View File

@ -318,7 +318,7 @@ export default {
uni.setStorageSync('currentService',res) // uni.setStorageSync('currentService',res) //
let pageList = getCurrentPages() let pageList = getCurrentPages()
if (this.type==='index'){ if (this.type==='index'){
this.$util.toNextRoute('navigateTo', `/pages/map/detail`) this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=0`)
}else{ }else{
if (this.chartType){ if (this.chartType){
uni.navigateBack({ uni.navigateBack({

View File

@ -102,7 +102,7 @@ export default {
rotate: false, rotate: false,
rotateLock: false, rotateLock: false,
background: "#FFFFFF", background: "#FFFFFF",
color: ["#1E80FF","#00B6FF"], color: ["#1E80FF", "#00B6FF","#ACB9CD"],
padding: [15, 15, 5, 5], padding: [15, 15, 5, 5],
dataLabel: false, dataLabel: false,
enableScroll: false, enableScroll: false,

View File

@ -63,10 +63,10 @@
<div class="detailBox"> <div class="detailBox">
<div class="detailTop"> <div class="detailTop">
<div class="topLeft">{{serviceTypeObj[serviceInfoObj.SERVERPART_TYPE]}}</div> <div class="topLeft">{{serviceTypeObj[serviceInfoObj.SERVERPART_TYPE]}}</div>
<div class="topRight" @click="handleGoServiceMessage"> <!-- <div class="topRight" @click="handleGoServiceMessage">-->
<span class="rightText">查看更多</span> <!-- <span class="rightText">查看更多</span>-->
<img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg"/> <!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg"/>-->
</div> <!-- </div>-->
</div> </div>
<div class="functionList"> <div class="functionList">
<div class="functionItem"> <div class="functionItem">
@ -785,6 +785,7 @@ export default {
// //
handleGoServiceMessage(){ handleGoServiceMessage(){
this.$util.toNextRoute('navigateTo', `/pages/map/detail`) this.$util.toNextRoute('navigateTo', `/pages/map/detail`)
// this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=0`)
}, },
// SERVERPART_TYPE // SERVERPART_TYPE
async handleServiceType(){ async handleServiceType(){

View File

@ -47,10 +47,10 @@
<div class="detailBox" v-if="serverpartName!=='安徽驿达'" :style="{background: detailBoxBg}"> <div class="detailBox" v-if="serverpartName!=='安徽驿达'" :style="{background: detailBoxBg}">
<div class="detailTop"> <div class="detailTop">
<div class="topLeft" :style="{background:topLeftBg,color:topLeftColor}">{{serviceTypeObj[serviceInfoObj.SERVERPART_TYPE]}}</div> <div class="topLeft" :style="{background:topLeftBg,color:topLeftColor}">{{serviceTypeObj[serviceInfoObj.SERVERPART_TYPE]}}</div>
<div class="topRight" @click="handleGoServiceMessage"> <!-- <div class="topRight" @click="handleGoServiceMessage">-->
<span class="rightText">查看更多</span> <!-- <span class="rightText">查看更多</span>-->
<img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg"/> <!-- <img class="moreIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg"/>-->
</div> <!-- </div>-->
</div> </div>
<div class="functionList"> <div class="functionList">
<div class="functionItem"> <div class="functionItem">

View File

@ -10,7 +10,8 @@
:headerBg="'linear-gradient( #a28ec3 0%, #ffffff 100%)'"/> :headerBg="'linear-gradient( #a28ec3 0%, #ffffff 100%)'"/>
<div class="charts"> <div class="charts">
<div class="chartsItem"> <div class="chartsItem">
<p class="title">营收分析<span class="dateText">{{lastDay}}</span></p> <p class="title">营收分析</p>
<!-- <span class="dateText">{{lastDay}}</span>-->
<revenue-analysis :data="monthDetail"/> <revenue-analysis :data="monthDetail"/>
</div> </div>