Index: ssts-web/src/main/webapp/disinfectsystem/washanddisinfectmanager/washanddisinfectrecord/washDataLineChart.jsp
===================================================================
diff -u -r29513 -r33643
--- ssts-web/src/main/webapp/disinfectsystem/washanddisinfectmanager/washanddisinfectrecord/washDataLineChart.jsp (.../washDataLineChart.jsp) (revision 29513)
+++ ssts-web/src/main/webapp/disinfectsystem/washanddisinfectmanager/washanddisinfectrecord/washDataLineChart.jsp (.../washDataLineChart.jsp) (revision 33643)
@@ -7,8 +7,8 @@
清洗机温度曲线图
-
+
@@ -37,6 +37,17 @@
font-size : 16px;
color : red;
}
+ #div2 {
+ width:280px;
+ height:400px;
+ overflow: auto;
+ text-align: left;
+ padding-left: 20px;
+ font-size: 14px;
+ }
+ #div2 table {
+ width:260px;
+ }
@@ -91,14 +102,47 @@
}
)
);
- }
-);
+
+ $.ajax({
+ url : '${pageContext.request.contextPath}/disinfectSystem/washData/washDataLineChartAction!createPhaseTempChart.do?washAndDisinfectRecordId=${param.washAndDisinfectRecordId}'+'&time='+new Date().getTime(),
+ success : function(result){
+ var res = JSON.parse(result);
+ var html = '';
+ if(res.success){
+ html += '监控温度(摄氏度)
';
+ html += '';
+ html += '';
+ html += ' | 摄氏度 | ';
+ html += '
';
+ for(var i=0;i';
+ html += ''+res.data[i].phase+' | ';
+ html += '';
+ }else {
+ html += '';
+ html += ''+res.data[i].time+' | '+res.data[i].t1Temp+' | ';
+ html += '
';
+ }
+ }
+ html += '
';
+ document.getElementById("div2").innerHTML = html;
+ }
+ }
+ });
+});