This commit is contained in:
liuye
2024-01-23 10:52:52 +08:00
parent 1aa2e264d7
commit 30f8f09645
3 changed files with 28 additions and 17 deletions

View File

@@ -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)
// })
// }