src/components/view/equipmentmaintain.vue
@@ -601,6 +601,11 @@ let cc = this.selects.map(el => { return el.id }) // cc.forEach((el,idx) =>{ // delete idx[0] // }) cc.splice(0,1) console.log(cc); this.delete = cc.join(',') console.log(this.delete); this.delAllQue() @@ -617,6 +622,7 @@ // }, handleSelectionChange(val) { this.selects = val this.deleteList = []; val.forEach((v) => { if (v.id !== undefined) { @@ -639,6 +645,7 @@ this.isAllSelect = row.isChecked; this.toggleSelect(row, row.isChecked, "tr"); }); }, //递归子级 toggleSelect(data, flag, type) {