update
This commit is contained in:
parent
949c197b4f
commit
2e3995cb08
@ -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= []
|
||||
|
||||
@ -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({
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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(){
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user