aaa
This commit is contained in:
parent
cc9b82e05f
commit
5fea3988c2
|
@ -8,10 +8,10 @@
|
||||||
<image src="https://api.ccttiot.com/smartmeter/img/static/u5rNGPmNiFGOZmCmovYF" mode=""></image>
|
<image src="https://api.ccttiot.com/smartmeter/img/static/u5rNGPmNiFGOZmCmovYF" mode=""></image>
|
||||||
<text>流水分析</text>
|
<text>流水分析</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="lisy_val" @click="btnpage(2)">
|
<view class="lisy_val" @click="btnpage(2)">
|
||||||
<image src="https://api.ccttiot.com/smartmeter/img/static/uYGHmiJ5O7hHLsiiUJAC" mode=""></image>
|
<image src="https://api.ccttiot.com/smartmeter/img/static/uYGHmiJ5O7hHLsiiUJAC" mode=""></image>
|
||||||
<text>门店流水</text>
|
<text>门店流水</text>
|
||||||
</view> -->
|
</view>
|
||||||
<view class="lisy_val" @click="btnpage(3)">
|
<view class="lisy_val" @click="btnpage(3)">
|
||||||
<image src="https://api.ccttiot.com/smartmeter/img/static/uquhtDd1oxIqYdAGF44t" mode=""></image>
|
<image src="https://api.ccttiot.com/smartmeter/img/static/uquhtDd1oxIqYdAGF44t" mode=""></image>
|
||||||
<text>门店收益</text>
|
<text>门店收益</text>
|
||||||
|
@ -74,19 +74,19 @@
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
// justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 54rpx 78rpx;
|
padding: 54rpx 78rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
.lisy_val{
|
.lisy_val{
|
||||||
width: 40%;
|
width: 40%;
|
||||||
// text-align: center;
|
text-align: center;
|
||||||
// margin-right: 60rpx;
|
margin-right: 80rpx;
|
||||||
image{
|
image{
|
||||||
width: 48rpx;
|
width: 48rpx;
|
||||||
height: 48rpx;
|
height: 48rpx;
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: 24rpx;
|
margin-left: 35rpx;
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,14 +45,8 @@
|
||||||
<view class="price">996</view>
|
<view class="price">996</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 弹窗 -->
|
<!-- 弹窗 -->
|
||||||
<view class="tanc" v-if="vipflag">
|
<view class="tanc" v-if="vipflag">
|
||||||
<view class="tit">{{textje}}</view>
|
<view class="tit">{{textje}}</view>
|
||||||
|
@ -81,18 +75,39 @@
|
||||||
second: false
|
second: false
|
||||||
},
|
},
|
||||||
show: false,
|
show: false,
|
||||||
selector: '2024-4-9',
|
selector: '',
|
||||||
selectors: '2024-4-9',
|
selectors: '',
|
||||||
num: '',
|
num: '',
|
||||||
vipflag: false,
|
vipflag: false,
|
||||||
textje: '请输入起始金额',
|
textje: '请输入起始金额',
|
||||||
qishiprice: '起始金额',
|
qishiprice: '起始金额',
|
||||||
jieshuprice: '结束金额',
|
jieshuprice: '结束金额',
|
||||||
jesum: 0,
|
jesum: '',
|
||||||
jeflag: ''
|
jeflag: '',
|
||||||
|
listarr:[]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onLoad() {
|
||||||
|
let today = new Date()
|
||||||
|
this.selector = this.formatDate(today)
|
||||||
|
this.selectors = this.formatDate(today)
|
||||||
|
this.getlist()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getlist(){
|
||||||
|
this.$u.get('/agent/report/agent/storeRank?orderByColumn=' + 'income' + '&isAsc=' + 'desc' + '&startDate='+this.selector + '&endDate=' + this.selectors).then(res => {
|
||||||
|
if(res.code == 200){
|
||||||
|
this.listarr = res.data
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
formatDate(date) {
|
||||||
|
let year = date.getFullYear();
|
||||||
|
let month = String(date.getMonth() + 1).padStart(2, '0');
|
||||||
|
let day = String(date.getDate()).padStart(2, '0');
|
||||||
|
return `${year}-${month}-${day}`;
|
||||||
|
},
|
||||||
btnks(num) {
|
btnks(num) {
|
||||||
this.show = true
|
this.show = true
|
||||||
if (num == 1) {
|
if (num == 1) {
|
||||||
|
|
|
@ -362,7 +362,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const totalLength = chineseLength + englishLength * 2;
|
const totalLength = chineseLength + englishLength * 2;
|
||||||
return -totalLength * 6.5
|
return -totalLength * 7
|
||||||
},
|
},
|
||||||
|
|
||||||
btnzujie() {
|
btnzujie() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user