forked from drone/command-center-dashboard

罗广辉
2025-04-07 0c24112327778616cd4e5ce2d98a6a4f9afa9782
src/views/SignMachineNest/MachineRight/MachineTableDetails/DeviceJob/DeviceJobDetails/DeviceJobDetails.vue
@@ -33,7 +33,7 @@
               />
            </div>
         </div>
         <div class="contentRight">map</div>
         <DeviceJobDetailsMap class="contentRight" :detailsData="detailsData"/>
      </div>
   </el-dialog>
</template>
@@ -42,6 +42,7 @@
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')
@@ -59,19 +60,19 @@
])
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: [],
})
@@ -95,8 +96,8 @@
watch(isShow, (newValue, oldValue) => {
   if (newValue) {
      getAchievement()
      getDetails()
      getAchievement()
   }
})
</script>