预览小眼睛放开
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
{{ detailData.otherRemark }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="盖章报告" v-if="detailData.factoryInspectionReport">
|
||||
<el-icon class="elView" v-if="detailData?.factoryInspectionReport.name && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="detailData?.factoryInspectionReport.name ">
|
||||
<View @click="openFile(detailData?.factoryInspectionReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.factoryInspectionReport.keyName)">
|
||||
@@ -116,7 +116,7 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="佐证材料" v-if="detailData?.informationSecurityTestReport">
|
||||
<el-icon class="elView" v-if="detailData?.informationSecurityTestReport.name && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="detailData?.informationSecurityTestReport.name ">
|
||||
<View @click="openFile(detailData?.informationSecurityTestReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.informationSecurityTestReport.keyName)">
|
||||
@@ -124,25 +124,25 @@
|
||||
</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="计划变更材料" v-if="detailData?.otherAttachments">
|
||||
<el-icon class="elView" v-if="detailData?.otherAttachments.name && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="detailData?.otherAttachments.name ">
|
||||
<View @click="openFile(detailData?.otherAttachments.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.otherAttachments.keyName)">{{ detailData?.otherAttachments.name }}</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="告预警单材料" v-if="detailData?.performanceTestReport">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport.name && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport.name ">
|
||||
<View @click="openFile(detailData?.performanceTestReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.performanceTestReport.keyName)">{{ detailData?.performanceTestReport.name }}</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="告预警单反馈材料" v-if="detailData?.typeExperimentReport">
|
||||
<el-icon class="elView" v-if="detailData?.typeExperimentReport.name && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="detailData?.typeExperimentReport.name ">
|
||||
<View @click="openFile(detailData?.typeExperimentReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.typeExperimentReport.keyName)">{{ detailData?.typeExperimentReport.name }}</span >
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="评估报告" v-if="detailData?.performanceTestReport">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport.name && VITE_FLAG">
|
||||
<el-icon class="elView" v-if="detailData?.performanceTestReport.name ">
|
||||
<View @click="openFile(detailData?.performanceTestReport.name)" />
|
||||
</el-icon>
|
||||
<span class="aLoad" @click="download(detailData?.performanceTestReport.keyName)">{{ detailData?.performanceTestReport.name }}</span >
|
||||
@@ -166,8 +166,7 @@ const { query } = useRoute() // 查询参数
|
||||
const props = defineProps({
|
||||
id: propTypes.string.def(undefined)
|
||||
})
|
||||
const VITE_FLAG = import.meta.env.VITE_NAME == 'jibei'
|
||||
console.log(propTypes.string.def(undefined), '999999999999传参')
|
||||
|
||||
const detailLoading = ref(false) // 表单的加载中
|
||||
const detailData = ref<any>({}) // 详情数据
|
||||
const queryId = query.id as unknown as string // 从 URL 传递过来的 id 编号
|
||||
|
||||
Reference in New Issue
Block a user