|
|
|
@ -3,27 +3,28 @@
|
|
|
|
|
<div class="personage-track">
|
|
|
|
|
<div class="track-title">
|
|
|
|
|
<div class="titlebg"></div>
|
|
|
|
|
<span class="name">{{ person ? '李飞':'执法一队1号车' }}</span>
|
|
|
|
|
<span>{{ person ? '执法1队队员':'苏A568974' }}</span>
|
|
|
|
|
<span class="name">{{ person ? "李飞" : "执法一队1号车" }}</span>
|
|
|
|
|
<span>{{ person ? "执法1队队员" : "苏A568974" }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="track-content">
|
|
|
|
|
<div class="oneList">
|
|
|
|
|
<div class="item" :class="person ? 'item-left':'car-item'">
|
|
|
|
|
<div class="item" :class="person ? 'item-left' : 'car-item'">
|
|
|
|
|
<div class="ball"></div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
{{ person ? '人员编号:':'车辆编号:' }}<span>{{ person ? '201128881111100':'201128881111100' }}</span>
|
|
|
|
|
{{ person ? "人员编号:" : "车辆编号:"
|
|
|
|
|
}}<span>{{
|
|
|
|
|
person ? "201128881111100" : "201128881111100"
|
|
|
|
|
}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item car-item" v-if="!person">
|
|
|
|
|
<div class="item car-item" v-if="!person">
|
|
|
|
|
<div class="ball"></div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
驾驶员姓名:<span>张三</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content">驾驶员姓名:<span>张三</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="ball"></div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
当前状态:<span>{{ person ? '移动中':'行驶中' }}</span>
|
|
|
|
|
当前状态:<span>{{ person ? "移动中" : "行驶中" }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -58,16 +59,20 @@
|
|
|
|
|
placeholder="结束时间"
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
<img class="data_icon" src="@/assets/images/timeIcon.png" alt="">
|
|
|
|
|
<img
|
|
|
|
|
class="data_icon"
|
|
|
|
|
src="@/assets/images/timeIcon.png"
|
|
|
|
|
alt=""
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btns reset">
|
|
|
|
|
<img src="@/assets/images/reset.png" alt="">
|
|
|
|
|
<img src="@/assets/images/reset.png" alt="" />
|
|
|
|
|
<span>重置</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btns">
|
|
|
|
|
<img src="@/assets/images/inquire.png" alt="">
|
|
|
|
|
<img src="@/assets/images/inquire.png" alt="" />
|
|
|
|
|
<span>查询</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -83,7 +88,7 @@
|
|
|
|
|
<!-- <div id="personageTrackMap">
|
|
|
|
|
|
|
|
|
|
</div> -->
|
|
|
|
|
<img src="@/assets/images/minMap.png" alt="">
|
|
|
|
|
<img src="@/assets/images/minMap.png" alt="" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -92,37 +97,37 @@
|
|
|
|
|
</dia-log>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import diaLog from "../../components/dialog/index.vue"
|
|
|
|
|
import diaLog from "../../components/dialog/index.vue";
|
|
|
|
|
export default {
|
|
|
|
|
components:{diaLog},
|
|
|
|
|
components: { diaLog },
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
startTime:'',
|
|
|
|
|
title:'人员行程轨迹',
|
|
|
|
|
person:false,
|
|
|
|
|
endTime:'',
|
|
|
|
|
heightStyle:{
|
|
|
|
|
height:'500px'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
startTime: "",
|
|
|
|
|
title: "人员行程轨迹",
|
|
|
|
|
person: false,
|
|
|
|
|
endTime: "",
|
|
|
|
|
heightStyle: {
|
|
|
|
|
height: "500px",
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
methods: {
|
|
|
|
|
open(person) {
|
|
|
|
|
console.log(person)
|
|
|
|
|
if(person == 'person'){
|
|
|
|
|
this.title = '人员行程轨迹'
|
|
|
|
|
// console.log(person)
|
|
|
|
|
if (person == "person") {
|
|
|
|
|
this.title = "人员行程轨迹";
|
|
|
|
|
this.person = true;
|
|
|
|
|
} else {
|
|
|
|
|
this.title = '车辆行程轨迹'
|
|
|
|
|
this.title = "车辆行程轨迹";
|
|
|
|
|
this.person = false;
|
|
|
|
|
}
|
|
|
|
|
this.$refs.dialog.open('1');
|
|
|
|
|
this.$refs.dialog.open("1");
|
|
|
|
|
},
|
|
|
|
|
Close() {
|
|
|
|
|
this.$refs.dialog.Close();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.personage-track {
|
|
|
|
@ -136,15 +141,15 @@ export default {
|
|
|
|
|
top: -18px;
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
background-image: url('../../../assets/images/personnel.png');
|
|
|
|
|
background-image: url("../../../assets/images/personnel.png");
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Source Han Sans CN-Medium';
|
|
|
|
|
font-family: "Source Han Sans CN-Medium";
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #E9F4FF;
|
|
|
|
|
color: #e9f4ff;
|
|
|
|
|
line-height: 14px;
|
|
|
|
|
}
|
|
|
|
|
.name {
|
|
|
|
@ -165,22 +170,23 @@ export default {
|
|
|
|
|
.ball {
|
|
|
|
|
width: 4px;
|
|
|
|
|
height: 4px;
|
|
|
|
|
background: #DAEBFF;
|
|
|
|
|
box-shadow: 0px 0px 10px 5px rgba(0,119,255,0.25), 0px 0px 5px 0px rgba(229,241,255,0.25);
|
|
|
|
|
background: #daebff;
|
|
|
|
|
box-shadow: 0px 0px 10px 5px rgba(0, 119, 255, 0.25),
|
|
|
|
|
0px 0px 5px 0px rgba(229, 241, 255, 0.25);
|
|
|
|
|
border-radius: 20px 20px 20px 20px;
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
}
|
|
|
|
|
.content {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Source Han Sans CN-Medium';
|
|
|
|
|
font-family: "Source Han Sans CN-Medium";
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #CCCCCC;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
span {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Source Han Sans CN-Medium';
|
|
|
|
|
font-family: "Source Han Sans CN-Medium";
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #E9F4FF;
|
|
|
|
|
color: #e9f4ff;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -199,8 +205,9 @@ export default {
|
|
|
|
|
.ball {
|
|
|
|
|
width: 4px;
|
|
|
|
|
height: 4px;
|
|
|
|
|
background: #DAEBFF;
|
|
|
|
|
box-shadow: 0px 0px 10px 5px rgba(0,119,255,0.25), 0px 0px 5px 0px rgba(229,241,255,0.25);
|
|
|
|
|
background: #daebff;
|
|
|
|
|
box-shadow: 0px 0px 10px 5px rgba(0, 119, 255, 0.25),
|
|
|
|
|
0px 0px 5px 0px rgba(229, 241, 255, 0.25);
|
|
|
|
|
border-radius: 20px 20px 20px 20px;
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
}
|
|
|
|
@ -208,12 +215,12 @@ export default {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Source Han Sans CN-Medium';
|
|
|
|
|
font-family: "Source Han Sans CN-Medium";
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #CCCCCC;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
.time-query {
|
|
|
|
|
background-image: url('../../../assets/images/timebg.png');
|
|
|
|
|
background-image: url("../../../assets/images/timebg.png");
|
|
|
|
|
width: 440px;
|
|
|
|
|
height: 35px;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
@ -223,7 +230,8 @@ export default {
|
|
|
|
|
::v-deep .el-input__prefix {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
.star-time,.end-time {
|
|
|
|
|
.star-time,
|
|
|
|
|
.end-time {
|
|
|
|
|
position: relative;
|
|
|
|
|
.data_icon {
|
|
|
|
|
position: absolute;
|
|
|
|
@ -240,25 +248,25 @@ export default {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 35px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Source Han Sans CN-Medium';
|
|
|
|
|
font-family: "Source Han Sans CN-Medium";
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #E9F4FF;
|
|
|
|
|
color: #e9f4ff;
|
|
|
|
|
}
|
|
|
|
|
.el-input__inner::placeholder {
|
|
|
|
|
/* 在这里添加你想要修改的 placeholder 样式 */
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Source Han Sans CN-Regular';
|
|
|
|
|
font-family: "Source Han Sans CN-Regular";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #D3EEF2;
|
|
|
|
|
color: #d3eef2;
|
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
-webkit-text-fill-color: rgba(211,238,242,0.2);
|
|
|
|
|
-webkit-text-fill-color: rgba(211, 238, 242, 0.2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.symbol {
|
|
|
|
|
width: 14px;
|
|
|
|
|
height: 6px;
|
|
|
|
|
background-image: url('../../../assets/images/routeTime.png');
|
|
|
|
|
background-image: url("../../../assets/images/routeTime.png");
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -266,7 +274,7 @@ export default {
|
|
|
|
|
.btns {
|
|
|
|
|
width: 92px;
|
|
|
|
|
height: 35px;
|
|
|
|
|
background-image: url('../../../assets/images/inquirebg.png');
|
|
|
|
|
background-image: url("../../../assets/images/inquirebg.png");
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
@ -277,14 +285,14 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Source Han Sans CN-Regular';
|
|
|
|
|
font-family: "Source Han Sans CN-Regular";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.reset {
|
|
|
|
|
background-image: url('../../../assets/images/resetbg.png');
|
|
|
|
|
background-image: url("../../../assets/images/resetbg.png");
|
|
|
|
|
margin: 0 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -300,16 +308,17 @@ export default {
|
|
|
|
|
.ball {
|
|
|
|
|
width: 4px;
|
|
|
|
|
height: 4px;
|
|
|
|
|
background: #DAEBFF;
|
|
|
|
|
box-shadow: 0px 0px 10px 5px rgba(0,119,255,0.25), 0px 0px 5px 0px rgba(229,241,255,0.25);
|
|
|
|
|
background: #daebff;
|
|
|
|
|
box-shadow: 0px 0px 10px 5px rgba(0, 119, 255, 0.25),
|
|
|
|
|
0px 0px 5px 0px rgba(229, 241, 255, 0.25);
|
|
|
|
|
border-radius: 20px 20px 20px 20px;
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
}
|
|
|
|
|
.contentTitle {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-family: 'Source Han Sans CN-Medium';
|
|
|
|
|
font-family: "Source Han Sans CN-Medium";
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #CCCCCC;
|
|
|
|
|
color: #cccccc;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -330,6 +339,5 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|