Commit 22eeb323 by yancanhua

fix: 测试问题修改

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