Index: ssts-web/src/main/webapp/disinfectsystem/config/zjjsrmyy/print/printConfig.js =================================================================== diff -u -r31885 -r41247 --- ssts-web/src/main/webapp/disinfectsystem/config/zjjsrmyy/print/printConfig.js (.../printConfig.js) (revision 31885) +++ ssts-web/src/main/webapp/disinfectsystem/config/zjjsrmyy/print/printConfig.js (.../printConfig.js) (revision 41247) @@ -1395,6 +1395,45 @@ } } } +/** + * 打印清洗机运行参数 + */ + var printPhaseWashDataConfig = { + customPrint:printPhaseWashDataContent +} + +function printPhaseWashDataContent(obj){ + doGetLodop(); + // 设置纸张类型为连续纸,纸张宽度为79mm,打印完毕后的下边距为20mm + LODOP.SET_PRINT_PAGESIZE(3,"79mm","20mm","CreateCustomPage"); + var html = ''; + html += '

清洗机:'+(obj.rinser || "")+'

'; + html += '

程序编号:'+(obj.programNo || "")+'

'; + html += '

周期名称:'+(obj.cycleName || "")+'

'; + html += '

周期数:'+(obj.cycleCounter || "")+'

'; + html += '

周期开始时间:'+(obj.cycleStartTime || "")+'

'; + html += '

周期时间:'+(obj.cycleTotalTime || "")+'

'; + html += '

消毒时间:'+(obj.disinfectTotalTime || "")+'

'; + html += '

A0:'+(obj.A0 || "")+'

'; + if(obj.lastPhaseWashData && obj.lastPhaseWashData.length > 0){ + html += ''; + html += ''; + html += ''; + html += ''; + for(var i=0;i'; + html += ''; + html += ''; + html += ''; + html += ''; + } + html += '
时间步骤名称温度 °CDoV1 ml
'+obj.lastPhaseWashData[i].stepPhase+''+obj.lastPhaseWashData[i].temp+''+obj.lastPhaseWashData[i].DosVml+'
'; + } + + LODOP.ADD_PRINT_HTM(10,0,"95%","100%",""+html+""); + LODOP.PRINT(); +} //打印回收清单配置 var recyclingItemsPrintConfig = { customPrint:printrecyclingItems_ggsrmyy, @@ -1509,6 +1548,8 @@ //隐藏灭菌程序 "hideSterilingMethod": true }, + //打印清洗机运行参数 + printPhaseWashData:printPhaseWashDataConfig, //打印回收清单 recyclingItems : recyclingItemsPrintConfig };