Index: ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/modifyPatientOfForeignTousseInfoForm.js =================================================================== diff -u -r24654 -r24670 --- ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/modifyPatientOfForeignTousseInfoForm.js (.../modifyPatientOfForeignTousseInfoForm.js) (revision 24654) +++ ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/modifyPatientOfForeignTousseInfoForm.js (.../modifyPatientOfForeignTousseInfoForm.js) (revision 24670) @@ -2,41 +2,6 @@ var originalPatientInfo = {}; //修改后的病人信息 var patientInfo = {}; -function showPatientInfo(patientInfo){ - top.Ext4.getCmp('patient').setValue(patientInfo.patientName); - top.Ext4.getCmp('patientAge').setValue(patientInfo.patientAge); - if(patientInfo.clinicNumber){ - top.Ext4.getCmp('clinicNumber').setValue(patientInfo.clinicNumber); - } - if(patientInfo.hospitalNumber){ - top.Ext4.getCmp('hospitalNumber').setValue(patientInfo.hospitalNumber); - } - if(patientInfo.patientIDCard){ - top.Ext4.getCmp('patientIDCard').setValue(patientInfo.patientIDCard); - } - if(patientInfo.patientSex == '男'){ - top.Ext4.getCmp('patientSex').setValue('男'); - }else if(patientInfo.patientSex == '女'){ - top.Ext4.getCmp('patientSex').setValue('女'); - }else{ - top.Ext4.getCmp('patientSex').setValue(''); - } - top.Ext4.getCmp('patientArea').setValue(patientInfo.patientArea); - top.Ext4.getCmp('roomNumber').setValue(patientInfo.roomNumber); - top.Ext4.getCmp('bedNumber').setValue(patientInfo.bedNumber); - top.Ext4.getCmp('doctor').setValue(patientInfo.doctorName); - top.Ext4.getCmp('surgery').setValue(patientInfo.operation); - //手术时间需要特殊处理,需要将年和月之间的-符替换成/ - if(patientInfo.operationTime){ - try{ - top.Ext4.getCmp('operationTime').setValue(new Date(patientInfo.operationTime.replace("-","/"))); - }catch(e){ - - } - } - top.Ext4.getCmp('operationRoom').setValue(patientInfo.opRoomId); - top.Ext4.getCmp('ascriptionDepartment').setValue(patientInfo.ascriptionDepartment); -} /** * 更改病人信息提交