<template>
|
<div
|
class="v-views-safety-lost-found-detail colorfff page-container"
|
>
|
<div class="g-nav">
|
<img
|
class="nav-icon"
|
:src="require('@/assets/safety/location.png')"
|
alt=""
|
/>
|
<div class="nav-content">
|
<span>安全管理 </span>
|
<i class="el-icon el-icon-arrow-right"></i>
|
<span>安全驾驶详情</span>
|
</div>
|
</div>
|
<div class="content">
|
<div class="detail-wrap">
|
<div class="_box">
|
<div class="title">
|
<span class="title-text">安全驾驶详情</span>
|
</div>
|
<div class="table">
|
<div class="row">
|
<div class="flex">
|
<div class="label"><span>车牌号</span>:</div>
|
<div class="value">
|
{{ detail.licPltNo }}
|
</div>
|
</div>
|
<div class="flex">
|
<div class="label"><span>司机名称</span>:</div>
|
<div class="value">{{ detail.drvName }}</div>
|
</div>
|
<div class="flex">
|
<div class="label"><span>线路名</span>:</div>
|
<div class="value">{{ detail.lineName }}</div>
|
</div>
|
|
</div>
|
<div class="row">
|
|
<div class="flex">
|
<div class="label"><span>经度</span>:</div>
|
<div class="value">{{ detail.geoLng }}</div>
|
</div>
|
<div class="flex">
|
<div class="label"><span>纬度</span>:</div>
|
<div class="value">{{ detail.geoLat }}</div>
|
</div>
|
<div class="label"><span>违规时间</span>:</div>
|
<div class="value">{{ detail.rcrdTime }}</div>
|
</div>
|
<div class="row">
|
<div class="flex">
|
<div class="label"><span>图片网址</span>:</div>
|
<div class="value">{{ detail.picUrl }}</div>
|
</div>
|
</div>
|
<div class="row">
|
<div class="flex">
|
<div class="label"><span>视频网址</span>:</div>
|
<div class="value">{{ detail.videoUrl }}</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="action-bar">
|
<div class="action-item blue pointer" @click="handleClick">确定</div>
|
</div>
|
|
|
|
</div>
|
</div>
|
</div>
|
</template>
|
|
<script>
|
import moment from 'moment'
|
|
export default {
|
name: "qualityDetail",
|
data() {
|
return {
|
id: "",
|
detail: {},
|
};
|
},
|
created() {
|
|
},
|
activated() {
|
this.id = this.$route.query.id;
|
this.loadData();
|
},
|
methods: {
|
handleClick() {
|
this.$router.go(-1);
|
},
|
loadData() {
|
this.$axios
|
.get(`${this.$Interface.safety.driveDetail}`, {
|
params: {id: this.id},
|
})
|
.then((res) => {
|
this.detail = res.data;
|
});
|
},
|
},
|
};
|
</script>
|
|
<style lang="less" scoped>
|
@orange: #1cd1d3;
|
@blue: #3e89d3;
|
.row {
|
display: flex;
|
}
|
|
.pointer {
|
cursor: pointer;
|
}
|
|
.page-container {
|
padding: 25px 30px;
|
padding-bottom: 0;
|
.content {
|
margin-top: 30px;
|
.detail-wrap {
|
width: 100%;
|
|
border: 2px solid #415788;
|
backdrop-filter: blur(2px);
|
margin: auto;
|
position: relative;
|
._box {
|
height: calc(100vh - 300px);
|
overflow: auto;
|
}
|
.title {
|
background: #090f1d;
|
padding: 17px 20px;
|
|
.title-text {
|
display: block;
|
margin-right: 8px;
|
width: 120px;
|
height: 29px;
|
background: #0c1a35;
|
border: 1px solid #47598f;
|
border-radius: 4px;
|
line-height: 29px;
|
text-align: center;
|
}
|
}
|
|
.icon-close {
|
position: absolute;
|
top: 0;
|
right: -3px;
|
width: 42px;
|
cursor: pointer;
|
}
|
|
.row {
|
margin: 0 4px;
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
}
|
|
.table {
|
max-height: calc(100vh - 280px);
|
overflow: auto;
|
// margin-top: 23px;
|
> .row {
|
font-size: 14px;
|
display: flex;
|
align-items: center;
|
padding: 10px 0;
|
|
> div {
|
width: 25%;
|
}
|
|
.label {
|
width: 100px;
|
text-align: right;
|
padding: 16px 0;
|
color: #a3b0d1;
|
line-height: 0;
|
flex-shrink: 0;
|
|
span {
|
display: inline-block;
|
width: 60px;
|
text-align: justify;
|
text-justify: inter-ideograph;
|
vertical-align: top;
|
}
|
|
span:after {
|
content: "";
|
display: inline-block;
|
width: 100%;
|
}
|
}
|
|
.value {
|
padding-left: 24px;
|
line-height: 35px;
|
}
|
|
.row {
|
|
border-bottom: 0;
|
margin-right: 30px;
|
flex-shrink: 0;
|
}
|
._img {
|
width: 137px;
|
}
|
}
|
}
|
|
.action-bar {
|
position: fixed;
|
bottom: 30px;
|
right: 40px;
|
color: #fff;
|
font-size: 14px;
|
margin-top: 20px;
|
|
.action-item:first-child {
|
margin-right: 20px;
|
}
|
|
.action-item {
|
padding: 8px 30px;
|
border-left: 2px solid;
|
border-right: 2px solid;
|
opacity: 0.8;
|
}
|
|
.orange {
|
border-color: #1cd1d3;
|
background-color: rgba(28, 209, 211, 0.1);
|
}
|
|
.blue {
|
border-color: #3e89d3;
|
background-color: rgba(62, 137, 211, 0.1);
|
}
|
}
|
}
|
._form {
|
margin: 20px;
|
color: #fff;
|
}
|
._upload {
|
width: 120px;
|
text-align: center;
|
.avatar-uploader-icon, .avatar {
|
font-size: 30px;
|
line-height: 137px;
|
width: 120px;
|
height: 120px;
|
border-radius: 4px;
|
}
|
.avatar-uploader-icon {
|
border: 1px dashed;
|
}
|
.avatar-uploader-icon:hover {
|
color: #409eff;
|
border: 1px dashed #409eff;
|
}
|
}
|
.action-bar {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
color: #fff;
|
font-size: 14px;
|
.action-item:first-child {
|
margin-right: 96px;
|
}
|
.action-item {
|
padding: 8px 30px;
|
border-left: 2px solid;
|
border-right: 2px solid;
|
opacity: 0.8;
|
}
|
.orange {
|
border-color: @orange;
|
background-color: rgba(28, 209, 211, 0.1);
|
}
|
.blue {
|
border-color: @blue;
|
background-color: rgba(62, 137, 211, 0.1);
|
}
|
}
|
}
|
|
.mask {
|
position: fixed;
|
top: 0;
|
left: 0;
|
z-index: 10;
|
width: 100vw;
|
height: 100vh;
|
background: rgba(0, 0, 0, 0.8);
|
}
|
}
|
</style>
|