修改冀北现场问题
This commit is contained in:
@@ -114,8 +114,8 @@
|
||||
<!--文件地址-->
|
||||
<el-descriptions-item label="主接线图" v-if="detailData?.mainWiringDiagram">
|
||||
<el-icon class="elView" v-if="detailData?.mainWiringDiagram.name">
|
||||
<View @click="openFile(detailData?.mainWiringDiagram.name)" />
|
||||
</el-icon>
|
||||
<View @click="openFile(detailData?.mainWiringDiagram.name)" />
|
||||
</el-icon>
|
||||
<a target="_blank" :href="detailData?.mainWiringDiagram.url">
|
||||
{{ detailData?.mainWiringDiagram.name }}
|
||||
</a>
|
||||
@@ -130,9 +130,9 @@ import { propTypes } from '@/utils/propTypes'
|
||||
import { getTempLineDetailsById } from '@/api/supervision-boot/monitorpoint/index'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import { getFileNameAndFilePath } from '@/api/system-boot/file'
|
||||
import { Link,View } from '@element-plus/icons-vue'
|
||||
import { Link, View } from '@element-plus/icons-vue'
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?' + name)
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
defineOptions({ name: 'BpmUserReportDetail' })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user