main
suixy 7 days ago
parent 2577b577cb
commit cda9a8a476

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

Loading…
Cancel
Save