
--- client/views/pages/user/Data/Technology.vue
+++ client/views/pages/user/Data/Technology.vue
... | ... | @@ -63,7 +63,8 @@ |
63 | 63 |
</div> |
64 | 64 |
</div> |
65 | 65 |
<div> |
66 |
- <button class="blue-btn" @click="postSelectOnePage(item)">바로가기</button> |
|
66 |
+ <!-- <button class="blue-btn" @click="postSelectOnePage(item)">바로가기</button> --> |
|
67 |
+ <button class="blue-btn" @click="item.ctgry_nm === 'service' ? serviceEvent(item) : postSelectOnePage(item)">바로가기</button> |
|
67 | 68 |
</div> |
68 | 69 |
</li> |
69 | 70 |
<li class="tech-box-sec" v-for="(space, index) in emptySpaces" :key="index"> |
... | ... | @@ -161,7 +162,8 @@ |
161 | 162 |
const vm = this; |
162 | 163 |
|
163 | 164 |
axios({ |
164 |
- url: '/post/newsSelectList.json', |
|
165 |
+ // url: '/post/newsSelectList.json', |
|
166 |
+ url: '/post/postSelectList.json', |
|
165 | 167 |
method: 'post', |
166 | 168 |
hearder: { |
167 | 169 |
'Content-Type': "application/json; charset=UTF-8", |
... | ... | @@ -197,7 +199,11 @@ |
197 | 199 |
}, |
198 | 200 |
data: { "page_nm": vm.page_nm } |
199 | 201 |
}) |
200 |
- } |
|
202 |
+ }, |
|
203 |
+ |
|
204 |
+ serviceEvent(item) { |
|
205 |
+ window.location.href = item.link_url; |
|
206 |
+ }, |
|
201 | 207 |
}, |
202 | 208 |
watch: { |
203 | 209 |
|
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?