
--- client/views/pages/admin/statistics/CorporatePRCenter.vue
+++ client/views/pages/admin/statistics/CorporatePRCenter.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">기업홍보관 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="chart-top"> |
4 | 9 |
<div class="flex"> |
5 | 10 |
<div class="date-zone flex-start"> |
--- client/views/pages/admin/statistics/Data.vue
+++ client/views/pages/admin/statistics/Data.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">자료집 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="top-wrap"> |
4 | 9 |
<div class="chart-top"> |
5 | 10 |
<div class="flex"> |
... | ... | @@ -8,7 +13,8 @@ |
8 | 13 |
<input type="date" name="" id="" :max="postListSearch.endDate" v-model="postListSearch.startDate"> |
9 | 14 |
<span>~</span> |
10 | 15 |
<!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> --> |
11 |
- <input type="date" name="" id="" :min="postListSearch.startDate" :max="yesterDay" v-model="postListSearch.endDate"> |
|
16 |
+ <input type="date" name="" id="" :min="postListSearch.startDate" :max="yesterDay" |
|
17 |
+ v-model="postListSearch.endDate"> |
|
12 | 18 |
<button class="blue-btn" @click="typeCheck()">조회</button> |
13 | 19 |
</div> |
14 | 20 |
<div class="date-check flex-end"> |
... | ... | @@ -94,12 +100,12 @@ |
94 | 100 |
</tr> |
95 | 101 |
</tbody> |
96 | 102 |
</table> |
97 |
- <table class="sum-table" v-if="selectType == 'view'"> |
|
103 |
+ <table class="sum-table" v-if="selectType == 'view'"> |
|
98 | 104 |
<colgroup> |
99 |
- <col style="width: 25%;"/> |
|
100 |
- <col style="width: 25%;"/> |
|
101 |
- <col style="width: 25%;"/> |
|
102 |
- <col style="width: 25%;"/> |
|
105 |
+ <col style="width: 25%;" /> |
|
106 |
+ <col style="width: 25%;" /> |
|
107 |
+ <col style="width: 25%;" /> |
|
108 |
+ <col style="width: 25%;" /> |
|
103 | 109 |
</colgroup> |
104 | 110 |
<tbody> |
105 | 111 |
<tr> |
... | ... | @@ -112,10 +118,10 @@ |
112 | 118 |
</table> |
113 | 119 |
<table class="sum-table" v-else> |
114 | 120 |
<colgroup> |
115 |
- <col style="width: 40%;"/> |
|
116 |
- <col style="width: 20%;"/> |
|
117 |
- <col style="width: 20%;"/> |
|
118 |
- <col style="width: 20%;"/> |
|
121 |
+ <col style="width: 40%;" /> |
|
122 |
+ <col style="width: 20%;" /> |
|
123 |
+ <col style="width: 20%;" /> |
|
124 |
+ <col style="width: 20%;" /> |
|
119 | 125 |
</colgroup> |
120 | 126 |
<tbody> |
121 | 127 |
<tr> |
... | ... | @@ -209,79 +215,79 @@ |
209 | 215 |
}, |
210 | 216 |
|
211 | 217 |
/** 권한 별 게시글 조회수 엑셀 다운로드 */ |
212 |
- logExcel: function() { |
|
218 |
+ logExcel: function () { |
|
213 | 219 |
const vm = this; |
214 | 220 |
|
215 |
- if(vm.logListByDateCount === 0) { |
|
221 |
+ if (vm.logListByDateCount === 0) { |
|
216 | 222 |
alert("데이터가 없어 EXCEL 다운로드를 실행할 수 없습니다.") |
217 | 223 |
return |
218 | 224 |
} |
219 | 225 |
|
220 |
- if(vm.selectType == 'view') { |
|
226 |
+ if (vm.selectType == 'view') { |
|
221 | 227 |
axios({ |
222 |
- url: "/statistics/postLogExcel.json", |
|
223 |
- method: "post", |
|
224 |
- herders: { |
|
225 |
- "Content-Type": "application/json; charset=UTF-8", |
|
226 |
- }, |
|
227 |
- responseType: 'arraybuffer', |
|
228 |
- data: vm.postListSearch, |
|
228 |
+ url: "/statistics/postLogExcel.json", |
|
229 |
+ method: "post", |
|
230 |
+ herders: { |
|
231 |
+ "Content-Type": "application/json; charset=UTF-8", |
|
232 |
+ }, |
|
233 |
+ responseType: 'arraybuffer', |
|
234 |
+ data: vm.postListSearch, |
|
229 | 235 |
}) |
230 |
- .then(function (response) { |
|
231 |
- // console.log("userAccessLogExcel - response : ", response.data); |
|
232 |
- const url = window.URL.createObjectURL(new Blob([response.data], { type: response.headers["content-type"] })); |
|
233 |
- const link = document.createElement("a"); |
|
234 |
- link.href = url; |
|
235 |
- let today = COMMON_UTIL.today(); |
|
236 |
- link.download = '[' + today + ']' + '자료집 게시글 조회수'; |
|
237 |
- link.click(); |
|
238 |
- window.URL.revokeObjectURL(url); |
|
239 |
- }) |
|
236 |
+ .then(function (response) { |
|
237 |
+ // console.log("userAccessLogExcel - response : ", response.data); |
|
238 |
+ const url = window.URL.createObjectURL(new Blob([response.data], { type: response.headers["content-type"] })); |
|
239 |
+ const link = document.createElement("a"); |
|
240 |
+ link.href = url; |
|
241 |
+ let today = COMMON_UTIL.today(); |
|
242 |
+ link.download = '[' + today + ']' + '자료집 게시글 조회수'; |
|
243 |
+ link.click(); |
|
244 |
+ window.URL.revokeObjectURL(url); |
|
245 |
+ }) |
|
240 | 246 |
.catch(function (error) { |
241 |
- console.log("userAccessLogExcel - error : ", error); |
|
242 |
- alert("자료집 조회수 Excel 다운로드 오류, 관리자에게 문의해주세요."); |
|
243 |
- }); |
|
247 |
+ console.log("userAccessLogExcel - error : ", error); |
|
248 |
+ alert("자료집 조회수 Excel 다운로드 오류, 관리자에게 문의해주세요."); |
|
249 |
+ }); |
|
244 | 250 |
} else { |
245 | 251 |
axios({ |
246 | 252 |
url: "/statistics/postDwldLogExcel.json", |
247 | 253 |
method: "post", |
248 | 254 |
herders: { |
249 |
- "Content-Type": "application/json; charset=UTF-8", |
|
255 |
+ "Content-Type": "application/json; charset=UTF-8", |
|
250 | 256 |
}, |
251 | 257 |
responseType: 'arraybuffer', |
252 | 258 |
data: vm.postListSearch, |
253 | 259 |
}) |
254 |
- .then(function (response) { |
|
255 |
- // console.log("userAccessLogExcel - response : ", response.data); |
|
256 |
- const url = window.URL.createObjectURL(new Blob([response.data], { type: response.headers["content-type"] })); |
|
257 |
- const link = document.createElement("a"); |
|
258 |
- link.href = url; |
|
259 |
- let today = COMMON_UTIL.today(); |
|
260 |
- link.download = '[' + today + ']' + '자료집 파일 다운로드수'; |
|
261 |
- link.click(); |
|
262 |
- window.URL.revokeObjectURL(url); |
|
263 |
- }) |
|
260 |
+ .then(function (response) { |
|
261 |
+ // console.log("userAccessLogExcel - response : ", response.data); |
|
262 |
+ const url = window.URL.createObjectURL(new Blob([response.data], { type: response.headers["content-type"] })); |
|
263 |
+ const link = document.createElement("a"); |
|
264 |
+ link.href = url; |
|
265 |
+ let today = COMMON_UTIL.today(); |
|
266 |
+ link.download = '[' + today + ']' + '자료집 파일 다운로드수'; |
|
267 |
+ link.click(); |
|
268 |
+ window.URL.revokeObjectURL(url); |
|
269 |
+ }) |
|
264 | 270 |
.catch(function (error) { |
265 |
- console.log("userAccessLogExcel - error : ", error); |
|
266 |
- alert("자료집 파일 다운로드 수 Excel 다운로드 오류, 관리자에게 문의해주세요."); |
|
267 |
- }); |
|
271 |
+ console.log("userAccessLogExcel - error : ", error); |
|
272 |
+ alert("자료집 파일 다운로드 수 Excel 다운로드 오류, 관리자에게 문의해주세요."); |
|
273 |
+ }); |
|
268 | 274 |
} |
269 | 275 |
}, |
270 | 276 |
|
271 |
- typeCheck: function() { |
|
272 |
- if(this.selectType == 'view') { |
|
273 |
- this.postLogList(); |
|
277 |
+ typeCheck: function () { |
|
278 |
+ if (this.selectType == 'view') { |
|
279 |
+ this.postLogList(); |
|
274 | 280 |
} else { |
275 | 281 |
this.dwldLogList(); |
276 | 282 |
} |
277 | 283 |
}, |
278 | 284 |
|
279 |
- dateCheck: function() { |
|
280 |
- if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) { |
|
285 |
+ dateCheck: function () { |
|
286 |
+ if (COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) { |
|
281 | 287 |
alert("날짜를 선택해주세요."); |
282 | 288 |
} else { |
283 | 289 |
|
284 |
- if(this.selectType == 'view') { |
|
290 |
+ if (this.selectType == 'view') { |
|
285 | 291 |
this.postLogList(); |
286 | 292 |
} else { |
287 | 293 |
this.dwldLogList(); |
--- client/views/pages/admin/statistics/MatchingStatistics.vue
+++ client/views/pages/admin/statistics/MatchingStatistics.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">매칭현황 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="content-wrap"> |
4 | 9 |
<ul class="tab-menu"> |
5 | 10 |
<li v-for="(tab, index) in tabMenu" :key="index"> |
--- client/views/pages/admin/statistics/Member.vue
+++ client/views/pages/admin/statistics/Member.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">로그인 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="top-wrap"> |
4 | 9 |
<div class="chart-top"> |
5 | 10 |
<div class="flex"> |
--- client/views/pages/admin/statistics/MenuStatistics.vue
+++ client/views/pages/admin/statistics/MenuStatistics.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">메뉴별 접속자수 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="top-wrap"> |
4 | 9 |
<div class="chart-top"> |
5 | 10 |
<div class="flex"> |
--- client/views/pages/admin/statistics/NewsAndPr.vue
+++ client/views/pages/admin/statistics/NewsAndPr.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">홍보&뉴스 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="top-wrap"> |
4 | 9 |
<div class="chart-top"> |
5 | 10 |
<div class="flex"> |
--- client/views/pages/admin/statistics/Notice.vue
+++ client/views/pages/admin/statistics/Notice.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">공지사항 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="top-wrap"> |
4 | 9 |
<div class="chart-top"> |
5 | 10 |
<div class="flex"> |
--- client/views/pages/admin/statistics/Tech.vue
+++ client/views/pages/admin/statistics/Tech.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">기술문서 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="top-wrap"> |
4 | 9 |
<div class="chart-top"> |
5 | 10 |
<div class="flex"> |
--- client/views/pages/admin/statistics/Visit.vue
+++ client/views/pages/admin/statistics/Visit.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">방문자수 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="top-wrap"> |
4 | 9 |
<div class="chart-top"> |
5 | 10 |
<div class="flex"> |
--- client/views/pages/admin/statistics/WgCommunity.vue
+++ client/views/pages/admin/statistics/WgCommunity.vue
... | ... | @@ -1,5 +1,10 @@ |
1 | 1 |
<template> |
2 | 2 |
<div class="chart-page"> |
3 |
+ <div class="title-wrap"> |
|
4 |
+ <div class="flex-start"> |
|
5 |
+ <h2 class="main-title">전문가 협의체 통계</h2> |
|
6 |
+ </div> |
|
7 |
+ </div> |
|
3 | 8 |
<div class="top-wrap"> |
4 | 9 |
<div class="chart-top"> |
5 | 10 |
<div class="flex"> |
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?