电能质量异常管理,谐波测试计划管理bug修改

This commit is contained in:
sjl
2025-12-18 16:09:44 +08:00
parent 92aa66436e
commit 909f43e257
20 changed files with 325 additions and 137 deletions

View File

@@ -27,7 +27,7 @@
<el-icon class="elView" v-if="detailData?.reportPaths?.fileName">
<View @click="openFile(detailData?.reportPaths?.fileName)" />
</el-icon>
<a :href="detailData.reportPaths?.url">
<a class="aLoad" @click="download(detailData.reportPaths?.keyName)">
{{ detailData.reportPaths?.fileName }}
</a>
</el-descriptions-item>
@@ -46,6 +46,7 @@ import { propTypes } from '@/utils/propTypes'
import { getInfoById } from '@/api/supervision-boot/cycleDetection/index'
import { getFileNameAndFilePath } from '@/api/system-boot/file'
import { useDictData } from '@/stores/dictData'
import {download} from '@/utils/fileDownLoad'
import { Link, View } from '@element-plus/icons-vue'
const { query } = useRoute() // 查询参数
const openFile = (name: any) => {
@@ -69,6 +70,7 @@ const getInfo = async () => {
detailData.value = res.data
})
await getFileNameAndFilePath({ filePath: detailData.value.checkFilePath }).then((res: any) => {
detailData.value.keyName = res.data.name
detailData.value.reportPaths = res.data
})
} finally {