修改冀北问题
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="1" label="处理成效报告">
|
||||
<el-icon class="elView " v-if="list?.reportName" >
|
||||
<View @click="openFile(list?.reportName)" />
|
||||
<View @click="openFile(list?.reportPath)" />
|
||||
</el-icon>
|
||||
<a :href="list.reportPath" target="_blank">{{ list.reportName }}</a>
|
||||
</el-descriptions-item>
|
||||
@@ -73,7 +73,7 @@ const open = (row: any) => {
|
||||
})
|
||||
}
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
window.open(window.location.origin + '/#/previewFile?' + name)
|
||||
}
|
||||
|
||||
defineExpose({ open })
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="处理成效报告">
|
||||
<el-icon class="elView " v-if="list?.reportName">
|
||||
<View @click="openFile(list?.reportName)" />
|
||||
<View @click="openFile(list?.reportPath)" />
|
||||
</el-icon>
|
||||
<a :href="list.reportPath" target="_blank">{{ list.reportName }}</a>
|
||||
</el-descriptions-item>
|
||||
|
||||
@@ -36,7 +36,7 @@ const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
|
||||
import { mainHeight } from '@/utils/layout'
|
||||
defineOptions({
|
||||
name: 'supervision/electricitymanagement'
|
||||
name: 'supervision/electricitymanagement1'
|
||||
})
|
||||
const tabList = ref(['1', '2', '3', '4'])
|
||||
const activeName = ref('1')
|
||||
|
||||
Reference in New Issue
Block a user