1,首页BI

2,仓位图修改
master
erzhongxmu 2020-12-17 07:49:37 +08:00
parent cdc574ff92
commit 41e3ab5ab8
2 changed files with 8 additions and 3 deletions

View File

@ -180,8 +180,13 @@ public class BiController extends BaseController {
for (Map<String,Object> object : maplist) {
map = new HashMap<String, Object>();
Map<String,Object> obj = object;
map.put("name", obj.get("create_date").toString());
map.put("y", (int) Double.parseDouble(obj.get("amount").toString()));
try{
map.put("name", obj.get("create_date").toString());
map.put("y", (int) Double.parseDouble(obj.get("amount").toString()));
}catch (Exception e){
}
Double groupCount = 0.00;
try{
groupCount = Double.parseDouble(obj.get("amount").toString());

View File

@ -160,7 +160,7 @@
// console.log(width)
for (let i = 1; i < list.length; i++) {
messageContent += " <a class='all' href='javascript:void(0);' style='background:" +list[i].colour+"' onclick='javascript:addtab(\"" + list[i].des + "\")';return false;'>";
messageContent += [i] + " </a> ";
messageContent += list[i].binid+ " </a> ";
// tincount = list[i].tincount + 0;
// if (tincount > 0) {
// messageContent += " <a class='a01 all' href='javascript:void(0);' onclick='javascript:addtab(\"" + list[i].des + "\")';return false;'>";