| | |
| | | searchForm.endTime = end.format(timeFormat); |
| | | handleSearch() |
| | | } |
| | | |
| | | }; |
| | | // 部门下得机巢 |
| | | const requestDockInfo = () => { |
| | | getRegionTreeAll({ parentCode: userAreaCode.value }).then(res => { |
| | | deptTreeData.value = res.data.data ? [res.data.data] : []; |
| | | |
| | | handleNodeClick({ id: userAreaCode.value }); |
| | | }); |
| | | }; |
| | |
| | | machineData.value = ''; |
| | | const droneList = await getDeviceRegion({ areaCode: data.id }); |
| | | machineData.value = droneList?.data?.data; |
| | | |
| | | // 默认选中值 |
| | | if (signDevice_sn.value) { |
| | | searchForm.deviceSn = signDevice_sn.value; |
| | |
| | | deptData.value = []; |
| | | getDeptsByAreaCode(); |
| | | handleSearch(); |
| | | |
| | | }; |
| | | // 所属部门信息 |
| | | const getDeptsByAreaCode = () => { |
| | |
| | | } |
| | | // 切换文件夹 |
| | | const handleswitchFolders =()=>{ |
| | | emit('handleswitchFolders',machineData.value); |
| | | emit('handleswitchFolders'); |
| | | } |
| | | |
| | | onMounted(() => { |
| | | requestDockInfo(); |
| | | getDownloadStatusApi({type: 'htsjzx'}).then(res =>{ |
| | |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |