数据统计

This commit is contained in:
liuye
2023-06-21 13:38:51 +08:00
parent 7ba03251fd
commit 3a029203ba

View File

@@ -59,12 +59,12 @@ export default {
this.$http.post(`/app/appsessionarchivekeywordrecord/getKeywordRecordStatistic?departmentId=${this.departmentId}`).then(res=> {
if(res?.data) {
this.info = {...res.data}
var groupMonth = res.data.personRecordListMap.map(e=> e.dateDay)
this.groupData = res.data.personRecordListMap.map(e=> e.cnt)
var groupMonth = res.data.groupRecordListMap.map(e=> e.dateDay)
this.groupData = res.data.groupRecordListMap.map(e=> e.cnt)
var userMonth = res.data.personRecordListMap.map(e=> e.dateDay)
this.userData = res.data.personRecordListMap.map(e=> e.cnt)
var userMonth = res.data.groupRecordListMap.map(e=> e.dateDay)
this.userData = res.data.groupRecordListMap.map(e=> e.cnt)
console.log(groupMonth, this.groupData)
this.$nextTick(()=> {
this.getGroupEcharts(groupMonth, this.groupData)
this.getUserEcharts(userMonth, this.userData)