This commit is contained in:
许允枞 2025-03-01 17:06:02 +08:00
parent 1d17b0188e
commit f64b0e96f6
10 changed files with 66 additions and 7 deletions

View File

@ -29,7 +29,6 @@
></u-icon>
</view>
<!-- 列表区域 -->
<view class="list_">
<view class="list_title">
@ -41,7 +40,10 @@
</view>
<view class="list_box" v-for="(item, index) in List" :key="index">
<view class="list_box_top">
<view class="pm_">{{ index + 1 }}</view>
<view class="pm_" v-if="index != 0 && index != 2 && index != 1">{{ index + 1 }}</view>
<view class="pm_ one" v-if="index == 0" >{{ index + 1 }}</view>
<view class="pm_ two" v-if="index == 1">{{ index + 1 }}</view>
<view class="pm_ three" v-if="index == 2">{{ index + 1 }}</view>
<view class="list_ds">
<view class="tx_">
<image
@ -280,4 +282,24 @@ export default {
color: #fff;
font-size: 28rpx;
}
.one {
background: url(../../static/imgs/oneStaff.png);
width: 55rpx;
/* height: 156px; */
background-repeat: no-repeat;
background-size: cover;
}
.two {
background: url(../../static/imgs/twoStaff.png);
width: 55rpx;
/* height: 156px; */
background-repeat: no-repeat;
background-size: cover;
}
.three {
background: url(../../static/imgs/threeStaff.png);
width: 55rpx;
background-repeat: no-repeat;
background-size: cover;
}
</style>

View File

@ -97,11 +97,11 @@
</view>
<view class="jg_bt" style="" v-if="show">
<view class="jg_ys1" @click="goemployees()">
<image src="/static/imgs/jg6.png" mode=""></image>
<image src="/static/imgs/staffcounnt.png" mode=""></image>
<view class="">员工统计</view>
</view>
<view class="jg_ys1" @click="goneworderStatistic()">
<image src="/static/imgs/jg7.png" mode=""></image>
<image src="/static/imgs/dayorder.png" mode=""></image>
<view class="">当日订单统计</view>
</view>
<view class="jg_ys1" style="width: 180rpx;">

View File

@ -224,7 +224,7 @@ export default {
}).then(res => {
if (res.code === 200) {
uni.showToast({
title: '操作成功',
title: '提交成功',
icon: 'none',
duration: 2000
});

View File

@ -111,6 +111,11 @@
<qiun-data-charts type="area" :opts="opts2" :chartData="chartData1"/>
</view>
<view class="title_">已收款金额</view>
<view class="lan-you">
<view class="yi" :class="{'er' : qhindex2 == index}" v-for="(item,index) in zilist" :key="index"
@click="gbindex2(index,item.unit)"> {{ item.text }}
</view>
</view>
<view class="box_">
<qiun-data-charts type="line" :opts="opts1" :chartData="chartData2"/>
</view>
@ -139,6 +144,14 @@ export default {
unit: 'week',
unit1: 'week',
unit2: 'week',
qhindex2: 0,
zilist: [
{text: '日', unit: 'day'},
{text: '周', unit: 'week'},
{text: '月', unit: 'month'},
{text: '年', unit: 'year'},
],
titles: "业务统计",
value1: Number(new Date()),
@ -471,8 +484,8 @@ export default {
},
gbindex2(index, unit) {
this.qhindex2 = index
this.unit2 = unit
this.getServerData3()
this.unit = unit
this.getServerData1()
},
getback() {
uni.navigateBack()
@ -810,4 +823,28 @@ export default {
width: 100%;
height: 452rpx;
}
.yi {
font-size: 15px;
font-weight: 400;
color: #666666;
line-height: 15px;
margin-right: 15px;
}
.er {
width: 25px;
height: 25px;
background: #1890FF;
border-radius: 3px;
display: flex;
align-items: center;
justify-content: center;
color: white !important;
}
.lan-you {
display: flex;
align-items: center;
}
</style>

BIN
static/imgs/dayorder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
static/imgs/newHome.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

BIN
static/imgs/oneStaff.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
static/imgs/staffcounnt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
static/imgs/threeStaff.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
static/imgs/twoStaff.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB