Commit 97ed2825 by 孙香冬

no message

parent 38a33cb6
...@@ -7,4 +7,5 @@ ...@@ -7,4 +7,5 @@
/video /video
*test* *test*
*.log *.log
*.xml
dist/嘉定汽车城用户手册.docx dist/嘉定汽车城用户手册.docx
...@@ -225,7 +225,6 @@ export async function carInfo(req, res) { ...@@ -225,7 +225,6 @@ export async function carInfo(req, res) {
let isNull = false let isNull = false
let 监控视频列表 = []; let 监控视频列表 = [];
if (testVideoData && videoPictureData) { if (testVideoData && videoPictureData) {
let map = {}; let map = {};
videoPictureData.vehiclePhotoList.forEach(info => { videoPictureData.vehiclePhotoList.forEach(info => {
let { photo, photoChannel } = info; let { photo, photoChannel } = info;
...@@ -252,7 +251,3 @@ export async function carInfo(req, res) { ...@@ -252,7 +251,3 @@ export async function carInfo(req, res) {
res.send(ret); res.send(ret);
} }
\ No newline at end of file
function isNull() {
}
\ No newline at end of file
...@@ -91,22 +91,20 @@ export async function getQytlzdjs() { ...@@ -91,22 +91,20 @@ export async function getQytlzdjs() {
let 企业名称data = []; let 企业名称data = [];
let 次数data = []; let 次数data = [];
let 里程data = [];
let 比率data = []; let 比率data = [];
let enterpriseExitListTop10 = enterpriseExitList.slice(0, 10); let enterpriseExitListTop10 = enterpriseExitList.slice(0, 10);
enterpriseExitListTop10.forEach( info => { enterpriseExitListTop10.forEach( info => {
let {autoMileage, enterpriseName, exitCount, ratio} = info; let {autoMileage, enterpriseName, exitCount, ratio} = info;
企业名称data.push(enterpriseName); 企业名称data.push(enterpriseName);
次数data.push(exitCount + "次"); 次数data.push(ratio + "次/公里");
里程data.push(autoMileage + "公里");
比率data.push(ratio + "%") 比率data.push(ratio + "%")
}); });
let 企业测试自动驾驶比率 = [ let 企业测试自动驾驶比率 = [
{key:"企业名称", values: 企业名称data}, {key:"企业名称", values: 企业名称data},
{key:"次数", values: 次数data}, {key:"次/公里", values: 次数data},
{key:"里程", values: 里程data},
{key:"比率", values: 比率data}, {key:"比率", values: 比率data},
]; ];
......
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