yjryu / KERIS star
김하영 김하영 2023-12-07
231207김하영 관리자단 통계서비스 타이틀 추가
@2c6ec8a1f6a002fc293568e67fee99a17d4ebca4
client/views/pages/admin/statistics/CorporatePRCenter.vue
--- client/views/pages/admin/statistics/CorporatePRCenter.vue
+++ client/views/pages/admin/statistics/CorporatePRCenter.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">기업홍보관 통계</h2>
+            </div>
+        </div>
         <div class="chart-top">
             <div class="flex">
                 <div class="date-zone flex-start">
client/views/pages/admin/statistics/Data.vue
--- client/views/pages/admin/statistics/Data.vue
+++ client/views/pages/admin/statistics/Data.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">자료집 통계</h2>
+            </div>
+        </div>
         <div class="top-wrap">
             <div class="chart-top">
                 <div class="flex">
@@ -8,7 +13,8 @@
                         <input type="date" name="" id="" :max="postListSearch.endDate" 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="" :min="postListSearch.startDate" :max="yesterDay" v-model="postListSearch.endDate">
+                        <input type="date" name="" id="" :min="postListSearch.startDate" :max="yesterDay"
+                            v-model="postListSearch.endDate">
                         <button class="blue-btn" @click="typeCheck()">조회</button>
                     </div>
                     <div class="date-check flex-end">
@@ -94,12 +100,12 @@
                     </tr>
                 </tbody>
             </table>
-            <table class="sum-table"  v-if="selectType == 'view'">
+            <table class="sum-table" v-if="selectType == 'view'">
                 <colgroup>
-                    <col style="width: 25%;"/>
-                    <col style="width: 25%;"/>
-                    <col style="width: 25%;"/>
-                    <col style="width: 25%;"/>
+                    <col style="width: 25%;" />
+                    <col style="width: 25%;" />
+                    <col style="width: 25%;" />
+                    <col style="width: 25%;" />
                 </colgroup>
                 <tbody>
                     <tr>
@@ -112,10 +118,10 @@
             </table>
             <table class="sum-table" v-else>
                 <colgroup>
-                    <col style="width: 40%;"/>
-                    <col style="width: 20%;"/>
-                    <col style="width: 20%;"/>
-                    <col style="width: 20%;"/>
+                    <col style="width: 40%;" />
+                    <col style="width: 20%;" />
+                    <col style="width: 20%;" />
+                    <col style="width: 20%;" />
                 </colgroup>
                 <tbody>
                     <tr>
@@ -209,79 +215,79 @@
         },
 
         /** 권한 별 게시글 조회수 엑셀 다운로드 */
-        logExcel: function() {
+        logExcel: function () {
             const vm = this;
 
-            if(vm.logListByDateCount === 0) {
+            if (vm.logListByDateCount === 0) {
                 alert("데이터가 없어 EXCEL 다운로드를 실행할 수 없습니다.")
                 return
             }
 
-            if(vm.selectType == 'view') {
+            if (vm.selectType == 'view') {
                 axios({
-                url: "/statistics/postLogExcel.json",
-                method: "post",
-                herders: {
-                "Content-Type": "application/json; charset=UTF-8",
-                },
-                responseType: 'arraybuffer',
-                data: vm.postListSearch,
+                    url: "/statistics/postLogExcel.json",
+                    method: "post",
+                    herders: {
+                        "Content-Type": "application/json; charset=UTF-8",
+                    },
+                    responseType: 'arraybuffer',
+                    data: vm.postListSearch,
                 })
-                .then(function (response) {
-                    // console.log("userAccessLogExcel - response : ", response.data);
-                    const url = window.URL.createObjectURL(new Blob([response.data], { type: response.headers["content-type"] }));
-                    const link = document.createElement("a");
-                    link.href = url;
-                    let today = COMMON_UTIL.today();
-                    link.download = '[' + today + ']' + '자료집 게시글 조회수';
-                    link.click();
-                    window.URL.revokeObjectURL(url);
-                })
+                    .then(function (response) {
+                        // console.log("userAccessLogExcel - response : ", response.data);
+                        const url = window.URL.createObjectURL(new Blob([response.data], { type: response.headers["content-type"] }));
+                        const link = document.createElement("a");
+                        link.href = url;
+                        let today = COMMON_UTIL.today();
+                        link.download = '[' + today + ']' + '자료집 게시글 조회수';
+                        link.click();
+                        window.URL.revokeObjectURL(url);
+                    })
                     .catch(function (error) {
-                    console.log("userAccessLogExcel - error : ", error);
-                    alert("자료집 조회수 Excel 다운로드 오류, 관리자에게 문의해주세요.");
-                });
+                        console.log("userAccessLogExcel - error : ", error);
+                        alert("자료집 조회수 Excel 다운로드 오류, 관리자에게 문의해주세요.");
+                    });
             } else {
                 axios({
                     url: "/statistics/postDwldLogExcel.json",
                     method: "post",
                     herders: {
-                    "Content-Type": "application/json; charset=UTF-8",
+                        "Content-Type": "application/json; charset=UTF-8",
                     },
                     responseType: 'arraybuffer',
                     data: vm.postListSearch,
                 })
-                .then(function (response) {
-                    // console.log("userAccessLogExcel - response : ", response.data);
-                    const url = window.URL.createObjectURL(new Blob([response.data], { type: response.headers["content-type"] }));
-                    const link = document.createElement("a");
-                    link.href = url;
-                    let today = COMMON_UTIL.today();
-                    link.download = '[' + today + ']' + '자료집 파일 다운로드수';
-                    link.click();
-                    window.URL.revokeObjectURL(url);
-                })
+                    .then(function (response) {
+                        // console.log("userAccessLogExcel - response : ", response.data);
+                        const url = window.URL.createObjectURL(new Blob([response.data], { type: response.headers["content-type"] }));
+                        const link = document.createElement("a");
+                        link.href = url;
+                        let today = COMMON_UTIL.today();
+                        link.download = '[' + today + ']' + '자료집 파일 다운로드수';
+                        link.click();
+                        window.URL.revokeObjectURL(url);
+                    })
                     .catch(function (error) {
-                    console.log("userAccessLogExcel - error : ", error);
-                    alert("자료집 파일 다운로드 수 Excel 다운로드 오류, 관리자에게 문의해주세요.");
-                });
+                        console.log("userAccessLogExcel - error : ", error);
+                        alert("자료집 파일 다운로드 수 Excel 다운로드 오류, 관리자에게 문의해주세요.");
+                    });
             }
         },
 
-        typeCheck: function() {
-            if(this.selectType == 'view') {
-                    this.postLogList();
+        typeCheck: function () {
+            if (this.selectType == 'view') {
+                this.postLogList();
             } else {
                 this.dwldLogList();
             }
         },
 
-        dateCheck: function() {
-            if(COMMON_UTIL.isEmpty(this.postListSearch.endDate) === false) {
+        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();
client/views/pages/admin/statistics/MatchingStatistics.vue
--- client/views/pages/admin/statistics/MatchingStatistics.vue
+++ client/views/pages/admin/statistics/MatchingStatistics.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">매칭현황 통계</h2>
+            </div>
+        </div>
         <div class="content-wrap">
             <ul class="tab-menu">
                 <li v-for="(tab, index) in tabMenu" :key="index">
client/views/pages/admin/statistics/Member.vue
--- client/views/pages/admin/statistics/Member.vue
+++ client/views/pages/admin/statistics/Member.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">로그인 통계</h2>
+            </div>
+        </div>
         <div class="top-wrap">
             <div class="chart-top">
             <div class="flex">
client/views/pages/admin/statistics/MenuStatistics.vue
--- client/views/pages/admin/statistics/MenuStatistics.vue
+++ client/views/pages/admin/statistics/MenuStatistics.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">메뉴별 접속자수 통계</h2>
+            </div>
+        </div>
         <div class="top-wrap">
             <div class="chart-top">
                 <div class="flex">
client/views/pages/admin/statistics/NewsAndPr.vue
--- client/views/pages/admin/statistics/NewsAndPr.vue
+++ client/views/pages/admin/statistics/NewsAndPr.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">홍보&뉴스 통계</h2>
+            </div>
+        </div>
         <div class="top-wrap">
             <div class="chart-top">
             <div class="flex">
client/views/pages/admin/statistics/Notice.vue
--- client/views/pages/admin/statistics/Notice.vue
+++ client/views/pages/admin/statistics/Notice.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">공지사항 통계</h2>
+            </div>
+        </div>
         <div class="top-wrap">
             <div class="chart-top">
             <div class="flex">
client/views/pages/admin/statistics/Tech.vue
--- client/views/pages/admin/statistics/Tech.vue
+++ client/views/pages/admin/statistics/Tech.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">기술문서 통계</h2>
+            </div>
+        </div>
         <div class="top-wrap">
             <div class="chart-top">
             <div class="flex">
client/views/pages/admin/statistics/Visit.vue
--- client/views/pages/admin/statistics/Visit.vue
+++ client/views/pages/admin/statistics/Visit.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">방문자수 통계</h2>
+            </div>
+        </div>
         <div class="top-wrap">
             <div class="chart-top">
             <div class="flex">
client/views/pages/admin/statistics/WgCommunity.vue
--- client/views/pages/admin/statistics/WgCommunity.vue
+++ client/views/pages/admin/statistics/WgCommunity.vue
@@ -1,5 +1,10 @@
 <template>
     <div class="chart-page">
+        <div class="title-wrap">
+            <div class="flex-start">
+                <h2 class="main-title">전문가 협의체 통계</h2>
+            </div>
+        </div>
         <div class="top-wrap">
             <div class="chart-top">
             <div class="flex">
Add a comment
List