Compare commits

...

2 Commits

2 changed files with 8 additions and 16 deletions

View File

@ -191,21 +191,13 @@
.roleList .head > span:nth-child(1) {width: 120px;} .roleList .head > span:nth-child(1) {width: 120px;}
.roleList .head > span:nth-child(2) {width: 180px;} .roleList .head > span:nth-child(2) {width: 180px;}
.roleList .head > span:nth-child(3) {width: 120px;} .roleList .head > span:nth-child(3) {width: 120px;}
.roleList .head > span:nth-child(4) {width: 60px;} .roleList .head .checkboxDiv {width: 60px;}
.roleList .head > span:nth-child(5) {width: 60px;} .roleList .head .saveBtnDiv {width: 100px;}
.roleList .head > span:nth-child(6) {width: 60px;}
.roleList .head > span:nth-child(7) {width: 60px;}
.roleList .head > span:nth-child(8) {width: 60px;}
.roleList .head > span:nth-child(9) {width: 100px;}
.roleList .result .list_item > div:nth-child(1) {width: 120px;} .roleList .result .list_item > div:nth-child(1) {width: 120px;}
.roleList .result .list_item > div:nth-child(2) {width: 180px;} .roleList .result .list_item > div:nth-child(2) {width: 180px;}
.roleList .result .list_item > div:nth-child(3) {width: 120px;} .roleList .result .list_item > div:nth-child(3) {width: 120px;}
.roleList .result .list_item > div:nth-child(4) {width: 60px;} .roleList .result .list_item .checkboxDiv {width: 60px;}
.roleList .result .list_item > div:nth-child(5) {width: 60px;} .roleList .result .list_item .saveBtnDiv {width: 100px;}
.roleList .result .list_item > div:nth-child(6) {width: 60px;}
.roleList .result .list_item > div:nth-child(7) {width: 60px;}
.roleList .result .list_item > div:nth-child(8) {width: 60px;}
.roleList .result .list_item > div:nth-child(9) {width: 100px;}
/* 사이트소개 */ /* 사이트소개 */
.SITE_INTRO .ds_1 .t_1 {margin-top: 52px; color: #000; font-size: 26px; font-weight: 500; text-align: center;} .SITE_INTRO .ds_1 .t_1 {margin-top: 52px; color: #000; font-size: 26px; font-weight: 500; text-align: center;}

View File

@ -31,7 +31,7 @@ function MenuAuthMgt(props) {
const checkboxs = []; const checkboxs = [];
roleList.forEach(function (role) { roleList.forEach(function (role) {
checkboxs.push( checkboxs.push(
<div> <div className={"checkboxDiv"}>
<Form.Check className={role.itemCd} value={role.itemCd} <Form.Check className={role.itemCd} value={role.itemCd}
onClick={(e)=>{ onClick={(e)=>{
const checked = e.target.checked; const checked = e.target.checked;
@ -51,7 +51,7 @@ function MenuAuthMgt(props) {
<div>{item.menuTitle}</div> <div>{item.menuTitle}</div>
<div>{item.menuGroup}</div> <div>{item.menuGroup}</div>
{checkboxs} {checkboxs}
<div> <div className={"saveBtnDiv"}>
<button className={"btn btn_blue_h31 px-1"} onClick={()=>{editMenu(item)}}>저장</button> <button className={"btn btn_blue_h31 px-1"} onClick={()=>{editMenu(item)}}>저장</button>
</div> </div>
</div> </div>
@ -60,7 +60,7 @@ function MenuAuthMgt(props) {
if(!mutListTag.length) mutListTag.push(<p className="no_data" key="0">검색된 결과가 없습니다.</p>); // if(!mutListTag.length) mutListTag.push(<p className="no_data" key="0">검색된 결과가 없습니다.</p>); //
roleList.forEach(function (item, index) { roleList.forEach(function (item, index) {
headerTag.push(<span>{item.itemNm}</span>) headerTag.push(<span className={"checkboxDiv"}>{item.itemNm}</span>)
}); });
setListTag(mutListTag); setListTag(mutListTag);
@ -128,7 +128,7 @@ function MenuAuthMgt(props) {
<span>메뉴 이름</span> <span>메뉴 이름</span>
<span>부모 메뉴</span> <span>부모 메뉴</span>
{roleHeader} {roleHeader}
<span></span> <span className={"saveBtnDiv"}></span>
</div> </div>
<div className="result"> <div className="result">
{listTag} {listTag}