

231206 김성훈 매칭통계 BarChat 추가
@945269bd812d3b0e9fd3d4d46d4f4d83b92e700f
--- client/views/component/chart/BarChart.vue
+++ client/views/component/chart/BarChart.vue
... | ... | @@ -183,6 +183,8 @@ |
183 | 183 |
return ['total', 'company', 'common','non']; |
184 | 184 |
}else if (this.$route.name === 'AdminWgCommunity') { |
185 | 185 |
return ['total', 'company', 'common']; |
186 |
+ } else if (this.$route.name === 'AdminMatching') { |
|
187 |
+ return ['succesee_cnt', 'failed_cnt', 'progress_cnt', 'to_cnt', 'from_cnt', 'total_cnt']; |
|
186 | 188 |
} |
187 | 189 |
} |
188 | 190 |
}, |
--- client/views/pages/admin/statistics/MatchingStatistics.vue
+++ client/views/pages/admin/statistics/MatchingStatistics.vue
... | ... | @@ -33,7 +33,7 @@ |
33 | 33 |
</div> |
34 | 34 |
</div> |
35 | 35 |
</div> |
36 |
- <BarChart :data="menuVisitData" :mapping="keyMapping" /> |
|
36 |
+ <BarChart :chartData="companyStatisticsList" :mapping="keyMapping" columnX="company_nm"/> |
|
37 | 37 |
</div> |
38 | 38 |
<div class="table-zone"> |
39 | 39 |
<div class="btn-wrap"> |
... | ... | @@ -205,6 +205,7 @@ |
205 | 205 |
<script> |
206 | 206 |
import axios from "axios"; |
207 | 207 |
import COMMON_UTIL from '../../../../resources/js/commonUtil.js'; |
208 |
+import BarChart from '../../../component/chart/BarChart.vue'; |
|
208 | 209 |
import PaginationButton from '../../../component/pagination/PaginationButton.vue'; |
209 | 210 |
|
210 | 211 |
export default { |
... | ... | @@ -222,6 +223,17 @@ |
222 | 223 |
startDate: null, |
223 | 224 |
endDate: null, |
224 | 225 |
}, |
226 |
+ |
|
227 |
+ keyMapping: { |
|
228 |
+ company_nm: "기업명", |
|
229 |
+ succesee_cnt: "성공건수", |
|
230 |
+ failed_cnt: "실패건수", |
|
231 |
+ progress_cnt: "진행중인건수", |
|
232 |
+ to_cnt: "요청받은건수", |
|
233 |
+ from_cnt: "요청한건수", |
|
234 |
+ total_cnt: "전체요청수", |
|
235 |
+ }, |
|
236 |
+ |
|
225 | 237 |
// oneMonthLater: COMMON_UTIL.today(), |
226 | 238 |
yesterDay: COMMON_UTIL.yesterday(), |
227 | 239 |
|
... | ... | @@ -509,6 +521,7 @@ |
509 | 521 |
}, |
510 | 522 |
computed: {}, |
511 | 523 |
components: { |
524 |
+ BarChart: BarChart, |
|
512 | 525 |
PaginationButton: PaginationButton, |
513 | 526 |
}, |
514 | 527 |
mounted() { |
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?