Compare commits

..

27 Commits
main ... dev

Author SHA1 Message Date
Kurt92 48c2894c82 Merge branch 'main' into dev 2 years ago
minuk926 e7bdb69d15 fix: dashboard 공지사항 제목 색상 fix 2 years ago
minuk926 1601231da6 config: production confg fix 2 years ago
minuk926 3957562508 config: production confg fix 2 years ago
minuk926 33e461ff42 config: production confg fix 2 years ago
minuk926 a65fd0122c config: production confg fix 2 years ago
minuk926 2ede32c465 config: production confg fix 2 years ago
minuk926 91e5396b94 config: production confg fix 2 years ago
minuk926 1f64284e60 config: production confg fix 2 years ago
minuk926 c84256092c fix: cors middleware 설정 제거 2 years ago
minuk926 f6592d19b5 fix: cors middleware 설정 제거 2 years ago
minuk926 14bb26d62a fix: cors middleware 설정 제거 2 years ago
minuk926 d586c7b226 Revert "fix: 심의등록 검색조건 필드 fix"
This reverts commit 755a649461.
2 years ago
minuk926 728bf41a2d fix: cors middleware 설정 제거 2 years ago
minuk926 108b73f3c4 fix: cors middleware 설정 추가 2 years ago
minuk926 fe5dde9e4b fix: cors middleware 설정 추가 2 years ago
minuk926 55c898c426 fix: cors middleware 설정 추가 2 years ago
minuk926 37baeaa4c5 fix: cors middleware 설정 추가 2 years ago
minuk926 aa2d044208 fix: cors middleware 설정 추가 2 years ago
minuk926 bd1aaddf68 fix: cors middleware 설정 추가 2 years ago
minuk926 6da959729b fix: cors middleware 설정 추가 2 years ago
minuk926 7d236ee5cf fix: cors middleware 설정 추가 2 years ago
minuk926 cdfa5d2aec fix: cors middleware 설정 추가 2 years ago
minuk926 8eed59be10 fix: cors middleware 설정 추가 2 years ago
minuk926 0620c4b8ee fix: cors middleware 설정 추가 2 years ago
minuk926 755a649461 fix: 심의등록 검색조건 필드 fix 2 years ago
minuk926 cb1e03f31c feat: 개발 소스(mpower 미적용) 2 years ago

@ -1,6 +1,6 @@
NODE_PATH=src NODE_PATH=src
REACT_APP_MODE=production REACT_APP_MODE=production
REACT_APP_VERSION = v0.0.1 REACT_APP_VERSION = v0.0.1
#REACT_APP_API_URL=http://211.119.124.9:8090 #REACT_APP_API_URL=http://traffic.gangnam.go.kr1:8090
REACT_APP_API_URL=http://localhost:8090 REACT_APP_API_URL=http://211.119.124.9:8090
REACT_APP_SERVER_TIMEOUT=6000 REACT_APP_SERVER_TIMEOUT=6000

@ -2,6 +2,7 @@
"name": "xit-opst-fo", "name": "xit-opst-fo",
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"proxy": "http://localhost:8090",
"dependencies": { "dependencies": {
"@emotion/cache": "^11.7.1", "@emotion/cache": "^11.7.1",
"@emotion/react": "^11.7.1", "@emotion/react": "^11.7.1",

@ -1,53 +1,53 @@
// const URL = process.env.NODE_ENV !== 'development' ? process.env.REACT_APP_API_URL : '' // const URL = process.env.NODE_ENV !== 'development' ? process.env.REACT_APP_API_URL : ''
// console.log(process.env.NODE_ENV) // console.log(process.env.NODE_ENV)
export const LOGIN_URL = '/api/v2/ctgy/account/login'; export const LOGIN_URL = '/api/v1/ctgy/account/login';
export const GET_CMM_CODE_LIST = '/api/v2/biz/cmm/combo'; export const GET_CMM_CODE_LIST = '/api/v1/biz/cmm/combo';
export const GET_FILE_DOWNLOAD = '/api/v2/ctgy/file/download/'; export const GET_FILE_DOWNLOAD = '/api/v1/ctgy/file/download/';
export const GET_DASHBOARD = '/api/v2/ctgy/dashboard'; export const GET_DASHBOARD = '/api/v1/ctgy/dashboard';
// 공지사항 // 공지사항
export const GET_PUBLIC_BOARD_LIST = '/api/v2/ctgy/pboard'; export const GET_PUBLIC_BOARD_LIST = '/api/v1/ctgy/pboard';
export const SAVE_PUBLIC_BOARD_HIT_CNT = '/api/v2/ctgy/pboard/hit/'; export const SAVE_PUBLIC_BOARD_HIT_CNT = '/api/v1/ctgy/pboard/hit/';
export const SAVE_PUBLIC_BOARD = '/api/v2/ctgy/file/pboard'; export const SAVE_PUBLIC_BOARD = '/api/v1/ctgy/file/pboard';
export const REMOVE_PUBLIC_BOARD = '/api/v2/ctgy/file/pboard/'; export const REMOVE_PUBLIC_BOARD = '/api/v1/ctgy/file/pboard/';
// 게시판 // 게시판
export const GET_BOARD_LIST = '/api/v2/ctgy/board'; export const GET_BOARD_LIST = '/api/v1/ctgy/board';
export const SAVE_BOARD_HIT_CNT = '/api/v2/ctgy/board/hit/'; export const SAVE_BOARD_HIT_CNT = '/api/v1/ctgy/board/hit/';
export const SAVE_BOARD = '/api/v2/ctgy/board'; export const SAVE_BOARD = '/api/v1/ctgy/board';
export const REMOVE_BOARD = '/api/v2/ctgy/board/'; export const REMOVE_BOARD = '/api/v1/ctgy/board/';
// 주정차 의견 진술 // 주정차 의견 진술
export const GET_PARKING_LIST = '/api/v2/ctgy/parking'; export const GET_PARKING_LIST = '/api/v1/ctgy/parking';
export const GET_PARKING_JUDGE_RESULT_LIST = '/api/v2/ctgy/parking/result'; export const GET_PARKING_JUDGE_RESULT_LIST = '/api/v1/ctgy/parking/result';
export const GET_PARKING_JUDGE_TARGET_LIST = '/api/v2/ctgy/parking/target'; export const GET_PARKING_JUDGE_TARGET_LIST = '/api/v1/ctgy/parking/target';
export const SAVE_PARKING_JUDGE_TARGET_LIST = '/api/v2/ctgy/parking/target'; export const SAVE_PARKING_JUDGE_TARGET_LIST = '/api/v1/ctgy/parking/target';
export const REMOVE_PARKING_JUDGE = '/api/v2/ctgy/parking/remove'; export const REMOVE_PARKING_JUDGE = '/api/v1/ctgy/parking/remove';
export const GET_PARKING_JUDGE_LIST = '/api/v2/ctgy/parking/judge'; export const GET_PARKING_JUDGE_LIST = '/api/v1/ctgy/parking/judge';
// 거주자/장애인 의견 진술 // 거주자/장애인 의견 진술
export const GET_ADMIN_JUDGE_DATA_LIST = '/api/v2/ctgy/admin/data'; export const GET_ADMIN_JUDGE_DATA_LIST = '/api/v1/ctgy/admin/data';
export const SAVE_ADMIN_JUDGE_DATA = '/api/v2/ctgy/admin/data'; export const SAVE_ADMIN_JUDGE_DATA = '/api/v1/ctgy/admin/data';
export const GET_ADMIN_JUDGE_DATA = '/api/v2/ctgy/admin/data/'; export const GET_ADMIN_JUDGE_DATA = '/api/v1/ctgy/admin/data/';
export const REMOVE_ADMIN_JUDGE_DATA = '/api/v2/ctgy/admin/data/remove'; export const REMOVE_ADMIN_JUDGE_DATA = '/api/v1/ctgy/admin/data/remove';
export const GET_ADMIN_JUDGE_LIST = '/api/v2/ctgy/admin'; export const GET_ADMIN_JUDGE_LIST = '/api/v1/ctgy/admin';
export const GET_ADMIN_JUDGE_RESULT_LIST = '/api/v2/ctgy/admin/result'; export const GET_ADMIN_JUDGE_RESULT_LIST = '/api/v1/ctgy/admin/result';
export const GET_ADMIN_JUDGE_TARGET_LIST = '/api/v2/ctgy/admin/target'; export const GET_ADMIN_JUDGE_TARGET_LIST = '/api/v1/ctgy/admin/target';
export const SAVE_ADMIN_JUDGE_TARGET_LIST = '/api/v2/ctgy/admin/target'; export const SAVE_ADMIN_JUDGE_TARGET_LIST = '/api/v1/ctgy/admin/target';
export const REMOVE_ADMIN_JUDGE = '/api/v2/ctgy/admin/remove'; export const REMOVE_ADMIN_JUDGE = '/api/v1/ctgy/admin/remove';
export const SAVE_ADMIN_JUDGE_STDS = '/api/v2/ctgy/admin/judge'; export const SAVE_ADMIN_JUDGE_STDS = '/api/v1/ctgy/admin/judge';
export const GET_JUDGE_LIST = '/api/v2/ctgy/judge'; export const GET_JUDGE_LIST = '/api/v1/ctgy/judge';
export const SAVE_JUDGE_RESULT = '/api/v2/ctgy/judge'; export const SAVE_JUDGE_RESULT = '/api/v1/ctgy/judge';
export const GET_JUDGE_FILE_DOWNLOAD = '/api/v2/ctgy/cmm/download/judge'; export const GET_JUDGE_FILE_DOWNLOAD = '/api/v1/ctgy/cmm/download/judge';
// 사용자 관리 // 사용자 관리
export const GET_USER_LIST = '/api/v2/ctgy/user'; export const GET_USER_LIST = '/api/v1/ctgy/user';
export const SAVE_USER = '/api/v2/ctgy/user'; export const SAVE_USER = '/api/v1/ctgy/user';
export const REMOVE_USER = '/api/v2/ctgy/user'; export const REMOVE_USER = '/api/v1/ctgy/user';

@ -62,7 +62,7 @@ export const JWTProvider = ({ children }) => {
// TODO: verifyToken ?? // TODO: verifyToken ??
if (accessToken && verifyToken(accessToken)) { if (accessToken && verifyToken(accessToken)) {
setLocalStorage(ACCESS_TOKEN_NAME, accessToken); setLocalStorage(ACCESS_TOKEN_NAME, accessToken);
const response = await axios.get('/api/v2/ctgy/user/info'); const response = await axios.get('/api/v1/ctgy/user/info');
console.log(response); console.log(response);
// TODO : 적용 필요 // TODO : 적용 필요
const { userid, email, name, accesstype } = response.data; const { userid, email, name, accesstype } = response.data;

@ -7,8 +7,8 @@ import Swal from 'sweetalert2';
const axiosService = axios.create({ const axiosService = axios.create({
// baseURL: process.env.NODE_ENV === 'development' ? process.env.REACT_APP_API_URL : '', // baseURL: process.env.NODE_ENV === 'development' ? process.env.REACT_APP_API_URL : '',
baseURL: process.env.REACT_APP_API_URL, // baseURL: process.env.REACT_APP_API_URL,
withCredentials: process.env.NODE_ENV !== 'production', // 개발시만 사용 : crossdomain withCredentials: true, // 개발시만 사용 : crossdomain
timeout: Number(process.env.REACT_APP_SERVER_TIMEOUT), timeout: Number(process.env.REACT_APP_SERVER_TIMEOUT),
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'

@ -61,6 +61,10 @@ const JudgeRegistReview = ({ scDatagb, menuName }) => {
]; ];
const search = () => { const search = () => {
if (scSeq1.toString().length < 10 || scSeq2.toString().length < 10) {
showAlert.show('접수번호는 10자리 입니다.');
return;
}
const params = { const params = {
scDatagb, // scDatagb, //
scTransfer, scTransfer,

@ -66,12 +66,7 @@ const Dashboard = () => {
headerName: '제목', headerName: '제목',
headerAlign: 'center', headerAlign: 'center',
field: 'inTitle', field: 'inTitle',
width: 400, width: 400
renderCell: (params) => (
<Link underline="hover" href="#">
{params.value}
</Link>
)
}, },
{ {
headerName: '첨부파일', headerName: '첨부파일',

Loading…
Cancel
Save