Compare commits
2 Commits
39c03aba5a
...
e56b53fb0c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e56b53fb0c | ||
|
|
2fc99587bf |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -642,25 +642,26 @@ export default {
|
||||
bindDateChange(e) { // 切换日期 加载选中日期的营收数据
|
||||
// let nowDate = this.theRequest.time
|
||||
let selectT = new Date(e.detail.value)
|
||||
if (selectT <= new Date(this.lastDay)) {
|
||||
this.theRequest.time = e.detail.value
|
||||
this.theRequest.month = this.$util.cutDate(e.detail.value, 'YYYYMM')
|
||||
this.sevenDate = [this.$util.cutDate(selectT, 'MM.DD', -13),
|
||||
this.$util.cutDate(selectT, 'MM.DD', -7)]
|
||||
uni.showLoading({
|
||||
title: '正在加载...',
|
||||
mask: false // 减少遮罩,提升用户体验
|
||||
})
|
||||
// 异步并行加载数据
|
||||
Promise.all([
|
||||
this.initData(),
|
||||
this.todayAmount()
|
||||
]).catch(err => {
|
||||
console.error('数据刷新失败:', err)
|
||||
uni.hideLoading()
|
||||
})
|
||||
// 移除不必要的$forceUpdate
|
||||
}
|
||||
|
||||
// if (selectT <= new Date(this.lastDay)) {
|
||||
this.theRequest.time = e.detail.value
|
||||
this.theRequest.month = this.$util.cutDate(e.detail.value, 'YYYYMM')
|
||||
this.sevenDate = [this.$util.cutDate(selectT, 'MM.DD', -13),
|
||||
this.$util.cutDate(selectT, 'MM.DD', -7)]
|
||||
uni.showLoading({
|
||||
title: '正在加载...',
|
||||
mask: false // 减少遮罩,提升用户体验
|
||||
})
|
||||
// 异步并行加载数据
|
||||
Promise.all([
|
||||
this.initData(),
|
||||
this.todayAmount()
|
||||
]).catch(err => {
|
||||
console.error('数据刷新失败:', err)
|
||||
uni.hideLoading()
|
||||
})
|
||||
// 移除不必要的$forceUpdate
|
||||
// }
|
||||
|
||||
},
|
||||
toDetail(item, provinceId) { // 如果当前页面至存在一个初始化的省份编码 则不需要传入参数provinceId
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -169,16 +169,16 @@
|
||||
height: menu.height + 'px',
|
||||
marginLeft: '10rpx',
|
||||
}">
|
||||
<UniDataSelect :localdata="localdata" :value="selectVersion" :clear="false"
|
||||
<!-- <UniDataSelect :localdata="localdata" :value="selectVersion" :clear="false"
|
||||
@change="handleChangeVersion">
|
||||
<template v-slot:content>
|
||||
<!-- @click="goOldIndexPage"-->
|
||||
<view class="searchIconBox">
|
||||
<image class="dateIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/pageLogo.png" />
|
||||
<!-- <text class="searchIconText">数智驿达</text>-->
|
||||
</view>
|
||||
</template>
|
||||
</UniDataSelect>
|
||||
<template v-slot:content> -->
|
||||
<!-- @click="goOldIndexPage"-->
|
||||
<view class="searchIconBox">
|
||||
<image class="dateIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/pageLogo.png" />
|
||||
<!-- <text class="searchIconText">数智驿达</text>-->
|
||||
</view>
|
||||
<!-- </template> -->
|
||||
<!-- </UniDataSelect> -->
|
||||
<view class="seachBox" :style="{ height: menu.height + 'px' }" @click="handleGoMap">
|
||||
<image class="searchIcon"
|
||||
src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/searchIconService.svg" />
|
||||
@ -234,77 +234,6 @@
|
||||
<view class="moreIcon" @click.stop="changeShowRealBox">
|
||||
<image class="noticeIcon"
|
||||
src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/noticeIcon.svg" />
|
||||
<view v-if="showRealBox" class="realBox" @click.stop="changeShowRealBox">
|
||||
<div style="
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
">
|
||||
<span class="noticeText">注解词说明:</span>
|
||||
<img class="closeIcon"
|
||||
src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/closeIcon.svg"
|
||||
@click.stop="changeShowRealBox" />
|
||||
</div>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
对客销售(对客营收、营业额)
|
||||
----服务区所有经营实体与客户发生的交易金额,一般统计消费总量,多用于外部口径;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
同期服务区的对客销售额与入区车流量和服务区营效变化会呈现较强关联性,属于显性短周指标。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
自营销售(自营经营额)
|
||||
----驿达自主经营的实体与客户发生的真实交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
外租销售 (商铺经营额)
|
||||
----合作商户经营的实体与客户发生的真实交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
应用场景:口径多用与服务区同行或行业相关部门交流,体现服务区商业服务能力,也是考核旗下服务区商业管理水平提升的重要指标。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
营业收入(经营收入)---驿达通过服务区场景获得的真实收入,包括自主经营项目、外租经营项目、油站充电桩等租赁收入等,多用于内部口径;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
因商户租赁收入和其他固定项目收入,存在财务确认时间滞后情况,数字变化一般晚于对客销售额,属于长周期指标;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
自营营业收入
|
||||
---指的是驿达自有经营门店的实际交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
租赁营业收入
|
||||
---指的是驿达通过租赁商铺,通过商铺交易金额按比例来获取租金的收入;</span>
|
||||
|
||||
<span class="noticeText"
|
||||
style="margin-top: 8px">一般情况下,收入单纯代表交易金额,如果对内财务口径一般需要后面(除税)来表达。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
应用场景:口径多用与内部分子公司任务拆解考核和集团的任务指标完成汇报,是整个管理团队的长期阶段性指标结果。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
同比,指的是一段时间内与全年同期的数据比较,一般用于反映长线经营趋势的波动;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
环比,指的是一段时间内与上月同期的数值比较,一般用于反映短期经营趋势的比较。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
因为服务区的特殊性,有节假日条件约束,较多会用同比来形容指标波动。</span>
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label">对客销售:</view>-->
|
||||
<!-- <view class="value">{{showTableData.CashPay?$util.fmoney($util.getMoney(showTableData.CashPay),2):'-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label">自营销售:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[0].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label" style="padding-left: 20rpx">便利店:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[2].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label" style="padding-left: 20rpx">餐饮客房:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[3].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label">外租收入:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[1].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label" style="padding-left: 20rpx">商铺租赁:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[4].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="haveMore" @click="goToRevenueStatic">
|
||||
@ -762,77 +691,7 @@
|
||||
<view class="moreIcon" @click.stop="changeShowRealBox">
|
||||
<image class="noticeIcon"
|
||||
src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/noticeIcon.svg" />
|
||||
<view v-if="showRealBox" class="realBox" @click.stop="changeShowRealBox">
|
||||
<div style="
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
">
|
||||
<span class="noticeText">注解词说明:</span>
|
||||
<img class="closeIcon"
|
||||
src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/closeIcon.svg"
|
||||
@click.stop="changeShowRealBox" />
|
||||
</div>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
对客销售(对客营收、营业额)
|
||||
----服务区所有经营实体与客户发生的交易金额,一般统计消费总量,多用于外部口径;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
同期服务区的对客销售额与入区车流量和服务区营效变化会呈现较强关联性,属于显性短周指标。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
自营销售(自营经营额)
|
||||
----驿达自主经营的实体与客户发生的真实交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
外租销售 (商铺经营额)
|
||||
----合作商户经营的实体与客户发生的真实交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
应用场景:口径多用与服务区同行或行业相关部门交流,体现服务区商业服务能力,也是考核旗下服务区商业管理水平提升的重要指标。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
营业收入(经营收入)---驿达通过服务区场景获得的真实收入,包括自主经营项目、外租经营项目、油站充电桩等租赁收入等,多用于内部口径;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
因商户租赁收入和其他固定项目收入,存在财务确认时间滞后情况,数字变化一般晚于对客销售额,属于长周期指标;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
自营营业收入
|
||||
---指的是驿达自有经营门店的实际交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
租赁营业收入
|
||||
---指的是驿达通过租赁商铺,通过商铺交易金额按比例来获取租金的收入;</span>
|
||||
|
||||
<span class="noticeText"
|
||||
style="margin-top: 8px">一般情况下,收入单纯代表交易金额,如果对内财务口径一般需要后面(除税)来表达。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
应用场景:口径多用与内部分子公司任务拆解考核和集团的任务指标完成汇报,是整个管理团队的长期阶段性指标结果。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
同比,指的是一段时间内与全年同期的数据比较,一般用于反映长线经营趋势的波动;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
环比,指的是一段时间内与上月同期的数值比较,一般用于反映短期经营趋势的比较。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
因为服务区的特殊性,有节假日条件约束,较多会用同比来形容指标波动。</span>
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label">对客销售:</view>-->
|
||||
<!-- <view class="value">{{showTableData.CashPay?$util.fmoney($util.getMoney(showTableData.CashPay),2):'-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label">自营销售:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[0].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label" style="padding-left: 20rpx">便利店:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[2].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label" style="padding-left: 20rpx">餐饮客房:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[3].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label">外租收入:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[1].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class="field">-->
|
||||
<!-- <view class="label" style="padding-left: 20rpx">商铺租赁:</view>-->
|
||||
<!-- <view class="value">{{typeList && typeList.length>0?$util.fmoney($util.getMoney(typeList[4].value),2) : '-'}}</view>-->
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="haveMore" @click="goToRevenueStatic">
|
||||
@ -3475,12 +3334,20 @@
|
||||
</view>
|
||||
|
||||
<!-- 财务报表-->
|
||||
<view class="funItem" @click="handleMoney">
|
||||
<!-- <view class="funItem" @click="handleMoney">
|
||||
<view class="funItemContent">
|
||||
<view class="funIconBox">
|
||||
<image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/financialState.svg" />
|
||||
</view>
|
||||
<text class="funText">财务报表</text>
|
||||
</view>
|
||||
</view> -->
|
||||
<view v-if="projectWarning" class="funItem" @click="goToRobot">
|
||||
<view class="funItemContent">
|
||||
<view class="funIconBox">
|
||||
<image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/statistics.svg" />
|
||||
</view>
|
||||
<text class="funText">数智助手</text>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 节日特刊-->
|
||||
@ -3553,14 +3420,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-if="projectWarning" class="funItem" style="margin-top: 32rpx" @click="goToRobot">
|
||||
<view class="funItemContent">
|
||||
<view class="funIconBox">
|
||||
<image class="funIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/statistics.svg" />
|
||||
</view>
|
||||
<text class="funText">数智助手</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="funItem" style="margin-top: 32rpx" v-if="false" @click="goToBillLading">
|
||||
<view class="funItemContent">
|
||||
@ -3760,14 +3620,14 @@
|
||||
}}</view>
|
||||
<view class="itemLabel">已完成<text class="unit">/{{
|
||||
plan.revenueType === "yi" ? "亿元" : "万元"
|
||||
}}</text></view>
|
||||
}}</text></view>
|
||||
</view>
|
||||
<view class="bottomItem">
|
||||
<view class="itemValue">{{
|
||||
plan.BudgetYear_Amount ? plan.BudgetYear_Amount : "-"
|
||||
}}</view>
|
||||
<view class="itemLabel">计划<text class="unit">/{{ plan.budgetType === "yi" ? "亿元" : "万元"
|
||||
}}</text></view>
|
||||
}}</text></view>
|
||||
</view>
|
||||
<view class="bottomItem">
|
||||
<view class="itemValue">{{
|
||||
@ -3984,6 +3844,49 @@
|
||||
</div>
|
||||
</view>
|
||||
|
||||
|
||||
<view v-if="showRealBox" class="realBoxPage" @click.stop="changeShowRealBox"
|
||||
:style="{ left: realBoxPageX + 'px', top: realBoxPageY + 'px' }">
|
||||
<div style="width: 100%;display: flex;justify-content: space-between; align-items: center;">
|
||||
<span class="noticeText">注解词说明:</span>
|
||||
<img class="closeIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/closeIcon.svg"
|
||||
@click.stop="changeShowRealBox" />
|
||||
</div>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
对客销售(对客营收、营业额)
|
||||
----服务区所有经营实体与客户发生的交易金额,一般统计消费总量,多用于外部口径;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
同期服务区的对客销售额与入区车流量和服务区营效变化会呈现较强关联性,属于显性短周指标。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
自营销售(自营经营额)
|
||||
----驿达自主经营的实体与客户发生的真实交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
外租销售 (商铺经营额)
|
||||
----合作商户经营的实体与客户发生的真实交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
应用场景:口径多用与服务区同行或行业相关部门交流,体现服务区商业服务能力,也是考核旗下服务区商业管理水平提升的重要指标。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
营业收入(经营收入)---驿达通过服务区场景获得的真实收入,包括自主经营项目、外租经营项目、油站充电桩等租赁收入等,多用于内部口径;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
因商户租赁收入和其他固定项目收入,存在财务确认时间滞后情况,数字变化一般晚于对客销售额,属于长周期指标;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
自营营业收入
|
||||
---指的是驿达自有经营门店的实际交易金额;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
租赁营业收入
|
||||
---指的是驿达通过租赁商铺,通过商铺交易金额按比例来获取租金的收入;</span>
|
||||
|
||||
<span class="noticeText" style="margin-top: 8px">一般情况下,收入单纯代表交易金额,如果对内财务口径一般需要后面(除税)来表达。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
应用场景:口径多用与内部分子公司任务拆解考核和集团的任务指标完成汇报,是整个管理团队的长期阶段性指标结果。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
同比,指的是一段时间内与全年同期的数据比较,一般用于反映长线经营趋势的波动;</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
环比,指的是一段时间内与上月同期的数值比较,一般用于反映短期经营趋势的比较。</span>
|
||||
<span class="noticeText" style="text-indent: 2rem">
|
||||
因为服务区的特殊性,有节假日条件约束,较多会用同比来形容指标波动。</span>
|
||||
</view>
|
||||
|
||||
<!--通知框-->
|
||||
<!-- -->
|
||||
<div class="notice" v-if="isShow" style="bottom: 200px">
|
||||
@ -4336,6 +4239,8 @@ export default {
|
||||
allselectVersion3Obj: {}, //累计
|
||||
selectVersion3Obj: {}, //正常
|
||||
smallTab: 1, // 演示版的几个显示样式
|
||||
realBoxPageX: 0, // 注释说明弹出框的x位置
|
||||
realBoxPageY: 0, // 注释说明弹出框的y位置
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@ -4728,18 +4633,18 @@ export default {
|
||||
},
|
||||
// 选择的版本
|
||||
handleChangeVersion(e) {
|
||||
this.selectVersion = e;
|
||||
uni.setStorageSync("version", this.selectVersion);
|
||||
if (this.selectVersion === 2) {
|
||||
this.$util.addUserBehavior({
|
||||
intoRoute: `/pages/index/old/index`,
|
||||
});
|
||||
uni.redirectTo({
|
||||
url: `/pages/index/old/index`,
|
||||
});
|
||||
} else if (this.selectVersion === 3) {
|
||||
this.handleGetSelectVersion3Data(this.oldSwiperIndex);
|
||||
}
|
||||
// this.selectVersion = e;
|
||||
// uni.setStorageSync("version", this.selectVersion);
|
||||
// if (this.selectVersion === 2) {
|
||||
// this.$util.addUserBehavior({
|
||||
// intoRoute: `/pages/index/old/index`,
|
||||
// });
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/index/old/index`,
|
||||
// });
|
||||
// } else if (this.selectVersion === 3) {
|
||||
// this.handleGetSelectVersion3Data(this.oldSwiperIndex);
|
||||
// }
|
||||
},
|
||||
// 版本选择到3的时候要调用拿到数据的方法
|
||||
async handleGetSelectVersion3Data(month) {
|
||||
@ -4991,7 +4896,10 @@ export default {
|
||||
handleShowHaveNoticeBox() {
|
||||
this.showHaveNotice = !this.showHaveNotice;
|
||||
},
|
||||
changeShowRealBox() {
|
||||
changeShowRealBox(e) {
|
||||
console.log('eee', e);
|
||||
this.realBoxPageX = e.detail.x;
|
||||
this.realBoxPageY = e.detail.y;
|
||||
this.showRealBox = !this.showRealBox;
|
||||
},
|
||||
handleGoOtherFun(val) {
|
||||
@ -6804,7 +6712,7 @@ $iphoneHeight: env(safe-area-inset-bottom);
|
||||
box-shadow: 0rpx 0rpx 40rpx 0rpx rgba(244, 138, 143, 0.21);
|
||||
z-index: 22;
|
||||
width: 75vw;
|
||||
height: 250px;
|
||||
height: 70vh;
|
||||
overflow-y: scroll;
|
||||
white-space: pre-wrap;
|
||||
|
||||
@ -11070,5 +10978,52 @@ $iphoneHeight: env(safe-area-inset-bottom);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realBoxPage {
|
||||
position: fixed;
|
||||
// left: 5%;
|
||||
// top: 10px;
|
||||
transform: translateX(-50%);
|
||||
//right: 0;bottom: 0;
|
||||
display: inline-block;
|
||||
padding: 5px 10px;
|
||||
background: #fff;
|
||||
border-radius: 10rpx;
|
||||
box-shadow: 0rpx 0rpx 40rpx 0rpx rgba(244, 138, 143, 0.21);
|
||||
z-index: 22;
|
||||
width: 75vw;
|
||||
height: 70vh;
|
||||
// height: 250px;
|
||||
overflow-y: scroll;
|
||||
white-space: pre-wrap;
|
||||
|
||||
.noticeText {
|
||||
font-size: 12px;
|
||||
color: #000;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.closeIcon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.field {
|
||||
text-align: right;
|
||||
display: flex;
|
||||
|
||||
.label {
|
||||
display: inline-block;
|
||||
width: 160rpx;
|
||||
text-align: left;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.value {
|
||||
width: 200rpx;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -3232,48 +3232,26 @@ export default {
|
||||
},
|
||||
|
||||
{
|
||||
label: "25年元旦",
|
||||
type: 0,
|
||||
HolidayType: 1,
|
||||
label: "25年国庆",
|
||||
type: 6,
|
||||
HolidayType: 8,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2024-12-31",
|
||||
endTime: "2025-01-02",
|
||||
lastYearStart: "2023/12/31",
|
||||
lastYearEnd: "2024/01/02",
|
||||
startTime: "2025-09-30",
|
||||
endTime: "2025-10-09",
|
||||
lastYearStart: "2024/09/30",
|
||||
lastYearEnd: "2024/10/09",
|
||||
},
|
||||
{
|
||||
label: "25年春运",
|
||||
type: 0,
|
||||
HolidayType: 2,
|
||||
label: "25年暑运",
|
||||
type: 4,
|
||||
HolidayType: 6,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2025-01-14",
|
||||
endTime: "2025-02-22",
|
||||
lastYearStart: "2024/01/26",
|
||||
lastYearEnd: "2024/03/05",
|
||||
},
|
||||
{
|
||||
label: "25年清明",
|
||||
type: 1,
|
||||
HolidayType: 3,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2025-04-03",
|
||||
endTime: "2025-04-07",
|
||||
lastYearStart: "2024/04/03",
|
||||
lastYearEnd: "2024/04/07",
|
||||
},
|
||||
{
|
||||
label: "25年劳动",
|
||||
type: 2,
|
||||
HolidayType: 4,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2025-04-30",
|
||||
endTime: "2025-05-06",
|
||||
lastYearStart: "2024/04/30",
|
||||
lastYearEnd: "2024/05/06",
|
||||
startTime: "2025-06-30",
|
||||
endTime: "2025-08-31",
|
||||
lastYearStart: "2024/06/30",
|
||||
lastYearEnd: "2024/08/31",
|
||||
},
|
||||
{
|
||||
label: "25年端午",
|
||||
@ -3287,16 +3265,50 @@ export default {
|
||||
lastYearEnd: "2024/06/11",
|
||||
},
|
||||
{
|
||||
label: "25年暑运",
|
||||
type: 4,
|
||||
HolidayType: 6,
|
||||
label: "25年劳动",
|
||||
type: 2,
|
||||
HolidayType: 4,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2025-06-30",
|
||||
endTime: "2025-08-31",
|
||||
lastYearStart: "2024/06/30",
|
||||
lastYearEnd: "2024/08/31",
|
||||
startTime: "2025-04-30",
|
||||
endTime: "2025-05-06",
|
||||
lastYearStart: "2024/04/30",
|
||||
lastYearEnd: "2024/05/06",
|
||||
},
|
||||
{
|
||||
label: "25年清明",
|
||||
type: 1,
|
||||
HolidayType: 3,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2025-04-03",
|
||||
endTime: "2025-04-07",
|
||||
lastYearStart: "2024/04/03",
|
||||
lastYearEnd: "2024/04/07",
|
||||
},
|
||||
{
|
||||
label: "25年春运",
|
||||
type: 0,
|
||||
HolidayType: 2,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2025-01-14",
|
||||
endTime: "2025-02-22",
|
||||
lastYearStart: "2024/01/26",
|
||||
lastYearEnd: "2024/03/05",
|
||||
},
|
||||
{
|
||||
label: "25年元旦",
|
||||
type: 0,
|
||||
HolidayType: 1,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2024-12-31",
|
||||
endTime: "2025-01-02",
|
||||
lastYearStart: "2023/12/31",
|
||||
lastYearEnd: "2024/01/02",
|
||||
},
|
||||
|
||||
// {
|
||||
// label: "25年中秋",
|
||||
// curYear: 2025,
|
||||
@ -3305,82 +3317,17 @@ export default {
|
||||
// startTime: "2025-01-26",
|
||||
// endTime: "2025-03-05",
|
||||
// },
|
||||
|
||||
{
|
||||
label: "25年国庆",
|
||||
label: "24年国庆",
|
||||
type: 6,
|
||||
HolidayType: 8,
|
||||
curYear: 2025,
|
||||
compareYear: 2024,
|
||||
startTime: "2025-09-30",
|
||||
endTime: "2025-10-09",
|
||||
lastYearStart: "2024/09/30",
|
||||
lastYearEnd: "2024/10/09",
|
||||
},
|
||||
{
|
||||
label: "24年元旦",
|
||||
type: 0,
|
||||
HolidayType: 1,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2023-12-31",
|
||||
endTime: "2024-01-02",
|
||||
lastYearStart: "2022/12/31",
|
||||
lastYearEnd: "2022/01/02",
|
||||
},
|
||||
{
|
||||
label: "24年春运",
|
||||
type: 0,
|
||||
HolidayType: 2,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-01-26",
|
||||
endTime: "2024-03-05",
|
||||
lastYearStart: "2023/01/06",
|
||||
lastYearEnd: "2023/02/16",
|
||||
},
|
||||
{
|
||||
label: "24年清明",
|
||||
type: 1,
|
||||
HolidayType: 3,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-04-03",
|
||||
endTime: "2024-04-07",
|
||||
lastYearStart: "2023/04/04",
|
||||
lastYearEnd: "2023/04/06",
|
||||
},
|
||||
{
|
||||
label: "24年劳动",
|
||||
type: 2,
|
||||
HolidayType: 4,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-04-30",
|
||||
endTime: "2024-05-06",
|
||||
lastYearStart: "2023/04/28",
|
||||
lastYearEnd: "2023/05/04",
|
||||
},
|
||||
{
|
||||
label: "24年端午",
|
||||
type: 3,
|
||||
HolidayType: 5,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-06-07",
|
||||
endTime: "2024-06-11",
|
||||
lastYearStart: "2023/06/21",
|
||||
lastYearEnd: "2023/06/25",
|
||||
},
|
||||
{
|
||||
label: "24年暑运",
|
||||
type: 4,
|
||||
HolidayType: 6,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-06-30",
|
||||
endTime: "2024-08-31",
|
||||
lastYearStart: "2023/06/30",
|
||||
lastYearEnd: "2023/08/31",
|
||||
startTime: "2024-09-30",
|
||||
endTime: "2024-10-08",
|
||||
lastYearStart: "2023/09/30",
|
||||
lastYearEnd: "2023/10/08",
|
||||
},
|
||||
{
|
||||
label: "24年中秋",
|
||||
@ -3394,16 +3341,71 @@ export default {
|
||||
lastYearEnd: "2023/09/30",
|
||||
},
|
||||
{
|
||||
label: "24年国庆",
|
||||
type: 6,
|
||||
HolidayType: 8,
|
||||
label: "24年暑运",
|
||||
type: 4,
|
||||
HolidayType: 6,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-09-30",
|
||||
endTime: "2024-10-08",
|
||||
lastYearStart: "2023/09/30",
|
||||
lastYearEnd: "2023/10/08",
|
||||
startTime: "2024-06-30",
|
||||
endTime: "2024-08-31",
|
||||
lastYearStart: "2023/06/30",
|
||||
lastYearEnd: "2023/08/31",
|
||||
},
|
||||
{
|
||||
label: "24年端午",
|
||||
type: 3,
|
||||
HolidayType: 5,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-06-07",
|
||||
endTime: "2024-06-11",
|
||||
lastYearStart: "2023/06/21",
|
||||
lastYearEnd: "2023/06/25",
|
||||
},
|
||||
{
|
||||
label: "24年劳动",
|
||||
type: 2,
|
||||
HolidayType: 4,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-04-30",
|
||||
endTime: "2024-05-06",
|
||||
lastYearStart: "2023/04/28",
|
||||
lastYearEnd: "2023/05/04",
|
||||
},
|
||||
{
|
||||
label: "24年清明",
|
||||
type: 1,
|
||||
HolidayType: 3,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-04-03",
|
||||
endTime: "2024-04-07",
|
||||
lastYearStart: "2023/04/04",
|
||||
lastYearEnd: "2023/04/06",
|
||||
},
|
||||
{
|
||||
label: "24年春运",
|
||||
type: 0,
|
||||
HolidayType: 2,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2024-01-26",
|
||||
endTime: "2024-03-05",
|
||||
lastYearStart: "2023/01/06",
|
||||
lastYearEnd: "2023/02/16",
|
||||
},
|
||||
{
|
||||
label: "24年元旦",
|
||||
type: 0,
|
||||
HolidayType: 1,
|
||||
curYear: 2024,
|
||||
compareYear: 2023,
|
||||
startTime: "2023-12-31",
|
||||
endTime: "2024-01-02",
|
||||
lastYearStart: "2022/12/31",
|
||||
lastYearEnd: "2022/01/02",
|
||||
}
|
||||
],
|
||||
currentFestival: {}, // 当前节日的对象
|
||||
currentIndex: 0, // 当前节日的索引
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
:src="selectTab === 2 ? 'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/activeSecondTab.png' : 'https://eshangtech.com/ShopICO/ahyd-BID/newIndex3/secondTab.png'" />
|
||||
</div>
|
||||
<div class="timeSelect">
|
||||
<span class="moreText" @click="handleShowPopup">更多筛选</span>
|
||||
<span class="moreText" style="font-size: 30rpx;" @click="handleShowPopup">更多筛选</span>
|
||||
<!-- <uni-datetime-picker />-->
|
||||
|
||||
</div>
|
||||
@ -91,7 +91,7 @@
|
||||
}${$util.getMoney(topDetail.RevenueINC.increaseData / 10000)}` : '-' }}</span>
|
||||
</span>
|
||||
<span class="staticTimeText" v-if="currentScroll === 'item0'">
|
||||
{{ `统计口径:${selectStart}月至${selectEnd}月累计` }}
|
||||
{{ `统计口径:${selectStart}至${selectEnd}累计` }}
|
||||
</span>
|
||||
</view>
|
||||
|
||||
@ -354,7 +354,7 @@
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
<view class="amountItem" style="margin-top: 56rpx">
|
||||
<view class="amountItem" style="margin-top: 24rpx">
|
||||
<view class="itemTop">
|
||||
<view class="itemTopLeft">
|
||||
<image class="leftIcon"
|
||||
@ -393,7 +393,7 @@
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
<view class="amountItem" @click="handleGoMerchantAccount" style="margin-top: 56rpx">
|
||||
<view class="amountItem" @click="handleGoMerchantAccount" style="margin-top: 24rpx">
|
||||
<view class="itemTop">
|
||||
<view class="itemTopLeft">
|
||||
<image class="leftIcon"
|
||||
@ -502,7 +502,7 @@
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
<view class="amountItem" style="margin-top: 56rpx">
|
||||
<view class="amountItem" style="margin-top: 24rpx">
|
||||
<view class="itemTop">
|
||||
<view class="itemTopLeft">
|
||||
<image class="leftIcon"
|
||||
@ -540,7 +540,7 @@
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
<view class="amountItem" style="margin-top: 56rpx">
|
||||
<view class="amountItem" style="margin-top: 24rpx">
|
||||
<view class="itemTop">
|
||||
<view class="itemTopLeft">
|
||||
<image class="leftIcon"
|
||||
@ -595,7 +595,7 @@
|
||||
<span class="contentTitle">商家营收</span>
|
||||
<span class="contentUnit">/万元</span>
|
||||
</view>
|
||||
<view class="revenueAmount" style="margin-top: 48rpx">
|
||||
<view class="revenueAmount" style="margin-top: 24rpx">
|
||||
<view class="amountItem">
|
||||
<view class="itemTop">
|
||||
<view class="itemTopLeft">
|
||||
@ -629,7 +629,7 @@
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
<view class="amountItem" style="margin-top: 56rpx">
|
||||
<view class="amountItem" style="margin-top: 24rpx">
|
||||
<view class="itemTop">
|
||||
<view class="itemTopLeft">
|
||||
<image class="leftIcon"
|
||||
@ -662,7 +662,7 @@
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
<view class="amountItem" style="margin-top: 56rpx">
|
||||
<view class="amountItem" style="margin-top: 24rpx">
|
||||
<view class="itemTop">
|
||||
<view class="itemTopLeft">
|
||||
<image class="leftIcon"
|
||||
@ -695,7 +695,7 @@
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</view>
|
||||
<view class="amountItem" style="margin-top: 56rpx">
|
||||
<view class="amountItem" style="margin-top: 24rpx">
|
||||
<view class="itemTop">
|
||||
<view class="itemTopLeft">
|
||||
<image class="leftIcon"
|
||||
@ -741,7 +741,8 @@
|
||||
|
||||
|
||||
|
||||
<uniPopup class="popupBox" type="bottom" :round="true" :showIndex="1" :show="showPop" @hidePopup="hidePopup">
|
||||
<uniPopup class="popupBox" type="bottom" :round="true" :showIndex="1" :show="showPop" @hidePopup="hidePopup"
|
||||
:safe-area="true">
|
||||
<view class="popupContentBox">
|
||||
<view class="label">统计时间:</view>
|
||||
<view class="popupTitleBox">
|
||||
@ -754,8 +755,8 @@
|
||||
|
||||
<span class="unit" style="margin: 0 4px">-</span>
|
||||
<view class="timeSelectBox">
|
||||
<picker mode="date" fields="month" class="screen-unit" :start="selectStart" :end="endTime"
|
||||
@change="handleChangeSelectEnd($event)">
|
||||
<picker mode="date" fields="month" class="screen-unit" :value="selectEnd" :start="selectStart"
|
||||
:end="endSelectTime" @change="handleChangeSelectEnd($event)">
|
||||
<text class="time">{{ selectEnd || '结束时间' }}</text>
|
||||
</picker>
|
||||
</view>
|
||||
@ -832,7 +833,8 @@ export default {
|
||||
let currentMonth = selectDate.getMonth() + 1
|
||||
this.currentMonth = currentMonth
|
||||
this.curYear = selectYear
|
||||
this.defaultStart = `${selectYear}-01`
|
||||
// this.defaultStart = `${selectYear}-01`
|
||||
this.defaultStart = `2024-01`
|
||||
this.selectStart = `${selectYear}-01`
|
||||
|
||||
const nowDate = new Date()
|
||||
@ -859,7 +861,6 @@ export default {
|
||||
}
|
||||
this.selectList.unshift('累计')
|
||||
}
|
||||
console.log('this.selectList', this.selectList)
|
||||
await this.handleGetRevenueData()
|
||||
await this.handleGetTableData()
|
||||
uni.hideLoading()
|
||||
@ -876,6 +877,14 @@ export default {
|
||||
// 点击查询调用的方法
|
||||
async handleSearchTime() {
|
||||
if (this.selectStart && this.selectEnd) {
|
||||
this.selectList = []
|
||||
const date = new Date(this.selectEnd)
|
||||
let monthNumber = date.getMonth() + 1
|
||||
for (let i = 1; i <= monthNumber; i++) {
|
||||
this.selectList.push(`${i}月`)
|
||||
}
|
||||
this.selectList.unshift('累计')
|
||||
|
||||
this.hidePopup()
|
||||
this.currentScroll = 'item0'
|
||||
uni.showLoading({
|
||||
@ -890,15 +899,26 @@ export default {
|
||||
async handleChangeSelectStart(e) {
|
||||
console.log('e', e)
|
||||
this.selectStart = e.detail.value
|
||||
const date = new Date(this.selectEnd)
|
||||
let m = date.getMonth() + 1
|
||||
const date = new Date(e.detail.value)
|
||||
let y = date.getFullYear()
|
||||
const currentDate = new Date()
|
||||
const currentYear = currentDate.getFullYear()
|
||||
let currentMonth = currentDate.getMonth() + 1
|
||||
if (currentMonth < 10) {
|
||||
currentMonth = '0' + currentMonth
|
||||
}
|
||||
// let m = date.getMonth() + 1
|
||||
// if (this.selectStart && this.selectEnd){
|
||||
// uni.showLoading({
|
||||
// title:'正在加载'
|
||||
// })
|
||||
// this.handleGetPageData(m)
|
||||
// uni.hideLoading()
|
||||
// }
|
||||
// }
|
||||
// 选择了开始时间 那么也就是显示了结束时间
|
||||
this.endSelectTime = `${y}-${currentYear === y ? currentMonth : 12}`
|
||||
this.selectEnd = `${y}-${currentYear === y ? currentMonth : 12}`
|
||||
this.curYear = y
|
||||
},
|
||||
// 选择结束时间
|
||||
async handleChangeSelectEnd(e) {
|
||||
@ -1321,13 +1341,13 @@ export default {
|
||||
align-items: center;
|
||||
|
||||
.moreText {
|
||||
font-size: 16px;
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: 14px;
|
||||
font-size: 24rpx;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
@ -1452,9 +1472,9 @@ export default {
|
||||
.contentTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
font-size: 30rpx;
|
||||
color: #160002;
|
||||
line-height: 44rpx;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-right: 4rpx;
|
||||
@ -1474,11 +1494,12 @@ export default {
|
||||
.sumBox {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 32rpx 24rpx;
|
||||
padding: 24rpx 24rpx;
|
||||
background: #fff;
|
||||
border-radius: 12rpx;
|
||||
margin-top: 32rpx;
|
||||
margin-top: 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.left {
|
||||
@ -1505,27 +1526,27 @@ export default {
|
||||
align-items: flex-end;
|
||||
|
||||
.sumMoney {
|
||||
font-size: 36rpx;
|
||||
font-size: 30rpx;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
color: #160002;
|
||||
line-height: 44rpx;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
|
||||
.sumUnit {
|
||||
margin-top: 8rpx;
|
||||
font-size: 28rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #160002;
|
||||
line-height: 40rpx;
|
||||
line-height: 32rpx;
|
||||
|
||||
.unit {
|
||||
font-size: 28rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 40rpx;
|
||||
line-height: 32rpx;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
@ -1553,11 +1574,11 @@ export default {
|
||||
}
|
||||
|
||||
.itemTitle {
|
||||
font-size: 32rpx;
|
||||
font-size: 30rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #160002;
|
||||
line-height: 44rpx;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
|
||||
.itemUnit {
|
||||
@ -1571,11 +1592,11 @@ export default {
|
||||
}
|
||||
|
||||
.itemTopRight {
|
||||
font-size: 36rpx;
|
||||
font-size: 30rpx;
|
||||
font-family: DINAlternate-Bold, DINAlternate;
|
||||
font-weight: bold;
|
||||
color: #160002;
|
||||
line-height: 44rpx;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1587,20 +1608,20 @@ export default {
|
||||
display: inline-block;
|
||||
|
||||
.bottomItemTitle {
|
||||
font-size: 28rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #A69E9F;
|
||||
line-height: 40rpx;
|
||||
margin-bottom: 4rpx;
|
||||
line-height: 30rpx;
|
||||
margin-bottom: 8rpx;
|
||||
}
|
||||
|
||||
.bottomItemValue {
|
||||
font-size: 32rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #160002;
|
||||
line-height: 40rpx;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1720,7 +1741,7 @@ export default {
|
||||
align-items: center;
|
||||
|
||||
.moreText {
|
||||
font-size: 28rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #2C99FE;
|
||||
@ -1743,14 +1764,14 @@ export default {
|
||||
.dataItem {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 32rpx;
|
||||
margin-top: 24rpx;
|
||||
|
||||
.dataBigValue {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 50rpx;
|
||||
font-size: 30rpx;
|
||||
color: #E83944;
|
||||
line-height: 64rpx;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
@ -1768,9 +1789,9 @@ export default {
|
||||
.dataValue {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 36rpx;
|
||||
font-size: 28rpx;
|
||||
color: #160002;
|
||||
line-height: 64rpx;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
@ -1780,7 +1801,7 @@ export default {
|
||||
.addBox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// justify-content: space-between;
|
||||
justify-content: space-between;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
@ -1795,14 +1816,14 @@ export default {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #E83944;
|
||||
line-height: 32rpx;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
|
||||
.staticTimeText {
|
||||
|
||||
white-space: nowrap;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #9A9A9A;
|
||||
@ -1813,7 +1834,7 @@ export default {
|
||||
width: 100%;
|
||||
height: 2rpx;
|
||||
background: #F5F4F4;
|
||||
margin: 40rpx 0;
|
||||
margin: 24rpx 0;
|
||||
}
|
||||
|
||||
.tableBox {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,8 @@
|
||||
:topLeftColor="topLeftColor" :iconObj="iconObj" :haveIconObj="haveIconObj" :detailBoxBg="detailBoxBg"
|
||||
:haveFun="haveFun" :serviceTypeObj="serviceTypeObj" :serviceInfoObj="serviceInfoObj" :pageType="pageType"
|
||||
:pageIndex="4" :headerBg="'linear-gradient( #d09845 0%, #ffffff 100%)'" />
|
||||
<div class="charts" :style="{ paddingTop: serviceInfo.SERVERPART_NAME === '安徽驿达' ? menu.bottom + 62 + 14 + 'px' : '' }">
|
||||
<div class="charts"
|
||||
:style="{ paddingTop: serviceInfo.SERVERPART_NAME === '安徽驿达' ? menu.bottom + 62 + 14 + 'px' : '' }">
|
||||
<div class="chartsItem">
|
||||
<div style="display: flex;justify-content: space-between;align-items: center">
|
||||
<p class="title">交易分析</p>
|
||||
@ -831,7 +832,7 @@ export default {
|
||||
}
|
||||
|
||||
.time {
|
||||
margin-bottom: 4px;
|
||||
// margin-bottom: 4px;
|
||||
|
||||
.thisTime {
|
||||
font-size: 14px;
|
||||
@ -847,7 +848,10 @@ export default {
|
||||
.time {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 4px;
|
||||
// margin-right: 4px;
|
||||
border-radius: 28rpx;
|
||||
padding: 12rpx 16rpx;
|
||||
background: #f0e8dd;
|
||||
|
||||
.day {
|
||||
font-size: 32rpx;
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
<div class="timeSelect">
|
||||
<view style="display: flex;align-items: center">
|
||||
<img class="selectIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/car/dateIcon.svg" />
|
||||
<picker mode="date" fields="month" :value="searchText" :end="lastDay"
|
||||
<picker mode="date" fields="month" :value="searchText" :end="lastDay" :start="'2023-01'"
|
||||
@change="changeAllProvinceSearch">
|
||||
<view class="time">
|
||||
<view class="text">{{ searchTextMonth }}</view>
|
||||
@ -120,7 +120,7 @@
|
||||
{{ item.RevenueAmount ? '营业中' : '休息中' }}</view>
|
||||
<view class="nameBox">
|
||||
<text class="serviceName">{{ item.Serverpart_Name ? item.Serverpart_Name.split('服务区')[0] : ''
|
||||
}}</text>
|
||||
}}</text>
|
||||
<text class="serviceLabel">服务区</text>
|
||||
</view>
|
||||
</div>
|
||||
|
||||
@ -70,7 +70,7 @@ export default {
|
||||
rotateLock: false,
|
||||
background: "#FFFFFF",
|
||||
color: ["#1E80FF", "#00B6FF"],
|
||||
padding: [15, 15, 5, 5],
|
||||
padding: [15, 15, 5, 0],
|
||||
dataLabel: false,
|
||||
enableScroll: false,
|
||||
legend: {
|
||||
@ -106,7 +106,8 @@ export default {
|
||||
addLine: true,
|
||||
width: 2,
|
||||
gradient: true,
|
||||
activeType: "hollow"
|
||||
activeType: "hollow",
|
||||
dataPointShape: false // 隐藏数据点上方的数值显示
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -172,7 +173,8 @@ export default {
|
||||
addLine: true,
|
||||
width: 2,
|
||||
gradient: true,
|
||||
activeType: "hollow"
|
||||
activeType: "hollow",
|
||||
dataLabel: false // 隐藏数据点上方的数值显示
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -6,11 +6,11 @@
|
||||
<!-- </view>-->
|
||||
|
||||
<view class="scrollPage">
|
||||
<scroll-view class="scrollBox" scroll-x="true" :scroll-into-view="'item' + isYD && selectIndex === 1 ? 0 : selectIndex"
|
||||
scroll-with-animation>
|
||||
<scroll-view class="scrollBox" scroll-x="true"
|
||||
:scroll-into-view="'item' + isYD && selectIndex === 1 ? 0 : selectIndex" scroll-with-animation>
|
||||
<view :style="{ display: isYD && i === 0 ? 'none' : '' }" :id="'item' + i"
|
||||
:class="selectIndex === i ? `scrollItem selectScroll${selectIndex}` : 'scrollItem'" v-for="(item, i) in pageList"
|
||||
:key="i" @click="handleToDetail(i)">
|
||||
:class="selectIndex === i ? `scrollItem selectScroll${selectIndex}` : 'scrollItem'"
|
||||
v-for="(item, i) in pageList" :key="i" @click="handleToDetail(i)">
|
||||
{{ item }}
|
||||
</view>
|
||||
</scroll-view>
|
||||
@ -21,7 +21,8 @@ export default {
|
||||
name: "sliderPage",
|
||||
data() {
|
||||
return {
|
||||
pageList: ["基础信息", "车流统计", "客群统计", "经营统计", "交易统计", "业态品牌", "考核考评", "日常巡检"],
|
||||
// pageList: ["基础信息", "车流统计", "客群统计", "经营统计", "交易统计", "业态品牌", "考核考评", "日常巡检"],
|
||||
pageList: ["基础信息", "车流统计", "客群统计", "经营统计", "交易统计", "业态品牌"],
|
||||
// pageList: [],
|
||||
urlList: [
|
||||
'/pages/map/detail',
|
||||
|
||||
@ -25,12 +25,13 @@
|
||||
<no-data v-else />
|
||||
</div>
|
||||
<div class="chartsItem" style="margin-top: 32px;height: 330px">
|
||||
<div class="time">
|
||||
<div class="time" style="width:100%;display: flex;justify-content: flex-end;">
|
||||
<div class="select">
|
||||
<picker mode="date" fields="month" :value="single" :end="endData" @change="bindDateChange">
|
||||
<view class="time">
|
||||
<view class="uni-input" style="background: transparent;padding: 0;height:100%">{{ single }}</view>
|
||||
<image class="icon" src="https://eshangtech.com/ShopICO/ahyd-BID/index/arrow_bottom.svg"></image>
|
||||
<image class="icon" src="https://eshangtech.com/ShopICO/ahyd-BID/index/arrow_bottom_guestPortrait.svg">
|
||||
</image>
|
||||
</view>
|
||||
</picker>
|
||||
</div>
|
||||
@ -576,7 +577,7 @@ export default {
|
||||
background: #fff;
|
||||
|
||||
.time {
|
||||
margin-bottom: 4px;
|
||||
// margin-bottom: 4px;
|
||||
|
||||
.thisTime {
|
||||
font-size: 14px;
|
||||
@ -588,17 +589,21 @@ export default {
|
||||
.select {
|
||||
margin-left: 8px;
|
||||
display: inline-block;
|
||||
border-radius: 28rpx;
|
||||
padding: 12rpx 16rpx;
|
||||
background: #EEF7F8;
|
||||
|
||||
.time {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 4px;
|
||||
// margin-right: 4px;
|
||||
|
||||
.day {
|
||||
font-size: 32rpx;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #782717;
|
||||
// color: #ae664e;
|
||||
color: #A0D0C1;
|
||||
line-height: 44rpx;
|
||||
margin-right: 4px;
|
||||
}
|
||||
@ -607,7 +612,8 @@ export default {
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #ae664e;
|
||||
// color: #ae664e;
|
||||
color: #A0D0C1;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
|
||||
@ -630,14 +636,20 @@ export default {
|
||||
}
|
||||
|
||||
.item {
|
||||
border-radius: 28rpx;
|
||||
padding: 12rpx 16rpx;
|
||||
background: #EEF7F8;
|
||||
|
||||
.value {
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #160002;
|
||||
// color: #160002;
|
||||
color: #A0D0C1;
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user