修改 电能质量 在线监测页面

This commit is contained in:
GGJ
2024-06-26 16:05:22 +08:00
parent 7b7b8b0b89
commit 531ed72641
5 changed files with 106 additions and 27 deletions

View File

@@ -20,6 +20,7 @@ import { useRouter } from 'vue-router'
import { cancelFeedback } from '@/api/supervision-boot/leaflet'
import { useAdminInfo } from '@/stores/adminInfo'
import { useDictData } from '@/stores/dictData'
import { getFileNameAndFilePath } from '@/api/system-boot/file'
const dictData = useDictData()
//获取登陆用户姓名和部门
const adminInfo = useAdminInfo()
@@ -195,6 +196,19 @@ const tableStore = new TableStore({
)
}
},
{
name: 'productSetting',
title: '报告下载',
type: 'primary',
icon: 'el-icon-EditPen',
render: 'basicButton',
disabled: row => {
return row.problemType != 2
},
click: row => {
window.open(row.filePath)
}
},
{
name: 'cancel',
title: '取消',