| | |
| | | |
| | | // 获取工单列表 |
| | | async function getWorkOrderList() { |
| | | const res = await gdWorkOrderPageApi({ size: 999 }) |
| | | const res = await gdWorkOrderPageApi({ size: 999, }) |
| | | workOrderList.value = res?.data?.data?.records ?? [] |
| | | } |
| | | |
| | | // 获取飞手列表 |
| | | async function getFlyerList() { |
| | | const res = await gdFlyerPageApi({ size: 999 }) |
| | | const res = await gdFlyerPageApi({ |
| | | size: 999, |
| | | // todo 需要传入前面的巡查类型 |
| | | // patrolTaskType: '1', |
| | | }) |
| | | flyerList.value = res?.data?.data?.records ?? [] |
| | | } |
| | | |
| | | // 获取设备列表 |
| | | async function getDeviceList() { |
| | | const res = await gdManageDeviceListApi() |
| | | const res = await gdManageDeviceListApi({ |
| | | // TODO 需要传入ids设备 |
| | | // ids: |
| | | }) |
| | | deviceList.value = res?.data?.data ?? [] |
| | | } |
| | | |