Index: ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizerRecord/lowTempForJohnsonSterilizerLineChart.jsp =================================================================== diff -u -r29740 -r30379 --- ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizerRecord/lowTempForJohnsonSterilizerLineChart.jsp (.../lowTempForJohnsonSterilizerLineChart.jsp) (revision 29740) +++ ssts-web/src/main/webapp/disinfectsystem/sterilizationmanager/sterilizerRecord/lowTempForJohnsonSterilizerLineChart.jsp (.../lowTempForJohnsonSterilizerLineChart.jsp) (revision 30379) @@ -24,31 +24,215 @@ var sterilizerName = '${param.sterilizerName}'; sterilizerName = decodeURI(sterilizerName); //灭菌状态:灭菌中 + var myChart; var statusBegin = '<%=SterilizationRecord.STERILIZATION_STATUS_BEGIN%>'; function getSterilizationRecord(){ + myChart = echarts.init(document.getElementById('sterilizerLineChart')); + var option; jQuery.ajax({ type:'post', - url:WWWROOT + '/disinfectSystem/sterilization/sterilizerRecordLineChartAction!selectLowTempForJohnsonSterilizerRecordData.do?sterilizationRecordId='+sterilizationRecordId, + url:WWWROOT + '/disinfectSystem/sterilization/sterilizerRecordLineChartAction!creatOneOfGetingeSterilizerRecordEChartData.do?sterilizationRecordId='+sterilizationRecordId, dataType:'json', success:function(result){ var success = result.success; var data = result.data; document.getElementById('cycleCounter').value = data.cycleCounter || ''; document.getElementById('sterilizationUser').value = data.sterilizationUser || ''; - document.getElementById('totalCycleCounter').value = data.totalCycleCounter || ''; document.getElementById('programName').value = data.programName || ''; document.getElementById('startDate').value = data.startDate || ''; - document.getElementById('Vacuum').value = data.Vacuum || ''; - document.getElementById('Injection1').value = data.Injection1 || ''; - document.getElementById('Diffusion1').value = data.Diffusion1 || ''; - document.getElementById('Plasma1').value = data.Plasma1 || ''; - document.getElementById('Injection2').value = data.Injection2 || ''; - document.getElementById('Diffusion2').value = data.Diffusion2 || ''; - document.getElementById('Plasma2').value = data.Plasma2 || ''; document.getElementById('endDate').value = data.endDate || ''; - document.getElementById('stageTotalTime').value = data.stageTotalTime || ''; - document.getElementById('monitorUser').value = data.monitorUser || ''; - document.getElementById('biologyResult').value = data.biologyResult || ''; + document.getElementById('cycleCounter').value = data.cycleCounter || ''; + document.getElementById('negPulse').value = data.negPulse || ''; + document.getElementById('posPulse').value = data.posPulse || ''; + document.getElementById('sterilizingTemp').value = data.sterilizingTemp || ''; + document.getElementById('sterilizingTime').value = data.sterilizingTime || ''; + document.getElementById('dryingTime').value = data.dryingTime || ''; + document.getElementById('dryingSteampuls').value = data.dryingSteampuls || ''; + document.getElementById('dryingAirpuls').value = data.dryingAirpuls || ''; + document.getElementById('highestTemp').value = data.highestTemp || ''; + document.getElementById('lowestTemp').value = data.lowestTemp || ''; + document.getElementById('machineNumber').value = data.machineNumber || ''; + + //腔体压力 + var chamberPressureArr = data.chamberPressureArr; + //监测腔体压力 + var schamberPressArr = data.schamberPressArr; + //排放口温度 + var drainTempArr = data.drainTempArr; + //监测排放口温度 + var sdrainTempArr = data.sdrainTempArr; + //夹套温度 + var jacketTempArr = data.jacketTempArr; + //时间 + var timeData = data.timeArr; + option= { + tooltip: { + trigger: 'axis' + }, + color:['#eb4310','#fbb417','#3f9337','#003366','#a1488e'], + legend: { + left:"8%", + data: ['腔体压力','监测腔体压力',"排放口温度","监测排放口温度","夹套温度"] + }, + xAxis: [{ + type: 'category', + name:"时间/时分", + nameLocation:"middle", + position:"bottom", + nameGap:30, + data:timeData, + splitLine: { + show: false + }, + axisLine:{ + onZero:false + }, + axisTick:{ + alignWithLabel:true + }, + /* axisLabel:{ + interval: 20 + }, */ + boundaryGap:false + //minInterval:5 + }], + yAxis: [{ + //chamberPressureArr + type: 'value', + name: '温度(°C)', + axisLabel: { + formatter: '{value}' + }, + splitLine: { + show: false + }, + yAxisIndex: 1//双轴参数 + },{ + //schamberPressArr + type: 'value', + name: '', + axisLabel: { + formatter: '{value}' + }, + splitLine: { + show: false + }, + yAxisIndex: 1//双轴参数 + },{ + //drainTempArr + type: 'value', + name: '压力(Kpa)', + max: 140, + interval: 10,//间隔值 + axisLabel: { + formatter: '{value}' + }, + splitLine: { + show: false + }, + yAxisIndex: 1//双轴参数 + },{ + //sdrainTempArr + type: 'value', + name: '', + max: 140, + interval: 10,//间隔值 + axisLabel: { + formatter: '{value}' + }, + splitLine: { + show: false + }, + yAxisIndex: 1//双轴参数 + },{ + //jacketTempArr + type: 'value', + name: '', + max: 140, + interval: 10,//间隔值 + axisLabel: { + formatter: '{value}' + }, + splitLine: { + show: false + }, + yAxisIndex: 1//双轴参数 + }], + series: [{ + name: '腔体压力', + type: 'line', + symbol: "none", + itemStyle : { + normal : { + lineStyle:{ + color:'#eb4310' + } + } + }, + stack:'腔体压力', + yAxisIndex: 1,//双轴参数 + data: chamberPressureArr + }, + { + name: '监测腔体压力', + type: 'line', + symbol: "none", + itemStyle : { + normal : { + lineStyle:{ + color:'#fbb417' + } + } + }, + stack:'监测腔体压力', + yAxisIndex: 1,//双轴参数 + data: schamberPressArr + }, + { + name: '排放口温度', + type: 'line', + symbol: "none", + itemStyle : { + normal : { + lineStyle:{ + color:'#3f9337' + } + } + }, + stack:'排放口温度', + data: drainTempArr + }, + { + name: '监测排放口温度', + type: 'line', + symbol: "none", + itemStyle : { + normal : { + lineStyle:{ + color:'#003366' + } + } + }, + stack:'监测排放口温度', + data: sdrainTempArr + }, + { + name: '夹套温度', + type: 'line', + symbol: "none", + itemStyle : { + normal : { + lineStyle:{ + color:'#a1488e' + } + } + }, + stack:'夹套温度', + data: jacketTempArr + } + ]} + + myChart.setOption(option); }, error:function(){ @@ -144,75 +328,76 @@
- - + +
-
+
+ + +
+
-
- - -
- - + +
-
- - +
+ +
-
- - +
+ +
-
- - +
+ +
-
- - +
+ +
- - + +
-
- - +
+ +
- - + +
-
- - +
+ +
- - + +
-
- - +
+ +
- - + +
- + +
\ No newline at end of file