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