
--- client/views/pages/App.vue
+++ client/views/pages/App.vue
... | ... | @@ -225,12 +225,15 @@ |
225 | 225 |
const memberTypeDetail = memberType === '정회원' ? (authenticationState.user_auth === 'common' ? '일반 정회원' : '기업 정회원') : '준회원'; |
226 | 226 |
console.log("::::", memberTypeDetail); |
227 | 227 |
//로그인 페이지 이동은 못하게 함 |
228 |
- if (to.path == '/login.page') { |
|
228 |
+ if (to.path == '/Login.page') { |
|
229 | 229 |
next(false); |
230 | 230 |
} else {//로그인 페이지 이 외의 페이지들을 이동 가능하게 함 |
231 | 231 |
if (!authorization.includes(memberTypeDetail)) { |
232 | 232 |
// 권한이 없는 유저는 not-found 페이지로 보낸다. |
233 |
- next({ path: "/" }); |
|
233 |
+ if(memberTypeDetail == '준회원'){ |
|
234 |
+ this.isModalOpen = true; |
|
235 |
+ } |
|
236 |
+ next(false); |
|
234 | 237 |
} |
235 | 238 |
next(); |
236 | 239 |
} |
--- client/views/pages/admin/popup/PopupInsert.vue
+++ client/views/pages/admin/popup/PopupInsert.vue
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 |
<th style="width:10%">링크주소</th> |
32 | 32 |
<td><input type="text" name="" id="newsTitle" v-model="popup.shortcuts_url"></td> |
33 | 33 |
</tr> |
34 |
- <tr> |
|
34 |
+ <!-- <tr> |
|
35 | 35 |
<th style="width:10%">팝업 비율 설정</th> |
36 | 36 |
<td> |
37 | 37 |
<div class="flex-start"> |
... | ... | @@ -49,7 +49,7 @@ |
49 | 49 |
</div> |
50 | 50 |
</div> |
51 | 51 |
</td> |
52 |
- </tr> |
|
52 |
+ </tr> --> |
|
53 | 53 |
<!-- <tr class="size-zone"> |
54 | 54 |
<th>팝업 크기</th> |
55 | 55 |
<td><input type="text" name="" id="" placeholder="너비" class="half-input" v-model="popup.popup_width" ref="popup_width"/><span>픽셀</span></td> |
--- client/views/pages/user/networking/Matching.vue
+++ client/views/pages/user/networking/Matching.vue
... | ... | @@ -165,8 +165,6 @@ |
165 | 165 |
alert("자신의 기업에는 PICK을 할 수 없습니다.") |
166 | 166 |
} |
167 | 167 |
} |
168 |
- |
|
169 |
- |
|
170 | 168 |
}, |
171 | 169 |
|
172 | 170 |
pickCancelModal: function (item) { |
--- client/views/pages/user/networking/MatchingOne.vue
+++ client/views/pages/user/networking/MatchingOne.vue
... | ... | @@ -108,6 +108,7 @@ |
108 | 108 |
</template> |
109 | 109 |
|
110 | 110 |
<script> |
111 |
+import { useStore } from "vuex"; |
|
111 | 112 |
import axios from 'axios'; |
112 | 113 |
import COMMON_UTIL from '../../../../resources/js/commonUtil.js'; |
113 | 114 |
import { useRoute } from 'vue-router'; |
... | ... | @@ -135,7 +136,7 @@ |
135 | 136 |
file_nm: null, |
136 | 137 |
file_extn_nm: null, |
137 | 138 |
pick_yn: null, |
138 |
- |
|
139 |
+ |
|
139 | 140 |
}, |
140 | 141 |
best: null, |
141 | 142 |
userCompanyId: null, |
... | ... | @@ -150,6 +151,7 @@ |
150 | 151 |
|
151 | 152 |
], |
152 | 153 |
route: useRoute(), |
154 |
+ store: useStore(), |
|
153 | 155 |
} |
154 | 156 |
}, |
155 | 157 |
methods: { |
... | ... | @@ -235,8 +237,8 @@ |
235 | 237 |
hearder: { |
236 | 238 |
'Content-Type': "application/json; charset=UTF-8", |
237 | 239 |
}, |
238 |
- data: {'company_id' : company_id} |
|
239 |
- }).then(function(response){ |
|
240 |
+ data: { 'company_id': company_id } |
|
241 |
+ }).then(function (response) { |
|
240 | 242 |
vm.$router.go(0); |
241 | 243 |
}) |
242 | 244 |
|
... | ... | @@ -268,15 +270,26 @@ |
268 | 270 |
}, |
269 | 271 |
|
270 | 272 |
pickConfirm: function () { |
271 |
- |
|
272 |
- if (this.company.userCompanyId != this.company.company_id) { |
|
273 |
- if (confirm(this.company.company_nm + "에 PICK 신청을 하시겠습니까?")) { |
|
274 |
- this.pick() |
|
273 |
+ const isUserLogin = this.store.state.loginUser; |
|
274 |
+ console.log(isUserLogin); |
|
275 |
+ if (isUserLogin === null) { |
|
276 |
+ alert("비회원은 해당 기능을 이용하실 수 없습니다.") |
|
277 |
+ } else if (isUserLogin.create_account_approval === 'N' && isUserLogin.user_auth === 'company') { |
|
278 |
+ alert("가입 승인 중 입니다. 해당 기능을 이용하실 수 없습니다.") |
|
279 |
+ } else if (isUserLogin.user_auth === 'common') { |
|
280 |
+ alert("일반 회원은 해당 기능을 이용하실 수 없습니다.") |
|
281 |
+ } else if (isUserLogin.create_account_approval === 'Y' && isUserLogin.user_auth === 'company') { |
|
282 |
+ if (this.userCompanyId != this.company.company_id) { |
|
283 |
+ if (confirm(this.company.company_nm + "에 PICK 신청을 하시겠습니까?")) { |
|
284 |
+ this.pick() |
|
285 |
+ } |
|
286 |
+ } else { |
|
287 |
+ alert("자신의 기업에는 PICK을 할 수 없습니다.") |
|
275 | 288 |
} |
276 |
- } else { |
|
277 |
- alert("자신의 기업에는 PICK을 할 수 없습니다.") |
|
278 | 289 |
} |
279 | 290 |
|
291 |
+ |
|
292 |
+ |
|
280 | 293 |
}, |
281 | 294 |
|
282 | 295 |
pickCancelModal: function () { |
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?