|
@ -128,7 +128,9 @@ new Vue({
|
|
|
}
|
|
|
var checkTree = vm.$refs.tree.getCheckedNodes(true);
|
|
|
if(checkTree.length){
|
|
|
vm.tableHeader = []
|
|
|
if(!flag){
|
|
|
vm.tableHeader = []
|
|
|
}
|
|
|
_.each(checkTree,function(item,index){
|
|
|
if(!flag){
|
|
|
vm.tableHeader.push({prop:item.label,label:item.label})
|
|
@ -166,6 +168,7 @@ new Vue({
|
|
|
},
|
|
|
getStatisticDataList:function(){
|
|
|
var vm = this
|
|
|
vm.isloading = true
|
|
|
var params=JSON.parse(JSON.stringify(vm.searchJson))
|
|
|
params.page = vm.currentPage
|
|
|
statisticAPI.getStatisticDataList(params).then(function(res){
|
|
@ -182,6 +185,7 @@ new Vue({
|
|
|
} else {
|
|
|
vm.$message.error(res.msg)
|
|
|
}
|
|
|
vm.isloading = false
|
|
|
})
|
|
|
},
|
|
|
exportHandle:function(){
|