吉安感知网项目-前端
shuishen
2026-02-04 c641c8355c82d2b9a42abeb8198a646909c25ede
applications/drone-command/src/views/detectionCountermeasure/taskSchedule/index.vue
@@ -119,8 +119,7 @@
import { Search, RefreshRight, Plus, Delete } from '@element-plus/icons-vue'
import { nextTick, onMounted, ref, provide } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { fwTaskSchedulePageApi, fwTaskScheduleRemoveApi } from './taskScheduleApi'
import { fwDeviceListApi } from '@/views/basicManage/deviceStock/fwDevice'
import { fwTaskSchedulePageApi, fwTaskScheduleRemoveApi, fwDeviceListByTask } from './taskScheduleApi'
import { getDictionaryByCode } from '@/api/system/dictbiz'
import FormDiaLog from './FormDiaLog.vue'
import { getDictLabel } from '@ztzf/utils'
@@ -232,8 +231,9 @@
// 加载设备列表
async function loadDeviceList() {
   const res = await fwDeviceListApi()
   deviceList.value = res?.data?.data ?? []
   const res = await fwDeviceListByTask()
   deviceList.value = res?.data?.data?.records   ?? []
}
onMounted(() => {