| | |
| | | import { onMounted, ref, nextTick } from 'vue' |
| | | import { exportFwDroneFlightRecordApi, fwDroneFlightRecordPageApi } from './fwDroneFlightRecord' |
| | | import { blobDownload, dateRangeFormat } from '@ztzf/utils' |
| | | import { saveOperationLog } from '@ztzf/apis' |
| | | import { useRoute } from 'vue-router' |
| | | import TrajectoryDiaLog from '@/views/recordManage/historyTracks/TrajectoryDiaLog.vue' |
| | | |
| | | const initSearchParams = () => ({ |
| | |
| | | const dateRange = ref([]) |
| | | const exportLoading = ref(false) |
| | | const dialogRef = ref(null) // 弹框实例 |
| | | const route = useRoute() |
| | | |
| | | // 获取列表 |
| | | async function getList() { |
| | |
| | | ids: ids.join(','), |
| | | }) |
| | | .then(res => { |
| | | saveOperationLog({ |
| | | requestUri: route.path, |
| | | title: `${route.name || '历史轨迹'}-导出`, |
| | | type: 1, |
| | | }) |
| | | blobDownload(res) |
| | | }) |
| | | .finally(() => { |