预览小眼睛放开
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="技术监督报告:" v-if="showFile1">
|
||||
<el-icon class="elView" v-if="supervisionReportDetail?.supervisionReportName && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="supervisionReportDetail?.supervisionReportName ">
|
||||
<View @click="openFile(supervisionReportDetail?.supervisionReportName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">
|
||||
@@ -21,7 +21,7 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="问题附件:" v-if="showFile">
|
||||
<el-icon class="elView" v-if="problemDetail?.problemName && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="problemDetail?.problemName ">
|
||||
<View @click="openFile(problemDetail?.problemName)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(supervisionReportDetail.keyName)" target="_blank">{{ problemDetail.problemName }}</span >
|
||||
@@ -63,7 +63,7 @@ import { Link, View } from '@element-plus/icons-vue'
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
|
||||
//.doc,.docx,.xlsx,.xls,.pdf
|
||||
const acceptType = ref('')
|
||||
//下拉数据源
|
||||
|
||||
Reference in New Issue
Block a user