Ver código fonte

팝업그리드 간격 조정

eskim 5 anos atrás
pai
commit
6716b0311c
1 arquivos alterados com 23 adições e 12 exclusões
  1. 23 12
      src/main/webapp/WEB-INF/views/display/PopupListForm.html

+ 23 - 12
src/main/webapp/WEB-INF/views/display/PopupListForm.html

@@ -299,19 +299,19 @@
 
 	let columnDefs = [
 		{width: 40, minWidth: 40, cellClass: 'text-center', headerCheckboxSelection: true, checkboxSelection: true, filter: false},
-		{headerName: "팝업일련번호", field: "popupSq", width: 150, cellClass: 'text-center'
+		{headerName: "팝업일련번호", field: "popupSq", width: 100, cellClass: 'text-center'
 			,cellRenderer: function(params) {
 				return '<a href="javascript:void(0);">' + params.value + '</a>';
 			}
 		},
-		{headerName: "적용여부", field: "displayYn", width: 150, cellClass: 'text-center'},
+		{headerName: "적용여부", field: "displayYn", width: 80, cellClass: 'text-center'},
 		{headerName: "전시위치", field: "viewPage", width: 150, cellClass: 'text-center'
 			,valueFormatter: function (params) { return !gagajf.isNull(params.value) ? "["+params.value+"] "+params.data.viewPageNm : '';}
 		},
-		{headerName: "카테고리", field: "cateNo", width: 150, cellClass: 'text-center'},
-		{headerName: "브랜드", field: "brandCd", width: 150, cellClass: 'text-center'},
-		{headerName: "기획전번호", field: "planSq", width: 150, cellClass: 'text-center'},
-		{headerName: "PC/모바일", field: "frontGb", width: 150, cellClass: 'text-center'
+		{headerName: "카테고리", field: "cateNo", width: 130, cellClass: 'text-center'},
+		{headerName: "브랜드", field: "brandCd", width: 130, cellClass: 'text-center'},
+		{headerName: "기획전번호", field: "planSq", width: 130, cellClass: 'text-center'},
+		{headerName: "PC/모바일", field: "frontGb", width: 100, cellClass: 'text-center'
 			,valueFormatter: function(params) {
 				if (params.data.frontGb == 'A') {
 					return '전체';
@@ -322,11 +322,20 @@
 				}
 			}
 		},
-		{headerName: "우선순위", field: "dispOrd", width: 150, cellClass: 'text-center'},
-		{headerName: "전시시작일", field: "dispStdt", width: 150, cellClass: 'text-center'},
-		{headerName: "전시시작시간", field: "dispStTime", width: 150, cellClass: 'text-center'},
-		{headerName: "전시종료일", field: "dispEddt", width: 150, cellClass: 'text-center'},
-		{headerName: "전시종료시간", field: "dispEdTime", width: 150, cellClass: 'text-center'},
+		{headerName: "팝업구분", field: "popupGb", width: 100, cellClass: 'text-center'
+			,valueFormatter: function(params) {
+				if (params.data.popupGb == 'F') {
+					return 'Full';
+				}else{
+					return 'Half';
+				}
+			}
+		},
+		{headerName: "우선순위", field: "dispOrd", width: 100, cellClass: 'text-center'},
+		{headerName: "전시시작일", field: "dispStdt", width: 100, cellClass: 'text-center'},
+		{headerName: "전시시작시간", field: "dispStTime", width: 100, cellClass: 'text-center'},
+		{headerName: "전시종료일", field: "dispEddt", width: 100, cellClass: 'text-center'},
+		{headerName: "전시종료시간", field: "dispEdTime", width: 100, cellClass: 'text-center'},
 		{headerName: "등록자", field: "regNm", width: 150, cellClass: 'text-center'},
 		{headerName: "등록일시", field: "regDt", width: 150, cellClass: 'text-center'}
 	];
@@ -372,7 +381,9 @@
 			$("#edTime").val(dispEdTime);
 			$("#edTimeHour").val(dispEdTime.substr(0,2));
 			$("#edTimeMin").val(dispEdTime.substr(2,2));
-
+			
+			$(formId + " input[name=linkUrl]").val(event.data.linkUrl1);
+			
 			var popupImg = event.data.imgUrl1;
 			if(!gagajf.isNull(popupImg)){
 				$(formId + " input[name=orgFileNm]").val(popupImg);