// === EIP4 P4 脚本迁移产出 === // template_id : df13b183-6fac-4db3-8c53-8b2923086805 // template_name: 项目风险 // seq : 1 // label : NO_S3 // 处置 : 无 S3 模式,原样进 P4 def yes = GetServicesFunction.getEnumerateItemValue("YESNO",item["ISIGNORE"]) def light = GetServicesFunction.getEnumerateItemValue("SYS_RISK_LEVEL",item["LEVEL"]) if(yes == 1 || light == 3 ){ enableButton("关闭风险",false) }else{ enableButton("关闭风险",true) }