吉安感知网项目-前端
罗广辉
2 days ago 1d552a3bad95caae4af15322df28e6240b797693
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>
@@ -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(() => {