This commit is contained in:
sjl
2026-01-06 08:35:36 +08:00
parent fd09e24cf0
commit cb19fef4c6
88 changed files with 117 additions and 135 deletions

View File

@@ -155,7 +155,7 @@ onMounted(() => {
}
})
const submit = (num: number) => {
console.log(prop.addData.problemSources)
//console.log(prop.addData.problemSources)
form1Ref.value.validate(async (valid: any) => {
if (valid) {

View File

@@ -403,7 +403,7 @@ const changeAlarm = e => {
let flagList = exceeded.filter(item => item.name == '谐波电压' || item.name == '谐波电流').map(item => item.id)
// 发起预警单
const launch = (title: string) => {
console.log('🚀 ~ flagList:', flagList)
// console.log('🚀 ~ flagList:', flagList)
if (tableStore.table.selection.length == 0) {
ElMessage.warning('请选择一条数据')
@@ -420,7 +420,7 @@ const launch = (title: string) => {
return
}
console.log('🚀 ~ launch ~ list.value:', tableStore.table.selection)
// console.log('🚀 ~ launch ~ list.value:', tableStore.table.selection)
alarmListRef.value.open({
text: title,

View File

@@ -432,7 +432,7 @@ const getInfo = async () => {
try {
userReportGoNetById({ id: props.id }).then(r => {
getUserReportById(r.data.userReportId).then(res => {
console.log("🚀 ~ getInfo ~ res:", res)
// console.log("🚀 ~ getInfo ~ res:", res)
detailData.value = res.data
detailData.value.otherReport = r.data.otherReport
detailData.value.simulationReport = r.data.simulationReport

View File

@@ -156,10 +156,8 @@ const tableStore = new TableStore({
// }
// return true;
},
click: row => {
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
// window.open(window.location.origin + '/#/previewFile?' + match[1])
window.open(window.location.origin + '/#/previewFile?/' + row.absFilePath)
}
@@ -174,16 +172,10 @@ const tableStore = new TableStore({
return row.problemType != 2
},
click: row => {
//window.open(row.filePath)
// const match = row.filePath.match(/excelreport(\/[^?#]*)/)
// const decodedPath = decodeURI(match[1]) // 解码URL中的中文字符
download('/' + row.absFilePath)
//download('/supervision/微服务系统测试页面功能-20251224合并版本.docx')
//download('/onlineReport/电能[预]2025年18号-张家口地市 电能质量技术监督预警单.docx')
}
},
// {
@@ -281,7 +273,6 @@ const tableStore = new TableStore({
)
}
},
{
name: 'cancel',
title: '取消',