
--- client/views/pages/adm/departmentManagement/DepartmentManagement.vue
+++ client/views/pages/adm/departmentManagement/DepartmentManagement.vue
... | ... | @@ -240,10 +240,10 @@ |
240 | 240 |
// 페이지 권한 객체 |
241 | 241 |
// pageAuth: JSON.parse(localStorage.getItem("vuex")).pageAuth, |
242 | 242 |
|
243 |
- colgroup: ["5%", "15%", "20%", "20%", "20%"], // 부서관련 등록된 사용자 테이블 생성 |
|
243 |
+ colgroup: ["10%", "20%", "20%", "25%", "25%"], // 부서관련 등록된 사용자 테이블 생성 |
|
244 | 244 |
thead: ["선택", "아이디", "이름", "연락처", "이메일"], // 부서관련 등록된 사용자 테이블 생성 |
245 | 245 |
tbody: [], |
246 |
- mbrColgroup: ["20%", "20%", "20%", "20%", "20%"], // 부서관련 등록할 사용자 테이블 생성 |
|
246 |
+ mbrColgroup: ["10%", "20%", "20%", "25%", "25%"], // 부서관련 등록할 사용자 테이블 생성 |
|
247 | 247 |
mbrThead: ["선택", "아이디", "이름", "연락처", "이메일"], // 부서관련 등록할 사용자 테이블 생성 |
248 | 248 |
mbrTbody: [], |
249 | 249 |
iconPath: 'ico_team', |
--- client/views/pages/adm/preferences/contentTypeManagement/ContentTypeManagementInsert.vue
+++ client/views/pages/adm/preferences/contentTypeManagement/ContentTypeManagementInsert.vue
... | ... | @@ -203,29 +203,33 @@ |
203 | 203 |
} |
204 | 204 |
|
205 | 205 |
// 콘텐츠 영문명 |
206 |
- if (this.isEmpty(this.contsTypeVO.contsEngNm)) { |
|
206 |
+ let contsEngNm = this.contsTypeVO.contsEngNm?.trim(); |
|
207 |
+ if (this.isEmpty(contsEngNm)) { |
|
207 | 208 |
alert("콘텐츠 영문명을 입력하세요."); |
208 | 209 |
this.$refs.contsEngNm.focus(); |
209 | 210 |
return false; |
210 | 211 |
} |
212 |
+ this.contsTypeVO.contsEngNm = contsEngNm; |
|
211 | 213 |
|
212 | 214 |
// 관리자 PATH 혹은 사용자 PATH 중 최소 1개 이상 작성 여부 |
213 |
- let mngrPageCrs = this.isEmpty(this.contsTypeVO.mngrPageCrs); |
|
214 |
- let pageCrs = this.isEmpty(this.contsTypeVO.pageCrs); |
|
215 |
- if (mngrPageCrs && pageCrs) { |
|
215 |
+ let mngrPageCrs = this.contsTypeVO.mngrPageCrs?.trim(); |
|
216 |
+ let pageCrs = this.contsTypeVO.pageCrs?.trim(); |
|
217 |
+ if (this.isEmpty(mngrPageCrs) && this.isEmpty(pageCrs)) { |
|
216 | 218 |
alert("관리자 PATH 혹은 사용자 PATH를 입력하세요."); |
217 | 219 |
return false; |
218 | 220 |
} |
221 |
+ this.contsTypeVO.mngrPageCrs = mngrPageCrs; |
|
222 |
+ this.contsTypeVO.pageCrs = pageCrs; |
|
219 | 223 |
|
220 | 224 |
const pageCrsRegex = /^\/(?:[a-zA-Z0-9_\-]+\/)*[a-zA-Z0-9_\-]+\.[a-zA-Z0-9]+$/; |
221 |
- if (!mngrPageCrs) { |
|
225 |
+ if (!this.isEmpty(mngrPageCrs)) { |
|
222 | 226 |
if (!pageCrsRegex.test(this.contsTypeVO.mngrPageCrs)) { |
223 | 227 |
alert("관리자 PATH는 /로 시작하고, 마지막에 확장자가 포함되어야 합니다."); |
224 | 228 |
this.$refs.mngrPageCrs.focus(); |
225 | 229 |
return false; |
226 | 230 |
} |
227 | 231 |
} |
228 |
- if (!pageCrs) { |
|
232 |
+ if (!this.isEmpty(pageCrs)) { |
|
229 | 233 |
if (!pageCrsRegex.test(this.contsTypeVO.pageCrs)) { |
230 | 234 |
alert("사용자 PATH는 /로 시작하고, 마지막에 확장자가 포함되어야 합니다."); |
231 | 235 |
this.$refs.pageCrs.focus(); |
... | ... | @@ -234,11 +238,13 @@ |
234 | 238 |
} |
235 | 239 |
|
236 | 240 |
// COMPONENT_URL |
237 |
- if (this.isEmpty(this.contsTypeVO.compnCrs)) { |
|
241 |
+ let compnCrs = this.contsTypeVO.compnCrs?.trim(); |
|
242 |
+ if (this.isEmpty(compnCrs)) { |
|
238 | 243 |
alert("COMPONENT_URL을 입력하세요."); |
239 | 244 |
this.$refs.compnCrs.focus(); |
240 | 245 |
return false; |
241 | 246 |
} |
247 |
+ this.contsTypeVO.compnCrs = compnCrs; |
|
242 | 248 |
|
243 | 249 |
// 메뉴노출 |
244 | 250 |
if (this.isEmpty(this.contsTypeVO.expsrYn)) { |
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?