Pre Merge pull request !45 from Ken.xu/master
This commit is contained in:
commit
ca679da01d
|
|
@ -40,4 +40,5 @@ nbdist/
|
||||||
|
|
||||||
!*/build/*.java
|
!*/build/*.java
|
||||||
!*/build/*.html
|
!*/build/*.html
|
||||||
!*/build/*.xml
|
!*/build/*.xml
|
||||||
|
/logs/
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
filterable
|
filterable
|
||||||
default-first-option
|
default-first-option
|
||||||
remote
|
remote
|
||||||
placeholder="Search"
|
placeholder="搜索菜单功能"
|
||||||
class="header-search-select"
|
class="header-search-select"
|
||||||
@change="change"
|
@change="change"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<div class="card-panel-text">
|
<div class="card-panel-text">
|
||||||
访客
|
访客
|
||||||
</div>
|
</div>
|
||||||
<count-to :start-val="0" :end-val="102400" :duration="2600" class="card-panel-num" />
|
<count-to :start-val="0" :end-val="maxNum.peoples" :duration="2600" class="card-panel-num" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<div class="card-panel-text">
|
<div class="card-panel-text">
|
||||||
消息
|
消息
|
||||||
</div>
|
</div>
|
||||||
<count-to :start-val="0" :end-val="81212" :duration="3000" class="card-panel-num" />
|
<count-to :start-val="0" :end-val="maxNum.message" :duration="3000" class="card-panel-num" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
<div class="card-panel-text">
|
<div class="card-panel-text">
|
||||||
金额
|
金额
|
||||||
</div>
|
</div>
|
||||||
<count-to :start-val="0" :end-val="9280" :duration="3200" class="card-panel-num" />
|
<count-to :start-val="0" :end-val="maxNum.money" :duration="3200" class="card-panel-num" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
<div class="card-panel-text">
|
<div class="card-panel-text">
|
||||||
订单
|
订单
|
||||||
</div>
|
</div>
|
||||||
<count-to :start-val="0" :end-val="13600" :duration="3600" class="card-panel-num" />
|
<count-to :start-val="0" :end-val="maxNum.shopping" :duration="3600" class="card-panel-num" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -59,6 +59,19 @@
|
||||||
import CountTo from 'vue-count-to'
|
import CountTo from 'vue-count-to'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
props: ['peoples', 'message', 'money', 'shopping'],
|
||||||
|
data() {
|
||||||
|
let obj = {
|
||||||
|
maxNum : {
|
||||||
|
peoples : this.peoples==undefined? 0 : this.peoples,// 把传过来的值赋值给新的变量
|
||||||
|
message : this.message==undefined? 0 : this.message,// 把传过来的值赋值给新的变量
|
||||||
|
money : this.money==undefined? 0 : this.money,// 把传过来的值赋值给新的变量
|
||||||
|
shopping : this.shopping==undefined? 0 : this.shopping // 把传过来的值赋值给新的变量
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// console.log(obj.maxNum.peoples);
|
||||||
|
return obj;
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
CountTo
|
CountTo
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,7 @@
|
||||||
<li>Sentinel</li>
|
<li>Sentinel</li>
|
||||||
<li>Seata</li>
|
<li>Seata</li>
|
||||||
<li>Minio</li>
|
<li>Minio</li>
|
||||||
|
<li>FastDFS</li>
|
||||||
<li>...</li>
|
<li>...</li>
|
||||||
</ul>
|
</ul>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
@ -408,7 +409,7 @@
|
||||||
<li>slidebar eslint报错优化</li>
|
<li>slidebar eslint报错优化</li>
|
||||||
<li>当tags-view滚动关闭右键菜单</li>
|
<li>当tags-view滚动关闭右键菜单</li>
|
||||||
<li>支持一级菜单(和主页同级)在main区域显示</li>
|
<li>支持一级菜单(和主页同级)在main区域显示</li>
|
||||||
<li>限制外链地址必须以http(s)😕/开头</li>
|
<li>限制外链地址必须以http(s)<EFBFBD>/开头</li>
|
||||||
<li>tagview & sidebar 主题颜色与element ui(全局)同步</li>
|
<li>tagview & sidebar 主题颜色与element ui(全局)同步</li>
|
||||||
<li>
|
<li>
|
||||||
修复dict_sort不可update为0的问题&查询返回增加dict_sort升序排序
|
修复dict_sort不可update为0的问题&查询返回增加dict_sort升序排序
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="dashboard-editor-container">
|
<div class="dashboard-editor-container">
|
||||||
|
|
||||||
<panel-group @handleSetLineChartData="handleSetLineChartData" />
|
<panel-group @handleSetLineChartData="handleSetLineChartData" :peoples="102401" :message="812123" :money="9281" :shopping="13601" />
|
||||||
|
|
||||||
<el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
|
<el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
|
||||||
<line-chart :chart-data="lineChartData" />
|
<line-chart :chart-data="lineChartData" />
|
||||||
|
|
|
||||||
|
|
@ -616,7 +616,7 @@ create table sys_notice (
|
||||||
notice_id int(4) not null auto_increment comment '公告ID',
|
notice_id int(4) not null auto_increment comment '公告ID',
|
||||||
notice_title varchar(50) not null comment '公告标题',
|
notice_title varchar(50) not null comment '公告标题',
|
||||||
notice_type char(1) not null comment '公告类型(1通知 2公告)',
|
notice_type char(1) not null comment '公告类型(1通知 2公告)',
|
||||||
notice_content longblob default null comment '公告内容',
|
notice_content longtext default null comment '公告内容',
|
||||||
status char(1) default '0' comment '公告状态(0正常 1关闭)',
|
status char(1) default '0' comment '公告状态(0正常 1关闭)',
|
||||||
create_by varchar(64) default '' comment '创建者',
|
create_by varchar(64) default '' comment '创建者',
|
||||||
create_time datetime comment '创建时间',
|
create_time datetime comment '创建时间',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue