
--- client/resources/scss/admin/content.scss
+++ client/resources/scss/admin/content.scss
... | ... | @@ -896,6 +896,7 @@ |
896 | 896 |
} |
897 | 897 |
} |
898 | 898 |
|
899 |
+ |
|
899 | 900 |
} |
900 | 901 |
|
901 | 902 |
|
--- client/resources/scss/common/component/component.scss
+++ client/resources/scss/common/component/component.scss
... | ... | @@ -18,4 +18,5 @@ |
18 | 18 |
@import "./tabs"; |
19 | 19 |
@import "./tooltip"; |
20 | 20 |
@import "./pagination"; |
21 |
-@import "./tree";(파일 끝에 줄바꿈 문자 없음) |
|
21 |
+@import "./tree"; |
|
22 |
+@import "./menuSatisfaction";(파일 끝에 줄바꿈 문자 없음) |
--- client/views/pages/App.vue
+++ client/views/pages/App.vue
... | ... | @@ -3,11 +3,10 @@ |
3 | 3 |
<AdminHeader /> |
4 | 4 |
<AdminMenu /> |
5 | 5 |
<main class="main-wrap"> |
6 |
- <div :class="{'content-wrap': true, 'main': this.$route.path === this.$filters.ctxPath('/adm/main.page')}"> |
|
7 |
- <MenuSatisfaction v-if="!$route.path.includes('/insert.page')"/> <!-- 내용 확인용 --> |
|
6 |
+ <div :class="{'content-wrap': true, 'main': this.$route.path === this.$filters.ctxPath('/adm/main.page')}" :style="{ height: menuUse === 'Y' ? 'calc(100% - 152px)' : '100%' }"> |
|
8 | 7 |
<router-view /> |
9 |
- <!-- <MenuSatisfaction/> --> <!-- 진짜 위치 --> |
|
10 | 8 |
</div> |
9 |
+ <MenuSatisfaction v-if="!$route.path.includes('/insert.page')" @menuChecck="menuYnCheck"/> <!-- 내용 확인용 --> |
|
11 | 10 |
</main> |
12 | 11 |
</div> |
13 | 12 |
<div v-else v-cloak class="user-wrap relative"> |
... | ... | @@ -31,9 +30,16 @@ |
31 | 30 |
return { |
32 | 31 |
otherWindow: false, |
33 | 32 |
path: "", |
33 |
+ menuUse: "N", |
|
34 | 34 |
}; |
35 | 35 |
}, |
36 |
- methods: {}, |
|
36 |
+ methods: { |
|
37 |
+ // 메뉴 만족도 조사 사용 여부 |
|
38 |
+ menuYnCheck(yn) { |
|
39 |
+ console.log("menuYnCheck", yn); |
|
40 |
+ this.menuUse = yn; |
|
41 |
+ }, |
|
42 |
+ }, |
|
37 | 43 |
watch: { |
38 | 44 |
$route(to, from) { |
39 | 45 |
this.path = to.path; |
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?