main
suixy 5 days ago
parent 3e9d6b959f
commit 1ad419561b

@ -1646,7 +1646,7 @@ const handleObstacle2 = () => {
files: dialog3Form.value.fileList.map(e => e.url),
findTime: parseTime(new Date()) || dialog3Form.value.time || '',
description: dialog3Form.value.description,
FodAirId: form1.value.region1
fodAirId: form1.value.region1
}).then(e => {
delShildData({id}).then(e => {
getShildTableList()
@ -1683,7 +1683,7 @@ const batchDisposal2 = () => {
files: [],
findTime: parseTime(new Date()),
description: '',
FodAirId: form1.value.region1
fodAirId: form1.value.region1
}))
promiseArr.push(delShildData(row))
})
@ -1721,7 +1721,7 @@ const addShildItem = () => {
dotIndex.value = table1Data.value.findIndex(v => v.Lon === data.Lon && v.Lat === data.Lat && v.Strength === data.Strength)
}
addShildData({...shildForm.value, FodAirId: form1.value.region1}).then(e => {
addShildData({...shildForm.value, fodAirId: form1.value.region1}).then(e => {
shildDialog.value = false
shildForm.value = {}
getShildTableList()
@ -1818,7 +1818,7 @@ const handleObstacle = () => {
files: dialog1Form.value.fileList.map(e => e.url),
findTime: parseTime(new Date()) || dialog1Form.value.time || '',
description: dialog1Form.value.description,
FodAirId: form1.value.region1
fodAirId: form1.value.region1
}).then(e => {
let data = null
if (dotIndex.value >= 0) {
@ -1850,7 +1850,7 @@ const batchDisposal = () => {
files: [],
findTime: parseTime(new Date()),
description: '',
FodAirId: form1.value.region1
fodAirId: form1.value.region1
})
arr = arr.filter(v => !(v.Lon === row.Lon && v.Lat === row.Lat && v.Strength === row.Strength))
})
@ -1903,7 +1903,7 @@ const batchShild = () => {
name: Math.random().toString().split('.')[1],
deviation: shieldInfoForm.value.deviation,
shielding: shieldInfoForm.value.shielding,
FodAirId: form1.value.region1
fodAirId: form1.value.region1
})
arr = arr.filter(v => !(v.Lon === row.Lon && v.Lat === row.Lat && v.Strength === row.Strength))
})
@ -1948,7 +1948,7 @@ const addShildItem1 = () => {
dotIndex1.value = table2Data.value.findIndex(v => v.Lon === data.Lon && v.Lat === data.Lat && v.Strength === data.Strength)
}
addShildData({...shildForm1.value, FodAirId: form1.value.region1}).then(e => {
addShildData({...shildForm1.value, fodAirId: form1.value.region1}).then(e => {
shildDialog1.value = false
shildForm1.value = {}
getShildTableList()
@ -2047,7 +2047,7 @@ const handleObstacle1 = () => {
files: dialog2Form.value.fileList.map(e => e.url),
findTime: parseTime(new Date()) || dialog2Form.value.time || '',
description: dialog2Form.value.description,
FodAirId: form1.value.region1
fodAirId: form1.value.region1
}).then(e => {
let data = null
if (dotIndex1.value >= 0) {
@ -2077,7 +2077,7 @@ const batchDisposal1 = () => {
files: [],
findTime: parseTime(new Date()),
description: '',
FodAirId: form1.value.region1
fodAirId: form1.value.region1
})
arr = arr.filter(v => !(v.Lon === row.Lon && v.Lat === row.Lat && v.Strength === row.Strength))
})
@ -2130,7 +2130,7 @@ const batchShild1 = () => {
name: Math.random().toString().split('.')[1],
deviation: shieldInfoForm.value.deviation,
shielding: shieldInfoForm.value.shielding,
FodAirId: form1.value.region1
fodAirId: form1.value.region1
})
arr = arr.filter(v => !(v.Lon === row.Lon && v.Lat === row.Lat && v.Strength === row.Strength))
})
@ -2168,7 +2168,7 @@ const openShildDialog3 = (e) => {
const addShildItem3 = () => {
dotIndex2.value = -1
let params = {
...shildForm3.value, FodAirId: form1.value.region1
...shildForm3.value, fodAirId: form1.value.region1
}
delete params.shildId
addShildData(params).then(e => {
@ -2286,7 +2286,7 @@ const batchShild3 = () => {
name: Math.random().toString().split('.')[1],
deviation: shieldInfoForm.value.deviation,
shielding: shieldInfoForm.value.shielding,
FodAirId: form1.value.region1
fodAirId: form1.value.region1
}))
arr.push(DeleteDealObstacleModel(row))
})
@ -2303,7 +2303,7 @@ const getShildTableList = () => {
getShildList({
pageIndex: currentPage3.value,
pageSize: pageSize3.value,
FodAirId: form1.value.region1
fodAirId: form1.value.region1
}).then((e) => {
tableData2.value = e.data
total3.value = e.totalCount
@ -2314,7 +2314,7 @@ const getObstacleList = () => {
PostDealObstacleModel({
pageIndex: currentPage4.value,
pageSize: pageSize4.value,
FodAirId: form1.value.region1
fodAirId: form1.value.region1
}).then(e => {
tableData3.value = e.data
total4.value = e.totalCount

Loading…
Cancel
Save