修改文件查看只有冀北可行
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="报告文件">
|
||||
<el-icon class="elView" v-if="detailData?.reportPaths?.fileName">
|
||||
<el-icon class="elView" v-if="detailData?.reportPaths?.fileName &&VITE_FLAG">
|
||||
<View @click="openFile(detailData?.reportPaths?.fileName)" />
|
||||
</el-icon>
|
||||
<a class="aLoad" @click="download(detailData.reportPaths?.keyName)">
|
||||
@@ -52,6 +52,7 @@ const { query } = useRoute() // 查询参数
|
||||
const openFile = (name: any) => {
|
||||
window.open(window.location.origin + '/#/previewFile?/supervision/' + name)
|
||||
}
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
const props = defineProps({
|
||||
id: propTypes.string.def(undefined)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user