| | |
| | | deleteOrderLog |
| | | } from '@/api/tickets/orderLog' |
| | | import { getTicketInfo } from '@/api/tickets/ticket' |
| | | import { getDictionary } from '@/api/system/dictbiz' |
| | | import { getDictionaryByCode } from '@/api/system/dictbiz' |
| | | import { getWaylineFileListByArea } from '@/api/resource/wayline' |
| | | import { export_json_to_excel } from '@/utils/exportExcel' |
| | | import { getFlyingNestBy } from '@/api/device/device' |
| | |
| | | } |
| | | }, |
| | | async created() { |
| | | var response = await getDictionary({ code: 'SF' }) |
| | | var word_order_typeResponse = await getDictionary({ code: 'WORK_ORDER_TYPE' }) |
| | | this.ai_types = response.data.data |
| | | this.types = word_order_typeResponse.data.data |
| | | var response = await getDictionaryByCode('SF') |
| | | var word_order_typeResponse = await getDictionaryByCode('WORK_ORDER_TYPE' ) |
| | | this.ai_types = response.data.data['SF'] |
| | | this.types = word_order_typeResponse.data.data['WORK_ORDER_TYPE']; |
| | | //获取航线 |
| | | this.asyncgetWaylineFileListByArea() |
| | | const response2 = await getTicketInfo() |