File tree 3 files changed +17
-7
lines changed 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
2
- # project
2
+ # About
3
3
4
- 此项目是后台项目 [ node-elm] ( https://github.com/bailicangdu/node-elm ) 的后台管理系统 。
4
+ 此项目是 vue + element-ui 构建的后台管理系统,也是后台项目 [ node-elm] ( https://github.com/bailicangdu/node-elm ) 的管理系统,所有的数据都是从服务器实时获取的真实数据,具有真实的注册、登陆、管理数据、权限验证等功能 。
5
5
6
6
7
7
# 说明
8
8
9
- > vue + element-ui 构建的后台管理系统
10
-
11
9
> 如果对您对此项目有兴趣,可以点 "Star" 支持一下 谢谢! ^_ ^
12
10
13
11
> 或者您可以 "follow" 一下,我会不断开源更多的有趣的项目
@@ -60,7 +58,6 @@ npm run local (访问本地后台系统,需运行node-elm后台系统)
60
58
![ ] ( https://github.com/bailicangdu/node-elm/blob/master/ewm.png )
61
59
62
60
63
-
64
61
# 功能列表
65
62
66
63
- [x] 登陆/注销
Original file line number Diff line number Diff line change 49
49
type: ' value' ,
50
50
name: ' API请求量' ,
51
51
min: 0 ,
52
- max: 50000 ,
52
+ max: 100000 ,
53
53
position: ' left' ,
54
54
axisLine: {
55
55
lineStyle: {
Original file line number Diff line number Diff line change 12
12
</el-row >
13
13
<el-row :gutter =" 20" >
14
14
<el-col :span =" 5" ><div class =" data_list all_head" ><span class =" data_num head" >总数据:</span ></div ></el-col >
15
- <el-col :span =" 5" ><div class =" data_list" ><span class =" data_num" >{{allApiCount}}</span > API请求量</div ></el-col >
15
+ <el-col :span =" 5" >
16
+ <div class =" data_list" >
17
+ <span class =" data_num" >{{allApi}}<span class =" wan" v-if =" allApiCount > 10000" >万</span >
18
+ </span > API请求量
19
+ </div >
20
+ </el-col >
16
21
<el-col :span =" 4" ><div class =" data_list" ><span class =" data_num" >{{allUserCount}}</span > 注册用户</div ></el-col >
17
22
<el-col :span =" 4" ><div class =" data_list" ><span class =" data_num" >{{allOrderCount}}</span > 订单</div ></el-col >
18
23
<el-col :span =" 4" ><div class =" data_list" ><span class =" data_num" >{{allAdminCount}}</span > 管理员</div ></el-col >
54
59
}
55
60
this .getSevenData ();
56
61
},
62
+ computed: {
63
+ allApi : function (){
64
+ return this .allApiCount < 10000 ? this .allApiCount : (this .allApiCount / 10000 ).toFixed (2 )
65
+ }
66
+ },
57
67
methods: {
58
68
async initData (){
59
69
const today = dtime ().format (' YYYY-MM-DD' )
131
141
background : #20A0FF ;
132
142
}
133
143
}
144
+ .wan {
145
+ .sc (16px , #333 )
146
+ }
134
147
</style >
You can’t perform that action at this time.
0 commit comments