|
开发中遇到这么个情况 自己从后台获得的Json数据
callback([{"id":"241","monthPolling":"1.5","dayPolling":"2.0","score":"90.0","month":"8月份","weekPolling":"2.5","monthEva":"98.0","year":"2016年","evaGrade":"A级","addPoints":"2.0","fault":"1.0"},{"id":"261","monthPolling":"1.0","dayPolling":"2.0","score":"91.0","month":"7月份","weekPolling":"2.0","monthEva":"99.0","year":"2016年","evaGrade":"B级","addPoints":"1.0","fault":"2.0"},{"id":"281","monthPolling":"3.0","dayPolling":"3.0","score":"98.0","month":"11月份","weekPolling":"4.0","monthEva":"99.0","year":"2015年","evaGrade":"C级","addPoints":"3.0","fault":"3.0"}])
然后想做成下面图片的形式
2016年
08 99分
07 98
2015年
11 92
这种数据形式,在List中该怎么做
|
|