Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/watchVideo.jsp =================================================================== diff -u -r27068 -r28023 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/watchVideo.jsp (.../watchVideo.jsp) (revision 27068) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/watchVideo.jsp (.../watchVideo.jsp) (revision 28023) @@ -1,4 +1,4 @@ -<%@ page contentType="text/html; charset=UTF-8"%> +<%@ page contentType="text/html; charset=UTF-8"%> @@ -53,8 +53,9 @@ if(videoUrl !="" && videoUrl != "null"){ videoPath = videoUrl; }else{ - videoPath = '${pageContext.request.contextPath }/disinfectSystem/packingAction!getVideo.do?name=' + encodeURI(name) + '&a=1';//不在后面加个参数后台参数就乱码 - } + //videoPath = '${pageContext.request.contextPath }/disinfectSystem/packingAction!getVideo.do?name=' + encodeURI(name) + '&a=1';//不在后面加个参数后台参数就乱码 + videoPath = '${pageContext.request.contextPath }/disinfectSystem/packingAction!getVideo.do?name=' + encodeURI(name) + '&a=1&noCache=' + new Date().getTime();//不在后面加个参数后台参数就乱码 + } //如果你不需要某项设置,可以直接删除,注意var flashvars的最后一个值后面不能有逗号 var flashvars={ Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp =================================================================== diff -u -r27918 -r28023 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp (.../tousseImage.jsp) (revision 27918) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/tousseImage.jsp (.../tousseImage.jsp) (revision 28023) @@ -173,6 +173,7 @@ url:'${ctx}/disinfectSystem/baseData/showImageAction!getToussePictureAmount.do', data:{id:objId,imageType:imageType,time:new Date().getTime()}, dataType:'json', + cache: false, success:function(msg){ var amount = msg.count; if(amount <=0){ @@ -189,12 +190,12 @@ if(imageType == '器械包装配教学图片'){ if(td == undefined || td == ''){ - imgUrl = '${ctx}/disinfectSystem/packingAction!getImage.do?id='+objId+'&page='+number+'&imageType='+encodeURIComponent(imageType)+'&originalImg=true'; + imgUrl = '${ctx}/disinfectSystem/packingAction!getImage.do?id='+objId+'&page='+number+'&imageType='+encodeURIComponent(imageType)+'&originalImg=true&noCache=' + new Date().getTime(); }else { - imgUrl = '${ctx}/disinfectSystem/baseData/showImageAction!getToussePic.do?id=' + objId + '&imageType=' + encodeURIComponent(imageType) + '&page=' + number; + imgUrl = '${ctx}/disinfectSystem/baseData/showImageAction!getToussePic.do?id=' + objId + '&imageType=' + encodeURIComponent(imageType) + '&page=' + number+'&noCache=' + new Date().getTime(); } }else { - imgUrl = '${ctx}/disinfectSystem/baseData/showImageAction!getToussePic.do?id=' + objId + '&imageType=' + encodeURIComponent(imageType) + '&page=' + number; + imgUrl = '${ctx}/disinfectSystem/baseData/showImageAction!getToussePic.do?id=' + objId + '&imageType=' + encodeURIComponent(imageType) + '&page=' + number+'&noCache=' + new Date().getTime(); } document.getElementById('tousseOrMaterialImage').src = imgUrl; var img = new Image(); @@ -299,9 +300,9 @@ } var imgUrl; if(currentType == '器械包装配教学图片'){ - imgUrl = '${ctx}/disinfectSystem/packingAction!getImage.do?id='+cur.objId+'&page='+cur.page+'&imageType='+encodeURIComponent(currentType)+'&originalImg=true'; + imgUrl = '${ctx}/disinfectSystem/packingAction!getImage.do?id='+cur.objId+'&page='+cur.page+'&imageType='+encodeURIComponent(currentType)+'&originalImg=true&noCache=' + new Date().getTime(); }else { - imgUrl = '${ctx}/disinfectSystem/baseData/showImageAction!getToussePic.do?id=' + cur.objId + '&imageType=' +encodeURIComponent(cur.imageType) + '&page=' + cur.page; + imgUrl = '${ctx}/disinfectSystem/baseData/showImageAction!getToussePic.do?id=' + cur.objId + '&imageType=' +encodeURIComponent(cur.imageType) + '&page=' + cur.page +'&noCache=' + new Date().getTime(); } document.getElementById('page').innerText = cur.page; document.getElementById('tousseOrMaterialImage').src = imgUrl; @@ -399,9 +400,9 @@ } var imgUrl; if(currentType == '器械包装配教学图片'){ - imgUrl = '${ctx}/disinfectSystem/packingAction!getImage.do?id='+cur.objId+'&page='+cur.page+'&imageType='+encodeURIComponent(currentType)+'&originalImg=true'; + imgUrl = '${ctx}/disinfectSystem/packingAction!getImage.do?id='+cur.objId+'&page='+cur.page+'&imageType='+encodeURIComponent(currentType)+'&originalImg=true&noCache=' + new Date().getTime(); }else { - imgUrl = '${ctx}/disinfectSystem/baseData/showImageAction!getToussePic.do?id=' + cur.objId + '&imageType=' + encodeURIComponent(cur.imageType) + '&page=' + cur.page; + imgUrl = '${ctx}/disinfectSystem/baseData/showImageAction!getToussePic.do?id=' + cur.objId + '&imageType=' + encodeURIComponent(cur.imageType) + '&page=' + cur.page +'&noCache=' + new Date().getTime(); } document.getElementById('page').innerText = cur.page; document.getElementById('tousseOrMaterialImage').src = imgUrl; Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/watchVideoModel.jsp =================================================================== diff -u -r27789 -r28023 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/watchVideoModel.jsp (.../watchVideoModel.jsp) (revision 27789) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/watchVideoModel.jsp (.../watchVideoModel.jsp) (revision 28023) @@ -76,6 +76,7 @@ url:WWWROOT+'/disinfectSystem/baseData/videoFileAction!loadTousseTeachingVideo.do', type: 'get', dataType: 'json', + cache: false, data: { videoType : "配包教学视频", objectId:objectId,