数据统计
This commit is contained in:
@@ -59,12 +59,12 @@ export default {
|
|||||||
this.$http.post(`/app/appsessionarchivekeywordrecord/getKeywordRecordStatistic?departmentId=${this.departmentId}`).then(res=> {
|
this.$http.post(`/app/appsessionarchivekeywordrecord/getKeywordRecordStatistic?departmentId=${this.departmentId}`).then(res=> {
|
||||||
if(res?.data) {
|
if(res?.data) {
|
||||||
this.info = {...res.data}
|
this.info = {...res.data}
|
||||||
var groupMonth = res.data.personRecordListMap.map(e=> e.dateDay)
|
var groupMonth = res.data.groupRecordListMap.map(e=> e.dateDay)
|
||||||
this.groupData = res.data.personRecordListMap.map(e=> e.cnt)
|
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.$nextTick(()=> {
|
||||||
this.getGroupEcharts(groupMonth, this.groupData)
|
this.getGroupEcharts(groupMonth, this.groupData)
|
||||||
this.getUserEcharts(userMonth, this.userData)
|
this.getUserEcharts(userMonth, this.userData)
|
||||||
|
|||||||
Reference in New Issue
Block a user