电能质量异常管理,谐波测试计划管理bug修改
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<el-icon class="elView" v-if="item?.fileName">
|
||||
<View @click="openFile(item?.fileName)" />
|
||||
</el-icon>
|
||||
<a :href="item.url">
|
||||
<a class="aLoad" @click="download(item.keyName)">
|
||||
{{ item.fileName }}
|
||||
</a>
|
||||
</div>
|
||||
@@ -61,6 +61,9 @@ import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import { defaultAttribute } from '@/components/table/defaultAttribute'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import { Link, View } from '@element-plus/icons-vue'
|
||||
import{ download} from '@/utils/fileDownLoad'
|
||||
import { util } from 'echarts'
|
||||
import { it } from 'node:test'
|
||||
const { query } = useRoute() // 查询参数
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
@@ -86,6 +89,7 @@ const getInfo = async () => {
|
||||
|
||||
arr.slice(0, -1).forEach((item: any) => {
|
||||
getFileNameAndFilePath({ filePath: item }).then((res: any) => {
|
||||
res.data.keyName = res.data.name
|
||||
aList.value.push(res.data)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user