微调
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: '取消',
|
||||
|
||||
Reference in New Issue
Block a user