Commit 7c5c18c9 by lixinming

no message

parent 3558d5ce
...@@ -85,7 +85,7 @@ export function getData(req, res) { ...@@ -85,7 +85,7 @@ export function getData(req, res) {
ret["api22"] = { title:"图片", data:{ ret["api22"] = { title:"图片", data:{
"img1":"img/qyrh1.png", "img1":"img/qyrh1.png",
"img2":"img/qyrh2.png" "img2":"img/qyrh2.gif"
} }; } };
ret["api23"] = getListData("检修计划",excelData.调度日志_检修计划, ["序号","区域","工作内容","日期"],{"序号":"number","区域":"area","工作内容":"info","日期":"time"}); ret["api23"] = getListData("检修计划",excelData.调度日志_检修计划, ["序号","区域","工作内容","日期"],{"序号":"number","区域":"area","工作内容":"info","日期":"time"});
......
...@@ -133,6 +133,7 @@ export function getKeyValue(title, dataMap, unit, total, percent ) { ...@@ -133,6 +133,7 @@ export function getKeyValue(title, dataMap, unit, total, percent ) {
count += value; count += value;
if (total) data.total += value; if (total) data.total += value;
} }
data.total = parseInt(`${data.total}`)
for (let key in dataMap) { for (let key in dataMap) {
let thisUnit = ""; let thisUnit = "";
if (unit) { if (unit) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment