diff --git a/src/app/ui/eharts-statistics/eharts-statistics.component.html b/src/app/ui/eharts-statistics/eharts-statistics.component.html
index cd93988..32e74be 100644
--- a/src/app/ui/eharts-statistics/eharts-statistics.component.html
+++ b/src/app/ui/eharts-statistics/eharts-statistics.component.html
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/app/ui/eharts-statistics/eharts-statistics.component.ts b/src/app/ui/eharts-statistics/eharts-statistics.component.ts
index f740a2b..cb805ff 100644
--- a/src/app/ui/eharts-statistics/eharts-statistics.component.ts
+++ b/src/app/ui/eharts-statistics/eharts-statistics.component.ts
@@ -74,6 +74,16 @@ export class EhartsStatisticsComponent implements OnInit {
})
}
+ //查询全部详情
+ queryAll () {
+ this.router.navigate(['/home/learningrecorddetails'],{queryParams:{'Catalog': '','id':this.idCard}});
+ }
+
+ //返回上一页
+ goBack () {
+ history.go(-1)
+ }
+
//处理时间 传入 new Date()格式
getTime(date){
let year = date.getFullYear(); //年
@@ -199,7 +209,7 @@ export class EhartsStatisticsComponent implements OnInit {
//柱状图点击事件
chartHynyxf.on('click', function(e) {
- that.router.navigate(['/home/learningrecorddetails'],{queryParams:{'Catalog':catalogs[e.dataIndex],'id':that.idCard}});
+ that.router.navigate(['/home/learningrecorddetails'],{queryParams:{'Catalog':catalogs[e.dataIndex],'id':that.idCard,'PostName':e.name}});
});
}