吉安感知网项目-前端
张含笑
2026-01-23 bcfa7fec8c6d2d222989e34f01b5fd6300befaf8
applications/drone-command/src/views/areaManage/partition/index.vue
@@ -83,6 +83,8 @@
import { fwAreaDividePageApi, fwAreaDivideRemoveApi } from './partitionApi'
import FormDiaLog from './FormDiaLog.vue'
import { getDictionaryByCode } from '@/api/system/dictbiz'
import { saveOperationLog } from '@ztzf/apis'
import { useRoute } from 'vue-router'
import { getDictLabel } from '@ztzf/utils'
const initSearchParams = () => ({
@@ -100,6 +102,7 @@
const queryParamsRef = ref(null) // 查询表单实例
const dialogRef = ref(null) // 弹框实例
const dialogVisible = ref(false)
const route = useRoute()
// 获取列表
async function getList () {
@@ -137,6 +140,11 @@
   })
   const ids = row ? row.id : selectedIds.value.join(',')
   await fwAreaDivideRemoveApi({ ids })
   saveOperationLog({
      requestUri: route.path,
      title: `${route.name || '区域划分'}-删除`,
      type: 1,
   })
   ElMessage.success('删除成功')
   selectedIds.value = []
   getList()