jacky6024 hace 8 años
padre
commit
d65701a61c

+ 0 - 1
urule-console-js/src/css/iconfont.css

@@ -6,7 +6,6 @@
 
 .rf {
   font-family:"rf" !important;
-  font-size:16px;
   font-style:normal;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;

+ 10 - 0
urule-console-js/src/editor/urule/LoopRule.js

@@ -57,6 +57,10 @@ urule.LoopRule.prototype.initData=function(){
 	if(enabled!=null){
 		this.addProperty(new urule.RuleProperty(this,"enabled",enabled,3));
 	}
+	var debug=this.data["debug"];
+	if(debug!=null){
+		this.addProperty(new urule.RuleProperty(this,"debug",debug,3));
+	}
 	var activationGroup=this.data["activationGroup"];
 	if(activationGroup){
 		this.addProperty(new urule.RuleProperty(this,"activation-group",activationGroup,1));
@@ -250,6 +254,12 @@ urule.LoopRule.prototype.initHeader=function(){
 			defaultValue:true,
 			editorType:3,
 			onClick:onClick
+		},{
+			label:"允许调试信息输出",
+			name:"debug",
+			defaultValue:true,
+			editorType:3,
+			onClick:onClick
 		},{
 			label:"互斥组",
 			name:"activation-group",

+ 10 - 0
urule-console-js/src/scorecard/PropertyConfig.js

@@ -57,6 +57,12 @@ export default class PropertyConfig{
                 defaultValue:true,
                 editorType:3,
                 onClick:onClick
+            },{
+                label:"允许调试信息输出",
+                name:"debug",
+                defaultValue:true,
+                editorType:3,
+                onClick:onClick
             }]
         });
         addProp.click(function(e){
@@ -74,6 +80,10 @@ export default class PropertyConfig{
         if(loop!=null){
             this.addProperty(new urule.RuleProperty(this,"loop",loop,3));
         }
+        var debug=data["debug"];
+        if(debug!=null){
+            this.addProperty(new urule.RuleProperty(this,"debug",debug,3));
+        }
         var effectiveDate=data["effectiveDate"];
         if(effectiveDate){
             this.addProperty(new urule.RuleProperty(this,"effective-date",effectiveDate,2));