<script lang="ts" name="EquipmentResumeMonthDetail" setup>
import templateDetail from '../week/components/templateDetail.vue'
const $route = useRoute() // 路由参数
const pageType = ref('detail') // 页面类型
const infoId = ref('') // id
// -----------------------------------------------路由参数---------------------------------
if ($route.params && $route.params.type) {
pageType.value = $route.params.type as string
if ($route.params.id) {
infoId.value = $route.params.id as string
}
}
</script>
<template>
<template-detail
title="月保养"
:page-type="pageType"
maintain-type="2"
:info-id="infoId"
/>
</template>