1.所有搜索样式调整
2.统计分析调整 3.导出word格式调整
This commit is contained in:
@@ -129,19 +129,26 @@ export default {
|
||||
self.pageloading = true
|
||||
|
||||
getStatistics(this.queryParams).then(res => {
|
||||
console.info("res===========", res)
|
||||
if(res.data){
|
||||
|
||||
const countType = JSON.parse(JSON.stringify(res.data.countType)).filter(item => item.name)
|
||||
//类别
|
||||
self.toolTypeData = JSON.parse(JSON.stringify(res.data.countType))
|
||||
self.toolTypeData = countType
|
||||
self.toolTypeData.forEach(item => {
|
||||
self.toolTypeLegendData.push(item.name)
|
||||
if(item && item.name){
|
||||
self.toolTypeLegendData.push(item.name)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
const countSource = JSON.parse(JSON.stringify(res.data.countSource)).filter(item => item.name)
|
||||
|
||||
//来源
|
||||
self.toolSourceData = JSON.parse(JSON.stringify(res.data.countSource))
|
||||
self.toolSourceData = countSource
|
||||
self.toolSourceData.forEach(item => {
|
||||
self.toolSourceLegendData.push(item.name)
|
||||
if(item && item.name){
|
||||
self.toolSourceLegendData.push(item.name)
|
||||
}
|
||||
})
|
||||
self.isPieChart= true
|
||||
self.pageloading= false
|
||||
|
||||
Reference in New Issue
Block a user