吉安感知网项目-前端
张含笑
2026-01-23 bcfa7fec8c6d2d222989e34f01b5fd6300befaf8
applications/drone-command/src/views/detectionCountermeasure/taskSchedule/index.vue
@@ -70,7 +70,7 @@
               </el-table-column>
               <el-table-column prop="areaName" show-overflow-tooltip width="120" label="区域" />
               <el-table-column prop="defenseZoneName" show-overflow-tooltip width="120" label="场景" />
               <el-table-column prop="defenseSceneName" show-overflow-tooltip width="120" label="场景" />
               <el-table-column show-overflow-tooltip label="调度位置">
                  <template v-slot="{ row }">{{ row.longitude }}, {{ row.latitude }}</template>
               </el-table-column>
@@ -124,6 +124,8 @@
import { getDictionaryByCode } from '@/api/system/dictbiz'
import FormDiaLog from './FormDiaLog.vue'
import { getDictLabel } from '@ztzf/utils'
import { saveOperationLog } from '@ztzf/apis'
import { useRoute } from 'vue-router'
// 初始化查询参数
const initSearchParams = () => ({
@@ -146,6 +148,7 @@
   deviceStatus: [], // 设备状态
})
const deviceList = ref([]) // 设备列表
const route = useRoute()
// 注入字典到子组件
provide('dictObj', dictObj)
@@ -197,6 +200,11 @@
   })
   const ids = row ? row.id : selectedIds.value.join(',')
   await fwTaskScheduleRemoveApi({ ids })
   saveOperationLog({
      requestUri: route.path,
      title: `${route.name || '任务调度'}-删除`,
      type: 1
   })
   ElMessage.success('删除成功')
   selectedIds.value = []
   getList()