main
suixy 6 days ago
parent a26d401ab2
commit a24fb6a1e0

@ -1618,6 +1618,7 @@ const handleCameraChange2 = (e) => {
const openHandleObstacleDialog2 = (e) => { const openHandleObstacleDialog2 = (e) => {
dialog3.value = true dialog3.value = true
dialog3Form.value = { dialog3Form.value = {
id: e.row.id,
time: e.row.time, time: e.row.time,
longitude: e.row.lon, longitude: e.row.lon,
latitude: e.row.lat, latitude: e.row.lat,
@ -1636,6 +1637,8 @@ const delShildItem = (e) => {
// //
const handleObstacle2 = () => { const handleObstacle2 = () => {
dotIndex2.value = -1 dotIndex2.value = -1
let id = dialog3Form.value.id
delete dialog3Form.value.id
InserDealObstacleModel({ InserDealObstacleModel({
longitude: dialog3Form.value.longitude, longitude: dialog3Form.value.longitude,
latitude: dialog3Form.value.latitude, latitude: dialog3Form.value.latitude,
@ -1645,7 +1648,7 @@ const handleObstacle2 = () => {
description: dialog3Form.value.description, description: dialog3Form.value.description,
FodAirId: form1.value.region1 FodAirId: form1.value.region1
}).then(e => { }).then(e => {
delShildData(e.row).then(e => { delShildData(id).then(e => {
getShildTableList() getShildTableList()
getObstacleList() getObstacleList()
dialog3.value = false dialog3.value = false

Loading…
Cancel
Save