style: 관리자 - 위원회 코드관리 디자인 변경
parent
2c7604f3fa
commit
3a8f9f700e
|
|
@ -115,13 +115,15 @@ function ListCreateUpdateDelete(props) {
|
||||||
</Grid>
|
</Grid>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Demo>
|
<Demo>
|
||||||
<List dense={false} sx={{ px: 0, '&': { height: '253px', overflowY: 'auto'}}}>
|
<List dense={false} sx={{ px: 0, '&': { minHeight: '315px', height: '650px', overflowY: 'auto'}}}>
|
||||||
{generate(
|
{generate(
|
||||||
props.items,
|
props.items,
|
||||||
<ListItem
|
<ListItem
|
||||||
secondaryAction={
|
secondaryAction={
|
||||||
<div>
|
<div>
|
||||||
<IconButton sx={{ mx: 0 }} edge="start" aria-label="edit" onClick={(e)=> {alert('수정 클릭')}}>
|
<IconButton sx={{ mx: 0 }} edge="start" aria-label="edit" onClick={(e)=> {
|
||||||
|
props.setIsPopupOpen(true);
|
||||||
|
}}>
|
||||||
<EditIcon />
|
<EditIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
<IconButton edge="end" aria-label="delete" onClick={(e)=> {
|
<IconButton edge="end" aria-label="delete" onClick={(e)=> {
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,9 @@ function CommitteeCodeMgt(props) {
|
||||||
|
|
||||||
const [confirm, setConfirm] = React.useState();
|
const [confirm, setConfirm] = React.useState();
|
||||||
|
|
||||||
|
const [editCreateMode, setEditCreateMode] = React.useState(); // 생성 or 수정 여부
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 위원회 코드 등록 팝업을 보이거나 닫는다.
|
// 위원회 코드 등록 팝업을 보이거나 닫는다.
|
||||||
const [isCommitteeCodeRegistrationPopupOpen, setIsCommitteeCodeRegistrationPopupOpen] = React.useState(false);
|
const [isCommitteeCodeRegistrationPopupOpen, setIsCommitteeCodeRegistrationPopupOpen] = React.useState(false);
|
||||||
|
|
@ -324,7 +327,7 @@ function CommitteeCodeMgt(props) {
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</Box>
|
</Box>
|
||||||
{ true &&
|
{ false &&
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue