
--- client/views/pages/ctgry/CategoryManagement.vue
+++ client/views/pages/ctgry/CategoryManagement.vue
... | ... | @@ -74,7 +74,18 @@ |
74 | 74 |
:disabled="!isNewInsert || (this.ctgryId !== null || this.ctgryId !== '')" /> |
75 | 75 |
<label for="switch">Toggle</label> |
76 | 76 |
</div> |
77 |
- |
|
77 |
+ <div class="invalid-feedback border" v-if="!newInsertCheck"> |
|
78 |
+ <img :src="erroricon" alt=""> |
|
79 |
+ <span>등록시 사용유무는 변경 하실 수 없습니다.</span> |
|
80 |
+ </div> |
|
81 |
+ <div class="invalid-feedback border" v-if="selectedCategory.useAt === 'Y' && newInsertCheck"> |
|
82 |
+ <img :src="erroricon" alt=""> |
|
83 |
+ <span>삭제버튼을 누를 시 사용여부가 변경됩니다.</span> |
|
84 |
+ </div> |
|
85 |
+ <div class="invalid-feedback border" v-if="selectedCategory.useAt === 'N' && newInsertCheck"> |
|
86 |
+ <img :src="erroricon" alt=""> |
|
87 |
+ <span>복구버튼을 누를 시 사용여부가 변경됩니다.</span> |
|
88 |
+ </div> |
|
78 | 89 |
</dd> |
79 | 90 |
<div class="hr"></div> |
80 | 91 |
<dd> |
... | ... | @@ -179,7 +190,7 @@ |
179 | 190 |
if (confirm("선택한 카테고리를 삭제 하시겠습니까?")) { |
180 | 191 |
try { |
181 | 192 |
this.selectedCategory.useAt = 'N' |
182 |
- this.copySelectedCategory.useAt ='N' |
|
193 |
+ this.copySelectedCategory.useAt = 'N' |
|
183 | 194 |
const response = await updateCategory(this.ctgryId, this.selectedCategory); |
184 | 195 |
if (response.status === 200) { |
185 | 196 |
alert("삭제되었습니다."); |
... | ... | @@ -195,7 +206,7 @@ |
195 | 206 |
if (confirm("선택한 카테고리를 복구 하시겠습니까?")) { |
196 | 207 |
try { |
197 | 208 |
this.selectedCategory.useAt = 'Y' |
198 |
- this.copySelectedCategory.useAt ='Y' |
|
209 |
+ this.copySelectedCategory.useAt = 'Y' |
|
199 | 210 |
const response = await updateCategory(this.ctgryId, this.selectedCategory); |
200 | 211 |
if (response.status === 200) { |
201 | 212 |
alert("복구되었습니다."); |
... | ... | @@ -235,7 +246,7 @@ |
235 | 246 |
const response = await saveCategory(this.selectedCategory); |
236 | 247 |
if (response.status === 200) { |
237 | 248 |
alert("등록되었습니다."); |
238 |
- this.searchCategories(); |
|
249 |
+ window.location.reload(); |
|
239 | 250 |
} |
240 | 251 |
} catch (error) { |
241 | 252 |
alert("등록이 실패하였습니다."); |
--- client/views/pages/member/MemberManagement.vue
+++ client/views/pages/member/MemberManagement.vue
... | ... | @@ -122,6 +122,18 @@ |
122 | 122 |
:disabled="!isNewInsert || (this.userId !== null || this.userId !== '')" /> |
123 | 123 |
<label for="switch">Toggle</label> |
124 | 124 |
</div> |
125 |
+ <div class="invalid-feedback border" v-if="!newInsertCheck"> |
|
126 |
+ <img :src="erroricon" alt=""> |
|
127 |
+ <span>등록시 사용유무는 변경 하실 수 없습니다.</span> |
|
128 |
+ </div> |
|
129 |
+ <div class="invalid-feedback border" v-if="selectedUser.useAt === 'Y' && newInsertCheck"> |
|
130 |
+ <img :src="erroricon" alt=""> |
|
131 |
+ <span>삭제버튼을 누를 시 사용여부가 변경됩니다.</span> |
|
132 |
+ </div> |
|
133 |
+ <div class="invalid-feedback border" v-if="selectedUser.useAt === 'N' && newInsertCheck"> |
|
134 |
+ <img :src="erroricon" alt=""> |
|
135 |
+ <span>복구버튼을 누를 시 사용여부가 변경됩니다.</span> |
|
136 |
+ </div> |
|
125 | 137 |
</dd> |
126 | 138 |
</dl> |
127 | 139 |
</form> |
... | ... | @@ -243,7 +255,7 @@ |
243 | 255 |
const response = await join(this.joinDTO); |
244 | 256 |
if (response.status === 200) { |
245 | 257 |
alert("회원가입되었습니다."); |
246 |
- this.searchUsers(); |
|
258 |
+ window.location.reload(); |
|
247 | 259 |
|
248 | 260 |
} |
249 | 261 |
} catch (error) { |
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?