feat: mpower 적용중

main
minuk926 2 years ago
parent ceac823883
commit ec7f131c5b

@ -9,8 +9,9 @@ import { setRowId } from './common';
// eslint-disable-next-line import/prefer-default-export // eslint-disable-next-line import/prefer-default-export
export async function findBoards2(params) { export async function findBoards2(params) {
const res = await axios.get(GET_BOARD_LIST2, { params }); const res = await axios.get(GET_BOARD_LIST2, { params });
console.log(res);
if (res.success) { if (res.success) {
res.data = res.data.resultList.map((d, idx) => ({ ...d, rowId: setRowId(params, idx) })); res.data = res.data.map((d, idx) => ({ ...d, rowId: setRowId(params, idx) }));
return res; return res;
} }
return res; return res;

@ -166,6 +166,14 @@ const admin = {
type: 'item', type: 'item',
url: '/board', url: '/board',
icon: icons.IconClipboardList icon: icons.IconClipboardList
},
{
/* 게시판 관리 */
id: 'admin-8',
title: <FormattedMessage id="admin-8" />,
type: 'item',
url: '/board2',
icon: icons.IconClipboardList
} }
] ]
}; };

@ -4,7 +4,6 @@ import { lazy } from 'react';
import MainLayout from 'layout/MainLayout'; import MainLayout from 'layout/MainLayout';
import Loadable from 'ui-component/Loadable'; import Loadable from 'ui-component/Loadable';
import AuthGuard from 'utils/route-guard/AuthGuard'; import AuthGuard from 'utils/route-guard/AuthGuard';
import Board2 from '../views/biz/board/Board2';
// sample page routing // sample page routing
const SamplePage = Loadable(lazy(() => import('views/sample-page'))); const SamplePage = Loadable(lazy(() => import('views/sample-page')));
@ -14,6 +13,8 @@ const Dashboard = Loadable(lazy(() => import('views/dashboard')));
const PublicBoard = Loadable(lazy(() => import('views/biz/pboard/PublicBoard'))); const PublicBoard = Loadable(lazy(() => import('views/biz/pboard/PublicBoard')));
const Board = Loadable(lazy(() => import('views/biz/board/Board'))); const Board = Loadable(lazy(() => import('views/biz/board/Board')));
const Board2 = Loadable(lazy(() => import('views/biz/board/Board2')));
// parking // parking
const ParkingRegister = Loadable(lazy(() => import('views/biz/admin/parking/ParkingRegister'))); const ParkingRegister = Loadable(lazy(() => import('views/biz/admin/parking/ParkingRegister')));
const ParkingUserByJudgeReview = Loadable(lazy(() => import('views/biz/judge/ParkingJudgeByUserReview'))); const ParkingUserByJudgeReview = Loadable(lazy(() => import('views/biz/judge/ParkingJudgeByUserReview')));

@ -11,6 +11,7 @@
"admin-5-2": "심사위원 평가", "admin-5-2": "심사위원 평가",
"admin-6": "SMS 관리", "admin-6": "SMS 관리",
"admin-7": "게시판 관리", "admin-7": "게시판 관리",
"admin-8": "게시판 관리2",
"judge": "의견 진술 관리[심사자]", "judge": "의견 진술 관리[심사자]",
"judge-1": "공지 사항", "judge-1": "공지 사항",

@ -30,9 +30,6 @@ const StyledTableCell = styled(TableCell)(({ theme }) => ({
borderRight: '1px solid #525a73 !important', borderRight: '1px solid #525a73 !important',
borderBottom: '1px solid #525a73 !important', borderBottom: '1px solid #525a73 !important',
padding: '8px' padding: '8px'
// border: '1px solid #525a73', // #525a73;
// overflow: 'initial',
// borderWidth: '0px 1px 1px 0px'
} }
})); }));
@ -46,16 +43,6 @@ const StyledTableRow = styled(TableRow)(({ theme }) => ({
} }
})); }));
// const StyledTableHead = styled(TableHead)(({ theme }) => ({
// [`&.${tableCellClasses.head}`]: {
// backgroundColor: theme.palette.common.black,
// color: theme.palette.common.white
// },
// [`&.${tableCellClasses.body}`]: {
// // fontSize: 14
// }
// }));
const totLabel = ['부과', '서손', '미부과', '계']; const totLabel = ['부과', '서손', '미부과', '계'];
const ModalJudgeResult = ({ totJudgeUsers, totJudgeUserData, judgeCars, judgeUserData, selectedRow, judgeTeam, judgeData, dataGb }) => { const ModalJudgeResult = ({ totJudgeUsers, totJudgeUserData, judgeCars, judgeUserData, selectedRow, judgeTeam, judgeData, dataGb }) => {

Loading…
Cancel
Save