| | |
| | | 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' |
| | |
| | | |
| | | // 加载设备列表 |
| | | async function loadDeviceList() { |
| | | const res = await fwDeviceListApi() |
| | | deviceList.value = res?.data?.data ?? [] |
| | | const res = await fwDeviceListByTask() |
| | | |
| | | deviceList.value = res?.data?.data?.records ?? [] |
| | | } |
| | | |
| | | onMounted(() => { |