
--- client/views/pages/adm/boardManagement/template/commonTemplate/CommonSelectList.vue
+++ client/views/pages/adm/boardManagement/template/commonTemplate/CommonSelectList.vue
... | ... | @@ -261,7 +261,7 @@ |
261 | 261 |
if (bbsMng.prvtPstYn === "Y") { |
262 | 262 |
this.lockList.push(idx); |
263 | 263 |
|
264 |
- // 작성자와 로그인한 사용자가 같을 때, 관리자 일 경우 title 표시 |
|
264 |
+ // 작성자와 로그인한 사용자가 같거나, 로그인한 사용자가 관리자 일 경우 title 표시 |
|
265 | 265 |
if (bbsMng.rgtr != this.mbrId && this.roles != "ROLE_ADMIN") { |
266 | 266 |
return "비밀글입니다."; |
267 | 267 |
} |
--- client/views/pages/adm/boardManagement/template/faqTemplate/FaqInsert.vue
+++ client/views/pages/adm/boardManagement/template/faqTemplate/FaqInsert.vue
... | ... | @@ -220,6 +220,7 @@ |
220 | 220 |
|
221 | 221 |
if (this.$route.query.ansPageId != null) { |
222 | 222 |
this.ansPageId = this.$route.query.ansPageId; |
223 |
+ this.bbsCn.prvtPstYn = this.bbsCn.ansPrvtPstYn; // 답변 비밀글 여부 |
|
223 | 224 |
} |
224 | 225 |
} |
225 | 226 |
} catch (error) { |
--- client/views/pages/adm/boardManagement/template/faqTemplate/FaqSelectList.vue
+++ client/views/pages/adm/boardManagement/template/faqTemplate/FaqSelectList.vue
... | ... | @@ -81,6 +81,7 @@ |
81 | 81 |
<span>Q.</span> |
82 | 82 |
<div v-if="item.prvtPstYn == 'Y'"> |
83 | 83 |
<!-- {{ item.rgtr == mbrId || roles == 'ROLE_ADMIN' ? item.bbsCn : '[ 비밀글입니다 ]' }} --> |
84 |
+ <svg-icon type="mdi" :path="lockPath" :width="18" :height="18"></svg-icon> |
|
84 | 85 |
<p |
85 | 86 |
v-html=" |
86 | 87 |
item.rgtr == mbrId || roles == 'ROLE_ADMIN' |
... | ... | @@ -129,8 +130,9 @@ |
129 | 130 |
<td>A.</td> |
130 | 131 |
<td colspan="3"> |
131 | 132 |
<div> |
132 |
- <template v-if="item.prvtPstYn == 'Y'"> |
|
133 |
+ <template v-if="item.ansPrvtPstYn == 'Y'"> |
|
133 | 134 |
<!-- {{ item.rgtr == mbrId || roles == 'ROLE_ADMIN' ? item.ansCn : '[ 비밀 답글입니다 ]' }} --> |
135 |
+ <svg-icon type="mdi" :path="lockPath" :width="18" :height="18"></svg-icon> |
|
134 | 136 |
<p |
135 | 137 |
v-html=" |
136 | 138 |
item.rgtr == mbrId || roles == 'ROLE_ADMIN' |
... | ... | @@ -256,7 +258,8 @@ |
256 | 258 |
<td> |
257 | 259 |
<div class="layout"> |
258 | 260 |
<span class="state question">Q</span> |
259 |
- <div v-if="item.prvtPstYn == 'Y'"> |
|
261 |
+ <div v-if="item.prvtPstYn == 'Y'" class="layout"> |
|
262 |
+ <svg-icon type="mdi" :path="lockPath" :width="18" :height="18"></svg-icon> |
|
260 | 263 |
<p |
261 | 264 |
v-html=" |
262 | 265 |
item.rgtr == mbrId || roles == 'ROLE_ADMIN' |
... | ... | @@ -308,7 +311,8 @@ |
308 | 311 |
<td colspan="3"> |
309 | 312 |
<div class="layout"> |
310 | 313 |
<span class="state answer">A</span> |
311 |
- <div v-if="item.prvtPstYn == 'Y'"> |
|
314 |
+ <div v-if="item.ansPrvtPstYn == 'Y'" class="layout"> |
|
315 |
+ <svg-icon type="mdi" :path="lockPath" :width="18" :height="18"></svg-icon> |
|
312 | 316 |
<p |
313 | 317 |
v-html=" |
314 | 318 |
item.rgtr == mbrId || roles == 'ROLE_ADMIN' |
... | ... | @@ -377,6 +381,7 @@ |
377 | 381 |
</template> |
378 | 382 |
|
379 | 383 |
<script> |
384 |
+import { mdiLock } from '@mdi/js'; |
|
380 | 385 |
import PaginationButton from "../../../../../component/pagination/PaginationButton.vue"; |
381 | 386 |
import { |
382 | 387 |
findAll, |
... | ... | @@ -392,6 +397,7 @@ |
392 | 397 |
mixins: [queryParams], |
393 | 398 |
data() { |
394 | 399 |
return { |
400 |
+ lockPath: mdiLock, |
|
395 | 401 |
pageRole: this.$store.state.userType, |
396 | 402 |
path: this.$store.state.path, |
397 | 403 |
pageAuth: this.$store.state.pageAuth, |
--- client/views/pages/adm/popup/PopupManagementInsert.vue
+++ client/views/pages/adm/popup/PopupManagementInsert.vue
... | ... | @@ -191,7 +191,7 @@ |
191 | 191 |
<div class="layout"> |
192 | 192 |
<label class="form-title"><span>*</span>순서</label> |
193 | 193 |
<select class="form-select sm " v-model="popup['sn']" ref="sn"> |
194 |
- <option value="0">순서를 선택하세요.</option> |
|
194 |
+ <option value="">순서를 선택하세요.</option> |
|
195 | 195 |
<option value="1">1</option> |
196 | 196 |
<option value="2">2</option> |
197 | 197 |
<option value="3">3</option> |
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?