main
suixy 5 days ago
parent 2577b577cb
commit cda9a8a476

@ -2150,7 +2150,7 @@ const shildForm3 = ref({})
const openShildDialog3 = (e) => {
shildDialog3.value = true
shildForm3.value = {
// shildId: e.row.id,
shildId: e.row.id,
lon: e.row.longitude,
lat: e.row.latitude,
strength: e.row.strength,
@ -2162,8 +2162,12 @@ const openShildDialog3 = (e) => {
//
const addShildItem3 = () => {
dotIndex2.value = -1
addShildData({...shildForm3.value, FodAirId: form1.value.region1}).then(e => {
// DeleteDealObstacleModel({id: shildForm3.value.shildId})
let params = {
...shildForm3.value, FodAirId: form1.value.region1
}
delete params.shildId
addShildData(params).then(e => {
DeleteDealObstacleModel({id: shildForm3.value.shildId})
shildDialog3.value = false
shildForm3.value = {}
getShildTableList()

Loading…
Cancel
Save