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},
data() {
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日')
return {
statusBarHeight:'',//
@ -2055,8 +2055,8 @@ export default {
// this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=1`)
},
handleFestival(){
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/summaryOfPortraits/index?index=5`)
this.$util.toNextRoute('navigateTo', `/pages/commercialBI/formatPortrait?time=${this.lastDay}&serviceInfo=${JSON.stringify(this.nearServiceInfo)}`)
// uni.showToast({title: '', icon: 'none'})
},
handleMoney(){
@ -2300,8 +2300,8 @@ export default {
},
//
handleGoExamine(type){
// 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/newamine/index?come=index&type=${type}&time=${this.single}`)
// this.$util.toNextRoute('navigateTo', `/pages/summaryOfPortraits/index?index=6`)
},
async initYesterdayData(type,str){
this.typeList= []

View File

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

View File

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

View File

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

View File

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

View File

@ -10,7 +10,8 @@
:headerBg="'linear-gradient( #a28ec3 0%, #ffffff 100%)'"/>
<div class="charts">
<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"/>
</div>