You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
<template>
|
|
<div :class="[prefixCls, 'flex full relative']">
|
|
<div :class="`${prefixCls}-content pt-24`">
|
|
|
|
<el-breadcrumb style="position: absolute; top: 80px;left: 120px" :separator-icon="ArrowRight">
|
|
<el-breadcrumb-item class="text-2xl" :to="{ path: '/tptsps' }">TBT/SPS通报</el-breadcrumb-item>
|
|
<el-breadcrumb-item class="text-2xl">TBT/SPS通报详情</el-breadcrumb-item>
|
|
</el-breadcrumb>
|
|
<HtmlPreview :content="content" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
definePageMeta({
|
|
name: 'TBT/SPS通报详情',
|
|
hidden: true,
|
|
headerHost: false,
|
|
parentPath: '/tptsps',
|
|
// @ts-ignore
|
|
path: '/tptsps/:id'
|
|
})
|
|
useHead({
|
|
title:'TBT/SPS通报'
|
|
})
|
|
import { ArrowRight } from '@element-plus/icons-vue'
|
|
useAppStore().setBannerTitle("预警详情")
|
|
|
|
const {prefixCls} = useDesign('mai-wrap');
|
|
const route = useRoute()
|
|
const content = ref('')
|
|
async function getData() {
|
|
const data = await useApi().warningApi.getWarningDetail(route.params.id)
|
|
console.log('data.data.info')
|
|
content.value = data.data.info.content;
|
|
}
|
|
getData()
|
|
</script>
|
|
|
|
<style scoped></style>
|