Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js =================================================================== diff -u -r37356 -r37417 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js (.../supplyRoomTypeForm.js) (revision 37356) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js (.../supplyRoomTypeForm.js) (revision 37417) @@ -13,35 +13,35 @@ gridOperation = extCompOperationUtil.getGridOperation(); motionObj = extCompOperationUtil.getMotionObj(); -function openSelectOrgUnit(root){ +function openSelectOrgUnit(root) { var orgIds = $Id(root + 'Ids').value; var orgNames = $Id(root + 'Names').value; var varArgIn = { - title: encodeURI('选择科室'), - orgIds: orgIds, - orgNames: encodeURI(orgNames) + title: encodeURI('选择科室'), + orgIds: orgIds, + orgNames: encodeURI(orgNames) } var selectedOrgUnitArray = openModalWindow(WWWROOT + '/common/selOrgUnitByExt.jsp?allowNull=true&onlyOneOrg=true', varArgIn, '800', '320'); - - if(selectedOrgUnitArray == undefined){ - return; - }else if(selectedOrgUnitArray[0] !== undefined){ - Ext.getCmp(root + 'Ids').setValue(selectedOrgUnitArray[0]) ; - Ext.getCmp(root + 'Names').setValue(selectedOrgUnitArray[1]) ; - }else { - var loop = setInterval(function() { - if(selectedOrgUnitArray.closed) { - clearInterval(loop); - var returnValue = selectedOrgUnitArray.returnValue || []; + if (selectedOrgUnitArray == undefined) { + return; + } else if (selectedOrgUnitArray[0] !== undefined) { + Ext.getCmp(root + 'Ids').setValue(selectedOrgUnitArray[0]); + Ext.getCmp(root + 'Names').setValue(selectedOrgUnitArray[1]); + } else { + var loop = setInterval(function () { + if (selectedOrgUnitArray.closed) { + clearInterval(loop); - if(returnValue.length > 0){ - Ext.getCmp(root + 'Ids').setValue(returnValue[0]) ; - Ext.getCmp(root + 'Names').setValue(returnValue[1]) ; - } - } - },500); - } + var returnValue = selectedOrgUnitArray.returnValue || []; + + if (returnValue.length > 0) { + Ext.getCmp(root + 'Ids').setValue(returnValue[0]); + Ext.getCmp(root + 'Names').setValue(returnValue[1]); + } + } + }, 500); + } } /** @@ -689,7 +689,7 @@ //BJDXZLYY-43:卡迪斯智能货柜开口配置 var kardexContainerOpeningStore = []; - if(sstsConfig.kardexContainerOpeningConfig){ + if (sstsConfig.kardexContainerOpeningConfig) { kardexContainerOpeningStore = sstsConfig.kardexContainerOpeningConfig; } @@ -755,9 +755,9 @@ xtype: "fieldset", title: '系统参数设置', layout: 'column', - id:'systemConfig', + id: 'systemConfig', width: itemWidth, - style:'height:auto', + style: 'height:auto', //height: fontSize == 12 ? 135 : 150, // columnWidth : 1, labelWidth: 95, @@ -1174,15 +1174,15 @@ fieldLabel: '数据实时看板刷新频率(分钟)', id: 'dashboardsRefreshFrequency', name: 'dashboardsRefreshFrequency', - minValue:1, - value:30, - maxValue:9999, + minValue: 1, + value: 30, + maxValue: 9999, allowNegative: false, allowBlank: SSTS_RealTimeDashboards, anchor: '100%', - listeners:{ - blur:function(thiz, e, eOpts){ - if(this.value.length > 4){ + listeners: { + blur: function (thiz, e, eOpts) { + if (this.value.length > 4) { this.setValue(9999) } } @@ -1209,7 +1209,7 @@ }), forceSelection: true, allowBlank: false, - value:'是', + value: '是', triggerAction: 'all' }] }, { @@ -1222,15 +1222,15 @@ fieldLabel: '无操作切换为闲置(分钟)', id: 'noOperationTime', name: 'noOperationTime', - minValue:1, - value:5, - maxValue:9999, + minValue: 1, + value: 5, + maxValue: 9999, allowNegative: false, allowBlank: SSTS_RealTimeDashboards, anchor: '100%', - listeners:{ - blur:function(thiz, e, eOpts){ - if(this.value.length > 4){ + listeners: { + blur: function (thiz, e, eOpts) { + if (this.value.length > 4) { this.setValue(9999) } } @@ -1246,15 +1246,15 @@ fieldLabel: '数据实时看板待处理查询周期', id: 'dashboardsQueryCycle', name: 'dashboardsQueryCycle', - minValue:0, - value:7, - maxValue:9999, + minValue: 0, + value: 7, + maxValue: 9999, allowNegative: false, allowBlank: SSTS_RealTimeDashboards, anchor: '100%', - listeners:{ - blur:function(thiz, e, eOpts){ - if(this.value.length > 4){ + listeners: { + blur: function (thiz, e, eOpts) { + if (this.value.length > 4) { this.setValue(9999) } } @@ -1281,7 +1281,7 @@ }), forceSelection: true, allowBlank: true, - value:'只允许手写签名', + value: '只允许手写签名', triggerAction: 'all' }] }, { @@ -1290,53 +1290,53 @@ columnWidth: .25, hidden: !(sstsConfig.enableInstrumentRepairManagement && sstsConfig.InstrumentRepairManagementVersion == 2), items: [{ - xtype:'hidden', - id:'instrumentRepairRemindOrgUnitIds', - name:'instrumentRepairRemindOrgUnitIds' - },{ + xtype: 'hidden', + id: 'instrumentRepairRemindOrgUnitIds', + name: 'instrumentRepairRemindOrgUnitIds' + }, { fieldLabel: '器械维修结果提醒科室', anchor: '100%', - xtype : 'trigger', + xtype: 'trigger', name: 'instrumentRepairRemindOrgUnitNames', id: 'instrumentRepairRemindOrgUnitNames', - allowBlank:true, - blankText:'', - msgTarget:'side', - readOnly:true, - onTriggerClick : function(){ + allowBlank: true, + blankText: '', + msgTarget: 'side', + readOnly: true, + onTriggerClick: function () { openSelectOrgUnit('instrumentRepairRemindOrgUnit'); }, - triggerClass : 'x-form-search-trigger' + triggerClass: 'x-form-search-trigger' }] }, { layout: 'form', labelWidth: 270, columnWidth: .25, - hidden:!sstsConfig.showCameraPhoto, + hidden: !sstsConfig.showCameraPhoto, items: [{ xtype: 'numberfield', fieldLabel: '器械包拍摄图片/视频保留时长(天)', id: 'tousseCamImgVidRetentionTime', name: 'tousseCamImgVidRetentionTime', allowDecimals: false, - minValue:1, - maxValue:100000, + minValue: 1, + maxValue: 100000, anchor: '100%', allowBlank: true }] }, { layout: 'form', labelWidth: 290, columnWidth: .25, - hidden:!sstsConfig.showCameraPhoto, + hidden: !sstsConfig.showCameraPhoto, items: [{ xtype: 'numberfield', fieldLabel: '外来器械包拍摄图片/视频保留时长(天)', id: 'ftCamImgVidRetentionTime', name: 'ftCamImgVidRetentionTime', allowDecimals: false, - minValue:1, - maxValue:100000, + minValue: 1, + maxValue: 100000, anchor: '100%', allowBlank: true }] @@ -1361,7 +1361,7 @@ }), forceSelection: true, allowBlank: true, - value:'仅病人所在科室', + value: '仅病人所在科室', triggerAction: 'all' }] } @@ -1974,7 +1974,7 @@ layout: 'form', labelWidth: 150, columnWidth: .25, - hidden:!sstsConfig.enableReturnHandoverOfForeignTousseFunction, + hidden: !sstsConfig.enableReturnHandoverOfForeignTousseFunction, items: [{ xtype: 'combo', fieldLabel: 'PDA归还交接手写签名', @@ -2011,7 +2011,7 @@ fields: ['value'], data: [['是'], ['否']] }), - value:'是', + value: '是', forceSelection: true, allowBlank: true, triggerAction: 'all' @@ -2199,14 +2199,14 @@ }] } ] - },{ + }, { xtype: "fieldset", title: '可追溯器械参数设置', layout: 'column', width: itemWidth, height: 80, labelWidth: 95, - hidden:SSTS_InstrumentInstanceParamsConfig, + hidden: SSTS_InstrumentInstanceParamsConfig, items: [ { layout: 'form', @@ -2217,7 +2217,7 @@ fieldLabel: "器械使用率工作天数系数配置", allowBlank: true, allowNegative: false, - allowDecimals:false, + allowDecimals: false, minValue: 1, name: 'instrumentUseRateWorkingDay', id: 'instrumentUseRateWorkingDay', @@ -2231,8 +2231,8 @@ items: [{ xtype: 'button', text: "为启用标识牌的包绑定器械实例", - style:'margin-left:10px', - handler:function(){ + style: 'margin-left:10px', + handler: function () { top.Ext.Msg.confirm('请确认', '是否为所有未添加器械实例的标识牌绑定实例?', function (btn) { if (btn == 'yes') { Ext.Ajax.request({ @@ -2480,7 +2480,7 @@ layout: 'form', labelWidth: 180, columnWidth: .25, - hidden:!sstsConfig.onlyAvailableIsDisplayedOfInvoicePlanList, + hidden: !sstsConfig.onlyAvailableIsDisplayedOfInvoicePlanList, items: [{ xtype: 'combo', valueField: 'value', @@ -2504,8 +2504,8 @@ layout: 'form', labelWidth: 180, columnWidth: .25, - hidden:SSTS_ContainerConnect_manager, - items:[{ + hidden: SSTS_ContainerConnect_manager, + items: [{ xtype: 'textfield', fieldLabel: '连接卡迪斯货柜IP地址', id: 'kardexContainerHost', @@ -2517,8 +2517,8 @@ layout: 'form', labelWidth: 180, columnWidth: .25, - hidden:SSTS_ContainerConnect_manager, - items:[{ + hidden: SSTS_ContainerConnect_manager, + items: [{ xtype: 'textfield', fieldLabel: '连接卡迪斯货柜端口', id: 'kardexContainerPort', @@ -2530,31 +2530,31 @@ layout: 'form', labelWidth: 220, columnWidth: .25, - hidden:!sstsConfig.enableOperationReservationShippedToTraysOfKardexContainer, - items:[{ - xtype:'hidden', - id:'kardexContainerAddr', - name:'kardexContainerAddr' - },{ - xtype : 'combo', - id : 'kardexContainerAddrName', - name : 'kardexContainerAddrName', - valueField : 'queryValue', - displayField : 'queryMode', - width:180, - fieldLabel : '卡迪斯货柜手术发货单默认开口', - mode : 'local', - readOnly : true, + hidden: !sstsConfig.enableOperationReservationShippedToTraysOfKardexContainer, + items: [{ + xtype: 'hidden', + id: 'kardexContainerAddr', + name: 'kardexContainerAddr' + }, { + xtype: 'combo', + id: 'kardexContainerAddrName', + name: 'kardexContainerAddrName', + valueField: 'queryValue', + displayField: 'queryMode', + width: 180, + fieldLabel: '卡迪斯货柜手术发货单默认开口', + mode: 'local', + readOnly: true, editable: false, - triggerAction : 'all', - forceSelection : true, - anchor : '100%', - store : new Ext.data.SimpleStore({ - fields : ['queryMode','queryValue'], - data : kardexContainerOpeningStore + triggerAction: 'all', + forceSelection: true, + anchor: '100%', + store: new Ext.data.SimpleStore({ + fields: ['queryMode', 'queryValue'], + data: kardexContainerOpeningStore }), - listeners:{ - select:function(combo, record, index){ + listeners: { + select: function (combo, record, index) { Ext.getCmp('kardexContainerAddr').setValue(record.data.queryValue); } } @@ -2569,7 +2569,7 @@ height: 90, // columnWidth : 1, labelWidth: 100, - hidden:!sstsConfig.enableSurgicalInstrumentsManagement, + hidden: !sstsConfig.enableSurgicalInstrumentsManagement, items: [{ layout: 'form', labelWidth: fontSize == 12 ? 180 : 220, @@ -2591,19 +2591,19 @@ forceSelection: true, allowBlank: true, triggerAction: 'all', - value:'否', + value: '否', anchor: '100%', listeners: { select: function (combo, record, index) { - if(record.data.value == '是'){ + if (record.data.value == '是') { Ext.getCmp("loginUserDefaultOpRecipientBox").show(); - }else { + } else { Ext.getCmp("loginUserDefaultOpRecipientBox").hide(); } } } }] - },{ + }, { layout: 'form', labelWidth: fontSize == 12 ? 180 : 220, labelAlign: "right", @@ -2624,10 +2624,10 @@ forceSelection: true, allowBlank: true, triggerAction: 'all', - value:'是', + value: '是', anchor: '100%' }] - },{ + }, { layout: 'form', labelWidth: fontSize == 12 ? 180 : 220, labelAlign: "right", @@ -2648,10 +2648,10 @@ forceSelection: true, allowBlank: true, triggerAction: 'all', - value:'是', + value: '是', anchor: '100%' }] - },{ + }, { layout: 'form', labelWidth: fontSize == 12 ? 180 : 220, labelAlign: "right", @@ -2672,15 +2672,15 @@ forceSelection: true, allowBlank: true, triggerAction: 'all', - value:'否', + value: '否', anchor: '100%' }] - },{ + }, { layout: 'form', labelWidth: fontSize == 12 ? 180 : 220, labelAlign: "right", columnWidth: .25, - id:'loginUserDefaultOpRecipientBox', + id: 'loginUserDefaultOpRecipientBox', items: [{ xtype: 'combo', fieldLabel: '默认当前登录用户为领用人', @@ -2697,10 +2697,10 @@ forceSelection: true, allowBlank: true, triggerAction: 'all', - value:'否', + value: '否', anchor: '100%' }] - },{ + }, { layout: 'form', labelWidth: fontSize == 12 ? 180 : 220, labelAlign: "right", @@ -2721,7 +2721,7 @@ forceSelection: true, allowBlank: true, triggerAction: 'all', - value:'无', + value: '无', anchor: '100%' }] }] @@ -2732,7 +2732,7 @@ width: itemWidth, height: 70, labelWidth: 100, - hidden:!sstsConfig.enableWarehousePositionModule, + hidden: !sstsConfig.enableWarehousePositionModule, items: [{ layout: 'form', labelWidth: fontSize == 12 ? 180 : 220, @@ -2754,10 +2754,10 @@ forceSelection: true, allowBlank: true, triggerAction: 'all', - value:'否', + value: '否', anchor: '100%' }] - },{ + }, { layout: 'form', labelWidth: fontSize == 12 ? 180 : 220, labelAlign: "right", @@ -2777,7 +2777,7 @@ name: 'quickJumpGroupStorage', readOnly: true, mode: 'local', - value:'库存查看', + value: '库存查看', anchor: '100%' }] }] @@ -3769,19 +3769,19 @@ } var invoiceModeTousseRange = ''; - if(sstsConfig.onlyAvailableIsDisplayedOfInvoicePlanList){ + if (sstsConfig.onlyAvailableIsDisplayedOfInvoicePlanList) { invoiceModeTousseRange = Ext.getCmp("invoiceModeTousseRange").getValue(); } var kardexContainerHost = ''; var kardexContainerPort = ''; - if(!SSTS_ContainerConnect_manager){ + if (!SSTS_ContainerConnect_manager) { kardexContainerHost = Ext.getCmp("kardexContainerHost").getValue(); kardexContainerPort = Ext.getCmp("kardexContainerPort").getValue(); } var kardexContainerAddr = ''; - if(sstsConfig.enableOperationReservationShippedToTraysOfKardexContainer){ + if (sstsConfig.enableOperationReservationShippedToTraysOfKardexContainer) { kardexContainerAddr = Ext.getCmp("kardexContainerAddr").getValue(); } @@ -3803,22 +3803,22 @@ var tousseCamImgVidRetentionTime = ''; var ftCamImgVidRetentionTime = ''; //DGKHYY-29:时长 - if(sstsConfig.showCameraPhoto){ + if (sstsConfig.showCameraPhoto) { tousseCamImgVidRetentionTime = Ext.getCmp("tousseCamImgVidRetentionTime").getValue(); ftCamImgVidRetentionTime = Ext.getCmp("ftCamImgVidRetentionTime").getValue(); - if(parseInt(tousseCamImgVidRetentionTime) == 0 || parseInt(tousseCamImgVidRetentionTime) > 100000){ + if (parseInt(tousseCamImgVidRetentionTime) == 0 || parseInt(tousseCamImgVidRetentionTime) > 100000) { showResult('器械包拍摄图片/视频保留时长不能为0或大于100000'); return; } - if(parseInt(ftCamImgVidRetentionTime) == 0 || parseInt(ftCamImgVidRetentionTime) > 100000){ + if (parseInt(ftCamImgVidRetentionTime) == 0 || parseInt(ftCamImgVidRetentionTime) > 100000) { showResult('外来器械包拍摄图片/视频保留时长不能为0或大于100000'); return; } } - + //SZSDSRMYY-130:使用记录结算科室取值范围 var useRecordTiSettlementDepart = ''; - if(sstsConfig.enableTheSettlementDepartmentIsDepartOfPatientFunction){ + if (sstsConfig.enableTheSettlementDepartmentIsDepartOfPatientFunction) { useRecordTiSettlementDepart = Ext.getCmp("useRecordTiSettlementDepart").getValue(); } @@ -3827,41 +3827,41 @@ var isEnableTousseOpDestLocation = '否'; var isEnableTousseOpSign = '否'; var isEnableTousseUnReturnWarn = '否'; - if(sstsConfig.enableSurgicalInstrumentsManagement){ + if (sstsConfig.enableSurgicalInstrumentsManagement) { isEnableTousseOpRecipient = Ext.getCmp("isEnableTousseOpRecipient").getValue(); isEnableTousseOpDestLocation = Ext.getCmp("isEnableTousseOpDestLocation").getValue(); isEnableTousseOpSign = Ext.getCmp("isEnableTousseOpSign").getValue(); isEnableTousseUnReturnWarn = Ext.getCmp("isEnableTousseUnReturnWarn").getValue(); } var loginUserDefaultOpRecipient = '否'; - if(Ext.getCmp('loginUserDefaultOpRecipient')){ + if (Ext.getCmp('loginUserDefaultOpRecipient')) { loginUserDefaultOpRecipient = Ext.getCmp('loginUserDefaultOpRecipient').getValue(); } var quickJumpOperationTousseOp = '无'; - if(Ext.getCmp('quickJumpOperationTousseOp')){ + if (Ext.getCmp('quickJumpOperationTousseOp')) { quickJumpOperationTousseOp = Ext.getCmp('quickJumpOperationTousseOp').getValue(); } var autoSignAfterPutInStorage = '否'; - if(sstsConfig.enableWarehousePositionModule){ + if (sstsConfig.enableWarehousePositionModule) { autoSignAfterPutInStorage = Ext.getCmp("autoSignAfterPutInStorage").getValue(); } var quickJumpGroupStorage = '库存查看'; - if(Ext.getCmp('quickJumpGroupStorage')){ + if (Ext.getCmp('quickJumpGroupStorage')) { quickJumpGroupStorage = Ext.getCmp('quickJumpGroupStorage').getValue(); } - if(quickJumpGroupStorage == ''){ + if (quickJumpGroupStorage == '') { showResult('快速跳转分组不能为空!'); return false; } var foreignTousseAppEndTime = Ext.getCmp("foreignTousseAppEndTime").getValue(); var isFtOnlyImplantConvert = Ext.getCmp("isFtOnlyImplantConvert").getValue(); var pdaHandoverSignature = ''; - if(sstsConfig.enableReturnHandoverOfForeignTousseFunction){ + if (sstsConfig.enableReturnHandoverOfForeignTousseFunction) { pdaHandoverSignature = Ext.getCmp("pdaHandoverSignature").getValue(); } //NFYY-90:更改病人信息是否记录到备注 @@ -3891,9 +3891,9 @@ var instrumentUseRateWorkingDay = ''; - if(sstsConfig.enableInstrumentLifeCycleTraceabilityManagement && !SSTS_InstrumentInstanceParamsConfig){ + if (sstsConfig.enableInstrumentLifeCycleTraceabilityManagement && !SSTS_InstrumentInstanceParamsConfig) { instrumentUseRateWorkingDay = Ext.getCmp("instrumentUseRateWorkingDay").getValue(); - if(instrumentUseRateWorkingDay == '' || instrumentUseRateWorkingDay == 0){ + if (instrumentUseRateWorkingDay == '' || instrumentUseRateWorkingDay == 0) { showResult('器械使用率工作天数系数不能为空或0!'); return false; } @@ -3922,22 +3922,22 @@ var noOperationTime = '' var dashboardsQueryCycle = ''; - if(!SSTS_RealTimeDashboards){ + if (!SSTS_RealTimeDashboards) { dashboardsRefreshFrequency = Ext.getCmp("dashboardsRefreshFrequency").getValue(); dashboardsScreenSaver = Ext.getCmp("dashboardsScreenSaver").getValue(); noOperationTime = Ext.getCmp("noOperationTime").getValue(); dashboardsQueryCycle = Ext.getCmp("dashboardsQueryCycle").getValue(); } var handWrittenSignatureMode = '只允许手写签名'; - if(!SSTS_WriteSign_manager){ + if (!SSTS_WriteSign_manager) { handWrittenSignatureMode = Ext.getCmp("handWrittenSignatureMode").getValue(); } var instrumentRepairRemindOrgUnitNames = ''; var instrumentRepairRemindOrgUnitIds = ''; - if(sstsConfig.enableInstrumentRepairManagement && sstsConfig.InstrumentRepairManagementVersion == 2){ + if (sstsConfig.enableInstrumentRepairManagement && sstsConfig.InstrumentRepairManagementVersion == 2) { instrumentRepairRemindOrgUnitNames = Ext.getCmp("instrumentRepairRemindOrgUnitNames").getValue(); instrumentRepairRemindOrgUnitIds = Ext.getCmp("instrumentRepairRemindOrgUnitIds").getValue(); } @@ -3996,13 +3996,13 @@ dailyMonitoringMinute: dailyMonitoringMinute,// foreignToussePrice: foreignToussePrice,// foreignTousseCleanedEntirely: foreignTousseCleanedEntirely,// - ftReleaseBasketAfterReturn:ftReleaseBasketAfterReturn, + ftReleaseBasketAfterReturn: ftReleaseBasketAfterReturn, foreignTousseNeedReview: foreignTousseNeedReview,// foreignTousseIsSecondRecycle: foreignTousseIsSecondRecycle, foreignTousseAppEndTime: foreignTousseAppEndTime, isFtOnlyImplantConvert: isFtOnlyImplantConvert, pdaHandoverSignature: pdaHandoverSignature, - saveFtaModPatientInfoRemark:saveFtaModPatientInfoRemark, + saveFtaModPatientInfoRemark: saveFtaModPatientInfoRemark, ftDefaultSterilingMethod: ftDefaultSterilingMethod,// ftPrintOrgSource: ftPrintOrgSource, ftPrintAmount: ftPrintAmount, @@ -4030,30 +4030,30 @@ supplierCertificationExpTime: supplierCertificationExpTime, //供应商注册证预警期 expensiveGoodsBillWarningTime: expensiveGoodsBillWarningTime,//高值耗材发票预警期 noMergeApplicationTypes: noMergeApplicationTypes, - instrumentUseRateWorkingDay:instrumentUseRateWorkingDay, + instrumentUseRateWorkingDay: instrumentUseRateWorkingDay, mergeApplicationDepartArr: mergeApplicationDepartNameAndCodeArr, //自动合并申请单的科室编码和科室名称 - isEnableTousseOpRecipient:isEnableTousseOpRecipient, - isEnableTousseOpDestLocation:isEnableTousseOpDestLocation, - isEnableTousseOpSign:isEnableTousseOpSign, - isEnableTousseUnReturnWarn:isEnableTousseUnReturnWarn, - loginUserDefaultOpRecipient:loginUserDefaultOpRecipient, - quickJumpOperationTousseOp:quickJumpOperationTousseOp, - dashboardsRefreshFrequency:dashboardsRefreshFrequency, - autoSignAfterPutInStorage:autoSignAfterPutInStorage, - quickJumpGroupStorage:quickJumpGroupStorage, - noOperationTime:noOperationTime, - dashboardsQueryCycle:dashboardsQueryCycle, - handWrittenSignatureMode:handWrittenSignatureMode, - instrumentRepairRemindOrgUnitIds:instrumentRepairRemindOrgUnitIds, - instrumentRepairRemindOrgUnitNames:instrumentRepairRemindOrgUnitNames, - dashboardsScreenSaver:dashboardsScreenSaver, - tousseCamImgVidRetentionTime:tousseCamImgVidRetentionTime, - ftCamImgVidRetentionTime:ftCamImgVidRetentionTime, - useRecordTiSettlementDepart:useRecordTiSettlementDepart, - invoiceModeTousseRange:invoiceModeTousseRange, - kardexContainerHost:kardexContainerHost, - kardexContainerPort:kardexContainerPort, - kardexContainerAddr:kardexContainerAddr, + isEnableTousseOpRecipient: isEnableTousseOpRecipient, + isEnableTousseOpDestLocation: isEnableTousseOpDestLocation, + isEnableTousseOpSign: isEnableTousseOpSign, + isEnableTousseUnReturnWarn: isEnableTousseUnReturnWarn, + loginUserDefaultOpRecipient: loginUserDefaultOpRecipient, + quickJumpOperationTousseOp: quickJumpOperationTousseOp, + dashboardsRefreshFrequency: dashboardsRefreshFrequency, + autoSignAfterPutInStorage: autoSignAfterPutInStorage, + quickJumpGroupStorage: quickJumpGroupStorage, + noOperationTime: noOperationTime, + dashboardsQueryCycle: dashboardsQueryCycle, + handWrittenSignatureMode: handWrittenSignatureMode, + instrumentRepairRemindOrgUnitIds: instrumentRepairRemindOrgUnitIds, + instrumentRepairRemindOrgUnitNames: instrumentRepairRemindOrgUnitNames, + dashboardsScreenSaver: dashboardsScreenSaver, + tousseCamImgVidRetentionTime: tousseCamImgVidRetentionTime, + ftCamImgVidRetentionTime: ftCamImgVidRetentionTime, + useRecordTiSettlementDepart: useRecordTiSettlementDepart, + invoiceModeTousseRange: invoiceModeTousseRange, + kardexContainerHost: kardexContainerHost, + kardexContainerPort: kardexContainerPort, + kardexContainerAddr: kardexContainerAddr, receiptor: receiptor //自动签收发货单的签收人名字 }, success: function (response, options) { @@ -4319,42 +4319,42 @@ Ext.getCmp('reviewSterilizationTime').setValue(supplyRoomConfig.reviewSterilizationTime); } //QYSRMYY-46:数据实时看板 - if(supplyRoomConfig.dashboardsRefreshFrequency){ + if (supplyRoomConfig.dashboardsRefreshFrequency) { Ext.getCmp('dashboardsRefreshFrequency').setValue(supplyRoomConfig.dashboardsRefreshFrequency); } - if(supplyRoomConfig.dashboardsScreenSaver){ + if (supplyRoomConfig.dashboardsScreenSaver) { Ext.getCmp('dashboardsScreenSaver').setValue(supplyRoomConfig.dashboardsScreenSaver); } - if(supplyRoomConfig.noOperationTime){ + if (supplyRoomConfig.noOperationTime) { Ext.getCmp('noOperationTime').setValue(supplyRoomConfig.noOperationTime); } - if(supplyRoomConfig.dashboardsQueryCycle){ + if (supplyRoomConfig.dashboardsQueryCycle) { Ext.getCmp('dashboardsQueryCycle').setValue(supplyRoomConfig.dashboardsQueryCycle); } - if(!SSTS_WriteSign_manager){ + if (!SSTS_WriteSign_manager) { Ext.getCmp('handWrittenSignatureMode').setValue(supplyRoomConfig.handWrittenSignatureMode || ''); } //DGKHYY-29:时长 - if(sstsConfig.showCameraPhoto){ + if (sstsConfig.showCameraPhoto) { Ext.getCmp('tousseCamImgVidRetentionTime').setValue(supplyRoomConfig.tousseCamImgVidRetentionTime || ''); Ext.getCmp('ftCamImgVidRetentionTime').setValue(supplyRoomConfig.ftCamImgVidRetentionTime || ''); } //SZSDSRMYY-130:使用记录结算科室取值范围 - if(sstsConfig.enableTheSettlementDepartmentIsDepartOfPatientFunction){ + if (sstsConfig.enableTheSettlementDepartmentIsDepartOfPatientFunction) { Ext.getCmp('useRecordTiSettlementDepart').setValue(supplyRoomConfig.useRecordTiSettlementDepart || '仅病人所在科室'); } - var isFtOnlyImplantConvert = (supplyRoomConfig.isFtOnlyImplantConvert == true || supplyRoomConfig.isFtOnlyImplantConvert == 'true')?'是':'否'; + var isFtOnlyImplantConvert = (supplyRoomConfig.isFtOnlyImplantConvert == true || supplyRoomConfig.isFtOnlyImplantConvert == 'true') ? '是' : '否'; Ext.getCmp('mergeTousseRuleForInvoiceBatchPrint').setValue(supplyRoomConfig.mergeTousseRuleForInvoiceBatchPrint); Ext.getCmp('mergeTousseRuleForInvoiceBatchPrintStr').setValue(supplyRoomConfig.mergeTousseRuleForInvoiceBatchPrint); - if(sstsConfig.onlyAvailableIsDisplayedOfInvoicePlanList){ + if (sstsConfig.onlyAvailableIsDisplayedOfInvoicePlanList) { Ext.getCmp('invoiceModeTousseRange').setValue(supplyRoomConfig.invoiceModeTousseRange || ''); } - if(!SSTS_ContainerConnect_manager){ + if (!SSTS_ContainerConnect_manager) { Ext.getCmp('kardexContainerHost').setValue(supplyRoomConfig.kardexContainerHost); Ext.getCmp('kardexContainerPort').setValue(supplyRoomConfig.kardexContainerPort); } - if(sstsConfig.enableOperationReservationShippedToTraysOfKardexContainer){ + if (sstsConfig.enableOperationReservationShippedToTraysOfKardexContainer) { Ext.getCmp('kardexContainerAddr').setValue(supplyRoomConfig.kardexContainerAddr); Ext.getCmp('kardexContainerAddrName').setValue(supplyRoomConfig.kardexContainerAddr); } @@ -4370,28 +4370,28 @@ Ext.getCmp('ftPrintOrgSource').setValue(supplyRoomConfig.ftPrintOrgSource); Ext.getCmp('ftPrintAmount').setValue(supplyRoomConfig.ftPrintAmount); Ext.getCmp('ftPrintAmountSource').setValue(supplyRoomConfig.ftPrintAmountSource); - if(sstsConfig.enableSurgicalInstrumentsManagement){ - var isEnableTousseOpRecipient = (supplyRoomConfig.isEnableTousseOpRecipient == true || supplyRoomConfig.isEnableTousseOpRecipient == 'true')?'是':'否'; - var isEnableTousseOpDestLocation = (supplyRoomConfig.isEnableTousseOpDestLocation == true || supplyRoomConfig.isEnableTousseOpDestLocation == 'true')?'是':'否'; - var isEnableTousseOpSign = (supplyRoomConfig.isEnableTousseOpSign == true || supplyRoomConfig.isEnableTousseOpSign == 'true')?'是':'否'; - var isEnableTousseUnReturnWarn = (supplyRoomConfig.isEnableTousseUnReturnWarn == true || supplyRoomConfig.isEnableTousseUnReturnWarn == 'true')?'是':'否'; + if (sstsConfig.enableSurgicalInstrumentsManagement) { + var isEnableTousseOpRecipient = (supplyRoomConfig.isEnableTousseOpRecipient == true || supplyRoomConfig.isEnableTousseOpRecipient == 'true') ? '是' : '否'; + var isEnableTousseOpDestLocation = (supplyRoomConfig.isEnableTousseOpDestLocation == true || supplyRoomConfig.isEnableTousseOpDestLocation == 'true') ? '是' : '否'; + var isEnableTousseOpSign = (supplyRoomConfig.isEnableTousseOpSign == true || supplyRoomConfig.isEnableTousseOpSign == 'true') ? '是' : '否'; + var isEnableTousseUnReturnWarn = (supplyRoomConfig.isEnableTousseUnReturnWarn == true || supplyRoomConfig.isEnableTousseUnReturnWarn == 'true') ? '是' : '否'; Ext.getCmp('isEnableTousseOpRecipient').setValue(isEnableTousseOpRecipient); Ext.getCmp('isEnableTousseOpDestLocation').setValue(isEnableTousseOpDestLocation); Ext.getCmp('isEnableTousseOpSign').setValue(isEnableTousseOpSign); Ext.getCmp('isEnableTousseUnReturnWarn').setValue(isEnableTousseUnReturnWarn); } - if(supplyRoomConfig.isEnableTousseOpRecipient == true || supplyRoomConfig.isEnableTousseOpRecipient == 'true'){ + if (supplyRoomConfig.isEnableTousseOpRecipient == true || supplyRoomConfig.isEnableTousseOpRecipient == 'true') { Ext.getCmp('loginUserDefaultOpRecipientBox').show(); - var loginUserDefaultOpRecipient = (supplyRoomConfig.loginUserDefaultOpRecipient == true || supplyRoomConfig.loginUserDefaultOpRecipient == 'true')?'是':'否'; + var loginUserDefaultOpRecipient = (supplyRoomConfig.loginUserDefaultOpRecipient == true || supplyRoomConfig.loginUserDefaultOpRecipient == 'true') ? '是' : '否'; Ext.getCmp('loginUserDefaultOpRecipient').setValue(loginUserDefaultOpRecipient); - }else { + } else { Ext.getCmp('loginUserDefaultOpRecipientBox').hide(); } - if(sstsConfig.enableInstrumentRepairManagement && sstsConfig.InstrumentRepairManagementVersion == 2){ + if (sstsConfig.enableInstrumentRepairManagement && sstsConfig.InstrumentRepairManagementVersion == 2) { Ext.getCmp('instrumentRepairRemindOrgUnitNames').setValue(supplyRoomConfig.instrumentRepairRemindOrgUnitNames || ''); Ext.getCmp('instrumentRepairRemindOrgUnitIds').setValue(supplyRoomConfig.instrumentRepairRemindOrgUnitIds || ''); } - if(sstsConfig.enableWarehousePositionModule){ + if (sstsConfig.enableWarehousePositionModule) { Ext.getCmp('autoSignAfterPutInStorage').setValue(supplyRoomConfig.autoSignAfterPutInStorage); } Ext.getCmp('quickJumpOperationTousseOp').setValue(supplyRoomConfig.quickJumpOperationTousseOp || '无');