

231201 김성훈 매칭통계 총 합계 추가
@e38bd863dc56b4bcf6eccdc4840f097fe33afbe7
--- client/views/pages/admin/statistics/CorporatePRCenter.vue
+++ client/views/pages/admin/statistics/CorporatePRCenter.vue
... | ... | @@ -4,10 +4,10 @@ |
4 | 4 |
<div class="flex"> |
5 | 5 |
<div class="date-zone flex-start"> |
6 | 6 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="companyListSearch.endDate" v-model="companyListSearch.startDate"> --> |
7 |
- <input type="date" name="" id="" v-model="companyListSearch.startDate"> |
|
7 |
+ <input type="date" name="" id="" :max="companyListSearch.endDate" v-model="companyListSearch.startDate"> |
|
8 | 8 |
<span>~</span> |
9 | 9 |
<!-- <input type="date" name="" id="" :min="companyListSearch.startDate" :max="oneMonthLater" v-model="companyListSearch.endDate"> --> |
10 |
- <input type="date" name="" id="" v-model="companyListSearch.endDate"> |
|
10 |
+ <input type="date" name="" id="" :min="companyListSearch.startDate" :max="yesterDay" v-model="companyListSearch.endDate"> |
|
11 | 11 |
<button class="blue-btn" @click="typeCheck()">조회</button> |
12 | 12 |
</div> |
13 | 13 |
<div class="date-check flex-end"> |
... | ... | @@ -123,7 +123,7 @@ |
123 | 123 |
endDate: null, |
124 | 124 |
}, |
125 | 125 |
|
126 |
- oneMonthLater: COMMON_UTIL.yesterday(), |
|
126 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
127 | 127 |
companyListByDate: [], |
128 | 128 |
companyListByDateCount: 0, |
129 | 129 |
companyViewTotal: {}, |
... | ... | @@ -233,24 +233,24 @@ |
233 | 233 |
|
234 | 234 |
typeCheck: function() { |
235 | 235 |
if(this.selectType == 'view') { |
236 |
- this.postLogList(); |
|
236 |
+ this.companyLogList(); |
|
237 | 237 |
} else { |
238 |
- this.dwldLogList(); |
|
238 |
+ this.profileLogList(); |
|
239 | 239 |
} |
240 | 240 |
}, |
241 | 241 |
|
242 |
- dateCheck: function() { |
|
243 |
- if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) { |
|
244 |
- alert("날짜를 선택해주세요."); |
|
245 |
- } else { |
|
242 |
+ // dateCheck: function() { |
|
243 |
+ // if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) { |
|
244 |
+ // alert("날짜를 선택해주세요."); |
|
245 |
+ // } else { |
|
246 | 246 |
|
247 |
- if(this.selectType == 'view') { |
|
248 |
- this.postLogList(); |
|
249 |
- } else { |
|
250 |
- this.dwldLogList(); |
|
251 |
- } |
|
252 |
- } |
|
253 |
- }, |
|
247 |
+ // if(this.selectType == 'view') { |
|
248 |
+ // this.companyLogList(); |
|
249 |
+ // } else { |
|
250 |
+ // this.profileLogList(); |
|
251 |
+ // } |
|
252 |
+ // } |
|
253 |
+ // }, |
|
254 | 254 |
}, |
255 | 255 |
watch: { |
256 | 256 |
// 'companyListSearch.startDate': function(newValue) { |
--- client/views/pages/admin/statistics/Data.vue
+++ client/views/pages/admin/statistics/Data.vue
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 |
<div class="flex"> |
6 | 6 |
<div class="date-zone flex-start"> |
7 | 7 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> --> |
8 |
- <input type="date" name="" id="" v-model="postListSearch.startDate"> |
|
8 |
+ <input type="date" name="" id="" :max="postListSearch.endDate" v-model="postListSearch.startDate"> |
|
9 | 9 |
<span>~</span> |
10 | 10 |
<!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> --> |
11 |
- <input type="date" name="" id="" v-model="postListSearch.endDate"> |
|
11 |
+ <input type="date" name="" id="" :min="postListSearch.startDate" :max="yesterDay" v-model="postListSearch.endDate"> |
|
12 | 12 |
<button class="blue-btn" @click="typeCheck()">조회</button> |
13 | 13 |
</div> |
14 | 14 |
<div class="date-check flex-end"> |
... | ... | @@ -159,6 +159,7 @@ |
159 | 159 |
bbs_id: '0' |
160 | 160 |
}, |
161 | 161 |
|
162 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
162 | 163 |
logListByDate: [], |
163 | 164 |
logListByDateCount: 0, |
164 | 165 |
logTotalCount: {}, |
... | ... | @@ -274,7 +275,7 @@ |
274 | 275 |
this.dwldLogList(); |
275 | 276 |
} |
276 | 277 |
}, |
277 |
- |
|
278 |
+ |
|
278 | 279 |
dateCheck: function() { |
279 | 280 |
if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) { |
280 | 281 |
alert("날짜를 선택해주세요."); |
--- client/views/pages/admin/statistics/MatchingStatistics.vue
+++ client/views/pages/admin/statistics/MatchingStatistics.vue
... | ... | @@ -12,12 +12,12 @@ |
12 | 12 |
<div class="chart-top"> |
13 | 13 |
<div class="flex"> |
14 | 14 |
<div class="date-zone flex-start"> |
15 |
- <input type="date" name="" id="" min="2023-11-24" :max="listSearch.endDate" |
|
16 |
- v-model="listSearch.startDate"> |
|
15 |
+ <!-- <input type="date" name="" id="" min="2023-11-24" :max="listSearch.endDate" v-model="listSearch.startDate"> --> |
|
16 |
+ <input type="date" name="" id="" :max="listSearch.endDate" v-model="listSearch.startDate"> |
|
17 | 17 |
<span>~</span> |
18 |
- <input type="date" name="" id="" :min="listSearch.startDate" :max="oneMonthLater" |
|
19 |
- v-model="listSearch.endDate"> |
|
20 |
- <button class="blue-btn" @click="listDateCheck()">조회</button> |
|
18 |
+ <!-- <input type="date" name="" id="" :min="listSearch.startDate" :max="oneMonthLater" v-model="listSearch.endDate"> --> |
|
19 |
+ <input type="date" name="" id="" :min="listSearch.startDate" :max="yesterDay" v-model="listSearch.endDate"> |
|
20 |
+ <button class="blue-btn" @click="listTypeCheck()">조회</button> |
|
21 | 21 |
</div> |
22 | 22 |
<div class="date-check flex-end"> |
23 | 23 |
<div> |
... | ... | @@ -72,7 +72,7 @@ |
72 | 72 |
<td>{{ item.progress_cnt }}</td> |
73 | 73 |
<td>{{ item.to_cnt }}</td> |
74 | 74 |
<td>{{ item.from_cnt }}</td> |
75 |
- <td>{{ item.to_cnt + item.from_cnt }}</td> |
|
75 |
+ <td>{{ item.total_cnt }}</td> |
|
76 | 76 |
</tr> |
77 | 77 |
</tbody> |
78 | 78 |
</table> |
... | ... | @@ -89,19 +89,19 @@ |
89 | 89 |
<tbody> |
90 | 90 |
<tr> |
91 | 91 |
<th>합계</th> |
92 |
- <td>성공건수</td> |
|
93 |
- <td>실패건수</td> |
|
94 |
- <td>진행중인건수</td> |
|
95 |
- <td>요청받은건수</td> |
|
96 |
- <td>요청한 건수</td> |
|
97 |
- <td>전체 요청수</td> |
|
92 |
+ <td>{{ totalCount.succesee_cnt }}</td> |
|
93 |
+ <td>{{ totalCount.failed_cnt }}</td> |
|
94 |
+ <td>{{ totalCount.progress_cnt }}</td> |
|
95 |
+ <td>{{ totalCount.to_cnt }}</td> |
|
96 |
+ <td>{{ totalCount.from_cnt }}</td> |
|
97 |
+ <td>{{ totalCount.total_cnt}}</td> |
|
98 | 98 |
</tr> |
99 | 99 |
</tbody> |
100 | 100 |
</table> |
101 | 101 |
</div> |
102 | 102 |
<div class="bottom-wrap"> |
103 | 103 |
<PaginationButton v-model:currentPage="listSearch.currentPage" :perPage="listSearch.perPage" |
104 |
- :total-count="companySelectListCount" :max-range="5" :click="listDateCheck" /> |
|
104 |
+ :total-count="companySelectListCount" :max-range="5" :click="listTypeCheck" /> |
|
105 | 105 |
</div> |
106 | 106 |
</div> |
107 | 107 |
</div> |
... | ... | @@ -110,12 +110,12 @@ |
110 | 110 |
<div class="chart-top"> |
111 | 111 |
<div class="flex"> |
112 | 112 |
<div class="date-zone flex-start"> |
113 |
- <input type="date" name="" id="" min="2023-11-24" :max="listSearch.endDate" |
|
114 |
- v-model="listSearch.startDate"> |
|
113 |
+ <!-- <input type="date" name="" id="" min="2023-11-24" :max="listSearch.endDate" v-model="listSearch.startDate"> --> |
|
114 |
+ <input type="date" name="" id="" :max="listSearch.endDate" v-model="listSearch.startDate"> |
|
115 | 115 |
<span>~</span> |
116 |
- <input type="date" name="" id="" :min="listSearch.startDate" :max="oneMonthLater" |
|
117 |
- v-model="listSearch.endDate"> |
|
118 |
- <button class="blue-btn" @click="detailDateCheck()">조회</button> |
|
116 |
+ <!-- <input type="date" name="" id="" :min="listSearch.startDate" :max="oneMonthLater" v-model="listSearch.endDate"> --> |
|
117 |
+ <input type="date" name="" id="" :min="listSearch.startDate" :max="yesterDay" v-model="listSearch.endDate"> |
|
118 |
+ <button class="blue-btn" @click="detailTypeCheck()">조회</button> |
|
119 | 119 |
</div> |
120 | 120 |
<div class="date-check flex-end"> |
121 | 121 |
<div> |
... | ... | @@ -184,7 +184,7 @@ |
184 | 184 |
</div> |
185 | 185 |
<div class="bottom-wrap"> |
186 | 186 |
<PaginationButton v-model:currentPage="listSearch.currentPage" :perPage="listSearch.perPage" |
187 |
- :total-count="companySelectListCount" :max-range="5" :click="detailDateCheck" /> |
|
187 |
+ :total-count="companySelectListCount" :max-range="5" :click="detailTypeCheck" /> |
|
188 | 188 |
</div> |
189 | 189 |
</div> |
190 | 190 |
</div> |
... | ... | @@ -193,12 +193,9 @@ |
193 | 193 |
</div> |
194 | 194 |
</template> |
195 | 195 |
<script> |
196 |
-import { useStore } from "vuex"; |
|
197 | 196 |
import axios from "axios"; |
198 | 197 |
import COMMON_UTIL from '../../../../resources/js/commonUtil.js'; |
199 | 198 |
import PaginationButton from '../../../component/pagination/PaginationButton.vue'; |
200 |
- |
|
201 |
- |
|
202 | 199 |
|
203 | 200 |
export default { |
204 | 201 |
|
... | ... | @@ -212,13 +209,15 @@ |
212 | 209 |
listSearch: { |
213 | 210 |
currentPage: 1, |
214 | 211 |
perPage: 10, |
215 |
- startDate: '2023-11-01', |
|
216 |
- endDate: COMMON_UTIL.today(), |
|
212 |
+ startDate: null, |
|
213 |
+ endDate: null, |
|
217 | 214 |
}, |
218 |
- oneMonthLater: COMMON_UTIL.today(), |
|
215 |
+ // oneMonthLater: COMMON_UTIL.today(), |
|
216 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
219 | 217 |
companyList: [], |
220 | 218 |
companyStatisticsList: [], |
221 | 219 |
companySelectListCount: 0, |
220 |
+ totalCount: {}, |
|
222 | 221 |
companyDetailStatistics: [], |
223 | 222 |
}; |
224 | 223 |
}, |
... | ... | @@ -253,8 +252,9 @@ |
253 | 252 |
}, |
254 | 253 |
data: vm.listSearch |
255 | 254 |
}).then(function (response) { |
256 |
- vm.companyStatisticsList = response.data.companyPickStatistics; |
|
255 |
+ vm.companyStatisticsList = response.data.data.companyPickStatistics; |
|
257 | 256 |
vm.companySelectListCount = response.data.companySelectListCount; |
257 |
+ vm.totalCount = response.data.data.totalCount; |
|
258 | 258 |
}).catch(function (error) { |
259 | 259 |
console.log("error - ", error) |
260 | 260 |
alert("PICK 통계 조회 오류, 관리자에게 문의하세요."); |
... | ... | @@ -272,8 +272,9 @@ |
272 | 272 |
}, |
273 | 273 |
data: vm.listSearch |
274 | 274 |
}).then(function (response) { |
275 |
- vm.companyStatisticsList = response.data.companyMatchingStatistics; |
|
275 |
+ vm.companyStatisticsList = response.data.data.companyMatchingStatistics; |
|
276 | 276 |
vm.companySelectListCount = response.data.companySelectListCount; |
277 |
+ vm.totalCount = response.data.data.totalCount; |
|
277 | 278 |
}).catch(function (error) { |
278 | 279 |
console.log("error - ", error) |
279 | 280 |
alert("MATCHING 통계 조회 오류, 관리자에게 문의하세요."); |
... | ... | @@ -318,33 +319,50 @@ |
318 | 319 |
}) |
319 | 320 |
}, |
320 | 321 |
|
321 |
- /**매칭관리 날짜선택 유효성 검사 */ |
|
322 |
- listDateCheck: function () { |
|
323 |
- if (COMMON_UTIL.isEmpty(this.listSearch.endDate) === false) { |
|
324 |
- alert("날짜를 선택해주세요."); |
|
322 |
+ /**매칭관리 타입 검사 */ |
|
323 |
+ listTypeCheck: function () { |
|
324 |
+ if (this.selectedOption1 == 'pick') { |
|
325 |
+ this.companyPickStatistics(); |
|
325 | 326 |
} else { |
326 |
- |
|
327 |
- if (this.selectedOption1 == 'pick') { |
|
328 |
- this.companyPickStatistics(); |
|
329 |
- } else { |
|
330 |
- this.companyMatchingStatistics(); |
|
331 |
- } |
|
327 |
+ this.companyMatchingStatistics(); |
|
332 | 328 |
} |
333 | 329 |
}, |
334 | 330 |
|
335 |
- /**매칭관리 세부통계 날짜선택 유효성 검사 */ |
|
336 |
- detailDateCheck: function () { |
|
337 |
- if (COMMON_UTIL.isEmpty(this.listSearch.endDate) === false) { |
|
338 |
- alert("날짜를 선택해주세요."); |
|
339 |
- } else { |
|
331 |
+ // /**매칭관리 날짜선택 유효성 검사 */ |
|
332 |
+ // listDateCheck: function () { |
|
333 |
+ // if (COMMON_UTIL.isEmpty(this.listSearch.endDate) === false) { |
|
334 |
+ // alert("날짜를 선택해주세요."); |
|
335 |
+ // } else { |
|
336 |
+ // if (this.selectedOption1 == 'pick') { |
|
337 |
+ // this.companyPickStatistics(); |
|
338 |
+ // } else { |
|
339 |
+ // this.companyMatchingStatistics(); |
|
340 |
+ // } |
|
341 |
+ // } |
|
342 |
+ // }, |
|
340 | 343 |
|
341 |
- if (this.selectedOption1 == 'pick') { |
|
342 |
- this.companyPickStatistics(); |
|
343 |
- } else { |
|
344 |
- this.companyMatchingStatistics(); |
|
345 |
- } |
|
344 |
+ /**매칭관리 세부통계 타입 검사 */ |
|
345 |
+ detailTypeCheck: function () { |
|
346 |
+ if (this.selectedOption1 == 'pick') { |
|
347 |
+ this.companyPickStatistics(); |
|
348 |
+ } else { |
|
349 |
+ this.companyMatchingStatistics(); |
|
346 | 350 |
} |
347 | 351 |
}, |
352 |
+ |
|
353 |
+ // /**매칭관리 세부통계 날짜선택 유효성 검사 */ |
|
354 |
+ // detailDateCheck: function () { |
|
355 |
+ // if (COMMON_UTIL.isEmpty(this.listSearch.endDate) === false) { |
|
356 |
+ // alert("날짜를 선택해주세요."); |
|
357 |
+ // } else { |
|
358 |
+ |
|
359 |
+ // if (this.selectedOption1 == 'pick') { |
|
360 |
+ // this.companyPickStatistics(); |
|
361 |
+ // } else { |
|
362 |
+ // this.companyMatchingStatistics(); |
|
363 |
+ // } |
|
364 |
+ // } |
|
365 |
+ // }, |
|
348 | 366 |
|
349 | 367 |
/** 기업 리스트 */ |
350 | 368 |
companySelectList: function () { |
... | ... | @@ -365,15 +383,15 @@ |
365 | 383 |
}, |
366 | 384 |
}, |
367 | 385 |
watch: { |
368 |
- 'listSearch.startDate': function (newValue) { |
|
369 |
- let date = COMMON_UTIL.oneMonthLater(newValue); |
|
370 |
- this.listSearch.endDate = null; |
|
371 |
- if (date > COMMON_UTIL.today()) { |
|
372 |
- this.oneMonthLater = COMMON_UTIL.today(); |
|
373 |
- } else { |
|
374 |
- this.oneMonthLater = date; |
|
375 |
- } |
|
376 |
- }, |
|
386 |
+ // 'listSearch.startDate': function (newValue) { |
|
387 |
+ // let date = COMMON_UTIL.oneMonthLater(newValue); |
|
388 |
+ // this.listSearch.endDate = null; |
|
389 |
+ // if (date > COMMON_UTIL.today()) { |
|
390 |
+ // this.oneMonthLater = COMMON_UTIL.today(); |
|
391 |
+ // } else { |
|
392 |
+ // this.oneMonthLater = date; |
|
393 |
+ // } |
|
394 |
+ // }, |
|
377 | 395 |
}, |
378 | 396 |
computed: {}, |
379 | 397 |
components: { |
--- client/views/pages/admin/statistics/Member.vue
+++ client/views/pages/admin/statistics/Member.vue
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 |
<div class="flex"> |
6 | 6 |
<div class="date-zone flex-start"> |
7 | 7 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="loginListSearch.endDate" v-model="loginListSearch.startDate"> --> |
8 |
- <input type="date" name="" id="" v-model="loginListSearch.startDate"> |
|
8 |
+ <input type="date" name="" id="" :max="loginListSearch.endDate" v-model="loginListSearch.startDate"> |
|
9 | 9 |
<span>~</span> |
10 | 10 |
<!-- <input type="date" name="" id="" :min="loginListSearch.startDate" :max="oneMonthLater" v-model="loginListSearch.endDate"> --> |
11 |
- <input type="date" name="" id="" v-model="loginListSearch.endDate"> |
|
11 |
+ <input type="date" name="" id="" :min="loginListSearch.startDate" :max="yesterDay" v-model="loginListSearch.endDate"> |
|
12 | 12 |
<button class="blue-btn" @click="loginLogList()">조회</button> |
13 | 13 |
</div> |
14 | 14 |
<div class="date-check flex-end"> |
... | ... | @@ -106,6 +106,7 @@ |
106 | 106 |
type: 'day' |
107 | 107 |
}, |
108 | 108 |
// oneMonthLater: COMMON_UTIL.yesterday(), |
109 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
109 | 110 |
loginLogListByDate: [], |
110 | 111 |
loginLogListByDateCount: 0, |
111 | 112 |
loginSelectTotal:{}, |
--- client/views/pages/admin/statistics/MenuStatistics.vue
+++ client/views/pages/admin/statistics/MenuStatistics.vue
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 |
<div class="flex"> |
6 | 6 |
<div class="date-zone flex-start"> |
7 | 7 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="logListSearch.endDate" v-model="logListSearch.startDate"> --> |
8 |
- <input type="date" name="" id="" v-model="logListSearch.startDate"> |
|
8 |
+ <input type="date" name="" id="" :max="logListSearch.endDate" v-model="logListSearch.startDate"> |
|
9 | 9 |
<span>~</span> |
10 | 10 |
<!-- <input type="date" name="" id="" :min="logListSearch.startDate" :max="oneMonthLater" v-model="logListSearch.endDate"> --> |
11 |
- <input type="date" name="" id="" v-model="logListSearch.endDate"> |
|
11 |
+ <input type="date" name="" id="" :min="logListSearch.startDate" :max="yesterDay" v-model="logListSearch.endDate"> |
|
12 | 12 |
<button class="blue-btn" @click="typeCheck()">조회</button> |
13 | 13 |
</div> |
14 | 14 |
<div class="date-check flex-end"> |
... | ... | @@ -197,6 +197,7 @@ |
197 | 197 |
}, |
198 | 198 |
|
199 | 199 |
// oneMonthLater: COMMON_UTIL.yesterday(), |
200 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
200 | 201 |
logListByDate: [], |
201 | 202 |
logListByDateCount: 0, |
202 | 203 |
logTotal: {}, |
--- client/views/pages/admin/statistics/NewsAndPr.vue
+++ client/views/pages/admin/statistics/NewsAndPr.vue
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 |
<div class="flex"> |
6 | 6 |
<div class="date-zone flex-start"> |
7 | 7 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> --> |
8 |
- <input type="date" name="" id="" v-model="postListSearch.startDate"> |
|
8 |
+ <input type="date" name="" id="" :max="postListSearch.endDate" v-model="postListSearch.startDate"> |
|
9 | 9 |
<span>~</span> |
10 | 10 |
<!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> --> |
11 |
- <input type="date" name="" id="" v-model="postListSearch.endDate"> |
|
11 |
+ <input type="date" name="" id="" :min="postListSearch.startDate" :max="yesterDay" v-model="postListSearch.endDate"> |
|
12 | 12 |
<button class="blue-btn" @click="typeCheck()">조회</button> |
13 | 13 |
</div> |
14 | 14 |
<div class="date-check flex-end"> |
... | ... | @@ -168,6 +168,7 @@ |
168 | 168 |
endDate: null, |
169 | 169 |
bbs_id: '1' |
170 | 170 |
}, |
171 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
171 | 172 |
logListByDate: [], |
172 | 173 |
logListByDateCount: 0, |
173 | 174 |
logTotalCount: {}, |
--- client/views/pages/admin/statistics/Notice.vue
+++ client/views/pages/admin/statistics/Notice.vue
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 |
<div class="flex"> |
6 | 6 |
<div class="date-zone flex-start"> |
7 | 7 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> --> |
8 |
- <input type="date" name="" id="" v-model="postListSearch.startDate"> |
|
8 |
+ <input type="date" name="" id="" :max="postListSearch.endDate" v-model="postListSearch.startDate"> |
|
9 | 9 |
<span>~</span> |
10 | 10 |
<!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> --> |
11 |
- <input type="date" name="" id="" v-model="postListSearch.endDate"> |
|
11 |
+ <input type="date" name="" id="" :min="postListSearch.startDate" :max="yesterDay" v-model="postListSearch.endDate"> |
|
12 | 12 |
<button class="blue-btn" @click="typeCheck()">조회</button> |
13 | 13 |
</div> |
14 | 14 |
<div class="date-check flex-end"> |
... | ... | @@ -168,6 +168,8 @@ |
168 | 168 |
endDate: null, |
169 | 169 |
bbs_id: '2' |
170 | 170 |
}, |
171 |
+ |
|
172 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
171 | 173 |
logListByDate: [], |
172 | 174 |
logListByDateCount: 0, |
173 | 175 |
logTotalCount: {}, |
--- client/views/pages/admin/statistics/Tech.vue
+++ client/views/pages/admin/statistics/Tech.vue
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 |
<div class="flex"> |
6 | 6 |
<div class="date-zone flex-start"> |
7 | 7 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> --> |
8 |
- <input type="date" name="" id="" v-model="postListSearch.startDate"> |
|
8 |
+ <input type="date" name="" id="" :max="postListSearch.endDate" v-model="postListSearch.startDate"> |
|
9 | 9 |
<span>~</span> |
10 | 10 |
<!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> --> |
11 |
- <input type="date" name="" id="" v-model="postListSearch.endDate"> |
|
11 |
+ <input type="date" name="" id="" :min="postListSearch.startDate" :max="yesterDay" v-model="postListSearch.endDate"> |
|
12 | 12 |
<button class="blue-btn" @click="typeCheck()">조회</button> |
13 | 13 |
</div> |
14 | 14 |
<div class="date-check flex-end"> |
... | ... | @@ -156,6 +156,8 @@ |
156 | 156 |
endDate: null, |
157 | 157 |
bbs_id: '3' |
158 | 158 |
}, |
159 |
+ |
|
160 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
159 | 161 |
logListByDate: [], |
160 | 162 |
logListByDateCount: 0, |
161 | 163 |
logTotalCount: {}, |
--- client/views/pages/admin/statistics/Visit.vue
+++ client/views/pages/admin/statistics/Visit.vue
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 |
<div class="flex"> |
6 | 6 |
<div class="date-zone flex-start"> |
7 | 7 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="visitListSearch.endDate" v-model="visitListSearch.startDate" /> --> |
8 |
- <input type="date" name="" id="" v-model="visitListSearch.startDate" /> |
|
8 |
+ <input type="date" name="" id="" :max="visitListSearch.endDate" v-model="visitListSearch.startDate" /> |
|
9 | 9 |
<span>~</span> |
10 | 10 |
<!-- <input type="date" name="" id="" :min="visitListSearch.startDate" :max="oneMonthLater" v-model="visitListSearch.endDate" /> --> |
11 |
- <input type="date" name="" id="" v-model="visitListSearch.endDate" /> |
|
11 |
+ <input type="date" name="" id="" :min="visitListSearch.startDate" :max="yesterDay" v-model="visitListSearch.endDate" /> |
|
12 | 12 |
<button class="blue-btn" @click="visitSelectList()">조회</button> |
13 | 13 |
</div> |
14 | 14 |
<div class="date-check flex-end"> |
... | ... | @@ -114,6 +114,7 @@ |
114 | 114 |
}, |
115 | 115 |
|
116 | 116 |
// oneMonthLater: COMMON_UTIL.yesterday(), |
117 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
117 | 118 |
visitList: [], |
118 | 119 |
visitListCount: 0, |
119 | 120 |
totalCount:{}, |
--- client/views/pages/admin/statistics/WgCommunity.vue
+++ client/views/pages/admin/statistics/WgCommunity.vue
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 |
<div class="flex"> |
6 | 6 |
<div class="date-zone flex-start"> |
7 | 7 |
<!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> --> |
8 |
- <input type="date" name="" id="" v-model="postListSearch.startDate"> |
|
8 |
+ <input type="date" name="" id="" :max="postListSearch.endDate" v-model="postListSearch.startDate"> |
|
9 | 9 |
<span>~</span> |
10 | 10 |
<!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> --> |
11 |
- <input type="date" name="" id="" v-model="postListSearch.endDate"> |
|
11 |
+ <input type="date" name="" id="" :min="postListSearch.startDate" :max="yesterDay" v-model="postListSearch.endDate"> |
|
12 | 12 |
<button class="blue-btn" @click="typeCheck()">조회</button> |
13 | 13 |
</div> |
14 | 14 |
<div class="date-check flex-end"> |
... | ... | @@ -155,6 +155,8 @@ |
155 | 155 |
endDate: null, |
156 | 156 |
bbs_id: '4' |
157 | 157 |
}, |
158 |
+ |
|
159 |
+ yesterDay: COMMON_UTIL.yesterday(), |
|
158 | 160 |
logListByDate: [], |
159 | 161 |
logListByDateCount: 0, |
160 | 162 |
logTotalCount: {}, |
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?