From fffe09711cbad822e117038bad61cf4e840448ce Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期一, 12 十一月 2018 09:47:04 +0800 Subject: [PATCH] 添加单位 --- gx_tieta/WebRoot/charge-test.jsp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gx_tieta/WebRoot/charge-test.jsp b/gx_tieta/WebRoot/charge-test.jsp index 91dca38..166b111 100644 --- a/gx_tieta/WebRoot/charge-test.jsp +++ b/gx_tieta/WebRoot/charge-test.jsp @@ -1317,7 +1317,7 @@ var min = getMinFromArr(batt_test_voldata); var new_Monnum_list = getArrByStatus(Monnum_list); var new_batt_test_voldata = getArrByStatus(batt_test_voldata); - CreateLineEchart('myLineChart',oRBottom,new_Monnum_list,TestTime,new_batt_test_voldata,max,min,thrname); //鐢熸垚鍙充笅鎶樼嚎鍥� + CreateLineEchart('myLineChart',oRBottom,new_Monnum_list,TestTime,new_batt_test_voldata,max,min,thrname, 'V'); //鐢熸垚鍙充笅鎶樼嚎鍥� var opt = myLineChart.getOption(); //console.info(opt.title); opt.title[0].text = '鍗曚綋鐢靛帇鎶樼嚎鍥�'; @@ -1332,7 +1332,7 @@ var min = getMinFromArr(batt_test_tmpdata); var new_Monnum_list = getArrByStatus(Monnum_list); var new_batt_test_tmpdata = getArrByStatus(batt_test_tmpdata); - CreateLineEchart('myLineChart',oRBottom,new_Monnum_list,TestTime,new_batt_test_tmpdata,max,min,thrname); //鐢熸垚鍙充笅鎶樼嚎鍥� + CreateLineEchart('myLineChart',oRBottom,new_Monnum_list,TestTime,new_batt_test_tmpdata,max,min,thrname, '鈩�'); //鐢熸垚鍙充笅鎶樼嚎鍥� var opt = myLineChart.getOption(); //console.info(opt.title); opt.title[0].text = '鍗曚綋娓╁害鎶樼嚎鍥�'; @@ -2298,11 +2298,11 @@ if(line_status == 0) { // 鐢熸垚鍗曚綋鐢靛帇鎶樼嚎鍥� max = getMaxFromArr(batt_test_voldata); min = getMinFromArr(batt_test_voldata); - CreateLineEchart('myLineChart',oRBottom,Monnum_list,TestTime,batt_test_voldata,max,min,thrname); //鐢熸垚鍙充笅鎶樼嚎鍥� + CreateLineEchart('myLineChart',oRBottom,Monnum_list,TestTime,batt_test_voldata,max,min,thrname, 'V'); //鐢熸垚鍙充笅鎶樼嚎鍥� }else { // 鐢熸垚鍗曚綋 max = getMaxFromArr(batt_test_tmpdata); min = getMinFromArr(batt_test_tmpdata); - CreateLineEchart('myLineChart',oRBottom,Monnum_list,TestTime,batt_test_tmpdata,max+20,0,thrname); //鐢熸垚鍙充笅鎶樼嚎鍥� + CreateLineEchart('myLineChart',oRBottom,Monnum_list,TestTime,batt_test_tmpdata,max+20,0,thrname, '鈩�'); //鐢熸垚鍙充笅鎶樼嚎鍥� var opt = myLineChart.getOption(); //console.info(opt.title); opt.title[0].text = '鍗曚綋娓╁害鎶樼嚎鍥�'; @@ -3313,7 +3313,7 @@ // 鑾峰彇鍏ㄩ儴鍗曚綋鐢靛帇鏁版嵁鐨勬渶鍊� var lineMax = getMaxFromArr(new_batt_test_voldata); var lineMin = getMinFromArr(new_batt_test_voldata); - CreateLineEchart('myLineChart',oRBottom,new_Monnum_list,TestTime,new_batt_test_voldata,lineMax,lineMin,thrname); //鐢熸垚鍙充笅鎶樼嚎鍥� + CreateLineEchart('myLineChart',oRBottom,new_Monnum_list,TestTime,new_batt_test_voldata,lineMax,lineMin,thrname, 'V'); //鐢熸垚鍙充笅鎶樼嚎鍥� $('#lineStatus').val('0'); //console.info(Monvol_list); };break; @@ -3325,7 +3325,7 @@ // 鏇存柊鍙充笅鏂圭殑鎶樼嚎鍥句负鍗曚綋娓╁害鎶樼嚎鍥� var new_Monnum_list = getArrByStatus(Monnum_list); var new_batt_test_tmpdata = getArrByStatus(batt_test_tmpdata); - CreateLineEchart('myLineChart',oRBottom,new_Monnum_list,TestTime,new_batt_test_tmpdata,max+10,0,thrname); //鐢熸垚鍙充笅鎶樼嚎鍥� + CreateLineEchart('myLineChart',oRBottom,new_Monnum_list,TestTime,new_batt_test_tmpdata,max+10,0,thrname, '鈩�'); //鐢熸垚鍙充笅鎶樼嚎鍥� var opt = myLineChart.getOption(); //console.info(opt.title); opt.title[0].text = '鍗曚綋娓╁害鎶樼嚎鍥�'; -- Gitblit v1.9.1