Commit 06e2064d authored by 耿迪迪's avatar 耿迪迪

探测器和车辆信息问题修改 gengdidi

parent 892d05c7
...@@ -34,8 +34,8 @@ public class TVehicleLocationInfo extends BaseEntity ...@@ -34,8 +34,8 @@ public class TVehicleLocationInfo extends BaseEntity
private BigDecimal latitude; private BigDecimal latitude;
/** 创建时间 */ /** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date reportTime; private Date reportTime;
/** 是否删除(0正常,1删除) */ /** 是否删除(0正常,1删除) */
......
.gass-vehiche { .gass-vehiche {
.el-table { /*.el-table {
background-color: rgba(0, 0, 0, 0) !important; background-color: rgba(0, 0, 0, 0) !important;
.el-table__body { .el-table__body {
width: 100% !important; width: 100% !important;
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
// margin-left: 1px; // margin-left: 1px;
} }
} }
} }*/
// 滚动条样式 // 滚动条样式
...@@ -69,7 +69,9 @@ ...@@ -69,7 +69,9 @@
.drawer{ .drawer{
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 10px; width: 10px;
background: #012a53; //background: #012a53;
background: #f8f8f9;
position: absolute; position: absolute;
top: 0; top: 0;
//display:none //display:none
...@@ -79,7 +81,7 @@ ...@@ -79,7 +81,7 @@
/*滚动条里面小方块*/ /*滚动条里面小方块*/
// border-radius: 10px; // border-radius: 10px;
// box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
background: #cccccccc; background: #cccccc;
border-radius: 8px; border-radius: 8px;
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
...@@ -101,7 +103,7 @@ ...@@ -101,7 +103,7 @@
.el-pagination { /* .el-pagination {
button:disabled { button:disabled {
background-color: rgba(0, 0, 0, 0); background-color: rgba(0, 0, 0, 0);
} }
...@@ -166,5 +168,5 @@ ...@@ -166,5 +168,5 @@
background-color: rgba(0, 0, 0, 0); background-color: rgba(0, 0, 0, 0);
border-color: #1890ff; border-color: #1890ff;
//color: #fff; //color: #fff;
} }*/
} }
...@@ -139,7 +139,8 @@ ...@@ -139,7 +139,8 @@
z-index: 10; z-index: 10;
top: 0; top: 0;
height: 100%; height: 100%;
background: rgb(49 114 195 / 24%); /* background: rgb(49 114 195 / 24%);*/
background: #FFFFFF;
transition: all 0.5s; transition: all 0.5s;
} }
.main-show { .main-show {
...@@ -163,8 +164,9 @@ ...@@ -163,8 +164,9 @@
padding: 0 15px; padding: 0 15px;
font-size: 15px; font-size: 15px;
font-weight: bold; font-weight: bold;
background: rgb(87 114 153 / 44%); /*background: rgb(87 114 153 / 44%);*/
color: white; background: #f8f8f9;
color:#515a6e;
/* border-bottom: 1px solid #eee;*/ /* border-bottom: 1px solid #eee;*/
.close-btn { .close-btn {
display: inline-block; display: inline-block;
...@@ -186,7 +188,7 @@ ...@@ -186,7 +188,7 @@
} }
.switch { .switch {
position: absolute; position: absolute;
right: -35px; right: -33px;
top: 250px; top: 250px;
i { i {
background: #fff; background: #fff;
......
...@@ -53,13 +53,20 @@ ...@@ -53,13 +53,20 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination <!-- <el-pagination
@current-change="handleCurrentChangvale" @current-change="handleCurrentChangvale"
:page-size="queryParams.pageSize" :page-size="queryParams.pageSize"
layout="prev, pager, next, jumper" layout="prev, pager, next, jumper"
:total="total" :total="total"
:hide-on-single-page="total <= queryParams.pageSize" :hide-on-single-page="total <= queryParams.pageSize"
:key="total + '' + queryParams.pageSize" :key="total + '' + queryParams.pageSize"
/>-->
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/> />
</div> </div>
</drawer> </drawer>
...@@ -288,7 +295,7 @@ export default { ...@@ -288,7 +295,7 @@ export default {
"map", "map",
{ {
center: path, center: path,
mapStyle: "amap://styles/f71d3a3d73e14f5b2bf5508bf1411758", /* mapStyle: "amap://styles/f71d3a3d73e14f5b2bf5508bf1411758",*/
zoom: 14.5, zoom: 14.5,
}, },
this this
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
</el-table-column> </el-table-column>
<el-table-column label="状态" align="center" prop="detectorStatus"> <el-table-column label="状态" align="center" prop="detectorStatus">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.detectorStatus == 0">正常</span> <span v-if="scope.row.detectorStatus == 0" style="color: green">正常</span>
<span v-if="scope.row.detectorStatus == 1">离线</span> <span v-if="scope.row.detectorStatus == 1" style="color: red">离线</span>
<span v-if="scope.row.detectorStatus == 2">报警</span> <span v-if="scope.row.detectorStatus == 2">报警</span>
</template> </template>
</el-table-column> </el-table-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment