统计
This commit is contained in:
@@ -170,24 +170,37 @@ export default {
|
||||
})
|
||||
}
|
||||
|
||||
// var barX = []
|
||||
// this.info.typeList.map((item) => {
|
||||
// barX.push(item.wordName)
|
||||
// this.barData.push(item.c)
|
||||
// this.info.ranking.map((item, index)=> {
|
||||
// if(index < 100) {
|
||||
// item.rank = index+1
|
||||
// this.tableData.push(item)
|
||||
// }
|
||||
// })
|
||||
// if(this.barData.length) {
|
||||
// this.$nextTick(() => {
|
||||
// this.barChartInit(barX, this.barData)
|
||||
// })
|
||||
// }
|
||||
|
||||
// this.info.wordNames.map((item) => {
|
||||
// var i = { name: item.wordName, value: item.wordCount };
|
||||
// this.wordData.push(i);
|
||||
}
|
||||
})
|
||||
|
||||
this.instance.post('/app/appmasssendingtaskbaidu/statistics3', null, {
|
||||
params: {
|
||||
// deptFullId: departmentId,
|
||||
areaId: this.areaId,
|
||||
type: this.type,
|
||||
startTime: this.startTime,
|
||||
endTime: this.endTime,
|
||||
}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.info.ranking = res.data
|
||||
// var trendX = []
|
||||
// this.totalEcount = 0
|
||||
// this.info.trend.map((item) => {
|
||||
// trendX.push(item.ymd)
|
||||
// this.totalEcount = this.totalEcount + item.ecount
|
||||
// this.trendData.push(item.ecount)
|
||||
// })
|
||||
// if(this.wordData.length) {
|
||||
// if(this.trendData.length) {
|
||||
// this.$nextTick(() => {
|
||||
// this.wordChartInit(this.wordData)
|
||||
// this.trendChartInit(trendX, this.trendData)
|
||||
// })
|
||||
// }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user