diff --git a/src/views/index.vue b/src/views/index.vue index 138d211..f924828 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1531,6 +1531,8 @@ const handleObstacle2 = () => { // delShildData(e.row).then(e => { // getShildTableList() // }) + getShildTableList() + getObstacleList() dialog3.value = false }) } @@ -1544,6 +1546,7 @@ const batchDel2 = () => { }) Promise.allSettled(promiseArr).then(() => { getShildTableList() + getObstacleList() }) } // 批量处置 @@ -1562,6 +1565,7 @@ const batchDisposal2 = () => { }) Promise.allSettled(promiseArr).then(() => { getShildTableList() + getObstacleList() }) } @@ -1597,6 +1601,7 @@ const addShildItem = () => { shildDialog.value = false shildForm.value = {} getShildTableList() + getObstacleList() }) } // 处置模态框 @@ -1715,6 +1720,7 @@ const batchDisposal = () => { } }) getShildTableList() + getObstacleList() if (data) { dotIndex.value = table1Data.value.findIndex(v => v.Lon === data.Lon && v.Lat === data.Lat && v.Strength === data.Strength) } @@ -1766,6 +1772,7 @@ const batchShild = () => { } }) getShildTableList() + getObstacleList() if (data) { dotIndex.value = table1Data.value.findIndex(v => v.Lon === data.Lon && v.Lat === data.Lat && v.Strength === data.Strength) } @@ -1803,6 +1810,7 @@ const addShildItem1 = () => { shildDialog1.value = false shildForm1.value = {} getShildTableList() + getObstacleList() }) } // 处置模态框 @@ -1921,6 +1929,7 @@ const batchDisposal1 = () => { } }) getShildTableList() + getObstacleList() if (data) { dotIndex1.value = table2Data.value.findIndex(v => v.Lon === data.Lon && v.Lat === data.Lat && v.Strength === data.Strength) } @@ -1972,6 +1981,7 @@ const batchShild1 = () => { } }) getShildTableList() + getObstacleList() if (data) { dotIndex1.value = table2Data.value.findIndex(v => v.Lon === data.Lon && v.Lat === data.Lat && v.Strength === data.Strength) } @@ -1999,6 +2009,7 @@ const addShildItem3 = () => { shildDialog3.value = false shildForm3.value = {} getShildTableList() + getObstacleList() }) } // 处置模态框 @@ -2089,6 +2100,7 @@ const batchShild3 = () => { }) }) getShildTableList() + getObstacleList() }