更新
This commit is contained in:
parent
1d17b0188e
commit
f64b0e96f6
@ -29,7 +29,6 @@
|
|||||||
></u-icon>
|
></u-icon>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<!-- 列表区域 -->
|
<!-- 列表区域 -->
|
||||||
<view class="list_">
|
<view class="list_">
|
||||||
<view class="list_title">
|
<view class="list_title">
|
||||||
@ -41,7 +40,10 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="list_box" v-for="(item, index) in List" :key="index">
|
<view class="list_box" v-for="(item, index) in List" :key="index">
|
||||||
<view class="list_box_top">
|
<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="list_ds">
|
||||||
<view class="tx_">
|
<view class="tx_">
|
||||||
<image
|
<image
|
||||||
@ -280,4 +282,24 @@ export default {
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 28rpx;
|
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>
|
</style>
|
||||||
|
@ -97,11 +97,11 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="jg_bt" style="" v-if="show">
|
<view class="jg_bt" style="" v-if="show">
|
||||||
<view class="jg_ys1" @click="goemployees()">
|
<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 class="">员工统计</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="jg_ys1" @click="goneworderStatistic()">
|
<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 class="">当日订单统计</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="jg_ys1" style="width: 180rpx;">
|
<view class="jg_ys1" style="width: 180rpx;">
|
||||||
|
@ -224,7 +224,7 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '操作成功',
|
title: '提交成功',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 2000
|
duration: 2000
|
||||||
});
|
});
|
||||||
|
@ -111,6 +111,11 @@
|
|||||||
<qiun-data-charts type="area" :opts="opts2" :chartData="chartData1"/>
|
<qiun-data-charts type="area" :opts="opts2" :chartData="chartData1"/>
|
||||||
</view>
|
</view>
|
||||||
<view class="title_">已收款金额</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_">
|
<view class="box_">
|
||||||
<qiun-data-charts type="line" :opts="opts1" :chartData="chartData2"/>
|
<qiun-data-charts type="line" :opts="opts1" :chartData="chartData2"/>
|
||||||
</view>
|
</view>
|
||||||
@ -139,6 +144,14 @@ export default {
|
|||||||
unit: 'week',
|
unit: 'week',
|
||||||
unit1: 'week',
|
unit1: 'week',
|
||||||
unit2: 'week',
|
unit2: 'week',
|
||||||
|
qhindex2: 0,
|
||||||
|
zilist: [
|
||||||
|
{text: '日', unit: 'day'},
|
||||||
|
{text: '周', unit: 'week'},
|
||||||
|
{text: '月', unit: 'month'},
|
||||||
|
{text: '年', unit: 'year'},
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
titles: "业务统计",
|
titles: "业务统计",
|
||||||
value1: Number(new Date()),
|
value1: Number(new Date()),
|
||||||
@ -471,8 +484,8 @@ export default {
|
|||||||
},
|
},
|
||||||
gbindex2(index, unit) {
|
gbindex2(index, unit) {
|
||||||
this.qhindex2 = index
|
this.qhindex2 = index
|
||||||
this.unit2 = unit
|
this.unit = unit
|
||||||
this.getServerData3()
|
this.getServerData1()
|
||||||
},
|
},
|
||||||
getback() {
|
getback() {
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
@ -810,4 +823,28 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 452rpx;
|
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>
|
</style>
|
||||||
|
BIN
static/imgs/dayorder.png
Normal file
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
BIN
static/imgs/newHome.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 834 B |
BIN
static/imgs/oneStaff.png
Normal file
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
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
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
BIN
static/imgs/twoStaff.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
Loading…
Reference in New Issue
Block a user