更新0808

This commit is contained in:
xyc 2025-08-08 13:46:05 +08:00
parent abc0d069e7
commit 7eb4c3e635
5 changed files with 638 additions and 627 deletions

View File

@ -197,6 +197,27 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{
"path": "pages/statistics/staffStatistics",
"style": {
"navigationBarTitleText": "员工统计",
"navigationStyle": "custom"
}
},
{
"path": "pages/statistics/staffStatistics/index",
"style": {
"navigationBarTitleText": "员工统计",
"navigationStyle": "custom"
}
},
{
"path": "pages/statistics/staffStatisticsDetail/index",
"style": {
"navigationBarTitleText": "员工统计详情",
"navigationStyle": "custom"
}
},
{ {
"path": "pages/statistics/statistics", "path": "pages/statistics/statistics",
"style": { "style": {

View File

@ -2,8 +2,8 @@
<view class="content"> <view class="content">
<view class="top"> <view class="top">
<view class="dalan">你好</view> <!-- <view class="dalan">你好</view>
<view class="dalan">欢迎来到驭车无忧</view> <view class="dalan">欢迎来到驭车无忧</view> -->
</view> </view>
</view> </view>
@ -314,14 +314,19 @@
.top { .top {
box-sizing: border-box; box-sizing: border-box;
padding: 0px 27px; padding: 0 27px;
padding-top: 100px; padding-top: 100px;
// background-color:lightseagreen; background-image: url('/static/imgs/start.png');
background-image: url('../../static/detection/newLoginBj.png');
background-size: cover; background-size: cover;
// background-position: center; background-position: center;
/* 确保图片居中显示 */
background-repeat: no-repeat;
/* 防止图片重复 */
width: 100%; width: 100%;
height: calc(100vh); height: 100vh;
/* 使用 100vh 确保全屏 */
min-height: 100vh;
/* 防止内容不足时背景图不完整 */
} }
.touxiang { .touxiang {

File diff suppressed because it is too large Load Diff

View File

@ -105,7 +105,11 @@
<view class="">业务统计</view> <view class="">业务统计</view>
</view> </view>
<view class="jg_ys" @click="goemployees()"> <!-- <view class="jg_ys" @click="goemployees()">
<image src="/static/imgs/newStaffCount.png" mode=""></image>
<view class="">员工统计</view>
</view> -->
<view class="jg_ys" @click="goemnewployees()">
<image src="/static/imgs/newStaffCount.png" mode=""></image> <image src="/static/imgs/newStaffCount.png" mode=""></image>
<view class="">员工统计</view> <view class="">员工统计</view>
</view> </view>
@ -617,6 +621,12 @@
}) })
this.clearMyInterval() this.clearMyInterval()
}, },
goemnewployees() {
uni.navigateTo({
url: '/pages/statistics/staffStatistics/index'
})
this.clearMyInterval()
},
goneworderStatistic() { goneworderStatistic() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/index/orderStatistics' url: '/pages/index/orderStatistics'

View File

@ -11,6 +11,9 @@
清除时间 清除时间
<u-icon name="close-circle" size="24" color="#327DFB" style="margin-left: 10rpx"></u-icon> <u-icon name="close-circle" size="24" color="#327DFB" style="margin-left: 10rpx"></u-icon>
</view> </view>
<view class="" style="display:flex;" @click="cleanSelectTime">
筛选总数量 - {{total}}
</view>
</view> </view>
<view class="container" v-if="tableData"> <view class="container" v-if="tableData">
@ -382,7 +385,8 @@
isTriggered: false, isTriggered: false,
goodsName: null, goodsName: null,
windowsHeight: 600, windowsHeight: 600,
scrollHeight: 0 scrollHeight: 0,
total: 0
} }
}, },
onReachBottom() { // onReachBottom() { //
@ -446,6 +450,7 @@
this.tableData = this.groupByDate(this.tableData) this.tableData = this.groupByDate(this.tableData)
} }
} }
this.total = res.data.total
this.loading = false; // this.loading = false; //
this.isTriggered = false this.isTriggered = false
}).catch(err => { }).catch(err => {