evalOrderDetail.vue 1.81 KB
<!-- 评估单详情 -->
<template>
    <div v-loading="loading" class="evalOrderDetail">
        <template v-if="detailInfo">
            <div class="layout">
                <!-- 车辆信息 -->
                <vehicle-info :detail-info="detailInfo"></vehicle-info>
                <!-- 总部定价师估价与意见 -->
                <assess-info :detail-info="detailInfo"></assess-info>
                <checkInfo :detail-info="detailInfo"></checkInfo>
                <!-- 评估动态 -->
                <dynamics :dynamics-data="dynamicsData"></dynamics>
            </div>

            <div class="footer">
                <el-button class="cancel-btn" @click="handleCancel">
                    关闭
                </el-button>
            </div>
        </template>
    </div>
</template>

<script>
import reportTrackPageMixin from "@/mixins/reportTrackPageMixin";
import { evaluateMixin } from "./components/evaluateMixin";

export default {
	mixins: [evaluateMixin, reportTrackPageMixin],
	data() {
		return {
			loading: false,
			trackBusinessParam: {},
			track_event_code: "evaluate_management_detail",
			track_businessParam_key: "trackBusinessParam",
		};
	},
	mounted() {
		this.loading = true;
		this.trackBusinessParam = { evalOrderNo: this.evalOrderNo };
		this.onPageShow();
	},
	methods: {},
};
</script>

<style lang="scss" scoped>
.evalOrderDetail {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	.footer {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: 20px;
		cursor: pointer;
		.cancel-btn {
			color: #666666;
			font-size: 14px;
			width: 56px;
			padding: 5px 14px;
			height: 32px;
			border-radius: 4px;
			background: #e8e8e8;
			line-height: 22px;
			box-sizing: border-box;
		}
	}
}
.layout {
	height: calc(100% - 65px);
	overflow-y: scroll;
}
</style>