
--- .gitignore
+++ .gitignore
... | ... | @@ -1,4 +1,4 @@ |
1 |
-invest/build/ |
|
1 |
+client/build/ |
|
2 | 2 |
server/logs/ |
3 | 3 |
node_modules |
4 | 4 |
.vscode/settings.json(파일 끝에 줄바꿈 문자 없음) |
--- Global.js
+++ Global.js
... | ... | @@ -14,4 +14,4 @@ |
14 | 14 |
SERVICE_STATUS, |
15 | 15 |
PORT, |
16 | 16 |
API_SERVER_HOST, |
17 |
-}; |
|
17 |
+};(파일 끝에 줄바꿈 문자 없음) |
--- invest/ckeditor/LICENSE.md
+++ client/ckeditor/LICENSE.md
No changes |
--- invest/ckeditor/README.md
+++ client/ckeditor/README.md
No changes |
--- invest/ckeditor/build/ckeditor.d.ts
+++ client/ckeditor/build/ckeditor.d.ts
No changes |
--- invest/ckeditor/build/ckeditor.js
+++ client/ckeditor/build/ckeditor.js
No changes |
--- invest/ckeditor/build/ckeditor.js.map
+++ client/ckeditor/build/ckeditor.js.map
No changes |
--- invest/ckeditor/build/translations/af.js
+++ client/ckeditor/build/translations/af.js
No changes |
--- invest/ckeditor/build/translations/ar.js
+++ client/ckeditor/build/translations/ar.js
No changes |
--- invest/ckeditor/build/translations/ast.js
+++ client/ckeditor/build/translations/ast.js
No changes |
--- invest/ckeditor/build/translations/az.js
+++ client/ckeditor/build/translations/az.js
No changes |
--- invest/ckeditor/build/translations/bg.js
+++ client/ckeditor/build/translations/bg.js
No changes |
--- invest/ckeditor/build/translations/bn.js
+++ client/ckeditor/build/translations/bn.js
No changes |
--- invest/ckeditor/build/translations/bs.js
+++ client/ckeditor/build/translations/bs.js
No changes |
--- invest/ckeditor/build/translations/ca.js
+++ client/ckeditor/build/translations/ca.js
No changes |
--- invest/ckeditor/build/translations/cs.js
+++ client/ckeditor/build/translations/cs.js
No changes |
--- invest/ckeditor/build/translations/da.js
+++ client/ckeditor/build/translations/da.js
No changes |
--- invest/ckeditor/build/translations/de-ch.js
+++ client/ckeditor/build/translations/de-ch.js
No changes |
--- invest/ckeditor/build/translations/de.js
+++ client/ckeditor/build/translations/de.js
No changes |
--- invest/ckeditor/build/translations/el.js
+++ client/ckeditor/build/translations/el.js
No changes |
--- invest/ckeditor/build/translations/en-au.js
+++ client/ckeditor/build/translations/en-au.js
No changes |
--- invest/ckeditor/build/translations/en-gb.js
+++ client/ckeditor/build/translations/en-gb.js
No changes |
--- invest/ckeditor/build/translations/en.js
+++ client/ckeditor/build/translations/en.js
No changes |
--- invest/ckeditor/build/translations/eo.js
+++ client/ckeditor/build/translations/eo.js
No changes |
--- invest/ckeditor/build/translations/es-co.js
+++ client/ckeditor/build/translations/es-co.js
No changes |
--- invest/ckeditor/build/translations/es.js
+++ client/ckeditor/build/translations/es.js
No changes |
--- invest/ckeditor/build/translations/et.js
+++ client/ckeditor/build/translations/et.js
No changes |
--- invest/ckeditor/build/translations/eu.js
+++ client/ckeditor/build/translations/eu.js
No changes |
--- invest/ckeditor/build/translations/fa.js
+++ client/ckeditor/build/translations/fa.js
No changes |
--- invest/ckeditor/build/translations/fi.js
+++ client/ckeditor/build/translations/fi.js
No changes |
--- invest/ckeditor/build/translations/fr.js
+++ client/ckeditor/build/translations/fr.js
No changes |
--- invest/ckeditor/build/translations/gl.js
+++ client/ckeditor/build/translations/gl.js
No changes |
--- invest/ckeditor/build/translations/gu.js
+++ client/ckeditor/build/translations/gu.js
No changes |
--- invest/ckeditor/build/translations/he.js
+++ client/ckeditor/build/translations/he.js
No changes |
--- invest/ckeditor/build/translations/hi.js
+++ client/ckeditor/build/translations/hi.js
No changes |
--- invest/ckeditor/build/translations/hr.js
+++ client/ckeditor/build/translations/hr.js
No changes |
--- invest/ckeditor/build/translations/hu.js
+++ client/ckeditor/build/translations/hu.js
No changes |
--- invest/ckeditor/build/translations/hy.js
+++ client/ckeditor/build/translations/hy.js
No changes |
--- invest/ckeditor/build/translations/id.js
+++ client/ckeditor/build/translations/id.js
No changes |
--- invest/ckeditor/build/translations/it.js
+++ client/ckeditor/build/translations/it.js
No changes |
--- invest/ckeditor/build/translations/ja.js
+++ client/ckeditor/build/translations/ja.js
No changes |
--- invest/ckeditor/build/translations/jv.js
+++ client/ckeditor/build/translations/jv.js
No changes |
--- invest/ckeditor/build/translations/kk.js
+++ client/ckeditor/build/translations/kk.js
No changes |
--- invest/ckeditor/build/translations/km.js
+++ client/ckeditor/build/translations/km.js
No changes |
--- invest/ckeditor/build/translations/kn.js
+++ client/ckeditor/build/translations/kn.js
No changes |
--- invest/ckeditor/build/translations/ku.js
+++ client/ckeditor/build/translations/ku.js
No changes |
--- invest/ckeditor/build/translations/lt.js
+++ client/ckeditor/build/translations/lt.js
No changes |
--- invest/ckeditor/build/translations/lv.js
+++ client/ckeditor/build/translations/lv.js
No changes |
--- invest/ckeditor/build/translations/ms.js
+++ client/ckeditor/build/translations/ms.js
No changes |
--- invest/ckeditor/build/translations/nb.js
+++ client/ckeditor/build/translations/nb.js
No changes |
--- invest/ckeditor/build/translations/ne.js
+++ client/ckeditor/build/translations/ne.js
No changes |
--- invest/ckeditor/build/translations/nl.js
+++ client/ckeditor/build/translations/nl.js
No changes |
--- invest/ckeditor/build/translations/no.js
+++ client/ckeditor/build/translations/no.js
No changes |
--- invest/ckeditor/build/translations/oc.js
+++ client/ckeditor/build/translations/oc.js
No changes |
--- invest/ckeditor/build/translations/pl.js
+++ client/ckeditor/build/translations/pl.js
No changes |
--- invest/ckeditor/build/translations/pt-br.js
+++ client/ckeditor/build/translations/pt-br.js
No changes |
--- invest/ckeditor/build/translations/pt.js
+++ client/ckeditor/build/translations/pt.js
No changes |
--- invest/ckeditor/build/translations/ro.js
+++ client/ckeditor/build/translations/ro.js
No changes |
--- invest/ckeditor/build/translations/ru.js
+++ client/ckeditor/build/translations/ru.js
No changes |
--- invest/ckeditor/build/translations/si.js
+++ client/ckeditor/build/translations/si.js
No changes |
--- invest/ckeditor/build/translations/sk.js
+++ client/ckeditor/build/translations/sk.js
No changes |
--- invest/ckeditor/build/translations/sl.js
+++ client/ckeditor/build/translations/sl.js
No changes |
--- invest/ckeditor/build/translations/sq.js
+++ client/ckeditor/build/translations/sq.js
No changes |
--- invest/ckeditor/build/translations/sr-latn.js
+++ client/ckeditor/build/translations/sr-latn.js
No changes |
--- invest/ckeditor/build/translations/sr.js
+++ client/ckeditor/build/translations/sr.js
No changes |
--- invest/ckeditor/build/translations/sv.js
+++ client/ckeditor/build/translations/sv.js
No changes |
--- invest/ckeditor/build/translations/th.js
+++ client/ckeditor/build/translations/th.js
No changes |
--- invest/ckeditor/build/translations/ti.js
+++ client/ckeditor/build/translations/ti.js
No changes |
--- invest/ckeditor/build/translations/tk.js
+++ client/ckeditor/build/translations/tk.js
No changes |
--- invest/ckeditor/build/translations/tr.js
+++ client/ckeditor/build/translations/tr.js
No changes |
--- invest/ckeditor/build/translations/tt.js
+++ client/ckeditor/build/translations/tt.js
No changes |
--- invest/ckeditor/build/translations/ug.js
+++ client/ckeditor/build/translations/ug.js
No changes |
--- invest/ckeditor/build/translations/uk.js
+++ client/ckeditor/build/translations/uk.js
No changes |
--- invest/ckeditor/build/translations/ur.js
+++ client/ckeditor/build/translations/ur.js
No changes |
--- invest/ckeditor/build/translations/uz.js
+++ client/ckeditor/build/translations/uz.js
No changes |
--- invest/ckeditor/build/translations/vi.js
+++ client/ckeditor/build/translations/vi.js
No changes |
--- invest/ckeditor/build/translations/zh-cn.js
+++ client/ckeditor/build/translations/zh-cn.js
No changes |
--- invest/ckeditor/build/translations/zh.js
+++ client/ckeditor/build/translations/zh.js
No changes |
--- invest/ckeditor/package.json
+++ client/ckeditor/package.json
No changes |
--- invest/ckeditor/sample/index.html
+++ client/ckeditor/sample/index.html
No changes |
--- invest/ckeditor/sample/script.js
+++ client/ckeditor/sample/script.js
No changes |
--- invest/ckeditor/sample/styles.css
+++ client/ckeditor/sample/styles.css
No changes |
--- invest/ckeditor/src/ckeditor.ts
+++ client/ckeditor/src/ckeditor.ts
No changes |
--- invest/ckeditor/tsconfig.json
+++ client/ckeditor/tsconfig.json
No changes |
--- invest/ckeditor/webpack.config.js
+++ client/ckeditor/webpack.config.js
No changes |
--- invest/favicon.ico
+++ client/favicon.ico
Binary file is not shown |
--- invest/resources/api/accesCtrl.js
+++ client/resources/api/accesCtrl.js
No changes |
--- invest/resources/api/authrt.js
+++ client/resources/api/authrt.js
No changes |
--- invest/resources/api/bbsCn.js
+++ client/resources/api/bbsCn.js
No changes |
--- invest/resources/api/bbsMng.js
+++ client/resources/api/bbsMng.js
No changes |
--- invest/resources/api/cacheReSet.js
+++ client/resources/api/cacheReSet.js
No changes |
--- invest/resources/api/cmnt.js
+++ client/resources/api/cmnt.js
No changes |
--- invest/resources/api/cntnStats.js
+++ client/resources/api/cntnStats.js
No changes |
--- invest/resources/api/codeManage.js
+++ client/resources/api/codeManage.js
No changes |
--- invest/resources/api/contsType.js
+++ client/resources/api/contsType.js
No changes |
--- invest/resources/api/dept.js
+++ client/resources/api/dept.js
No changes |
--- invest/resources/api/entDscsnAply.js
+++ client/resources/api/entDscsnAply.js
No changes |
--- invest/resources/api/entInfo.js
+++ client/resources/api/entInfo.js
No changes |
--- invest/resources/api/index.js
+++ client/resources/api/index.js
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 |
import store from "../../views/pages/AppStore"; |
3 | 3 |
|
4 | 4 |
const apiClient = axios.create({ |
5 |
- baseURL: '/invest', |
|
5 |
+ baseURL: '/', |
|
6 | 6 |
headers: { |
7 | 7 |
'Content-Type': 'application/json; charset=UTF-8', |
8 | 8 |
} |
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 |
if (error.response.status == 401 && error.response.data.message == 'Token expired' && !originalReq._retry) { |
32 | 32 |
originalReq._retry = true; // 재요청 시도(한번만 실행) |
33 | 33 |
try { |
34 |
- const res = await axios.post('/invest/refresh/tokenReissue.json', {}); |
|
34 |
+ const res = await axios.post('/refresh/tokenReissue.json', {}); |
|
35 | 35 |
store.commit('setAuthorization', res.headers.authorization); // 새로 발급 받은 AccessToken 저장 |
36 | 36 |
originalReq.headers.Authorization = store.state.authorization; // 새로 발급 받은 AccessToken을 기존 요청에 추가 |
37 | 37 |
/** jwt토큰 디코딩 **/ |
... | ... | @@ -51,7 +51,7 @@ |
51 | 51 |
sessionStorage.setItem("redirect", redirect); |
52 | 52 |
alert('세션이 종료되었습니다.\n로그인을 새로 해주세요.'); |
53 | 53 |
store.commit("setStoreReset"); |
54 |
- window.location = '/invest/login.page'; |
|
54 |
+ window.location = '/login.page'; |
|
55 | 55 |
return Promise.reject(refreshError); |
56 | 56 |
} |
57 | 57 |
} |
--- invest/resources/api/ivstDscsn.js
+++ client/resources/api/ivstDscsn.js
No changes |
--- invest/resources/api/lgnHstry.js
+++ client/resources/api/lgnHstry.js
No changes |
--- invest/resources/api/logOut.js
+++ client/resources/api/logOut.js
No changes |
--- invest/resources/api/login.js
+++ client/resources/api/login.js
No changes |
--- invest/resources/api/main.js
+++ client/resources/api/main.js
No changes |
--- invest/resources/api/mbrInfo.js
+++ client/resources/api/mbrInfo.js
No changes |
--- invest/resources/api/popup.js
+++ client/resources/api/popup.js
No changes |
--- invest/resources/api/prvcInqHstry.js
+++ client/resources/api/prvcInqHstry.js
No changes |
--- invest/resources/api/router.js
+++ client/resources/api/router.js
No changes |
--- invest/resources/api/rvwMttr.js
+++ client/resources/api/rvwMttr.js
No changes |
--- invest/resources/api/search.js
+++ client/resources/api/search.js
No changes |
--- invest/resources/api/statistics.js
+++ client/resources/api/statistics.js
No changes |
--- invest/resources/api/wordMng.js
+++ client/resources/api/wordMng.js
No changes |
--- invest/resources/css/admin.css
+++ client/resources/css/admin.css
No changes |
--- invest/resources/css/common.css
+++ client/resources/css/common.css
No changes |
--- invest/resources/css/component.css
+++ client/resources/css/component.css
No changes |
--- invest/resources/css/grid.css
+++ client/resources/css/grid.css
No changes |
--- invest/resources/css/layout.css
+++ client/resources/css/layout.css
No changes |
--- invest/resources/css/reset.css
+++ client/resources/css/reset.css
No changes |
--- invest/resources/css/responsive.css
+++ client/resources/css/responsive.css
No changes |
--- invest/resources/css/style.css
+++ client/resources/css/style.css
No changes |
--- invest/resources/font/GmarketSansTTFBold.ttf
+++ client/resources/font/GmarketSansTTFBold.ttf
Binary file is not shown |
--- invest/resources/font/GmarketSansTTFLight.ttf
+++ client/resources/font/GmarketSansTTFLight.ttf
Binary file is not shown |
--- invest/resources/font/GmarketSansTTFMedium.ttf
+++ client/resources/font/GmarketSansTTFMedium.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-Black.ttf
+++ client/resources/font/Pretendard-Black.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-Bold.ttf
+++ client/resources/font/Pretendard-Bold.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-ExtraBold.ttf
+++ client/resources/font/Pretendard-ExtraBold.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-ExtraLight.ttf
+++ client/resources/font/Pretendard-ExtraLight.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-Light.ttf
+++ client/resources/font/Pretendard-Light.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-Medium.ttf
+++ client/resources/font/Pretendard-Medium.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-Regular.ttf
+++ client/resources/font/Pretendard-Regular.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-SemiBold.ttf
+++ client/resources/font/Pretendard-SemiBold.ttf
Binary file is not shown |
--- invest/resources/font/Pretendard-Thin.ttf
+++ client/resources/font/Pretendard-Thin.ttf
Binary file is not shown |
--- invest/resources/font/YEONGJUPunggiGinseng.ttf
+++ client/resources/font/YEONGJUPunggiGinseng.ttf
Binary file is not shown |
--- invest/resources/img/background.png
+++ client/resources/img/background.png
Binary file is not shown |
--- invest/resources/img/background2.png
+++ client/resources/img/background2.png
Binary file is not shown |
--- invest/resources/img/co_main_img.png
+++ client/resources/img/co_main_img.png
Binary file is not shown |
--- invest/resources/img/good.png
+++ client/resources/img/good.png
Binary file is not shown |
--- invest/resources/img/hong.png
+++ client/resources/img/hong.png
Binary file is not shown |
--- invest/resources/img/intro_background.png
+++ client/resources/img/intro_background.png
Binary file is not shown |
--- invest/resources/img/logo.png
+++ client/resources/img/logo.png
Binary file is not shown |
--- invest/resources/img/logo_w.png
+++ client/resources/img/logo_w.png
Binary file is not shown |
--- invest/resources/img/mascot_left.png
+++ client/resources/img/mascot_left.png
Binary file is not shown |
--- invest/resources/img/mascot_right.png
+++ client/resources/img/mascot_right.png
Binary file is not shown |
--- invest/resources/img/notfound.png
+++ client/resources/img/notfound.png
Binary file is not shown |
--- invest/resources/img/quick.png
+++ client/resources/img/quick.png
Binary file is not shown |
--- invest/resources/img/sam.png
+++ client/resources/img/sam.png
Binary file is not shown |
--- invest/resources/img/system.png
+++ client/resources/img/system.png
Binary file is not shown |
--- invest/resources/img/test_img.jpg
+++ client/resources/img/test_img.jpg
Binary file is not shown |
+++ client/resources/js/cntnStatsSave.js
... | ... | @@ -0,0 +1,39 @@ |
1 | +import { save } from "../../resources/api/cntnStats" | |
2 | + | |
3 | +export default { | |
4 | + methods: { | |
5 | + // 권한 검증 | |
6 | + isValidRole() { | |
7 | + const roles = this.$store.state.roles; | |
8 | + if (!Array.isArray(roles)) { | |
9 | + return false; | |
10 | + } | |
11 | + for (const role of roles) { | |
12 | + if (typeof role !== 'object' || !role.hasOwnProperty('authority')) { | |
13 | + return false; | |
14 | + } | |
15 | + } | |
16 | + return true; | |
17 | + }, | |
18 | + // 접속 통계 등록 | |
19 | + async cntnStatsSave(menuId) { | |
20 | + const roleChck = this.isValidRole(); | |
21 | + if (!roleChck) { | |
22 | + alert('접근이 불가합니다.\n관리자에게 문의하세요.'); | |
23 | + this.$router.push({ | |
24 | + path: '/' | |
25 | + }); | |
26 | + } | |
27 | + try { | |
28 | + const mbrAuth = this.$store.state.roles.map(auth => auth.authority); // 사용자 권한 정보 | |
29 | + const cntnStats = { | |
30 | + 'typeId': menuId, | |
31 | + 'mbrAuthList': mbrAuth | |
32 | + } | |
33 | + await save(cntnStats); | |
34 | + } catch (error) { | |
35 | + console.log(error); | |
36 | + } | |
37 | + }, | |
38 | + } | |
39 | +}(파일 끝에 줄바꿈 문자 없음) |
--- invest/resources/js/common.js
+++ client/resources/js/common.js
No changes |
--- invest/resources/js/defaultAxios.js
+++ client/resources/js/defaultAxios.js
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 |
import axios from 'axios' |
2 | 2 |
|
3 | 3 |
const defaultAxios = axios.create({ |
4 |
- baseURL: '/invest', |
|
4 |
+ baseURL: '/', |
|
5 | 5 |
}); |
6 | 6 |
|
7 | 7 |
export default defaultAxios;(파일 끝에 줄바꿈 문자 없음) |
--- invest/resources/js/defaultDateParams.js
+++ client/resources/js/defaultDateParams.js
No changes |
--- invest/resources/js/defaultFileSystem.js
+++ client/resources/js/defaultFileSystem.js
No changes |
--- invest/resources/js/defaultSearchParams.js
+++ client/resources/js/defaultSearchParams.js
No changes |
--- invest/resources/js/defaultTotalSearchParams.js
+++ client/resources/js/defaultTotalSearchParams.js
No changes |
--- invest/resources/js/defaultUserInfoParams.js
+++ client/resources/js/defaultUserInfoParams.js
No changes |
--- invest/resources/js/queryParams.js
+++ client/resources/js/queryParams.js
... | ... | @@ -41,9 +41,6 @@ |
41 | 41 |
fnBbsIdExtraction() { |
42 | 42 |
if(this.$route.path != null && this.$route.path != undefined && this.$route.path != '') { |
43 | 43 |
let url = this.$route.path; |
44 |
- if(url.startsWith("/invest/")) { |
|
45 |
- url = url.replace("/invest/", "/"); |
|
46 |
- } |
|
47 | 44 |
const regex = /^\/[^\/]+\/([^\/]+)\//; // 두 번째 '/'와 세 번째 '/' 사이의 문자열 추출 |
48 | 45 |
const match = url.match(regex); // 라우터 경로와 정규식 매칭 |
49 | 46 |
if(match) { |
--- invest/resources/js/validateParams.js
+++ client/resources/js/validateParams.js
No changes |
--- invest/resources/lib/swiper/swiper-bundle.min.css
+++ client/resources/lib/swiper/swiper-bundle.min.css
No changes |
--- invest/resources/lib/swiper/swiper-bundle.min.js
+++ client/resources/lib/swiper/swiper-bundle.min.js
No changes |
--- invest/resources/lib/swiper/swiper-element-bundle.min.js
+++ client/resources/lib/swiper/swiper-element-bundle.min.js
No changes |
--- invest/resources/svg/Lock.svg
+++ client/resources/svg/Lock.svg
No changes |
--- invest/views/common/commonPlugin.js
+++ client/views/common/commonPlugin.js
No changes |
--- invest/views/common/filters.js
+++ client/views/common/filters.js
No changes |
--- invest/views/component/autoSearch/AutoSearch.vue
+++ client/views/component/autoSearch/AutoSearch.vue
No changes |
--- invest/views/component/chart/ClusteredBarChart.vue
+++ client/views/component/chart/ClusteredBarChart.vue
No changes |
--- invest/views/component/chart/ClusteredColumnChart.vue
+++ client/views/component/chart/ClusteredColumnChart.vue
No changes |
--- invest/views/component/chart/lineChart.vue
+++ client/views/component/chart/lineChart.vue
No changes |
--- invest/views/component/ckeditor5/UploadAdapter.js
+++ client/views/component/ckeditor5/UploadAdapter.js
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 |
|
14 | 14 |
_initRequest() { |
15 | 15 |
const xhr = this.xhr = new XMLHttpRequest(); |
16 |
- xhr.open('POST', '/invest/sys/file/postImageUpload.file', true); |
|
16 |
+ xhr.open('POST', '/sys/file/postImageUpload.file', true); |
|
17 | 17 |
xhr.responseType = 'json'; |
18 | 18 |
} |
19 | 19 |
|
--- invest/views/component/ckeditor5/ckeditor.css
+++ client/views/component/ckeditor5/ckeditor.css
No changes |
--- invest/views/component/ckeditor5/ckeditorComponent.vue
+++ client/views/component/ckeditor5/ckeditorComponent.vue
No changes |
--- invest/views/component/comment/CommentItem.vue
+++ client/views/component/comment/CommentItem.vue
... | ... | @@ -60,7 +60,7 @@ |
60 | 60 |
</template> |
61 | 61 |
|
62 | 62 |
<script> |
63 |
-import queryParams from "../../../resources/js/queryParams"; |
|
63 |
+import queryParams from "../../../resources/js/queryParams.js"; |
|
64 | 64 |
import { |
65 | 65 |
saveCmnt, |
66 | 66 |
updateCmnt, |
--- invest/views/component/companyInfo/BplcInsert.vue
+++ client/views/component/companyInfo/BplcInsert.vue
No changes |
--- invest/views/component/companyInfo/BplcView.vue
+++ client/views/component/companyInfo/BplcView.vue
No changes |
--- invest/views/component/companyInfo/EntInfoInsert.vue
+++ client/views/component/companyInfo/EntInfoInsert.vue
No changes |
--- invest/views/component/companyInfo/FnstmInsert.vue
+++ client/views/component/companyInfo/FnstmInsert.vue
No changes |
--- invest/views/component/companyInfo/IvstDscsnDetail.vue
+++ client/views/component/companyInfo/IvstDscsnDetail.vue
... | ... | @@ -315,7 +315,7 @@ |
315 | 315 |
// 기업 정보로 이동 |
316 | 316 |
fnMove(entId) { |
317 | 317 |
this.$router.push({ |
318 |
- path: "/invest/" + this.$store.state.userType + "/companyInfo/view.page", |
|
318 |
+ path: this.$store.state.userType + "/companyInfo/view.page", |
|
319 | 319 |
query: { pageId: entId }, |
320 | 320 |
}); |
321 | 321 |
}, |
--- invest/views/component/companyInfo/IvstDscsnList.vue
+++ client/views/component/companyInfo/IvstDscsnList.vue
... | ... | @@ -185,7 +185,7 @@ |
185 | 185 |
// 등록 |
186 | 186 |
fnInsert() { |
187 | 187 |
this.$router.push({ |
188 |
- path: "/invest/" + this.pageRole + "/companyInvest/insert.page", |
|
188 |
+ path: this.pageRole + "/companyInvest/insert.page", |
|
189 | 189 |
query: { |
190 | 190 |
entId: this.data["entId"], |
191 | 191 |
entNm: this.data["entNm"], |
... | ... | @@ -241,7 +241,7 @@ |
241 | 241 |
// 모달 수정 |
242 | 242 |
fnModalUpdate() { |
243 | 243 |
this.$router.push({ |
244 |
- path: "/invest/" + this.pageRole + "/companyInvest/insert.page", |
|
244 |
+ path: this.pageRole + "/companyInvest/insert.page", |
|
245 | 245 |
query: { pageId: this.ivstDscsnView["ivstDscsnId"] }, |
246 | 246 |
}); |
247 | 247 |
}, |
--- invest/views/component/companyInfo/RvwMttrDetail.vue
+++ client/views/component/companyInfo/RvwMttrDetail.vue
... | ... | @@ -259,7 +259,7 @@ |
259 | 259 |
// 기업 정보로 이동 |
260 | 260 |
fnMove(entId) { |
261 | 261 |
this.$router.push({ |
262 |
- path: "/invest/" + this.$store.state.userType + "/companyInfo/view.page", |
|
262 |
+ path: this.$store.state.userType + "/companyInfo/view.page", |
|
263 | 263 |
query: { pageId: entId }, |
264 | 264 |
}); |
265 | 265 |
}, |
--- invest/views/component/companyInfo/RvwMttrList.vue
+++ client/views/component/companyInfo/RvwMttrList.vue
... | ... | @@ -187,7 +187,7 @@ |
187 | 187 |
// 모달 등록 |
188 | 188 |
fnInsert() { |
189 | 189 |
this.$router.push({ |
190 |
- path: "/invest/" + this.pageRole + "/companyReview/insert.page", |
|
190 |
+ path: this.pageRole + "/companyReview/insert.page", |
|
191 | 191 |
query: { |
192 | 192 |
entId: this.entId, |
193 | 193 |
ivstDscsnId: this.data["ivstDscsnId"], |
... | ... | @@ -230,7 +230,7 @@ |
230 | 230 |
// 모달 수정 |
231 | 231 |
fnModalUpdate() { |
232 | 232 |
this.$router.push({ |
233 |
- path: "/invest/" + this.pageRole + "/companyReview/insert.page", |
|
233 |
+ path: this.pageRole + "/companyReview/insert.page", |
|
234 | 234 |
query: { |
235 | 235 |
pageId: this.rvwMttrView["rvwMttrId"], |
236 | 236 |
entId: this.rvwMttrView.entId, |
--- invest/views/component/hierachy/Hierachy.vue
+++ client/views/component/hierachy/Hierachy.vue
No changes |
--- invest/views/component/hierachy/HierachyDraggable.vue
+++ client/views/component/hierachy/HierachyDraggable.vue
No changes |
--- invest/views/component/modal/Modal.vue
+++ client/views/component/modal/Modal.vue
No changes |
--- invest/views/component/pagination/PaginationButton.vue
+++ client/views/component/pagination/PaginationButton.vue
No changes |
--- invest/views/component/satisfaction/Satisfaction.vue
+++ client/views/component/satisfaction/Satisfaction.vue
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 |
<div class="border pd20"> |
3 | 3 |
<div class="flex align-center mb15"> |
4 | 4 |
<div class="mr5"> |
5 |
- <img src="/invest/resources/img/good.png" alt="만족도"> |
|
5 |
+ <img src="/client/resources/img/good.png" alt="만족도"> |
|
6 | 6 |
</div> |
7 | 7 |
<div> |
8 | 8 |
<p class="detail-bold mb5">현재페이지의 내용과 사용편의성에 만족하십니까?</p> |
--- invest/views/component/table/ListTable.vue
+++ client/views/component/table/ListTable.vue
No changes |
--- invest/views/component/table/SelectListOne.vue
+++ client/views/component/table/SelectListOne.vue
No changes |
--- invest/views/component/userInfo/UserAuthorList.vue
+++ client/views/component/userInfo/UserAuthorList.vue
No changes |
--- invest/views/component/userInfo/UserInfoInsert.vue
+++ client/views/component/userInfo/UserInfoInsert.vue
No changes |
--- invest/views/component/userInfo/UserInfoView.vue
+++ client/views/component/userInfo/UserInfoView.vue
No changes |
+++ client/views/index.html
... | ... | @@ -0,0 +1,27 @@ |
1 | +<!DOCTYPE html> | |
2 | +<html> | |
3 | +<head> | |
4 | + <meta charset="UTF-8"> | |
5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
6 | + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
7 | + <meta name="description" content="Node Vue Web"> | |
8 | + <link rel="icon" href="../client/favicon.ico" /> | |
9 | + <link rel="stylesheet" href="../client/resources/lib/swiper/swiper-bundle.min.css"> | |
10 | + <link rel="stylesheet" href="../client/resources/css/reset.css"> | |
11 | + <link rel="stylesheet" href="../client/resources/css/layout.css"> | |
12 | + <link rel="stylesheet" href="../client/resources/css/grid.css"> | |
13 | + <link rel="stylesheet" href="../client/resources/css/component.css"> | |
14 | + <link rel="stylesheet" href="../client/resources/css/common.css"> | |
15 | + <link rel="stylesheet" href="../client/resources/css/style.css"> | |
16 | + <link rel="stylesheet" href="../client/resources/css/admin.css"> | |
17 | + <link rel="stylesheet" href="../client/resources/css/responsive.css"> | |
18 | + <script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> | |
19 | + <script src="../client/resources/lib/swiper/swiper-element-bundle.min.js"></script> | |
20 | + <script type="text/javascript" charset="utf-8" src="../client/ckeditor/build/ckeditor.js"></script> | |
21 | + <title>영주시 투자유치 플랫폼</title> | |
22 | +</head> | |
23 | +<body> | |
24 | + <div id="root"></div> | |
25 | + <script src="../client/build/bundle.js"></script> | |
26 | +</body> | |
27 | +</html>(파일 끝에 줄바꿈 문자 없음) |
--- invest/views/index.js
+++ client/views/index.js
... | ... | @@ -9,7 +9,7 @@ |
9 | 9 |
import createAppRouter from "./pages/AppRouter.js"; |
10 | 10 |
import App from "./pages/App.vue"; |
11 | 11 |
import Store from "./pages/AppStore.js"; |
12 |
-import COMMON_UTIL from "./../resources/js/common.js"; |
|
12 |
+import COMMON_UTIL from "../resources/js/common.js"; |
|
13 | 13 |
import filters from './common/filters.js'; |
14 | 14 |
import cmmnPlugin from './common/commonPlugin.js'; |
15 | 15 |
import VueCookies from "vue-cookies"; |
--- invest/views/layout/AdminHeader.vue
+++ client/views/layout/AdminHeader.vue
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 |
<header class="admin-header pd15"> |
3 | 3 |
<div class="flex justify-between align-center no-gutters"> |
4 | 4 |
<div class="logo gd-2"> |
5 |
- <router-link :to="{path : '/invest/adm/main.page'}">ADMINISTRATOR</router-link> |
|
5 |
+ <router-link :to="{path : '/adm/main.page'}">ADMINISTRATOR</router-link> |
|
6 | 6 |
</div> |
7 | 7 |
<div class="gd-10"> |
8 | 8 |
<nav> |
--- invest/views/layout/AdminMenu.vue
+++ client/views/layout/AdminMenu.vue
... | ... | @@ -13,40 +13,27 @@ |
13 | 13 |
<div class="flex justify-center no-gutters"> |
14 | 14 |
<div class="gd-12"> |
15 | 15 |
<button class="large-btn darkg-border-btn" @click="cacheClean()"> |
16 |
- <svg-icon type="mdi" :path="refreshPath"></svg-icon> 변경사항 적용 |
|
17 |
- </button> |
|
16 |
+ <svg-icon type="mdi" :path="refreshPath"></svg-icon> 변경사항 적용 </button> |
|
18 | 17 |
</div> |
19 | 18 |
</div> |
20 | 19 |
</div> |
21 | 20 |
<ul class="side-menu pt10 pb10"> |
22 | 21 |
<template v-if="menuList.length > 0"> |
23 |
- <li |
|
24 |
- v-for="(sub, subidx) in menuList" |
|
25 |
- :key="subidx" |
|
26 |
- :class="{ 'sub-active': isActive('/invest' + sub.routerUrl) }" |
|
27 |
- > |
|
28 |
- <div |
|
29 |
- :class="{ 'pt10 pb10 pl30 cursor': true }" |
|
30 |
- @click=" |
|
31 |
- menuClick( |
|
32 |
- sub.routerUrl != '' && sub.routerUrl != null |
|
33 |
- ? sub |
|
34 |
- : sub.childList[0] |
|
35 |
- ) |
|
36 |
- " |
|
37 |
- > |
|
22 |
+ <li v-for="(sub, subidx) in menuList" :key="subidx" :class="{ 'sub-active': isActive(sub.routerUrl) }"> |
|
23 |
+ <div :class="{ 'pt10 pb10 pl30 cursor': true }" @click=" |
|
24 |
+ menuClick( |
|
25 |
+ sub.routerUrl != '' && sub.routerUrl != null |
|
26 |
+ ? sub |
|
27 |
+ : sub.childList[0] |
|
28 |
+ ) |
|
29 |
+ "> |
|
38 | 30 |
<span>{{ sub.menuNm }}</span> |
39 | 31 |
</div> |
40 | 32 |
<ul v-show="sub.childList.length > 0"> |
41 |
- <li |
|
42 |
- v-for="(third, thirdIdx) in sub.childList" |
|
43 |
- :key="thirdIdx" |
|
44 |
- :class="{ |
|
45 |
- 'pt10 pb10 pl60 cursor': true, |
|
46 |
- 'sub-active': isActive('/invest' + third.routerUrl), |
|
47 |
- }" |
|
48 |
- @click="menuClick(third)" |
|
49 |
- > |
|
33 |
+ <li v-for="(third, thirdIdx) in sub.childList" :key="thirdIdx" :class="{ |
|
34 |
+ 'pt10 pb10 pl60 cursor': true, |
|
35 |
+ 'sub-active': isActive(third.routerUrl), |
|
36 |
+ }" @click="menuClick(third)"> |
|
50 | 37 |
<span>{{ third.menuNm }}</span> |
51 | 38 |
</li> |
52 | 39 |
</ul> |
... | ... | @@ -55,7 +42,6 @@ |
55 | 42 |
</ul> |
56 | 43 |
</nav> |
57 | 44 |
</template> |
58 |
- |
|
59 | 45 |
<script> |
60 | 46 |
import store from "../../views/pages/AppStore"; |
61 | 47 |
import queryParams from "../../resources/js/queryParams"; |
... | ... | @@ -94,7 +80,7 @@ |
94 | 80 |
if (menu.linkType === "0") { |
95 | 81 |
// 현재창 |
96 | 82 |
this.$router.push({ |
97 |
- path: "/invest" + menu.routerUrl, |
|
83 |
+ path: menu.routerUrl, |
|
98 | 84 |
}); |
99 | 85 |
} else if (menu.linkType === "1") { |
100 | 86 |
// 새창 |
... | ... | @@ -111,7 +97,7 @@ |
111 | 97 |
// 사이트 이동 |
112 | 98 |
fnSiteMove() { |
113 | 99 |
this.$router.push({ |
114 |
- path: "/invest", |
|
100 |
+ path: "/", |
|
115 | 101 |
}); |
116 | 102 |
}, |
117 | 103 |
...mapActions(["logout"]), |
... | ... | @@ -119,7 +105,7 @@ |
119 | 105 |
async fnlogOut() { |
120 | 106 |
await this.logout(); |
121 | 107 |
this.$router.push({ |
122 |
- path: "/invest/login.page", |
|
108 |
+ path: "/login.page", |
|
123 | 109 |
}); |
124 | 110 |
}, |
125 | 111 |
// 캐시 초기화 |
... | ... | @@ -147,7 +133,7 @@ |
147 | 133 |
) { |
148 | 134 |
return; |
149 | 135 |
} else { |
150 |
- this.$router.push("/invest" + this.menuList[0].routerUrl); |
|
136 |
+ this.$router.push(this.menuList[0].routerUrl); |
|
151 | 137 |
} |
152 | 138 |
} |
153 | 139 |
} |
... | ... | @@ -157,6 +143,6 @@ |
157 | 143 |
}, |
158 | 144 |
}, |
159 | 145 |
computed: {}, |
160 |
- mounted() {}, |
|
146 |
+ mounted() { }, |
|
161 | 147 |
}; |
162 | 148 |
</script> |
--- invest/views/layout/UserHeader.vue
+++ client/views/layout/UserHeader.vue
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 |
<template> |
2 | 2 |
<header |
3 | 3 |
:class=" |
4 |
- pageRole === 'company' && $route.path === '/invest/company/main.page' |
|
4 |
+ pageRole === 'company' && $route.path === '/company/main.page' |
|
5 | 5 |
? 'company-header' |
6 | 6 |
: '' |
7 | 7 |
" |
... | ... | @@ -10,18 +10,18 @@ |
10 | 10 |
<div class="flex justify-between align-center"> |
11 | 11 |
<div class="logo"> |
12 | 12 |
<router-link |
13 |
- :to="{ path: '/invest/company/main.page' }" |
|
13 |
+ :to="{ path: '/company/main.page' }" |
|
14 | 14 |
v-if="pageRole === 'company'" |
15 | 15 |
> |
16 | 16 |
<img |
17 |
- src="/invest/resources/img/logo_w.png" |
|
17 |
+ src="/client/resources/img/logo_w.png" |
|
18 | 18 |
alt="" |
19 |
- v-if="$route.path === '/invest/company/main.page'" |
|
19 |
+ v-if="$route.path === '/company/main.page'" |
|
20 | 20 |
/> |
21 |
- <img src="/invest/resources/img/logo.png" alt="" v-else /> |
|
21 |
+ <img src="/client/resources/img/logo.png" alt="" v-else /> |
|
22 | 22 |
</router-link> |
23 |
- <router-link :to="{ path: '/invest/government/main.page' }" v-else> |
|
24 |
- <img src="/invest/resources/img/logo.png" alt="" /> |
|
23 |
+ <router-link :to="{ path: '/government/main.page' }" v-else> |
|
24 |
+ <img src="/client/resources/img/logo.png" alt="" /> |
|
25 | 25 |
</router-link> |
26 | 26 |
</div> |
27 | 27 |
<div class="flex justify-end align-center"> |
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 |
<p |
31 | 31 |
:class=" |
32 | 32 |
pageRole === 'company' && |
33 |
- $route.path === '/invest/company/main.page' |
|
33 |
+ $route.path === '/company/main.page' |
|
34 | 34 |
? 'call white' |
35 | 35 |
: 'call green' |
36 | 36 |
" |
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 |
<p |
68 | 68 |
:class=" |
69 | 69 |
pageRole === 'company' && |
70 |
- $route.path === '/invest/company/main.page' |
|
70 |
+ $route.path === '/company/main.page' |
|
71 | 71 |
? 'call white' |
72 | 72 |
: 'call green' |
73 | 73 |
" |
... | ... | @@ -101,14 +101,14 @@ |
101 | 101 |
async fnlogOut() { |
102 | 102 |
await this.logout(); |
103 | 103 |
this.$router.push({ |
104 |
- path: "/invest", |
|
104 |
+ path: "/", |
|
105 | 105 |
}); |
106 | 106 |
}, |
107 | 107 |
|
108 | 108 |
// 사용자 정보 보기로 이동 |
109 | 109 |
fnLink() { |
110 | 110 |
this.$router.push({ |
111 |
- path: "/invest/government/myInfo/view.page", |
|
111 |
+ path: "/government/myInfo/view.page", |
|
112 | 112 |
}); |
113 | 113 |
}, |
114 | 114 |
}, |
--- invest/views/layout/UserMenu.vue
+++ client/views/layout/UserMenu.vue
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 |
show: currentOpenIndex === index, |
21 | 21 |
'company-sub-menu': |
22 | 22 |
pageRole == 'company' && |
23 |
- $route.path === '/invest/company/main.page', |
|
23 |
+ $route.path === '/company/main.page', |
|
24 | 24 |
}" |
25 | 25 |
> |
26 | 26 |
<div class="w1200"> |
... | ... | @@ -77,7 +77,7 @@ |
77 | 77 |
show: currentOpenIndex === index, |
78 | 78 |
'company-sub-menu': |
79 | 79 |
pageRole == 'company' && |
80 |
- $route.path === '/invest/company/main.page', |
|
80 |
+ $route.path === '/company/main.page', |
|
81 | 81 |
}" |
82 | 82 |
> |
83 | 83 |
<div class="w1200"> |
... | ... | @@ -177,12 +177,12 @@ |
177 | 177 |
this.saveQueryParams("queryParams", this.resetSearch); // 검색조건 초기화 |
178 | 178 |
if (menu.linkType === "0") { |
179 | 179 |
// 현재창 |
180 |
- this.$router.push({ path: "/invest" + menu.routerUrl }); |
|
180 |
+ this.$router.push({ path: menu.routerUrl }); |
|
181 | 181 |
} else if (menu.linkType === "1") { |
182 | 182 |
// 새창 |
183 | 183 |
window.open(menu.routerUrl, "_blank"); |
184 | 184 |
} |
185 |
- this.$router.push({ path: "/invest" + menu.routerUrl }); |
|
185 |
+ this.$router.push({ path: menu.routerUrl }); |
|
186 | 186 |
} |
187 | 187 |
}, |
188 | 188 |
async selectSubMenu(mainIndex, subIndex, menu) { |
... | ... | @@ -193,7 +193,7 @@ |
193 | 193 |
await this.cntnStatsSave(menu.menuId); |
194 | 194 |
if (menu.linkType === "0") { |
195 | 195 |
// 현재창 |
196 |
- this.$router.push({ path: '/invest' + menu.routerUrl }); |
|
196 |
+ this.$router.push({ path: menu.routerUrl }); |
|
197 | 197 |
} else if (menu.linkType === "1") { |
198 | 198 |
// 새창 |
199 | 199 |
window.open(menu.routerUrl, "_blank"); |
... | ... | @@ -207,7 +207,7 @@ |
207 | 207 |
await this.cntnStatsSave(menu.menuId); |
208 | 208 |
if (menu.linkType === "0") { |
209 | 209 |
// 현재창 |
210 |
- this.$router.push({ path: '/invest' + menu.routerUrl }); |
|
210 |
+ this.$router.push({ path: menu.routerUrl }); |
|
211 | 211 |
} else if (menu.linkType === "1") { |
212 | 212 |
// 새창 |
213 | 213 |
window.open(menu.routerUrl, "_blank"); |
... | ... | @@ -217,7 +217,7 @@ |
217 | 217 |
let menuIndex = -1; // 인덱스를 저장할 변수 초기화 |
218 | 218 |
const url = this.$store.state.path; |
219 | 219 |
// 메인일 때 |
220 |
- if (url == "/invest/government" || url == "/invest/company/main.page") { |
|
220 |
+ if (url == "/government" || url == "/company/main.page") { |
|
221 | 221 |
return (this.currentActiveIndex = null); |
222 | 222 |
} |
223 | 223 |
const lastSlashIndex = path.lastIndexOf("/"); // 마지막 '/' 인덱스 |
--- invest/views/pages/App.vue
+++ client/views/pages/App.vue
... | ... | @@ -11,20 +11,20 @@ |
11 | 11 |
<div v-else v-cloak class="user-wrap relative"> |
12 | 12 |
<UserHeader |
13 | 13 |
v-if=" |
14 |
- this.$route.path.startsWith('/invest/company') || |
|
15 |
- this.$route.path.startsWith('/invest/government') |
|
14 |
+ this.$route.path.startsWith('/company') || |
|
15 |
+ this.$route.path.startsWith('/government') |
|
16 | 16 |
" |
17 | 17 |
/> |
18 | 18 |
<div class="main-warp"> |
19 | 19 |
<router-view /> |
20 | 20 |
</div> |
21 |
- <div class="quick-menu" v-show="$route.path !== '/invest' && !otherWindow"> |
|
21 |
+ <div class="quick-menu" v-show="$route.path !== '/' && !otherWindow"> |
|
22 | 22 |
<ul> |
23 | 23 |
<li> |
24 |
- <a href="/invest"> |
|
24 |
+ <a href="/"> |
|
25 | 25 |
<div class="mb10" style="width: 10rem"> |
26 | 26 |
<img |
27 |
- src="/invest/resources/img/quick.png" |
|
27 |
+ src="/client/resources/img/quick.png" |
|
28 | 28 |
alt="메인으로 바로가기" |
29 | 29 |
/> |
30 | 30 |
</div> |
... | ... | @@ -53,7 +53,7 @@ |
53 | 53 |
computed: { |
54 | 54 |
isAdminPage() { |
55 | 55 |
// 현재 URL을 기반으로 사용자와 관리자 페이지 여부를 판단 |
56 |
- return this.$route && this.$route.path.startsWith("/invest/adm"); |
|
56 |
+ return this.$route && this.$route.path.startsWith("/adm"); |
|
57 | 57 |
}, |
58 | 58 |
}, |
59 | 59 |
components: { |
--- invest/views/pages/AppRouter.js
+++ client/views/pages/AppRouter.js
... | ... | @@ -14,10 +14,10 @@ |
14 | 14 |
|
15 | 15 |
const beforeRoutes = [ |
16 | 16 |
/* 메인화면 */ |
17 |
- { path: "/invest", name: "Intro", component: Intro }, |
|
17 |
+ { path: "/", name: "Intro", component: Intro }, |
|
18 | 18 |
// 기업 |
19 | 19 |
{ |
20 |
- path: "/invest/company", |
|
20 |
+ path: "/company", |
|
21 | 21 |
children: [ |
22 | 22 |
{ path: "introduceSelectList.page", name: "IntroduceSelectList", component: IntroduceSelectList }, |
23 | 23 |
{ path: "consulting.page", name: "Enroll", component: Enroll }, |
... | ... | @@ -25,7 +25,7 @@ |
25 | 25 |
}, |
26 | 26 |
// 관리자 |
27 | 27 |
{ |
28 |
- path: "/invest/adm", |
|
28 |
+ path: "/adm", |
|
29 | 29 |
children: [ |
30 | 30 |
{ path: "commonSelectListOne.page", name: "CommonSelectListOne", component: CommonSelectListOne }, |
31 | 31 |
{ path: "commonSelectList.page", name: "CommonSelectList", component: CommonSelectList }, |
... | ... | @@ -42,7 +42,7 @@ |
42 | 42 |
const res = await findAll(); |
43 | 43 |
if (res.status == 200) { |
44 | 44 |
const newRoutes = res.data.data.map(route => ({ |
45 |
- path: '/invest' + route.pageCrs, |
|
45 |
+ path: route.pageCrs, |
|
46 | 46 |
name: route.contsEngNm, |
47 | 47 |
component: () => import(`${route.compnCrs}`), |
48 | 48 |
meta: { authrt: route.authrtList, typeId: route.contsId } |
... | ... | @@ -57,14 +57,8 @@ |
57 | 57 |
// 접근 제어 확인 |
58 | 58 |
async function accessUrl(path) { |
59 | 59 |
try { |
60 |
- let resetPath = path; |
|
61 |
- if (resetPath === '/invest') { |
|
62 |
- resetPath = '/' |
|
63 |
- } else { |
|
64 |
- resetPath = resetPath.replace("/invest/", "/") |
|
65 |
- } |
|
66 | 60 |
const res = await accessCheck({ |
67 |
- path: resetPath |
|
61 |
+ path: path |
|
68 | 62 |
}); |
69 | 63 |
if (res.status == 200) { |
70 | 64 |
return res.data.data; |
... | ... | @@ -145,20 +139,20 @@ |
145 | 139 |
const roleCheck = isValidRole(); |
146 | 140 |
if (!accesCheck || !roleCheck) { |
147 | 141 |
alert('접근이 불가합니다.\n관리자에게 문의하세요.'); |
148 |
- next('/invest'); |
|
142 |
+ next('/'); |
|
149 | 143 |
} |
150 | 144 |
// 경로에 따른 사용자 타입 설정 |
151 |
- if (to.path === '/invest') { |
|
145 |
+ if (to.path === '/') { |
|
152 | 146 |
store.commit('setUserType', null) |
153 |
- } else if (to.path.startsWith('/invest/adm')) { |
|
147 |
+ } else if (to.path.startsWith('/adm')) { |
|
154 | 148 |
store.commit('setUserType', 'adm'); |
155 |
- } else if (to.path.startsWith('/invest/company')) { |
|
149 |
+ } else if (to.path.startsWith('/company')) { |
|
156 | 150 |
store.commit('setUserType', 'company'); |
157 |
- } else if (to.path.startsWith('/invest/government')) { |
|
151 |
+ } else if (to.path.startsWith('/government')) { |
|
158 | 152 |
store.commit('setUserType', 'government'); |
159 | 153 |
} |
160 | 154 |
|
161 |
- if (to.path === '/invest/login.page') { |
|
155 |
+ if (to.path === '/login.page') { |
|
162 | 156 |
store.commit('setPath', to.path); |
163 | 157 |
next(); |
164 | 158 |
return; |
... | ... | @@ -168,7 +162,7 @@ |
168 | 162 |
const pageAuth = mergeAuth(mbrAuth, to.meta); |
169 | 163 |
sessionStorage.setItem("redirect", to.fullPath); |
170 | 164 |
// 메인 페이지 or 기업 페이지 or 로그인 페이지 |
171 |
- if (to.path === '/invest' || to.path.startsWith('/invest/company/') || to.path.includes('/invest/login.page') || to.path.startsWith('/invest/cmmn/') || to.path.includes('/invest/searchId.page') || to.path.includes('/invest/resetPswd.page')) { |
|
165 |
+ if (to.path === '/' || to.path.startsWith('/company/') || to.path.includes('/login.page') || to.path.startsWith('/cmmn/') || to.path.includes('/searchId.page') || to.path.includes('/resetPswd.page')) { |
|
172 | 166 |
let path = to.path; |
173 | 167 |
// 게시판일 경우 .page로 끝나는 경로가 있으므로 마지막 '/' 이전 경로로 설정 |
174 | 168 |
if (to.path.includes('BBS_MNG')) { |
... | ... | @@ -179,7 +173,7 @@ |
179 | 173 |
store.commit('setPageAuth', pageAuth); |
180 | 174 |
if (path.includes('/main.page')) { |
181 | 175 |
await cntnStatsSave(null, mbrAuth); // 메인 페이지 접속 시 사용자 접속 통계 증가 |
182 |
- } else if (path.startsWith('/invest/company/')) { |
|
176 |
+ } else if (path.startsWith('/company/')) { |
|
183 | 177 |
await cntnStatsSave(to.meta.typeId, mbrAuth); // 기업 페이지의 각 종류(게시판, 콘텐츠)에 맞는 통계 증가 |
184 | 178 |
} |
185 | 179 |
next(); |
... | ... | @@ -224,11 +218,11 @@ |
224 | 218 |
} else { |
225 | 219 |
alert('접근 권한이 없습니다.'); |
226 | 220 |
window.history.back(); |
227 |
- // next(from.fullPath ? from.fullPath : '/invest'); |
|
221 |
+ // next(from.fullPath ? from.fullPath : '/'); |
|
228 | 222 |
} |
229 | 223 |
} else { |
230 | 224 |
// sessionStorage.setItem("redirect", to.fullPath); |
231 |
- next({ path: "/invest/login.page" }); |
|
225 |
+ next({ path: "/login.page" }); |
|
232 | 226 |
} |
233 | 227 |
}); |
234 | 228 |
return AppRouter; |
--- invest/views/pages/AppStore.js
+++ client/views/pages/AppStore.js
No changes |
--- invest/views/pages/adm/boardManagement/boardManagement/BoardManagementInsert.vue
+++ client/views/pages/adm/boardManagement/boardManagement/BoardManagementInsert.vue
No changes |
--- invest/views/pages/adm/boardManagement/boardManagement/BoardManagementSelectList.vue
+++ client/views/pages/adm/boardManagement/boardManagement/BoardManagementSelectList.vue
No changes |
--- invest/views/pages/adm/boardManagement/boardManagement/BoardManagementSelectListOne.vue
+++ client/views/pages/adm/boardManagement/boardManagement/BoardManagementSelectListOne.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/commonTemplate/CommonInsert.vue
+++ client/views/pages/adm/boardManagement/template/commonTemplate/CommonInsert.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/commonTemplate/CommonSelectList.vue
+++ client/views/pages/adm/boardManagement/template/commonTemplate/CommonSelectList.vue
... | ... | @@ -106,8 +106,8 @@ |
106 | 106 |
import PaginationButton from "../../../../../component/pagination/PaginationButton.vue"; |
107 | 107 |
import { findAll } from "../../../../../../resources/api/bbsCn.js"; |
108 | 108 |
import { toRaw } from "vue"; |
109 |
-import queryParams from "../../../../../../resources/js/queryParams"; |
|
110 |
-import { defaultSearchParams } from "../../../../../../resources/js/defaultSearchParams"; |
|
109 |
+import queryParams from "../../../../../../resources/js/queryParams.js"; |
|
110 |
+import { defaultSearchParams } from "../../../../../../resources/js/defaultSearchParams.js"; |
|
111 | 111 |
import { mdiRefresh } from "@mdi/js"; |
112 | 112 |
|
113 | 113 |
export default { |
... | ... | @@ -187,7 +187,7 @@ |
187 | 187 |
}); |
188 | 188 |
}, |
189 | 189 |
|
190 |
- /* // 현재 공지글 체크 |
|
190 |
+ /* // 현재 공지글 체크 |
|
191 | 191 |
getNotice(bbsMng, idx) { |
192 | 192 |
const today = new Date(); |
193 | 193 |
const ntcBgngDt = new Date(bbsMng.ntcBgngDt); |
--- invest/views/pages/adm/boardManagement/template/commonTemplate/CommonSelectListOne.vue
+++ client/views/pages/adm/boardManagement/template/commonTemplate/CommonSelectListOne.vue
... | ... | @@ -190,7 +190,7 @@ |
190 | 190 |
</template> |
191 | 191 |
|
192 | 192 |
<script> |
193 |
-import defaultAxios from "../../../../../../resources/js/defaultAxios"; |
|
193 |
+import defaultAxios from "../../../../../../resources/js/defaultAxios.js"; |
|
194 | 194 |
import { |
195 | 195 |
findByBbsCn, |
196 | 196 |
del, |
... | ... | @@ -200,7 +200,7 @@ |
200 | 200 |
saveCmnt, |
201 | 201 |
findCmntList, |
202 | 202 |
} from "../../../../../../resources/api/cmnt.js"; |
203 |
-import queryParams from "../../../../../../resources/js/queryParams"; |
|
203 |
+import queryParams from "../../../../../../resources/js/queryParams.js"; |
|
204 | 204 |
import CommentItem from "../../../../../component/comment/CommentItem.vue"; |
205 | 205 |
import { mdiDownload } from "@mdi/js"; |
206 | 206 |
import DOMPurify from "dompurify"; |
--- invest/views/pages/adm/boardManagement/template/faqTemplate/FaqInsert.vue
+++ client/views/pages/adm/boardManagement/template/faqTemplate/FaqInsert.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/faqTemplate/FaqSelectList.vue
+++ client/views/pages/adm/boardManagement/template/faqTemplate/FaqSelectList.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/galleryTemplate/GalleryInsert.vue
+++ client/views/pages/adm/boardManagement/template/galleryTemplate/GalleryInsert.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/galleryTemplate/GallerySelectList.vue
+++ client/views/pages/adm/boardManagement/template/galleryTemplate/GallerySelectList.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/galleryTemplate/GallerySelectListOne.vue
+++ client/views/pages/adm/boardManagement/template/galleryTemplate/GallerySelectListOne.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/videoTemplate/VideoInsert.vue
+++ client/views/pages/adm/boardManagement/template/videoTemplate/VideoInsert.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/videoTemplate/VideoSelectList.vue
+++ client/views/pages/adm/boardManagement/template/videoTemplate/VideoSelectList.vue
No changes |
--- invest/views/pages/adm/boardManagement/template/videoTemplate/VideoSelectListOne.vue
+++ client/views/pages/adm/boardManagement/template/videoTemplate/VideoSelectListOne.vue
No changes |
--- invest/views/pages/adm/boardManagement/wordsManagement/WordsManagementSelectList.vue
+++ client/views/pages/adm/boardManagement/wordsManagement/WordsManagementSelectList.vue
No changes |
--- invest/views/pages/adm/departmentManagement/DepartmentManagement.vue
+++ client/views/pages/adm/departmentManagement/DepartmentManagement.vue
No changes |
--- invest/views/pages/adm/log/AdminLog.vue
+++ client/views/pages/adm/log/AdminLog.vue
No changes |
--- invest/views/pages/adm/log/LoginLog.vue
+++ client/views/pages/adm/log/LoginLog.vue
No changes |
--- invest/views/pages/adm/log/PersonalDataLog.vue
+++ client/views/pages/adm/log/PersonalDataLog.vue
No changes |
--- invest/views/pages/adm/main/Main.vue
+++ client/views/pages/adm/main/Main.vue
... | ... | @@ -232,11 +232,11 @@ |
232 | 232 |
} |
233 | 233 |
if (this.bbsCnList[idx].type == "faq") { |
234 | 234 |
this.$router.push({ |
235 |
- path: "/invest/adm/" + this.bbsCnList[idx]["mng_id"] + "/list.page", |
|
235 |
+ path: "/adm/" + this.bbsCnList[idx]["mng_id"] + "/list.page", |
|
236 | 236 |
}); |
237 | 237 |
} else { |
238 | 238 |
this.$router.push({ |
239 |
- path: "/invest/adm/" + this.bbsCnList[idx]["mng_id"] + "/view.page", |
|
239 |
+ path: "/adm/" + this.bbsCnList[idx]["mng_id"] + "/view.page", |
|
240 | 240 |
query: { |
241 | 241 |
pageId: this.bbsCnList[idx]["id"], |
242 | 242 |
}, |
--- invest/views/pages/adm/member/adminManagement/AdminManagementInsert.vue
+++ client/views/pages/adm/member/adminManagement/AdminManagementInsert.vue
No changes |
--- invest/views/pages/adm/member/adminManagement/AdminManagementSelectList.vue
+++ client/views/pages/adm/member/adminManagement/AdminManagementSelectList.vue
No changes |
--- invest/views/pages/adm/member/adminManagement/AdminManagementSelectListOne.vue
+++ client/views/pages/adm/member/adminManagement/AdminManagementSelectListOne.vue
No changes |
--- invest/views/pages/adm/member/termsManagement/TermsManagementInsert.vue
+++ client/views/pages/adm/member/termsManagement/TermsManagementInsert.vue
No changes |
--- invest/views/pages/adm/member/termsManagement/TermsManagementSelectList.vue
+++ client/views/pages/adm/member/termsManagement/TermsManagementSelectList.vue
... | ... | @@ -88,7 +88,7 @@ |
88 | 88 |
methods: { |
89 | 89 |
passwordReset: function () {}, |
90 | 90 |
insertPage: function () { |
91 |
- this.$router.push({ path: "/invest/adm/termsManagementInsert.page", query: {} }); |
|
91 |
+ this.$router.push({ path: "/adm/termsManagementInsert.page", query: {} }); |
|
92 | 92 |
}, |
93 | 93 |
}, |
94 | 94 |
watch: {}, |
--- invest/views/pages/adm/member/termsManagement/TermsManagementSelectListOne.vue
+++ client/views/pages/adm/member/termsManagement/TermsManagementSelectListOne.vue
No changes |
--- invest/views/pages/adm/member/userManagement/UserManagementInsert.vue
+++ client/views/pages/adm/member/userManagement/UserManagementInsert.vue
No changes |
--- invest/views/pages/adm/member/userManagement/UserManagementSelectList.vue
+++ client/views/pages/adm/member/userManagement/UserManagementSelectList.vue
No changes |
--- invest/views/pages/adm/member/userManagement/UserManagementSelectListOne.vue
+++ client/views/pages/adm/member/userManagement/UserManagementSelectListOne.vue
No changes |
--- invest/views/pages/adm/popup/PopupManagementInsert.vue
+++ client/views/pages/adm/popup/PopupManagementInsert.vue
No changes |
--- invest/views/pages/adm/popup/PopupManagementSelectList.vue
+++ client/views/pages/adm/popup/PopupManagementSelectList.vue
No changes |
--- invest/views/pages/adm/popup/PopupManagementSelectListOne.vue
+++ client/views/pages/adm/popup/PopupManagementSelectListOne.vue
No changes |
--- invest/views/pages/adm/preferences/commonCodeManagement/CommonCodeManagement.vue
+++ client/views/pages/adm/preferences/commonCodeManagement/CommonCodeManagement.vue
No changes |
--- invest/views/pages/adm/preferences/contentManagement/CompanyConsultSelectListOne.vue
+++ client/views/pages/adm/preferences/contentManagement/CompanyConsultSelectListOne.vue
No changes |
--- invest/views/pages/adm/preferences/contentTypeManagement/ContentTypeManagementInsert.vue
+++ client/views/pages/adm/preferences/contentTypeManagement/ContentTypeManagementInsert.vue
No changes |
--- invest/views/pages/adm/preferences/contentTypeManagement/ContentTypeManagementSelectList.vue
+++ client/views/pages/adm/preferences/contentTypeManagement/ContentTypeManagementSelectList.vue
No changes |
--- invest/views/pages/adm/preferences/contentTypeManagement/ContentTypeManagementSelectListOne.vue
+++ client/views/pages/adm/preferences/contentTypeManagement/ContentTypeManagementSelectListOne.vue
No changes |
--- invest/views/pages/adm/statistics/BbsStatistics.vue
+++ client/views/pages/adm/statistics/BbsStatistics.vue
No changes |
--- invest/views/pages/adm/statistics/CompanyMenuStatistics.vue
+++ client/views/pages/adm/statistics/CompanyMenuStatistics.vue
No changes |
--- invest/views/pages/adm/statistics/GovernmentMenuStatistics.vue
+++ client/views/pages/adm/statistics/GovernmentMenuStatistics.vue
No changes |
--- invest/views/pages/adm/statistics/UserStatistics.vue
+++ client/views/pages/adm/statistics/UserStatistics.vue
No changes |
--- invest/views/pages/adm/system/networkAccessControl/NetworkAccessControlInsert.vue
+++ client/views/pages/adm/system/networkAccessControl/NetworkAccessControlInsert.vue
No changes |
--- invest/views/pages/adm/system/networkAccessControl/NetworkAccessControlSelectList.vue
+++ client/views/pages/adm/system/networkAccessControl/NetworkAccessControlSelectList.vue
No changes |
--- invest/views/pages/adm/system/networkAccessControl/NetworkAccessControlSelectListOne.vue
+++ client/views/pages/adm/system/networkAccessControl/NetworkAccessControlSelectListOne.vue
No changes |
--- invest/views/pages/adm/system/setting/SiteSettingInsert.vue
+++ client/views/pages/adm/system/setting/SiteSettingInsert.vue
No changes |
--- invest/views/pages/login/Login.vue
+++ client/views/pages/login/Login.vue
... | ... | @@ -81,7 +81,7 @@ |
81 | 81 |
checkAdminPage() { |
82 | 82 |
if ( |
83 | 83 |
this.restoreRedirect("redirect") && |
84 |
- this.restoreRedirect("redirect").includes("/invest/adm/") |
|
84 |
+ this.restoreRedirect("redirect").includes("/adm/") |
|
85 | 85 |
) { |
86 | 86 |
this.isAdminPage = true; |
87 | 87 |
} else { |
... | ... | @@ -114,15 +114,15 @@ |
114 | 114 |
const url = this.restoreRedirect("redirect"); |
115 | 115 |
if (url != null && url != "") { |
116 | 116 |
if ( |
117 |
- url == "/invest/searchId.page" || |
|
118 |
- url == "/invest/resetPswd.page" |
|
117 |
+ url == "/searchId.page" || |
|
118 |
+ url == "/resetPswd.page" |
|
119 | 119 |
) { |
120 |
- this.$router.push({ path: "/invest/government/main.page" }); |
|
120 |
+ this.$router.push({ path: "/government/main.page" }); |
|
121 | 121 |
} else { |
122 | 122 |
this.$router.push({ path: url }); |
123 | 123 |
} |
124 | 124 |
} else { |
125 |
- this.$router.push({ path: "/invest" }); |
|
125 |
+ this.$router.push({ path: "/" }); |
|
126 | 126 |
} |
127 | 127 |
} |
128 | 128 |
} catch (error) { |
... | ... | @@ -131,7 +131,7 @@ |
131 | 131 |
}, |
132 | 132 |
moveSearchId() { |
133 | 133 |
this.$router.push({ |
134 |
- path: "/invest/resetPswd.page", |
|
134 |
+ path: "/resetPswd.page", |
|
135 | 135 |
query: { |
136 | 136 |
tab: "id", |
137 | 137 |
}, |
... | ... | @@ -139,7 +139,7 @@ |
139 | 139 |
}, |
140 | 140 |
moveResetPswd() { |
141 | 141 |
this.$router.push({ |
142 |
- path: "/invest/resetPswd.page", |
|
142 |
+ path: "/resetPswd.page", |
|
143 | 143 |
query: { |
144 | 144 |
tab: "pw", |
145 | 145 |
}, |
--- invest/views/pages/login/ResetPswd.vue
+++ client/views/pages/login/ResetPswd.vue
... | ... | @@ -169,7 +169,7 @@ |
169 | 169 |
); |
170 | 170 |
if (isCheck) { |
171 | 171 |
this.$router.push({ |
172 |
- path: "/invest/login.page", |
|
172 |
+ path: "/login.page", |
|
173 | 173 |
}); |
174 | 174 |
} |
175 | 175 |
} catch (error) { |
... | ... | @@ -200,7 +200,7 @@ |
200 | 200 |
); |
201 | 201 |
if (isCheck) { |
202 | 202 |
this.$router.push({ |
203 |
- path: "/invest/login.page", |
|
203 |
+ path: "/login.page", |
|
204 | 204 |
}); |
205 | 205 |
} |
206 | 206 |
} |
--- invest/views/pages/login/SearchId.vue
+++ client/views/pages/login/SearchId.vue
... | ... | @@ -71,7 +71,7 @@ |
71 | 71 |
); |
72 | 72 |
if (isCheck) { |
73 | 73 |
this.$router.push({ |
74 |
- path: "/invest/login.page", |
|
74 |
+ path: "/login.page", |
|
75 | 75 |
}); |
76 | 76 |
} |
77 | 77 |
} catch (error) { |
--- invest/views/pages/popup/PopUp.vue
+++ client/views/pages/popup/PopUp.vue
No changes |
--- invest/views/pages/user/company/consulting/Enroll.vue
+++ client/views/pages/user/company/consulting/Enroll.vue
No changes |
--- invest/views/pages/user/company/introduce/IntroduceSelectList.vue
+++ client/views/pages/user/company/introduce/IntroduceSelectList.vue
No changes |
--- invest/views/pages/user/company/main/Main.vue
+++ client/views/pages/user/company/main/Main.vue
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="content relative co-main-page" style="height: 100vh"> |
3 | 3 |
<img |
4 |
- src="/invest/resources/img/background2.png" |
|
4 |
+ src="/client/resources/img/background2.png" |
|
5 | 5 |
alt="조감도" |
6 | 6 |
class="background-img" |
7 | 7 |
/> |
... | ... | @@ -61,7 +61,7 @@ |
61 | 61 |
if (!count) { |
62 | 62 |
let size = "width=" + popup.wdthLen + ", height=" + popup.vrtcLen; |
63 | 63 |
window.open( |
64 |
- "/invest/cmmn/popup.page?popupId=" + popup.popupId, |
|
64 |
+ "/cmmn/popup.page?popupId=" + popup.popupId, |
|
65 | 65 |
"_blank", |
66 | 66 |
size + ", scrollbars=no, resizable=no, toolbars=no, menubar=no" |
67 | 67 |
); |
--- invest/views/pages/user/company/notice/noticeSelectList.vue
+++ client/views/pages/user/company/notice/noticeSelectList.vue
No changes |
--- invest/views/pages/user/company/notice/noticeSelectListOne.vue
+++ client/views/pages/user/company/notice/noticeSelectListOne.vue
No changes |
--- invest/views/pages/user/etc/Inspection.vue
+++ client/views/pages/user/etc/Inspection.vue
... | ... | @@ -1,7 +1,7 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="content2"> |
3 | 3 |
<div class="flex flex-column justify-center align-center" style="height:100%"> |
4 |
- <div class="img mb30"><img src="/invest/resources/img/system.png" alt="시스템 점검 이미지" class="system-img"> |
|
4 |
+ <div class="img mb30"><img src="/client/resources/img/system.png" alt="시스템 점검 이미지" class="system-img"> |
|
5 | 5 |
</div> |
6 | 6 |
<div class="system-title mb30">시스템 <strong class="system-message">점검 중</strong>입니다.</div> |
7 | 7 |
<div class="detail-text text-ct mb30"> |
--- invest/views/pages/user/etc/NotFound.vue
+++ client/views/pages/user/etc/NotFound.vue
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 |
style="height: 100vh" |
5 | 5 |
> |
6 | 6 |
<div class="img-zone mb40"> |
7 |
- <img src="/invest/resources/img/notfound.png" alt="404" /> |
|
7 |
+ <img src="/client/resources/img/notfound.png" alt="404" /> |
|
8 | 8 |
</div> |
9 | 9 |
<div class="text-zone mb40"> |
10 | 10 |
<p class="large-text mb40"> |
... | ... | @@ -38,7 +38,7 @@ |
38 | 38 |
methods: { |
39 | 39 |
fnMainMove() { |
40 | 40 |
this.$router.push({ |
41 |
- path: "/invest", |
|
41 |
+ path: "/", |
|
42 | 42 |
}); |
43 | 43 |
}, |
44 | 44 |
fnGoBack() { |
--- invest/views/pages/user/government/community/notice/NoticeInsert.vue
+++ client/views/pages/user/government/community/notice/NoticeInsert.vue
No changes |
--- invest/views/pages/user/government/community/notice/NoticeSelectList.vue
+++ client/views/pages/user/government/community/notice/NoticeSelectList.vue
No changes |
--- invest/views/pages/user/government/community/notice/NoticeSelectListOne.vue
+++ client/views/pages/user/government/community/notice/NoticeSelectListOne.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyConsult/CompanyConsultSelectList.vue
+++ client/views/pages/user/government/companyInfo/companyConsult/CompanyConsultSelectList.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyConsult/CompanyConsultSelectListOne.vue
+++ client/views/pages/user/government/companyInfo/companyConsult/CompanyConsultSelectListOne.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyInfo/CompanyInfoInsert.vue
+++ client/views/pages/user/government/companyInfo/companyInfo/CompanyInfoInsert.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyInfo/CompanyInfoSelectList.vue
+++ client/views/pages/user/government/companyInfo/companyInfo/CompanyInfoSelectList.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyInfo/CompanyInfoSelectListOne.vue
+++ client/views/pages/user/government/companyInfo/companyInfo/CompanyInfoSelectListOne.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyInvest/CompanyInvestInsert.vue
+++ client/views/pages/user/government/companyInfo/companyInvest/CompanyInvestInsert.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyInvest/CompanyInvestSelectList.vue
+++ client/views/pages/user/government/companyInfo/companyInvest/CompanyInvestSelectList.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyInvest/CompanyInvestSelectListOne.vue
+++ client/views/pages/user/government/companyInfo/companyInvest/CompanyInvestSelectListOne.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyReview/CompanyReviewInsert.vue
+++ client/views/pages/user/government/companyInfo/companyReview/CompanyReviewInsert.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyReview/CompanyReviewSelectList.vue
+++ client/views/pages/user/government/companyInfo/companyReview/CompanyReviewSelectList.vue
No changes |
--- invest/views/pages/user/government/companyInfo/companyReview/CompanyReviewSelectListOne.vue
+++ client/views/pages/user/government/companyInfo/companyReview/CompanyReviewSelectListOne.vue
No changes |
--- invest/views/pages/user/government/main/Main.vue
+++ client/views/pages/user/government/main/Main.vue
... | ... | @@ -207,7 +207,7 @@ |
207 | 207 |
this.search.menuType = this.menuType; |
208 | 208 |
this.saveQueryParams("totalSearchQueryParams", this.search); // 검색조건 저장 |
209 | 209 |
this.$router.push({ |
210 |
- path: "/invest/government/search.page", |
|
210 |
+ path: "/government/search.page", |
|
211 | 211 |
}); |
212 | 212 |
}, |
213 | 213 |
|
... | ... | @@ -230,7 +230,7 @@ |
230 | 230 |
// 기업정보 상세 조회 |
231 | 231 |
fnCompanyInfoViewDetail(entId) { |
232 | 232 |
this.$router.push({ |
233 |
- path: "/invest/government/companyInfo/view.page", |
|
233 |
+ path: "/government/companyInfo/view.page", |
|
234 | 234 |
query: { pageId: entId }, |
235 | 235 |
}); |
236 | 236 |
}, |
... | ... | @@ -265,7 +265,7 @@ |
265 | 265 |
if (!count) { |
266 | 266 |
let size = "width=" + popup.wdthLen + ", height=" + popup.vrtcLen; |
267 | 267 |
window.open( |
268 |
- "/invest/cmmn/popup.page?popupId=" + popup.popupId, |
|
268 |
+ "/cmmn/popup.page?popupId=" + popup.popupId, |
|
269 | 269 |
"_blank", |
270 | 270 |
size + ", scrollbars=no, resizable=no, toolbars=no, menubar=no" |
271 | 271 |
); |
... | ... | @@ -288,7 +288,7 @@ |
288 | 288 |
// 공지사항 상세페이지 이동 |
289 | 289 |
fnNoticeViewDetail(bbsId) { |
290 | 290 |
this.$router.push({ |
291 |
- path: "/invest/government/BBS_MNG_000000000000004/view.page", |
|
291 |
+ path: "/government/BBS_MNG_000000000000004/view.page", |
|
292 | 292 |
query: { |
293 | 293 |
pageId: bbsId, |
294 | 294 |
}, |
--- invest/views/pages/user/government/myPage/myInfo/MyInfoInsert.vue
+++ client/views/pages/user/government/myPage/myInfo/MyInfoInsert.vue
No changes |
--- invest/views/pages/user/government/myPage/myInfo/MyInfoView.vue
+++ client/views/pages/user/government/myPage/myInfo/MyInfoView.vue
No changes |
--- invest/views/pages/user/government/searchPage/SearchPage.vue
+++ client/views/pages/user/government/searchPage/SearchPage.vue
No changes |
--- invest/views/pages/user/government/statistics/StatisticsByCategory.vue
+++ client/views/pages/user/government/statistics/StatisticsByCategory.vue
No changes |
--- invest/views/pages/user/government/statistics/StatisticsByConsultation.vue
+++ client/views/pages/user/government/statistics/StatisticsByConsultation.vue
No changes |
--- invest/views/pages/user/government/statistics/StatisticsByReview.vue
+++ client/views/pages/user/government/statistics/StatisticsByReview.vue
No changes |
--- invest/views/pages/user/intro/Intro.vue
+++ client/views/pages/user/intro/Intro.vue
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 |
<div class="intro-page page"> |
3 | 3 |
<div class="w1200 content flex-column justify-center"> |
4 | 4 |
<div class="big-logo mb60"> |
5 |
- <img src="/invest/resources/img/logo.png" alt="" /> |
|
5 |
+ <img src="/client/resources/img/logo.png" alt="" /> |
|
6 | 6 |
</div> |
7 | 7 |
<ul class="user-division flex"> |
8 | 8 |
<li class="gd-6 pl0 cursor" @click="goToPage('company')"> |
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 |
style="background-color: var(--sky-pink)" |
12 | 12 |
> |
13 | 13 |
<p class="text-ct">기업 전용</p> |
14 |
- <img src="/invest/resources/img/sam.png" alt="" /> |
|
14 |
+ <img src="/client/resources/img/sam.png" alt="" /> |
|
15 | 15 |
</div> |
16 | 16 |
</li> |
17 | 17 |
<li class="gd-6 pr0 cursor" @click="goToPage('government')"> |
... | ... | @@ -20,7 +20,7 @@ |
20 | 20 |
style="background-color: var(--sky-green)" |
21 | 21 |
> |
22 | 22 |
<p class="text-ct">공무원 전용</p> |
23 |
- <img src="/invest/resources/img/hong.png" alt="" /> |
|
23 |
+ <img src="/client/resources/img/hong.png" alt="" /> |
|
24 | 24 |
</div> |
25 | 25 |
</li> |
26 | 26 |
</ul> |
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 |
goToPage(pageType) { |
38 | 38 |
this.$store.commit("setUserType", pageType); |
39 | 39 |
this.$router.push({ |
40 |
- path: `/invest/${pageType}/main.page`, |
|
40 |
+ path: `/${pageType}/main.page`, |
|
41 | 41 |
params: { menuType: pageType }, |
42 | 42 |
}); |
43 | 43 |
}, |
--- invest/views/robots.txt
+++ client/views/robots.txt
No changes |
--- invest/resources/js/cntnStatsSave.js
... | ... | @@ -1,39 +0,0 @@ |
1 | -import { save } from "../../resources/api/cntnStats" | |
2 | - | |
3 | -export default { | |
4 | - methods: { | |
5 | - // 권한 검증 | |
6 | - isValidRole() { | |
7 | - const roles = this.$store.state.roles; | |
8 | - if(!Array.isArray(roles)) { | |
9 | - return false; | |
10 | - } | |
11 | - for(const role of roles) { | |
12 | - if(typeof role !== 'object' || !role.hasOwnProperty('authority')) { | |
13 | - return false; | |
14 | - } | |
15 | - } | |
16 | - return true; | |
17 | - }, | |
18 | - // 접속 통계 등록 | |
19 | - async cntnStatsSave(menuId) { | |
20 | - const roleChck = this.isValidRole(); | |
21 | - if(!roleChck) { | |
22 | - alert('접근이 불가합니다.\n관리자에게 문의하세요.'); | |
23 | - this.$router.push({ | |
24 | - path: '/' | |
25 | - }); | |
26 | - } | |
27 | - try { | |
28 | - const mbrAuth = this.$store.state.roles.map(auth => auth.authority); // 사용자 권한 정보 | |
29 | - const cntnStats = { | |
30 | - 'typeId': menuId, | |
31 | - 'mbrAuthList' : mbrAuth | |
32 | - } | |
33 | - await save(cntnStats); | |
34 | - } catch(error) { | |
35 | - console.log(error); | |
36 | - } | |
37 | - }, | |
38 | - } | |
39 | -}(파일 끝에 줄바꿈 문자 없음) |
--- invest/views/index.html
... | ... | @@ -1,27 +0,0 @@ |
1 | -<!DOCTYPE html> | |
2 | -<html> | |
3 | -<head> | |
4 | - <meta charset="UTF-8"> | |
5 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
6 | - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
7 | - <meta name="description" content="Node Vue Web"> | |
8 | - <link rel="icon" href="/invest/favicon.ico" /> | |
9 | - <link rel="stylesheet" href="/invest/resources/lib/swiper/swiper-bundle.min.css"> | |
10 | - <link rel="stylesheet" href="/invest/resources/css/reset.css"> | |
11 | - <link rel="stylesheet" href="/invest/resources/css/layout.css"> | |
12 | - <link rel="stylesheet" href="/invest/resources/css/grid.css"> | |
13 | - <link rel="stylesheet" href="/invest/resources/css/component.css"> | |
14 | - <link rel="stylesheet" href="/invest/resources/css/common.css"> | |
15 | - <link rel="stylesheet" href="/invest/resources/css/style.css"> | |
16 | - <link rel="stylesheet" href="/invest/resources/css/admin.css"> | |
17 | - <link rel="stylesheet" href="/invest/resources/css/responsive.css"> | |
18 | - <script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> | |
19 | - <script src="/invest/resources/lib/swiper/swiper-element-bundle.min.js"></script> | |
20 | - <script type="text/javascript" charset="utf-8" src="/invest/ckeditor/build/ckeditor.js"></script> | |
21 | - <title>영주시 투자유치 플랫폼</title> | |
22 | -</head> | |
23 | -<body> | |
24 | - <div id="root"></div> | |
25 | - <script src="/invest/build/bundle.js"></script> | |
26 | -</body> | |
27 | -</html>(파일 끝에 줄바꿈 문자 없음) |
--- package-lock.json
+++ package-lock.json
... | ... | @@ -1,5 +1,5 @@ |
1 | 1 |
{ |
2 |
- "name": "yj_portal-front-end", |
|
2 |
+ "name": "cms_frontend", |
|
3 | 3 |
"lockfileVersion": 3, |
4 | 4 |
"requires": true, |
5 | 5 |
"packages": { |
--- server/modules/web/server.js
+++ server/modules/web/server.js
... | ... | @@ -51,7 +51,7 @@ |
51 | 51 |
*/ |
52 | 52 |
webServer.get("/robots.txt", function (request, response) { |
53 | 53 |
//response.sendFile을 통한 HTTP html reponse (html내용 Streaming) |
54 |
- response.sendFile(`${BASE_DIR}/invest/views/robots.txt`); |
|
54 |
+ response.sendFile(`${BASE_DIR}/client/views/robots.txt`); |
|
55 | 55 |
}); |
56 | 56 |
|
57 | 57 |
/** |
... | ... | @@ -59,9 +59,9 @@ |
59 | 59 |
* @since : 2023.08.24 |
60 | 60 |
* @dscription : ROOT URL -> index.html |
61 | 61 |
*/ |
62 |
-webServer.get("/invest/", function (request, response) { |
|
62 |
+webServer.get("/", function (request, response) { |
|
63 | 63 |
//response.sendFile을 통한 HTTP html reponse (html내용 Streaming) |
64 |
- response.sendFile(`${BASE_DIR}/invest/views/index.html`); |
|
64 |
+ response.sendFile(`${BASE_DIR}/client/views/index.html`); |
|
65 | 65 |
}); |
66 | 66 |
|
67 | 67 |
/** |
... | ... | @@ -82,7 +82,7 @@ |
82 | 82 |
done(); |
83 | 83 |
}; |
84 | 84 |
//Streaming 진행 |
85 |
- FS.createReadStream(`${BASE_DIR}/invest/views/index.html`) |
|
85 |
+ FS.createReadStream(`${BASE_DIR}/client/views/index.html`) |
|
86 | 86 |
.pipe(newLineStream()) |
87 | 87 |
.pipe(StreamTransform) |
88 | 88 |
.pipe(response); |
... | ... | @@ -137,7 +137,7 @@ |
137 | 137 |
*/ |
138 | 138 |
webServer.use(function (error, request, response, next) { |
139 | 139 |
const errorCode = !error.statusCode ? 500 : error.statusCode; |
140 |
- response.redirect('/invest/cmmn/notfound.page'); // 에러 페이지로 유도 |
|
140 |
+ response.redirect('/cmmn/notfound.page'); // 에러 페이지로 유도 |
|
141 | 141 |
let message = `[Error:${errorCode}] ${request.url}/n ${error.stack}/n`; |
142 | 142 |
Logger.logging(message); |
143 | 143 |
}); |
--- webpack.config.js
+++ webpack.config.js
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 |
devtool: 'source-map', |
11 | 11 |
|
12 | 12 |
entry: { |
13 |
- app: [`${BASE_DIR}/invest/views/index.js`] |
|
13 |
+ app: [`${BASE_DIR}/client/views/index.js`] |
|
14 | 14 |
}, |
15 | 15 |
|
16 | 16 |
module: { |
... | ... | @@ -37,14 +37,14 @@ |
37 | 37 |
|
38 | 38 |
plugins: [ |
39 | 39 |
new HtmlWebpackPlugin({ |
40 |
- template: `${BASE_DIR}/invest/views/index.html`, |
|
40 |
+ template: `${BASE_DIR}/client/views/index.html`, |
|
41 | 41 |
}), |
42 | 42 |
new VueLoaderPlugin(), |
43 | 43 |
new webpack.HotModuleReplacementPlugin(), |
44 | 44 |
], |
45 | 45 |
|
46 | 46 |
output: { |
47 |
- path: `${BASE_DIR}/invest/build`, // __dirname: webpack.config.js 파일이 위치한 경로 |
|
47 |
+ path: `${BASE_DIR}/client/build`, // __dirname: webpack.config.js 파일이 위치한 경로 |
|
48 | 48 |
filename: 'bundle.js', |
49 | 49 |
}, |
50 | 50 |
}(파일 끝에 줄바꿈 문자 없음) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?