Index: ssts-web/src/main/webapp/disinfectsystem/reportforms/statisticalWorkloadView.js =================================================================== diff -u -r33155 -r34535 --- ssts-web/src/main/webapp/disinfectsystem/reportforms/statisticalWorkloadView.js (.../statisticalWorkloadView.js) (revision 33155) +++ ssts-web/src/main/webapp/disinfectsystem/reportforms/statisticalWorkloadView.js (.../statisticalWorkloadView.js) (revision 34535) @@ -1,5 +1,12 @@ //消毒供应中心员工绩效评分表 var isStrengthen = sstsConfig.strengthenStatisticalWorkload; +var enableScoreByIntegralFieldOfTousseDefinitionInStaffStatisticalWorkloadReport = sstsConfig.enableScoreByIntegralFieldOfTousseDefinitionInStaffStatisticalWorkloadReport; +var isHideStrengthenBtn = true; +if(enableScoreByIntegralFieldOfTousseDefinitionInStaffStatisticalWorkloadReport && isStrengthen){ + isHideStrengthenBtn = true; +}else { + isHideStrengthenBtn = !isStrengthen; +} var showDisposableGoodsSendAmountInCssdYearWorkloadReport = sstsConfig.showDisposableGoodsSendAmountInCssdYearWorkloadReport; var entityName = isStrengthen ? "消毒供应中心员工绩效评分表" : (sstsConfig.statisticalWorkloadName ? sstsConfig.statisticalWorkloadName : "消毒供应中心员工工作量统计报表"); var form; @@ -501,7 +508,7 @@ },{ xtype : 'button', text : '设置评分标准', - hidden : !isStrengthen, + hidden : isHideStrengthenBtn, minWidth : 70, iconCls : 'icon_set', handler : function() {