<!-- 实验室任务详情 -->
<script name="TaskMeasureLabTaskDetail" lang="ts" setup>
import templateDetail from '@/views/business/manager/sendReceive/components/templateDetail.vue'

const radioMenus = [ // 标签内容
  { name: '检定信息', value: 'send-receive-measure' },
  { name: '任务单信息', value: 'send-receive-order' },
  { name: '基本信息', value: 'send-receive-basic' },
  { name: '证书报告', value: 'send-receive-certificate' },
]

const orderId = ref('') // 任务单id
const equipmentId = ref('') // 设备id
const $route = useRoute()

onMounted(() => {
  orderId.value = $route.query.orderId as string// 任务单id
  equipmentId.value = $route.query.equipmentId as string// 设备id
})
</script>

<template>
  <template-detail title="实验室任务" menu-type="hiddenButton" :radio-menus="radioMenus" :order-id="orderId" :equipment-id="equipmentId" />
</template>

