This commit is contained in:
xvv 2024-07-04 09:47:52 +08:00
parent 98f063b9d1
commit 1e4b125198
5 changed files with 70 additions and 67 deletions

View File

@ -31,21 +31,22 @@
<div class="xse">总销售额()</div>
</div>
<template v-loading="employeLoading" >
<div class="four-boxx" :class="{'four-act':index%2!=0}" v-for="(item,index) in employeList" :key="index" >
<div class="pm">{{index+1}}</div>
<div class="dis">
<div class="touxiang">
<img src="../../../src/assets/images/avatar.png" class="touxiang">
<div class="box-kuang">
<div class="four-boxx" :class="{'four-act':index%2!=0}" v-for="(item,index) in employeList" :key="index" >
<div class="pm">{{index+1}}</div>
<div class="dis">
<div class="touxiang">
<img src="../../../src/assets/images/avatar.png" class="touxiang">
</div>
<div class="name">{{item.realName}}</div>
</div>
<div class="xs">{{item.cardSum}}</div>
<div class="xs">{{item.fuelSum}}</div>
<div class="xs">{{item.oilSum}}</div>
<div class="xse">{{item.totalSum}}</div>
</div>
<div class="name">{{item.realName}}</div>
</div>
<div class="xs">{{item.cardSum}}</div>
<div class="xs">{{item.fuelSum}}</div>
<div class="xs">{{item.oilSum}}</div>
<div class="xse">{{item.totalSum}}</div>
</div>
</template>
</div>
</div>
</template>
@ -319,4 +320,9 @@ export default {
width: 30%;
text-align: center;
}
.box-kuang{
width: 100%;
height: 345px;
overflow: auto;
}
</style>

View File

@ -102,68 +102,54 @@
</el-card>
<el-card style="margin-top: 20px">
<div>统计</div>
<!-- <div>统计</div>-->
<template>
<div>
<el-row :gutter="20">
<el-col :span="4">
<div class="sta">
<el-statistic
group-separator=","
:value="total"
title="会员总数"
></el-statistic>
</div>
</el-col>
<el-col :span="4">
<div class="sta">
<el-statistic title="今日新增/昨日新增">
<template slot="formatter">
{{ addNum }}/{{ yesterdayAddNum }}
</template>
</el-statistic>
</div>
</el-col>
<el-col :span="4">
<div class="sta">
<el-statistic
group-separator=","
:precision="2"
:value="balance"
title="储值总余额"
></el-statistic>
</div>
</el-col>
<div class="ds-dbox">
<div class="k-one">
<div class="title_">激活会员总数</div>
<div class="num-size">{{total}}</div>
</div>
<!-- <el-row :gutter="20">-->
<!-- <el-col :span="4">-->
<!-- <div class="sta">-->
<!-- <el-statistic-->
<!-- group-separator=","-->
<!-- :value="total"-->
<!-- title="会员总数"-->
<!-- ></el-statistic>-->
<!-- </div>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <div class="sta">-->
<!-- <el-statistic title="今日新增/昨日新增">-->
<!-- <template slot="formatter">-->
<!-- {{ addNum }}/{{ yesterdayAddNum }}-->
<!-- </template>-->
<!-- </el-statistic>-->
<!-- </div>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <div class="sta">-->
<!-- <el-statistic-->
<!-- group-separator=","-->
<!-- :precision="2"-->
<!-- :value="literCard"-->
<!-- title="升数卡总余额"-->
<!-- :value="balance"-->
<!-- title="储值总余额"-->
<!-- ></el-statistic>-->
<!-- </div>-->
<!-- </el-col>-->
<el-col :span="4">
<div class="sta">
<el-statistic
group-separator=","
:value="point"
title="积分总余额"
></el-statistic>
</div>
</el-col>
<!-- <el-col :span="4">-->
<!-- <div class="sta">-->
<!-- <el-statistic-->
<!-- group-separator=","-->
<!-- :precision="2"-->
<!-- :value="refuelMoney"-->
<!-- title="加油金余额"-->
<!-- :value="point"-->
<!-- title="积分总余额"-->
<!-- ></el-statistic>-->
<!-- </div>-->
<!-- </el-col>-->
</el-row>
<!-- </el-row>-->
</div>
</template>
</el-card>
@ -856,4 +842,18 @@ export default {
color: red;
font-size: 18px;
}
.ds-dbox{
display: flex;
align-items: center;
box-sizing: border-box;
padding: 20px;
}
.k-one{
width: 20%;
border-radius: 10px;
border: 1px solid #F5DF1A;
background: rgba(252,238,109,0.1);
box-sizing: border-box;
padding: 20px;
}
</style>

View File

@ -11,9 +11,8 @@ VUE_APP_BASE_API = '/dev-api'
VUE_APP_PUBLIC_PATH = '/'
# 后端接口地址
#VUE_APP_SERVER_URL = 'http://192.168.31.96:8080/'
#VUE_APP_SERVER_URL = 'http://192.168.31.178:8081'
VUE_APP_SERVER_URL = 'http://192.168.31.54:8085/'
VUE_APP_SERVER_URL = 'http://192.168.31.72:8081/'
# cp端地址
# VUE_PC_SERVER_URL = 'http://47.95.206.185:85/'
# VUE_PC_SERVER_URL = 'http://192.168.31.72:8081/'

View File

@ -2036,9 +2036,6 @@ export default {
},
//
/** 重置密码按钮操作 */
handleResetPwd(row) {

View File

@ -1,7 +1,8 @@
# \u57FA\u672C\u914D\u7F6E
server.port=8080
server.port=8081
env.profile=dev
env.properties.path=D:/workspaces/oilSystem/fuintBackend/configure/
env.properties.path=D:/oil/new-oil/oilSystem/fuintBackend/configure/
#env.properties.path=D:/code/oilSystem/fuintBackend/configure/
#env.properties.path=/www/wwwroot/shenlanshuke/oilAdmin/