| | |
| | | // 重点监管装置/设备 删除 |
| | | getkeypointEquipmentInfoDetele:(params:any)=>{ |
| | | return request({ |
| | | url:`/keypointEquipmentInfo/delete?ids=${params}`, |
| | | method:"get" |
| | | url:`/keypointEquipmentInfo/delete`, |
| | | method:"post", |
| | | data:params |
| | | }) |
| | | }, |
| | | // 重点监管装置/设备 分页查询数据 |
| | |
| | | }); |
| | | // 删除 |
| | | const onDelete = (id: number) => { |
| | | let arr=[] |
| | | arr.push(id) |
| | | ElMessageBox.confirm('确定删除所选项吗?', 'Warning', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | |
| | | }) |
| | | .then(() => { |
| | | facilityManagementApi() |
| | | .getkeypointEquipmentInfoDetele(id) |
| | | .getkeypointEquipmentInfoDetele(arr) |
| | | .then((res) => { |
| | | if (res.data.code == 200) { |
| | | ElMessage({ |