Index: ssts-web/src/main/webapp/disinfectsystem/useRecord/tabs/tousseInstanceInfoTab.js =================================================================== diff -u -r32057 -r32703 --- ssts-web/src/main/webapp/disinfectsystem/useRecord/tabs/tousseInstanceInfoTab.js (.../tousseInstanceInfoTab.js) (revision 32057) +++ ssts-web/src/main/webapp/disinfectsystem/useRecord/tabs/tousseInstanceInfoTab.js (.../tousseInstanceInfoTab.js) (revision 32703) @@ -7,6 +7,10 @@ inspectorName = sstsConfig.aliasNameOfInspectorField; } +var tousseId = ''; +var tousseItemId = ''; +var invoicePlanID = ''; + var reviewViewText; if(sstsConfig.nameSchemeOfReviewModule == 2){ reviewViewText = "包装"; @@ -453,6 +457,25 @@ }] },{ + layout : 'form', + columnWidth : .5, + hidden: !(sstsConfig.showCameraPhotoInRecyclingModule && sstsConfig.showCameraPhoto), + items : [{ + id : 'showRecycleCameraPhoto', + name : 'showRecycleCameraPhoto', + xtype : 'button', + text : '查看拍摄图片/视频', + handler : function (){ + var params = { + tousseId: tousseId, + tousseItemId: tousseItemId, + invoicePlanId:invoicePlanID, + isLook: true + } + openCameraPhotoWindow(params); + } + }] + },{ layout:'column', title :'回收视频', width :580, @@ -2261,7 +2284,11 @@ top.Ext.getCmp('reUser').setValue(recyclingRecordInfo.reUser); //回收记录_回收人 top.Ext.getCmp('reType').setValue(recyclingRecordInfo.reType); //回收记录_回收类型 top.Ext.getCmp('reTime').setValue(recyclingRecordInfo.reTime); //回收记录_回收时间 - top.Ext.getCmp('reDept').setValue(recyclingRecordInfo.reDept); //回收记录_回收科室 + top.Ext.getCmp('reDept').setValue(recyclingRecordInfo.reDept); //回收记录_回收科室 + tousseItemId = result.invoicePlanJSON.tousseItemId; + tousseId = result.tousseInstance.tousseDefinitionAncestorID; + invoicePlanID = result.tousseInstance.invoicePlanID; + //回收记录视频 启用视频监控模块 if(sstsConfig.enableVideoMonitorModule){ var recyclingRecordVideoArray = result.recyclingRecordVideoJSON;