Commit 2a693e33 by yancanhua

fix: 车辆检测自测问题修改

1 parent 7bcba797
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<!-- 检测报告 --> <!-- 检测报告 -->
<div v-if="tabKey === 'REPORT'" style="width: 100%;float: left;"> <div v-if="tabKey === 'REPORT'" style="width: 100%;float: left;">
<orderReport :pageData="pageData.inspectionWORespVO || {}" /> <orderReport :pageData="pageData.inspectionWORespVO || {}" :inspectionReportResp="pageData.inspectionReportRespVO || {}" />
</div> </div>
<!-- 工单详情 --> <!-- 工单详情 -->
......
<template> <template>
<div> <div>
<div class="pageBox_title"> <div class="pageBox_title">
二手车检测报告 <span> 报告编号:GL202603120015</span> 二手车检测报告 <span v-if="inspectionReportResp?.woId"> 报告编号:{{ inspectionReportResp?.woId }} </span>
</div>
<div v-if="inspectionReportResp?.h5Url">
<iframe :src="inspectionReportResp?.h5Url" frameborder="0" class="iframe-content"></iframe>
</div>
<div v-else style="width: 100%;height: 32px;line-height: 32px;text-align: center;color: #9ca0a8;">
暂无报告
</div> </div>
</div> </div>
</template> </template>
...@@ -20,6 +26,9 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> { ...@@ -20,6 +26,9 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
@Prop({ type: Object, required: true }) @Prop({ type: Object, required: true })
pageData: any; pageData: any;
@Prop({ type: Object, required: true })
inspectionReportResp: any;
} }
</script> </script>
...@@ -42,4 +51,9 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> { ...@@ -42,4 +51,9 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
} }
.iframe-content {
width: 100%;
height: 960px;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!