| | |
| | | import { ElMessageBox, ElLoading } from 'element-plus' |
| | | import { calculateDefaultRange } from '@/utils/util' |
| | | import { gcj02ToWgs84, wgs84ToGcj02 } from '@/utils/coordinateTransformation' |
| | | import _ from 'lodash' |
| | | import { |
| | | getList, |
| | | createTicket, |
| | |
| | | { label: '关联任务', value: this.currentDetail.job_name || '/' }, |
| | | { label: '任务发起人', value: this.currentDetail.creator }, |
| | | { label: '当前状态', value: this.mapStatus(this.currentDetail.status) }, |
| | | { label: '事件地址', value: this.currentDetail.address }, // 包含经纬度信息 |
| | | { label: '事件地址', value: this.currentDetail.address || this.currentDetail.latAndLon }, // 包含经纬度信息 |
| | | { label: '关联算法', value: this.currentDetail.aiType }, |
| | | { label: '发起单位', value: this.currentDetail.department }, |
| | | { label: '发起任务时间', value: this.currentDetail.startTime }, |
| | |
| | | this.stepInfos = [] |
| | | } |
| | | } |
| | | console.log(detailData,'detailDatadetailDatadetailData'); |
| | | this.currentDetail = { |
| | | ...detailData, |
| | | address:null, |
| | | latAndLon: _.round(detailData.location[0],6) + ',' + _.round(detailData.location[1],6) |
| | | } |
| | | |
| | | this.currentDetail = detailData |
| | | console.log('this.currentDetail',this.currentDetail); |
| | | this.detailVisible = true |
| | | this.$nextTick(() => { |