yjryu / KERIS star
Stormen123 2023-12-01
231201 김성훈 통계 검색날짜 수정
@6c6aca99d31c3ce4e2b74b6623e38260e7a79143
client/views/pages/admin/statistics/CorporatePRCenter.vue
--- client/views/pages/admin/statistics/CorporatePRCenter.vue
+++ client/views/pages/admin/statistics/CorporatePRCenter.vue
@@ -3,19 +3,20 @@
         <div class="chart-top">
             <div class="flex">
                 <div class="date-zone flex-start">
-                    <input type="date" name="" id="" min="2023-11-24" :max="companyListSearch.endDate" v-model="companyListSearch.startDate">
+                    <!-- <input type="date" name="" id="" min="2023-11-24" :max="companyListSearch.endDate" v-model="companyListSearch.startDate"> -->
+                    <input type="date" name="" id="" v-model="companyListSearch.startDate">
                     <span>~</span>
-                    <input type="date" name="" id="" :min="companyListSearch.startDate" :max="oneMonthLater"
-                        v-model="companyListSearch.endDate">
-                    <button class="blue-btn" @click="dateCheck()">조회</button>
+                    <!-- <input type="date" name="" id="" :min="companyListSearch.startDate" :max="oneMonthLater" v-model="companyListSearch.endDate"> -->
+                    <input type="date" name="" id="" v-model="companyListSearch.endDate">
+                    <button class="blue-btn" @click="typeCheck()">조회</button>
                 </div>
                 <div class="date-check flex-end">
                     <div>
-                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="check">조회수</label>
                     </div>
                     <div>
-                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="download">다운로드수</label>
                     </div>
                 </div>
@@ -67,9 +68,9 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
+                        <td>{{ companyViewTotal.total }}</td>
+                        <td>{{ companyViewTotal.company }}</td>
+                        <td>{{ companyViewTotal.common }}</td>
                     </tr>
                 </tbody>
             </table>
@@ -83,16 +84,16 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
+                        <td>{{ companyViewTotal.total }}</td>
+                        <td>{{ companyViewTotal.company }}</td>
+                        <td>{{ companyViewTotal.common }}</td>
                     </tr>
                 </tbody>
             </table>
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="companyListSearch.currentPage" :perPage="companyListSearch.perPage"
-                :totalCount="companyListByDateCount" :maxRange="5" :click="dateCheck" />
+                :totalCount="companyListByDateCount" :maxRange="5" :click="typeCheck" />
         </div>
     </div>
 </template>
@@ -118,8 +119,8 @@
             companyListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
             },
 
             oneMonthLater: COMMON_UTIL.yesterday(),
@@ -229,31 +230,38 @@
                 });
             }
         },
+        
+        typeCheck: function() {
+            if(this.selectType == 'view') {
+                    this.postLogList();
+            } else {
+                this.dwldLogList();
+            }
+        },
 
-        /**날짜선택 유효성 검사 */
         dateCheck: function() {
-            if(COMMON_UTIL.isEmpty(this.companyListSearch.endDate) === false) {
+            if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) {
                 alert("날짜를 선택해주세요.");
             } else {
+
                 if(this.selectType == 'view') {
-                    this.companyLogList();
+                    this.postLogList();
                 } else {
-                    this.profileLogList();
+                    this.dwldLogList();
                 }
-                
             }
         },
     },
     watch: {
-        'companyListSearch.startDate': function(newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.companyListSearch.endDate = null;
-            if(date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-        },
+        // 'companyListSearch.startDate': function(newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.companyListSearch.endDate = null;
+        //     if(date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        // },
     },
     computed: {
 
client/views/pages/admin/statistics/Data.vue
--- client/views/pages/admin/statistics/Data.vue
+++ client/views/pages/admin/statistics/Data.vue
@@ -4,22 +4,22 @@
             <div class="chart-top">
                 <div class="flex">
                     <div class="date-zone flex-start">
-                        <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate"
-                            v-model="postListSearch.startDate">
+                        <!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> -->
+                        <input type="date" name="" id="" v-model="postListSearch.startDate">
                         <span>~</span>
-                        <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater"
-                            v-model="postListSearch.endDate">
-                        <button class="blue-btn" @click="dateCheck()">조회</button>
+                        <!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> -->
+                        <input type="date" name="" id="" v-model="postListSearch.endDate">
+                        <button class="blue-btn" @click="typeCheck()">조회</button>
                     </div>
                     <div class="date-check flex-end">
                         <div>
                             <input type="radio" name="dayCategory" value="view" id="check" style="display:none"
-                                @change="dateCheck()" v-model="selectType">
+                                @change="typeCheck()" v-model="selectType">
                             <label for="check">조회수</label>
                         </div>
                         <div>
                             <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none"
-                                @change="dateCheck()" v-model="selectType">
+                                @change="typeCheck()" v-model="selectType">
                             <label for="download">다운로드수</label>
                         </div>
                     </div>
@@ -104,9 +104,9 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
+                        <td>{{ logTotalCount.total }}</td>
+                        <td>{{ logTotalCount.company }}</td>
+                        <td>{{ logTotalCount.common }}</td>
                     </tr>
                 </tbody>
             </table>
@@ -120,16 +120,16 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
+                        <td>{{ logTotalCount.total }}</td>
+                        <td>{{ logTotalCount.company }}</td>
+                        <td>{{ logTotalCount.common }}</td>
                     </tr>
                 </tbody>
             </table>
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="postListSearch.currentPage" :perPage="postListSearch.perPage"
-                :totalCount="logListByDateCount" :maxRange="5" :click="dateCheck" />
+                :totalCount="logListByDateCount" :maxRange="5" :click="typeCheck" />
         </div>
     </div>
 </template>
@@ -154,12 +154,11 @@
             postListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
                 bbs_id: '0'
             },
 
-            oneMonthLater: COMMON_UTIL.yesterday(),
             logListByDate: [],
             logListByDateCount: 0,
             logTotalCount: {},
@@ -268,13 +267,20 @@
             }
         },
 
-        /**날짜선택 유효성 검사 */
-        dateCheck: function () {
-            if (COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) {
+        typeCheck: function() {
+            if(this.selectType == 'view') {
+                    this.postLogList();
+            } else {
+                this.dwldLogList();
+            }
+        },
+        
+        dateCheck: function() {
+            if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) {
                 alert("날짜를 선택해주세요.");
             } else {
 
-                if (this.selectType == 'view') {
+                if(this.selectType == 'view') {
                     this.postLogList();
                 } else {
                     this.dwldLogList();
@@ -283,15 +289,15 @@
         },
     },
     watch: {
-        'postListSearch.startDate': function (newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.postListSearch.endDate = null;
-            if (date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-        },
+        // 'postListSearch.startDate': function (newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.postListSearch.endDate = null;
+        //     if (date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        // },
     },
     computed: {
 
client/views/pages/admin/statistics/Member.vue
--- client/views/pages/admin/statistics/Member.vue
+++ client/views/pages/admin/statistics/Member.vue
@@ -4,11 +4,12 @@
             <div class="chart-top">
             <div class="flex">
                 <div class="date-zone flex-start">
-                    <input type="date" name="" id="" min="2023-11-24" :max="loginListSearch.endDate" v-model="loginListSearch.startDate">
+                    <!-- <input type="date" name="" id="" min="2023-11-24" :max="loginListSearch.endDate" v-model="loginListSearch.startDate"> -->
+                    <input type="date" name="" id="" v-model="loginListSearch.startDate">
                     <span>~</span>
-                    <input type="date" name="" id="" :min="loginListSearch.startDate" :max="oneMonthLater"
-                        v-model="loginListSearch.endDate">
-                    <button class="blue-btn" @click="loginLogListCheck()">조회</button>
+                    <!-- <input type="date" name="" id="" :min="loginListSearch.startDate" :max="oneMonthLater" v-model="loginListSearch.endDate"> -->
+                    <input type="date" name="" id="" v-model="loginListSearch.endDate">
+                    <button class="blue-btn" @click="loginLogList()">조회</button>
                 </div>
                 <div class="date-check flex-end">
                     <div>
@@ -82,7 +83,7 @@
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="loginListSearch.currentPage" :perPage="loginListSearch.perPage"
-                :totalCount="loginLogListByDateCount" :maxRange="5" :click="loginLogListCheck" />
+                :totalCount="loginLogListByDateCount" :maxRange="5" :click="loginLogList" />
         </div>
     </div>
 </template>
@@ -100,11 +101,11 @@
             loginListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
                 type: 'day'
             },
-            oneMonthLater: COMMON_UTIL.yesterday(),
+            // oneMonthLater: COMMON_UTIL.yesterday(),
             loginLogListByDate: [],
             loginLogListByDateCount: 0,
             loginSelectTotal:{},
@@ -171,25 +172,25 @@
             });
         },
 
-        /**날짜선택 유효성 검사 */
-        loginLogListCheck: function() {
-            if(COMMON_UTIL.isEmpty(this.loginListSearch.endDate) === false) {
-                alert("날짜를 선택해주세요.");
-            } else {
-                this.loginLogList();
-            }
-        },
+        // /**날짜선택 유효성 검사 */
+        // loginLogListCheck: function() {
+        //     if(COMMON_UTIL.isEmpty(this.loginListSearch.endDate) === false) {
+        //         alert("날짜를 선택해주세요.");
+        //     } else {
+        //         this.loginLogList();
+        //     }
+        // },
     },
     watch: {
-        'loginListSearch.startDate': function(newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.loginListSearch.endDate = null;
-            if(date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-        },
+        // 'loginListSearch.startDate': function(newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.loginListSearch.endDate = null;
+        //     if(date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        // },
     },
     computed: {
 
client/views/pages/admin/statistics/MenuStatistics.vue
--- client/views/pages/admin/statistics/MenuStatistics.vue
+++ client/views/pages/admin/statistics/MenuStatistics.vue
@@ -4,22 +4,22 @@
             <div class="chart-top">
                 <div class="flex">
                     <div class="date-zone flex-start">
-                        <input type="date" name="" id="" min="2023-11-24" :max="logListSearch.endDate"
-                            v-model="logListSearch.startDate">
+                        <!-- <input type="date" name="" id="" min="2023-11-24" :max="logListSearch.endDate" v-model="logListSearch.startDate"> -->
+                        <input type="date" name="" id="" v-model="logListSearch.startDate">
                         <span>~</span>
-                        <input type="date" name="" id="" :min="logListSearch.startDate" :max="oneMonthLater"
-                            v-model="logListSearch.endDate">
-                        <button class="blue-btn" @click="dateCheck()">조회</button>
+                        <!-- <input type="date" name="" id="" :min="logListSearch.startDate" :max="oneMonthLater" v-model="logListSearch.endDate"> -->
+                        <input type="date" name="" id="" v-model="logListSearch.endDate">
+                        <button class="blue-btn" @click="typeCheck()">조회</button>
                     </div>
                     <div class="date-check flex-end">
                         <div>
                             <input type="radio" name="dayCategory" id="check" value="view" style="display:none"
-                                @change="dateCheck()" v-model="selectType">
+                                @change="typeCheck()" v-model="selectType">
                             <label for="check">조회수</label>
                         </div>
                         <div>
                             <input type="radio" name="dayCategory" id="download" value="dwld" style="display:none"
-                                @change="dateCheck()" v-model="selectType">
+                                @change="typeCheck()" v-model="selectType">
                             <label for="download">다운로드수</label>
                         </div>
                     </div>
@@ -171,7 +171,7 @@
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="logListSearch.currentPage" :perPage="logListSearch.perPage"
-                :totalCount="logListByDateCount" :maxRange="5" :click="dateCheck" />
+                :totalCount="logListByDateCount" :maxRange="5" :click="typeCheck" />
         </div>
     </div>
 </template>
@@ -191,12 +191,12 @@
             logListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
                 type: 'day'
             },
 
-            oneMonthLater: COMMON_UTIL.yesterday(),
+            // oneMonthLater: COMMON_UTIL.yesterday(),
             logListByDate: [],
             logListByDateCount: 0,
             logTotal: {},
@@ -307,31 +307,39 @@
             }
         },
 
-        /**날짜선택 유효성 검사 */
-        dateCheck: function () {
-            if (COMMON_UTIL.isEmpty(this.logListSearch.endDate) === false) {
-                alert("날짜를 선택해주세요.");
-            } else {
-
-                if (this.selectType == 'view') {
+        typeCheck: function() {
+            if(this.selectType == 'view') {
                     this.pageLogList();
-                } else {
-                    this.dwldLogList();
-                }
-
+            } else {
+                this.dwldLogList();
             }
         },
+
+        // /**날짜선택 유효성 검사 */
+        // dateCheck: function () {
+        //     if (COMMON_UTIL.isEmpty(this.logListSearch.endDate) === false) {
+        //         alert("날짜를 선택해주세요.");
+        //     } else {
+
+        //         if (this.selectType == 'view') {
+        //             this.pageLogList();
+        //         } else {
+        //             this.dwldLogList();
+        //         }
+
+        //     }
+        // },
     },
     watch: {
-        'logListSearch.startDate': function (newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.logListSearch.endDate = null;
-            if (date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-        },
+        // 'logListSearch.startDate': function (newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.logListSearch.endDate = null;
+        //     if (date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        // },
     },
     computed: {
 
client/views/pages/admin/statistics/NewsAndPr.vue
--- client/views/pages/admin/statistics/NewsAndPr.vue
+++ client/views/pages/admin/statistics/NewsAndPr.vue
@@ -4,19 +4,20 @@
             <div class="chart-top">
             <div class="flex">
                 <div class="date-zone flex-start">
-                    <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate">
-                    <span>~</span>
-                    <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater"
-                        v-model="postListSearch.endDate">
-                    <button class="blue-btn" @click="dateCheck()">조회</button>
+                    <!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> -->
+                    <input type="date" name="" id="" v-model="postListSearch.startDate">
+                        <span>~</span>
+                        <!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> -->
+                        <input type="date" name="" id="" v-model="postListSearch.endDate">
+                    <button class="blue-btn" @click="typeCheck()">조회</button>
                 </div>
                 <div class="date-check flex-end">
                     <div>
-                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="check">조회수</label>
                     </div>
                     <div>
-                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="download">다운로드수</label>
                     </div>
                 </div>
@@ -138,7 +139,7 @@
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="postListSearch.currentPage" :perPage="postListSearch.perPage"
-                :totalCount="logListByDateCount" :maxRange="5" :click="dateCheck" />
+                :totalCount="logListByDateCount" :maxRange="5" :click="typeCheck" />
         </div>
     </div>
 </template>
@@ -163,11 +164,10 @@
             postListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
                 bbs_id: '1'
             },
-            oneMonthLater: COMMON_UTIL.yesterday(),
             logListByDate: [],
             logListByDateCount: 0,
             logTotalCount: {},
@@ -275,6 +275,14 @@
             }
         },
 
+        typeCheck: function() {
+            if(this.selectType == 'view') {
+                    this.postLogList();
+            } else {
+                this.dwldLogList();
+            }
+        },
+
         /**날짜선택 유효성 검사 */
         dateCheck: function() {
             if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) {
@@ -290,15 +298,15 @@
         },
     },
     watch: {
-        'postListSearch.startDate': function(newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.postListSearch.endDate = null;
-            if(date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-        },
+        // 'postListSearch.startDate': function(newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.postListSearch.endDate = null;
+        //     if(date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        // },
     },
     computed: {
 
client/views/pages/admin/statistics/Notice.vue
--- client/views/pages/admin/statistics/Notice.vue
+++ client/views/pages/admin/statistics/Notice.vue
@@ -4,19 +4,20 @@
             <div class="chart-top">
             <div class="flex">
                 <div class="date-zone flex-start">
-                    <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate">
+                    <!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> -->
+                    <input type="date" name="" id="" v-model="postListSearch.startDate">
                     <span>~</span>
-                    <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater"
-                        v-model="postListSearch.endDate">
-                    <button class="blue-btn" @click="dateCheck()">조회</button>
+                    <!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> -->
+                    <input type="date" name="" id="" v-model="postListSearch.endDate">
+                    <button class="blue-btn" @click="typeCheck()">조회</button>
                 </div>
                 <div class="date-check flex-end">
                     <div>
-                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="check">조회수</label>
                     </div>
                     <div>
-                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="download">다운로드수</label>
                     </div>
                 </div>
@@ -110,10 +111,10 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
-                        <td>비회원합계</td>
+                        <td>{{ logTotalCount.total }}</td>
+                        <td>{{ logTotalCount.company }}</td>
+                        <td>{{ logTotalCount.common }}</td>
+                        <td>{{ logTotalCount.non }}</td>
                     </tr>
                 </tbody>
             </table>
@@ -128,17 +129,17 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
-                        <td>비회원합계</td>
+                        <td>{{ logTotalCount.total }}</td>
+                        <td>{{ logTotalCount.company }}</td>
+                        <td>{{ logTotalCount.common }}</td>
+                        <td>{{ logTotalCount.non }}</td>
                     </tr>
                 </tbody>
             </table>
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="postListSearch.currentPage" :perPage="postListSearch.perPage"
-                :totalCount="logListByDateCount" :maxRange="5" :click="dateCheck" />
+                :totalCount="logListByDateCount" :maxRange="5" :click="typeCheck" />
         </div>
     </div>
 </template>
@@ -163,11 +164,10 @@
             postListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
                 bbs_id: '2'
             },
-            oneMonthLater: COMMON_UTIL.yesterday(),
             logListByDate: [],
             logListByDateCount: 0,
             logTotalCount: {},
@@ -275,7 +275,14 @@
             }
         },
 
-        /**날짜선택 유효성 검사 */
+        typeCheck: function() {
+            if(this.selectType == 'view') {
+                    this.postLogList();
+            } else {
+                this.dwldLogList();
+            }
+        },
+        
         dateCheck: function() {
             if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) {
                 alert("날짜를 선택해주세요.");
@@ -290,15 +297,15 @@
         },
     },
     watch: {
-        'postListSearch.startDate': function(newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.postListSearch.endDate = null;
-            if(date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-        },
+        // 'postListSearch.startDate': function(newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.postListSearch.endDate = null;
+        //     if(date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        // },
     },
     computed: {
 
client/views/pages/admin/statistics/Tech.vue
--- client/views/pages/admin/statistics/Tech.vue
+++ client/views/pages/admin/statistics/Tech.vue
@@ -4,19 +4,20 @@
             <div class="chart-top">
             <div class="flex">
                 <div class="date-zone flex-start">
-                    <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate">
+                    <!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> -->
+                    <input type="date" name="" id="" v-model="postListSearch.startDate">
                     <span>~</span>
-                    <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater"
-                        v-model="postListSearch.endDate">
-                    <button class="blue-btn" @click="dateCheck()">조회</button>
+                    <!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> -->
+                    <input type="date" name="" id="" v-model="postListSearch.endDate">
+                        <button class="blue-btn" @click="typeCheck()">조회</button>
                 </div>
                 <div class="date-check flex-end">
                     <div>
-                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="check">조회수</label>
                     </div>
                     <div>
-                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="download">다운로드수</label>
                     </div>
                 </div>
@@ -101,9 +102,9 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
+                        <td>{{ logTotalCount.total }}</td>
+                        <td>{{ logTotalCount.company }}</td>
+                        <td>{{ logTotalCount.common }}</td>
                     </tr>
                 </tbody>
             </table>
@@ -117,16 +118,16 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
+                        <td>{{ logTotalCount.total }}</td>
+                        <td>{{ logTotalCount.company }}</td>
+                        <td>{{ logTotalCount.common }}</td>
                     </tr>
                 </tbody>
             </table>
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="postListSearch.currentPage" :perPage="postListSearch.perPage"
-                :totalCount="logListByDateCount" :maxRange="5" :click="dateCheck" />
+                :totalCount="logListByDateCount" :maxRange="5" :click="typeCheck" />
         </div>
     </div>
 </template>
@@ -151,11 +152,10 @@
             postListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
                 bbs_id: '3'
             },
-            oneMonthLater: COMMON_UTIL.yesterday(),
             logListByDate: [],
             logListByDateCount: 0,
             logTotalCount: {},
@@ -263,7 +263,14 @@
             }
         },
 
-        /**날짜선택 유효성 검사 */
+        typeCheck: function() {
+            if(this.selectType == 'view') {
+                    this.postLogList();
+            } else {
+                this.dwldLogList();
+            }
+        },
+
         dateCheck: function() {
             if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) {
                 alert("날짜를 선택해주세요.");
@@ -278,15 +285,15 @@
         },
     },
     watch: {
-        'postListSearch.startDate': function(newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.postListSearch.endDate = null;
-            if(date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-        },
+        // 'postListSearch.startDate': function(newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.postListSearch.endDate = null;
+        //     if(date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        // },
     },
     computed: {
 
client/views/pages/admin/statistics/Visit.vue
--- client/views/pages/admin/statistics/Visit.vue
+++ client/views/pages/admin/statistics/Visit.vue
@@ -4,11 +4,12 @@
             <div class="chart-top">
             <div class="flex">
                 <div class="date-zone flex-start">
-                    <input type="date" name="" id="" min="2023-11-24" :max="visitListSearch.endDate" v-model="visitListSearch.startDate" />
+                    <!-- <input type="date" name="" id="" min="2023-11-24" :max="visitListSearch.endDate" v-model="visitListSearch.startDate" /> -->
+                    <input type="date" name="" id="" v-model="visitListSearch.startDate" />
                     <span>~</span>
-                    <input type="date" name="" id="" :min="visitListSearch.startDate" :max="oneMonthLater"
-                        v-model="visitListSearch.endDate" />
-                    <button class="blue-btn" @click="visitSelectListCheck()">조회</button>
+                    <!-- <input type="date" name="" id="" :min="visitListSearch.startDate" :max="oneMonthLater" v-model="visitListSearch.endDate" /> -->
+                    <input type="date" name="" id="" v-model="visitListSearch.endDate" />
+                    <button class="blue-btn" @click="visitSelectList()">조회</button>
                 </div>
                 <div class="date-check flex-end">
                     <div>
@@ -89,7 +90,7 @@
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="visitListSearch.currentPage" :perPage="visitListSearch.perPage"
-                :totalCount="visitListCount" :maxRange="5" :click="visitSelectListCheck" />
+                :totalCount="visitListCount" :maxRange="5" :click="visitSelectList" />
         </div>
     </div>
 </template>
@@ -107,12 +108,12 @@
             visitListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
                 type: 'day'
             },
 
-            oneMonthLater: COMMON_UTIL.yesterday(),
+            // oneMonthLater: COMMON_UTIL.yesterday(),
             visitList: [],
             visitListCount: 0,
             totalCount:{},
@@ -146,14 +147,14 @@
             })
         },
         
-        /**날짜선택 유효성 검사 */
-        visitSelectListCheck: function() {
-            if(COMMON_UTIL.isEmpty(this.visitListSearch.endDate) === false) {
-                alert("날짜를 선택해주세요.");
-            } else {
-                this.visitSelectList();
-            }
-        },
+        // /**날짜선택 유효성 검사 */
+        // visitSelectListCheck: function() {
+        //     if(COMMON_UTIL.isEmpty(this.visitListSearch.endDate) === false) {
+        //         alert("날짜를 선택해주세요.");
+        //     } else {
+        //         this.visitSelectList();
+        //     }
+        // },
 
         /** 방문자 수 엑셀 다운로드 */
         visitLogExcel: function() {
@@ -190,16 +191,16 @@
         },
     },
     watch: {
-        'visitListSearch.startDate': function(newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.visitListSearch.endDate = null;
-            if(date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-            console.log(this.visitListSearch.endDate)
-        },
+        // 'visitListSearch.startDate': function(newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.visitListSearch.endDate = null;
+        //     if(date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        //     console.log(this.visitListSearch.endDate)
+        // },
 
     },
     computed: {
client/views/pages/admin/statistics/WgCommunity.vue
--- client/views/pages/admin/statistics/WgCommunity.vue
+++ client/views/pages/admin/statistics/WgCommunity.vue
@@ -4,19 +4,20 @@
             <div class="chart-top">
             <div class="flex">
                 <div class="date-zone flex-start">
-                    <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate">
+                    <!-- <input type="date" name="" id="" min="2023-11-24" :max="postListSearch.endDate" v-model="postListSearch.startDate"> -->
+                    <input type="date" name="" id="" v-model="postListSearch.startDate">
                     <span>~</span>
-                    <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater"
-                        v-model="postListSearch.endDate">
-                    <button class="blue-btn" @click="dateCheck()">조회</button>
+                    <!-- <input type="date" name="" id="" :min="postListSearch.startDate" :max="oneMonthLater" v-model="postListSearch.endDate"> -->
+                    <input type="date" name="" id="" v-model="postListSearch.endDate">
+                    <button class="blue-btn" @click="typeCheck()">조회</button>
                 </div>
                 <div class="date-check flex-end">
                     <div>
-                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="view" id="check" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="check">조회수</label>
                     </div>
                     <div>
-                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="dateCheck()" v-model="selectType">
+                        <input type="radio" name="dayCategory" value="dwld" id="download" style="display:none" @change="typeCheck()" v-model="selectType">
                         <label for="download">다운로드수</label>
                     </div>
                 </div>
@@ -101,9 +102,9 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
+                        <td>{{ logTotalCount.total }}</td>
+                        <td>{{ logTotalCount.company }}</td>
+                        <td>{{ logTotalCount.common }}</td>
                     </tr>
                 </tbody>
             </table>
@@ -117,16 +118,16 @@
                 <tbody>
                     <tr>
                         <th>합계</th>
-                        <td>전체합계</td>
-                        <td>기업회원합계</td>
-                        <td>일반회원합계</td>
+                        <td>{{ logTotalCount.total }}</td>
+                        <td>{{ logTotalCount.company }}</td>
+                        <td>{{ logTotalCount.common }}</td>
                     </tr>
                 </tbody>
             </table>
         </div>
         <div class="bottom-wrap">
             <PaginationButton v-model:currentPage="postListSearch.currentPage" :perPage="postListSearch.perPage"
-                :totalCount="logListByDateCount" :maxRange="5" :click="dateCheck" />
+                :totalCount="logListByDateCount" :maxRange="5" :click="typeCheck" />
         </div>
     </div>
 </template>
@@ -150,11 +151,10 @@
             postListSearch: {
                 currentPage: 1,
                 perPage: 7,
-                startDate: '2023-11-24',
-                endDate: COMMON_UTIL.yesterday(),
+                startDate: null,
+                endDate: null,
                 bbs_id: '4'
             },
-            oneMonthLater: COMMON_UTIL.yesterday(),
             logListByDate: [],
             logListByDateCount: 0,
             logTotalCount: {},
@@ -262,7 +262,14 @@
             }
         },
 
-        /**날짜선택 유효성 검사 */
+        typeCheck: function() {
+            if(this.selectType == 'view') {
+                    this.postLogList();
+            } else {
+                this.dwldLogList();
+            }
+        },
+
         dateCheck: function() {
             if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) {
                 alert("날짜를 선택해주세요.");
@@ -277,15 +284,15 @@
         },
     },
     watch: {
-        'postListSearch.startDate': function(newValue) {
-            let date = COMMON_UTIL.oneMonthLater(newValue);
-            this.postListSearch.endDate = null;
-            if(date > COMMON_UTIL.today()) {
-                this.oneMonthLater = COMMON_UTIL.yesterday();
-            } else {
-                this.oneMonthLater = date;
-            }
-        },
+        // 'postListSearch.startDate': function(newValue) {
+        //     let date = COMMON_UTIL.oneMonthLater(newValue);
+        //     this.postListSearch.endDate = null;
+        //     if(date > COMMON_UTIL.today()) {
+        //         this.oneMonthLater = COMMON_UTIL.yesterday();
+        //     } else {
+        //         this.oneMonthLater = date;
+        //     }
+        // },
     },
     computed: {
 
client/views/pages/user/mypage/MatchingManager.vue
--- client/views/pages/user/mypage/MatchingManager.vue
+++ client/views/pages/user/mypage/MatchingManager.vue
@@ -280,7 +280,7 @@
             matchingCompleteIdx: 0,
 
             selectedBox: 'inbox',
-
+            companyTop6List: [],
             //명함보기 모달창
             isVisible: false,
             company_nm: null,
@@ -355,7 +355,8 @@
                 },
                 data: vm.pickCompleteListSearch
             }).then(function (response) {
-                vm.pickCompleteList = response.data;
+                vm.pickCompleteList = response.data.pickCompleteList;
+                vm.companyTop6List = response.data.companyTop6List
                 // vm.pickReceptionListCount = vm.pickReceptionList;
                 // vm.pickReceptionIdx = vm.pickReceptionList.length - (vm.pickReceptionListSearch.currentPage - 1) * vm.pickReceptionListSearch.perPage;
 
@@ -618,6 +619,28 @@
             })
         },
 
+        companyOnePage: function (item) {
+            const vm = this;
+            let best = 'non'
+            for (let i = 0; i < vm.companyTop6List.length; i++) {
+                if (vm.companyTop6List[i].company_id === item.company_id) {
+                    best = 'best';
+                }
+            }
+            axios({
+                url: '/matching/companyViewCountAdd.json',
+                method: 'post',
+                hearder: {
+                    'Content-Type': "application/json; charset=UTF-8",
+                },
+                data: { 'company_id': item.company_id }
+            }).then(function (response) {
+                vm.$router.push({ path: '/MatchingOne.page', query: { 'company_id': item.company_id, 'best': best } });
+            }).catch(function (error) {
+                console.log("기업 상세조회 오류, 관리자에게 문의하세요.");
+            })
+        },
+
         hideDiv() {
             this.isVisible = false;
         }
client/views/pages/user/networking/MatchingOne.vue
--- client/views/pages/user/networking/MatchingOne.vue
+++ client/views/pages/user/networking/MatchingOne.vue
@@ -100,7 +100,8 @@
                             <img :src="'http://localhost:8080' + item.file_path + '/' + item.file_nm + '.' + item.file_extn_nm">
                         </p>
                     </td>
-                    <td>
+                    
+                    <td style=" text-align : center;">
                         {{ item.company_nm }}
                     </td>
                     <td>
Add a comment
List