this.mapResiz = function () {
this.list1 = []
for(i = 0; i <= 100000; i++){
var neirong = {}
neirong['code'] = i;
neirong['actName'] = 'name'+i+'dada';
neirong['taskHandler'] = 'same'+i%5;
this.list1[i]=neirong
}
this.allActList = this.list1.map(function(item){
return item.taskHandler
})
this.equalList = _.uniq(this.allActList)
this.mapList = new Map()
console.log(this.list1,'list123456')
var that = this
this.newnew = this.equalList.map(function(item){
var valueList = []
that.new111 = that.list1.map(function(e){
if(e.taskHandler == item){
valueList.push(e)
that.mapList.set(item,valueList)
}
})
return that.new111
})
console.log(this.newnew,'newnew')
}