Pre Merge pull request !45 from Ken.xu/master

pull/45/MERGE
Ken.xu 5 years ago committed by Gitee
commit ca679da01d

3
.gitignore vendored

@ -40,4 +40,5 @@ nbdist/
!*/build/*.java
!*/build/*.html
!*/build/*.xml
!*/build/*.xml
/logs/

@ -8,7 +8,7 @@
filterable
default-first-option
remote
placeholder="Search"
placeholder="搜索菜单功能"
class="header-search-select"
@change="change"
>

@ -9,7 +9,7 @@
<div class="card-panel-text">
访客
</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>
</el-col>
@ -22,7 +22,7 @@
<div class="card-panel-text">
消息
</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>
</el-col>
@ -35,7 +35,7 @@
<div class="card-panel-text">
金额
</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>
</el-col>
@ -48,7 +48,7 @@
<div class="card-panel-text">
订单
</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>
</el-col>
@ -59,6 +59,19 @@
import CountTo from 'vue-count-to'
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: {
CountTo
},

@ -84,6 +84,7 @@
<li>Sentinel</li>
<li>Seata</li>
<li>Minio</li>
<li>FastDFS</li>
<li>...</li>
</ul>
</el-col>
@ -408,7 +409,7 @@
<li>slidebar eslint报错优化</li>
<li>当tags-view滚动关闭右键菜单</li>
<li>支持一级菜单和主页同级在main区域显示</li>
<li>限制外链地址必须以http(s)😕/开头</li>
<li>限制外链地址必须以http(s)<EFBFBD>/开头</li>
<li>tagview & sidebar 主题颜色与element ui(全局)同步</li>
<li>
修复dict_sort不可update为0的问题&查询返回增加dict_sort升序排序

@ -1,7 +1,7 @@
<template>
<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;">
<line-chart :chart-data="lineChartData" />

@ -616,7 +616,7 @@ create table sys_notice (
notice_id int(4) not null auto_increment comment '公告ID',
notice_title varchar(50) not null comment '公告标题',
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关闭',
create_by varchar(64) default '' comment '创建者',
create_time datetime comment '创建时间',

Loading…
Cancel
Save