Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp =================================================================== diff -u -r25775 -r25953 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp (.../tousseImage.jsp) (revision 25775) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp (.../tousseImage.jsp) (revision 25953) @@ -54,24 +54,27 @@ dataLength = 11; } var trData = ""; - for (var i=0; i'; - trData += ''+materialName+''; + trData += ''; + trData += ''; + trData += ''+materialName+''; trData += ''+materialAmount+''; - trData += ''+emptyStringIfUndefinedOrNull(json[i].detachable)+''; - trData += ''+emptyStringIfUndefinedOrNull(json[i].washMethod)+''; - trData += ''+json[i].washQualityCheckPoint+''; - trData += ''+json[i].functionCheck+''; + trData += ''+emptyStringIfUndefinedOrNull(json[i].detachable)+''; + trData += ''+emptyStringIfUndefinedOrNull(json[i].washMethod)+''; + trData += ''+json[i].washQualityCheckPoint+''; + trData += ''+json[i].functionCheck+''; trData += ''; } - document.getElementById("myTable").innerHTML = "" + trData + "
"; + document.getElementById("myTable").innerHTML = "" + trData + "
"; + if(sstsConfig.toussePicturesShow && showToussePictures){ + $(".checkbox-materialTd").show(); + } }); } - function getMaterial(){ var BElement = document.createElement('B'); var insertText = document.createTextNode(materialName); @@ -217,12 +220,21 @@ loadImage(tousseDefinitionID,imageType); jQuery("#materialTable tr").css("background","#FFFFFF"); } -function getMaterialNameWithAmount(materialName,amount){ - $("#materialNameWithAmount",window.parent.document).attr("amount",amount); - $("#materialNameWithAmount",window.parent.document).val(materialName); +function getMaterialNameWithAmount(that){ + $(that).siblings().find("td").children(".checkbox-material").prop("checked",false); + $(that).find("td").eq(0).children(".checkbox-material").prop("checked",true); } +function getCheckboxMaterialNameWithAmount(that,event){ + if(event.stopPropagation){ + event.stopPropagation();//ie9+ + }else{//ie678 + event.cancelBubble = true; + } + if(!$(that).prop("checked")){ + $("#checkboxMaterialAll").prop("checked",false); + } +} - function initPic(){ if(sstsConfig.toussePicturesShow){ showToussePictures = '${param.showToussePictures}'; @@ -236,26 +248,27 @@ getMaterial(); } + $(".toussePage").show(); if(sstsConfig.toussePicturesShow && showToussePictures){ - $(".toussePage,.instruction-book,.packing-teach,.tousse-video").show(); + $(".instruction-book,.packing-teach,.tousse-video,.checkbox-materialTd").show(); } // add this code after popup JS file is included - if(window.parent && window.parent.$ && window.parent.$.magnificPopup && window.parent.$.magnificPopup.instance){ + /* if(window.parent && window.parent.$ && window.parent.$.magnificPopup && window.parent.$.magnificPopup.instance){ window.parent.$.magnificPopup.instance.next = function() { nextPage(); // You may call parent ("original") method like so: - //$.magnificPopup.proto.next.call(this /*, optional arguments */); - }; + //$.magnificPopup.proto.next.call(this /*, optional arguments );*/ + /* }; window.parent.$.magnificPopup.instance.prev = function() { - prevPage(); + prevPage(); */ // You may call parent ("original") method like so: //$.magnificPopup.proto.next.call(this /*, optional arguments */); - }; + /* }; - } + } */ if (isIE () && isIE () > 8){ var start,end; jQuery(document).bind("mousedown", function(e) { @@ -288,6 +301,14 @@ }); } } +function checkboxMaterialAll(that){ + var trs = $("#materialTable tr"); + if($(that).prop("checked")){ + $(trs).find("input").prop("checked",true); + }else{ + $(trs).find("input").prop("checked",false); + } +} - +
<< >> @@ -334,38 +367,39 @@
-
-
- +
+
+
-
+

注意事项

-
-
+
- + + - - - - + + + +
材料名称材料名称 数量是否可拆清洗方式清洗质量检查关注点功能检查是否可拆清洗方式清洗质量检查关注点功能检查
-
-
+
+
Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r25934 -r25953 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 25934) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 25953) @@ -1801,6 +1801,7 @@ offset : ['100px',''] }); }else if(tousseType == '器械包'){ + // $.ajax({ // type:'post', // url:WWWROOT + '/disinfectSystem/baseData/tousseDefinitionAction!getToussePictureAmount.do', @@ -1835,6 +1836,15 @@ }, type: 'image' // this is default type }); + var windowH = window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight; + if(windowH == 613 || windowH == 689){ + $(".mfp-iframe-scaler iframe").css({"height":"748px"}); + }else if(windowH == 661 || windowH == 641){ + $(".mfp-iframe-scaler iframe").css({"height":"740px"}); + }else if(windowH == 1001){ + $(".mfp-iframe-scaler iframe").css({"top":"5%","height":"750px"}); + $(".mfp-iframe-holder .mfp-close").css({"top":"1px"}); + } // }, // error:function(XMLHttpRequest, textStatus, errorThrown){ // }