预告警单

This commit is contained in:
sjl
2025-12-31 08:36:14 +08:00
parent 38028b5cb0
commit 72b1f39814
5 changed files with 17 additions and 11 deletions

View File

@@ -30,7 +30,7 @@
<el-descriptions-item :span="2" label="采取措施">
{{ detailData.takeStep }}
</el-descriptions-item>
<el-descriptions-item :span="2" label="处理成效报告">
<el-descriptions-item :span="2" label="反馈报告">
<el-icon class="elView" v-if="detailData?.reportName ">
<View @click="openFile(detailData?.reportName)" />
</el-icon>
@@ -51,6 +51,7 @@ import { Link, View } from '@element-plus/icons-vue'
defineOptions({ name: 'technology/detail' })
const openFile = (name: any) => {
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
}
const { query } = useRoute() // 查询参数
@@ -92,7 +93,7 @@ const getInfo = async () => {
const getFileData = async () => {
//如果有问题附件
console.log('000',detailData.value)
//console.log('000',detailData.value)
if (detailData.value.problemPath) {
await getFileNameAndFilePath({ filePath: detailData.value.problemPath }).then(res => {
console.log(res.data)