
--- client/views/pages/adm/departmentManagement/DepartmentManagement.vue
+++ client/views/pages/adm/departmentManagement/DepartmentManagement.vue
... | ... | @@ -245,6 +245,9 @@ |
245 | 245 |
const res = await findAll(); |
246 | 246 |
if (res.status == 200) { |
247 | 247 |
this.deptList = res.data.data.hierachyList; // 부서 목록 |
248 |
+ if(this.deptList.length > 0) { |
|
249 |
+ this.fnViewDetail(this.deptList[0].id); // 부서 최상단 조회 |
|
250 |
+ } |
|
248 | 251 |
this.authList = res.data.data.authList; // 권한 목록 |
249 | 252 |
this.newDept = res.data.data.newDept; // 부서 빈 객체 |
250 | 253 |
this.newDept.useYn = "Y"; |
--- client/views/pages/adm/preferences/commonCodeManagement/CommonCodeManagement.vue
+++ client/views/pages/adm/preferences/commonCodeManagement/CommonCodeManagement.vue
... | ... | @@ -136,6 +136,9 @@ |
136 | 136 |
const res = await findAll(); |
137 | 137 |
if (res.status == 200) { |
138 | 138 |
this.codeList = res.data.data.hierachyList; |
139 |
+ if(this.codeList.length > 0) { |
|
140 |
+ this.fnViewDetail(this.codeList[0].id); |
|
141 |
+ } |
|
139 | 142 |
this.newCode = res.data.data.newCode; |
140 | 143 |
this.newCode.useYn = "Y"; |
141 | 144 |
} |
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?