|
|
|
|
@ -1077,6 +1077,7 @@ const handleObstacle = () => {
|
|
|
|
|
// 批量处理
|
|
|
|
|
const table1Ref = ref()
|
|
|
|
|
const batchDisposal = () => {
|
|
|
|
|
dotIndex.value = -1
|
|
|
|
|
let datas = table1Ref.value.getSelectionRows()
|
|
|
|
|
datas.forEach((row) => {
|
|
|
|
|
InserDealObstacleModel({
|
|
|
|
|
@ -1086,21 +1087,21 @@ const batchDisposal = () => {
|
|
|
|
|
files: [],
|
|
|
|
|
findTime: '',
|
|
|
|
|
})
|
|
|
|
|
dotIndexF(row.index)
|
|
|
|
|
tableData1.value = tableData1.value.filter(item => row.index !== item.index);
|
|
|
|
|
})
|
|
|
|
|
getShildTableList()
|
|
|
|
|
}
|
|
|
|
|
// 批量删除
|
|
|
|
|
const batchDel = () => {
|
|
|
|
|
dotIndex.value = -1
|
|
|
|
|
let datas = table1Ref.value.getSelectionRows()
|
|
|
|
|
datas.forEach((row) => {
|
|
|
|
|
dotIndexF(row.index)
|
|
|
|
|
tableData1.value = tableData1.value.filter(item => row.index !== item.index);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 批量固定
|
|
|
|
|
const batchShild = () => {
|
|
|
|
|
dotIndex.value = -1
|
|
|
|
|
let datas = table1Ref.value.getSelectionRows()
|
|
|
|
|
datas.forEach((row) => {
|
|
|
|
|
addShildData({
|
|
|
|
|
@ -1111,7 +1112,6 @@ const batchShild = () => {
|
|
|
|
|
deviation: shieldInfoForm.value.deviation,
|
|
|
|
|
shielding: shieldInfoForm.value.shielding,
|
|
|
|
|
})
|
|
|
|
|
dotIndexF(row.index)
|
|
|
|
|
tableData1.value = tableData1.value.filter(item => row.index !== item.index);
|
|
|
|
|
})
|
|
|
|
|
getShildTableList()
|
|
|
|
|
|