Commit 22eeb323 by yancanhua

fix: 测试问题修改

1 parent d679d2c8
<template>
<div>
<div class="titleBox">
<a-button style="float: right;" @click="handleBack()">返回列表</a-button>
</div>
<div style="width: 100%;float: left;">
<a-card class="tabs-card" :bordered="false" :tab-list="tabs" :active-tab-key="tabKey"
@tabChange="key => changeTab(key)">
<!-- 检测报告 -->
<div v-if="tabKey === 'REPORT'" style="width: 100%;float: left;">
<orderReport :pageData="pageData.inspectionWORespVO || {}"
:inspectionReportResp="pageData.inspectionReportRespVO || {}" />
</div>
<!-- 工单详情 -->
<div v-if="tabKey === 'DETAIL'" style="width: 100%;float: left;">
<orderDetails ref="orderDetailsRef" :pageData="pageData.inspectionWORespVO || {}"
:inspectionReportResp="pageData.inspectionReportRespVO || {}" />
</div>
<div v-if="actionStatus == 'AUDIT' && (pageData?.inspectionWORespVO?.status == 3 && pageData?.inspectionWORespVO?.auditStatus == 1)"
class="actionBox">
<a-button type="primary" @click="handleAudit('PASS')">审核通过</a-button>
<a-button @click="handleAudit('REJECT')" style="margin-left: 8px;">审核驳回</a-button>
</div>
<!-- 操作日志 -->
<div style="width: 100%;float: left;margin-top: 16px;">
<a-descriptions :column="1" size="small" layout="vertical">
<template #title>
<div style="width: 100%;float: left; position: relative;">
<a-card class="tabs-card" :bordered="false" :tab-list="tabs" :active-tab-key="tabKey"
@tabChange="key => changeTab(key)">
<div class="titleBox">
<a-button style="float: right;" @click="handleBack()">返回列表</a-button>
</div>
<!-- 检测报告 -->
<div v-if="tabKey === 'REPORT'" style="width: 100%;float: left;">
<orderReport :pageData="pageData.inspectionWORespVO || {}"
:inspectionReportResp="pageData.inspectionReportRespVO || {}" />
</div>
<!-- 工单详情 -->
<div v-if="tabKey === 'DETAIL'" style="width: 100%;float: left;">
<orderDetails ref="orderDetailsRef" :pageData="pageData.inspectionWORespVO || {}"
:inspectionReportResp="pageData.inspectionReportRespVO || {}" />
</div>
<div v-if="actionStatus == 'AUDIT' && (pageData?.inspectionWORespVO?.status == 3 && pageData?.inspectionWORespVO?.auditStatus == 1)"
class="actionBox">
<a-button type="primary" @click="handleAudit('PASS')">审核通过</a-button>
<a-button @click="handleAudit('REJECT')" style="margin-left: 8px;">审核驳回</a-button>
</div>
<!-- 操作日志 -->
<div style="width: 100%;float: left;margin-top: 16px;">
<a-descriptions :column="1" size="small" layout="vertical">
<template #title>
<div>
<div>
<div>
<title-tip-icon></title-tip-icon>
操作日志
</div>
<div @click="handleFold(false)" v-if="isShowFold" class="foldBox">收起
<DoubleLeftOutlined color="#666666" font-size="13px;"
style="transform: rotate(90deg);" />
</div>
<div @click="handleFold(true)" v-else class="foldBox">展开
<DoubleLeftOutlined color="#666666" font-size="13px;"
style="transform: rotate(270deg);" />
</div>
<title-tip-icon></title-tip-icon>
操作日志
</div>
<div class="title-line"></div>
</template>
<a-descriptions-item v-if="isShowFold" label="">
<OperationLog ref="operationLogRef" :operationLogData="pageData" />
</a-descriptions-item>
</a-descriptions>
</div>
</a-card>
<reviewDialog ref="reviewDialogRef" @handleOk="getDetailData" />
</div>
<div @click="handleFold(false)" v-if="isShowFold" class="foldBox">收起
<DoubleLeftOutlined color="#666666" font-size="13px;"
style="transform: rotate(90deg);" />
</div>
<div @click="handleFold(true)" v-else class="foldBox">展开
<DoubleLeftOutlined color="#666666" font-size="13px;"
style="transform: rotate(270deg);" />
</div>
</div>
<div class="title-line"></div>
</template>
<a-descriptions-item v-if="isShowFold" label="">
<OperationLog ref="operationLogRef" :operationLogData="pageData" />
</a-descriptions-item>
</a-descriptions>
</div>
</a-card>
<reviewDialog ref="reviewDialogRef" @handleOk="getDetailData" />
</div>
</template>
<script lang="ts">
......@@ -135,9 +133,10 @@ export default class DetectionOrderView extends PaginationComponent<Vehicle> {
<style scoped lang="less">
.titleBox {
width: 100%;
position: absolute;
top: 70px;
right: 0;
height: 32px;
float: left;
}
.title-line {
......
<template>
<div>
<div class="pageBox_title">
二手车检测报告 <span v-if="inspectionReportResp?.woId"> 报告编号:{{ inspectionReportResp?.woId }} </span>
二手车检测报告 <span v-if="inspectionReportResp?.reportNo"> 报告编号:{{ inspectionReportResp?.reportNo }} </span>
</div>
<div v-if="inspectionReportResp?.h5Url">
<iframe :src="inspectionReportResp?.h5Url" frameborder="0" class="iframe-content"></iframe>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!