| | |
| | | /> |
| | | </div> |
| | | </div> |
| | | <div class="contentRight">map</div> |
| | | <DeviceJobDetailsMap class="contentRight" :detailsData="detailsData"/> |
| | | </div> |
| | | </el-dialog> |
| | | </template> |
| | |
| | | import { pxToRem } from '@/utils/rem' |
| | | import JobRelatedEvents from './JobRelatedEvents.vue' |
| | | import { getJobDetails, getJobInfoFiles } from '@/api/home/task' |
| | | import DeviceJobDetailsMap from './DeviceJobDetailsMap.vue' |
| | | |
| | | const isShow = defineModel('show') |
| | | |
| | |
| | | ]) |
| | | |
| | | const detailsData = ref({ |
| | | id: 19, |
| | | remark: '测试测试', |
| | | is_monitoring: 0, |
| | | industry_type_str: '综合类、公安类', |
| | | area_code: '360103', |
| | | ai_type_str: '识别火情、车牌识别', |
| | | begin_time: '2025/04/02 16:00', |
| | | end_time: '2025/04/01 15:59', |
| | | device_names: '赣县-夏潭机场', |
| | | create_time: '2025-04-01T07:35:19.000+00:00', |
| | | name: '夏弹机场测试', |
| | | event_number: 2, |
| | | creator_name: '管理员', |
| | | id: null, |
| | | remark: null, |
| | | is_monitoring: null, |
| | | industry_type_str: null, |
| | | area_code: null, |
| | | ai_type_str: null, |
| | | begin_time: null, |
| | | end_time: null, |
| | | device_names: null, |
| | | create_time: null, |
| | | name: null, |
| | | event_number: null, |
| | | creator_name: null, |
| | | way_lines: [], |
| | | }) |
| | | |
| | |
| | | |
| | | watch(isShow, (newValue, oldValue) => { |
| | | if (newValue) { |
| | | getAchievement() |
| | | getDetails() |
| | | getAchievement() |
| | | } |
| | | }) |
| | | </script> |