let userdimension = res.data.data.data.users.sort_dimension
userdimension.forEach((item, index) => {
let obj = {};
item.forEach((val, kay) => {
if(val.event_attribute == 1 && val.status == 0) {
obj["a"] = true;
} else if(val.event_attribute == 2 && val.status == 0) {
obj["b"] = true;
} else {
}
})
arr.push(obj)
})
arr.forEach((item, index) => {
if(item.a && item.b) {
this.typesettingDate[index] = true
} else {
this.typesettingDate[index] = false;
}
})
console.log(this.typesettingDate)
console.log (this.typesettingDate);
let typeArr = Object.values(this.typesettingDate);
console.log(typeArr);