From 26f4e9bc4604fa04f9a9515e8f87079e4b9907df Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 6 Jul 2023 09:39:06 +0900 Subject: [PATCH] =?UTF-8?q?datepicker=20CSS=EC=86=8D=EC=84=B1(z-index)?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/fims/framework/cmm/initGrid.js | 94 +------------------ .../fims/framework/datepicker/datepicker.css | 2 +- 2 files changed, 2 insertions(+), 94 deletions(-) diff --git a/src/main/webapp/resources/js/fims/framework/cmm/initGrid.js b/src/main/webapp/resources/js/fims/framework/cmm/initGrid.js index 04c54d56..6d80ff10 100644 --- a/src/main/webapp/resources/js/fims/framework/cmm/initGrid.js +++ b/src/main/webapp/resources/js/fims/framework/cmm/initGrid.js @@ -1,98 +1,6 @@ -var initGrid = (gridOptions) => { - - var tableBodyTemplate = {}; - - var strThs = ""; - var strBodyTrs = ""; - var colCnt = 0; - - - if(gridOptions.rowHeader){ - strThs += ` - ${gridOptions.rowHeader} - `; - colCnt++ - } - - strBodyTrs += ``; - - if(gridOptions.rowHeader){ - strBodyTrs += `{ROW_NUM} - `; - } - - var gridColumns = gridOptions.columns; - gridColumns.forEach(function(item, idx, arr){ - - var gHeader = item.header; - var gName = item.name; - - var gWidth = item.width; - if(!gWidth){ - gWidth = "0px"; - } - - var gClass = item.className; - if(!gClass){ - gClass = ""; - } - var thClass = gClass.replace("text-start","").replace("texter-center","").replace("text-end",""); - - var titleClickEvent = ``; - - var by = gridOptions.by; - var byOutput = gridOptions.byOutput; - if(by && byOutput){ - titleClickEvent += `searchFromGridTitle('${by}','${byOutput}','${gName}','${gHeader}','${item.advancedOptionIndex}');`; - } - - var gHidden = item.hidden; - if(!gHidden){ - gHidden = ""; - colCnt++; - - } else { - gHidden = "hidden"; - } - - strThs += `${gHeader} - `; - - strBodyTrs += `{${gName}} - `; - - }); - - strBodyTrs += ``; - tableBodyTemplate.found = strBodyTrs; - - $("#"+gridOptions.theadTr).append(strThs); - - - var notFound = ` - ${gridOptions.prefixName} 정보를 찾지 못했습니다. - `; - tableBodyTemplate.notFound = notFound; - - return tableBodyTemplate; -}; function searchFromGridTitle(byElement, byOutputElement, byValue, byOutputValue, advancedOptionIndex){ - + if(advancedOptionIndex > 0){ document.getElementById(byElement).value = "advancedOption" + advancedOptionIndex; } else { diff --git a/src/main/webapp/resources/lib/fims/framework/datepicker/datepicker.css b/src/main/webapp/resources/lib/fims/framework/datepicker/datepicker.css index e26ef64f..293c9665 100644 --- a/src/main/webapp/resources/lib/fims/framework/datepicker/datepicker.css +++ b/src/main/webapp/resources/lib/fims/framework/datepicker/datepicker.css @@ -2,7 +2,7 @@ /* datepicker Style */ -.ui-datepicker { width: 270px; padding: 0; display: none; border: 0; margin-top: 10px;z-index: 15 !important;} +.ui-datepicker { width: 270px; padding: 0; display: none; border: 0; margin-top: 10px;} .ui-widget.ui-widget-content { border: 0; border-radius: 3px; overflow: hidden; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,0.3) } .ui-datepicker .ui-widget-header { position: relative; padding: 6px 0 36px 0; border: 0; background: #3f51b5; color: #fff; border-radius: 0; } .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { width: 70px; height: 26px; line-height: 26px; background: rgba(0,0,0,0.15) url(images/arrow-button.png) 100% -27px no-repeat; margin: 0 4px; padding: 0 6px; border: 0; border-radius: 3px; color: #fff; font-size: 13px; font-weight: bold; box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; appearance: none; /* 화살표 없애기 */ }