Эх сурвалжийг харах

【新项目】【看板项目】【注释setLoayoutPosition方法】

sunyj 8 жил өмнө
parent
commit
909140dec6

+ 6 - 2
kanban-console/src/main/webapp/resources/app/controller/board.js

@@ -166,7 +166,7 @@ Ext.define('erp.controller.board', {
             });
 	        companel.repaint();
 	        companel.setXY([x,y]);
-	        companel.setLayoutPosition({x: modelObj[i].x, y: modelObj[i].y, width: modelObj[i].width, height: modelObj[i].height})
+	        //companel.setLayoutPosition({x: modelObj[i].x, y: modelObj[i].y, width: modelObj[i].width, height: modelObj[i].height})
 		}
   	 },
   	 getPropConfigByRecord:function(records){
@@ -279,7 +279,11 @@ Ext.define('erp.controller.board', {
 				ytitle: ch.getAttribute('ytitle'),
 				ytype: ch.getAttribute('ytype'),
 				field: ch.getAttribute('field'),
-				value: ch.getAttribute('value')				
+				value: ch.getAttribute('value'),
+				x:x,
+				y:y,
+				width:width,
+				height:height
 			};
 			for(var key in baseConfigFormValue) {
 				if(baseConfigFormValue[key] == null) {