editrepeat(data) {
postForm("",{}).then(res =>{
console.log(res)
this.tableDatas = res.data.data
console.log(this.tableDatas)
this.checkId = data.data.userId.split(",")
for (var i = 0; i < this.tableDatas.length; i++) {
if (this.tableDatas[i].id == data.data.applicationId) {
//---------------------------------------------------------------------------------
if (i !== 0) { //回显选中行在第一行显示,第一行与默认选中的一行互换位置
let arr = this.tableData[i]
this.tableData[i] = this.tableData[0]
this.tableData[0] = arr
this.handleSoftware(arr, data)
this.radio = arr
} else {
this.handleSoftware(this.tableData[i], data)
this.radio = this.tableData[i]
}
//---------------------------------------------------------------------------------
}
}
})
},