2024-9-27 测速设备补充
This commit is contained in:
parent
ea19dadc9f
commit
f43f9824e9
BIN
src/assets/images/back-came.png
Normal file
BIN
src/assets/images/back-came.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 552 B |
@ -64,7 +64,8 @@ export default new Vuex.Store({
|
||||
// FILEURL: "http://http://192.168.34.155:19111/image/", //洁本地
|
||||
// UPLOADURL: 'http://192.168.34.221:9111/upload/image/', // 郭圣雄本地
|
||||
// FILEURL: 'http://192.168.34.221:9111/image/', //郭圣雄本地
|
||||
WORKFLOWURL: "http://192.168.34.216:88/#/workspace/forms", //jiayu工作流地址(本地)
|
||||
WORKFLOWURL: "http://101.43.164.214:11111/#/workspace/forms", //jiayu工作流地址(本地)
|
||||
// WORKFLOWURL: "http://192.168.34.216:88/#/workspace/forms", //jiayu工作流地址(本地)
|
||||
// WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地)
|
||||
// WORKFLOWURL: "http://192.168.34.129:88/#/workspace/forms", //罗峰工作流地址(本地)
|
||||
CONTRACTORURL: process.env.NODE_ENV == "development" ? "http://192.168.34.129:5174/#/contractorApply" : `${window.location.protocol}//${window.location.host}/contractorApply/index.html#/contractorApply`, //罗峰承包商入场地址(本地)
|
||||
|
||||
@ -25,16 +25,16 @@
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column width="300" prop="deviceAddress" align="center" label="设备地址"></el-table-column>
|
||||
<el-table-column width="300" prop="recordTime" align="center" label="备案时间">
|
||||
</el-table-column>
|
||||
<el-table-column width="300" prop="recordTime" align="center" label="备案时间"></el-table-column>
|
||||
|
||||
<el-table-column :label="$t('message.alarmValueSet.operation')" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div class="tableBtns">
|
||||
<div @click="onsholdswtich(scope.row)" class="operationText">
|
||||
<!-- <img src="@/assets/images/icon-edit.png" width="15px" height="15px" /> -->
|
||||
<img src="@/assets/images/back-came.png" width="15px" height="15px" />
|
||||
<span>阈值设置</span>
|
||||
</div>
|
||||
|
||||
<div @click="edit(scope.row)" class="operationText">
|
||||
<img src="@/assets/images/icon-edit.png" width="15px" height="15px" />
|
||||
<span>{{$t('message.alarmValueSet.edit')}}</span>
|
||||
@ -51,6 +51,7 @@
|
||||
|
||||
<div class="Pagination-but">
|
||||
<el-pagination
|
||||
class="pagerBox"
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="pageInfo.pageNo"
|
||||
@ -58,6 +59,7 @@
|
||||
:page-size="pageInfo.pageSize"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="pageInfo.total"
|
||||
background
|
||||
></el-pagination>
|
||||
</div>
|
||||
|
||||
@ -224,56 +226,56 @@ export default {
|
||||
message: "请输入",
|
||||
trigger: "blur"
|
||||
}
|
||||
],
|
||||
enabled: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择",
|
||||
trigger: "blur"
|
||||
}
|
||||
],
|
||||
enterpriseIds: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择",
|
||||
trigger: "blur"
|
||||
}
|
||||
],
|
||||
deviceAddress: [
|
||||
{
|
||||
required: true,
|
||||
message: "请输入",
|
||||
trigger: "blur"
|
||||
}
|
||||
],
|
||||
camera: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择",
|
||||
trigger: "blur"
|
||||
}
|
||||
],
|
||||
alarmPusher: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择",
|
||||
trigger: "blur"
|
||||
}
|
||||
],
|
||||
lng: [
|
||||
{
|
||||
required: true,
|
||||
message: "请输入",
|
||||
trigger: "blur"
|
||||
}
|
||||
],
|
||||
lat: [
|
||||
{
|
||||
required: true,
|
||||
message: "请输入",
|
||||
trigger: "blur"
|
||||
}
|
||||
]
|
||||
// enabled: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请选择",
|
||||
// trigger: "blur"
|
||||
// }
|
||||
// ],
|
||||
// enterpriseIds: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请选择",
|
||||
// trigger: "blur"
|
||||
// }
|
||||
// ],
|
||||
// deviceAddress: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请输入",
|
||||
// trigger: "blur"
|
||||
// }
|
||||
// ],
|
||||
// camera: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请选择",
|
||||
// trigger: "blur"
|
||||
// }
|
||||
// ],
|
||||
// alarmPusher: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请选择",
|
||||
// trigger: "blur"
|
||||
// }
|
||||
// ],
|
||||
// lng: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请输入",
|
||||
// trigger: "blur"
|
||||
// }
|
||||
// ],
|
||||
// lat: [
|
||||
// {
|
||||
// required: true,
|
||||
// message: "请输入",
|
||||
// trigger: "blur"
|
||||
// }
|
||||
// ]
|
||||
},
|
||||
List: [],
|
||||
Popup: {
|
||||
@ -497,11 +499,15 @@ export default {
|
||||
position: relative;
|
||||
|
||||
.Pagination-but {
|
||||
// padding: 20px 0;
|
||||
width: 100%;
|
||||
padding: 20px 0;
|
||||
// background: skyblue;
|
||||
position: absolute;
|
||||
bottom: 30px;
|
||||
right: 20px;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -30,14 +30,33 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" @click="getList">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
||||
<el-button
|
||||
v-permission="{
|
||||
key: 'clgl_query',
|
||||
menuPath: '/project/carManage/carManage',
|
||||
}"
|
||||
type="primary"
|
||||
size="medium"
|
||||
plain
|
||||
@click="getList"
|
||||
>搜索</el-button>
|
||||
<el-button
|
||||
v-permission="{
|
||||
key: 'clgl_refresh',
|
||||
menuPath: '/project/carManage/carManage',
|
||||
}"
|
||||
type="warning"
|
||||
size="medium"
|
||||
plain
|
||||
@click="resetQuery"
|
||||
>刷新</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
<div class="table_wrap whiteBlock">
|
||||
<el-table class="tables" :data="List" height="520px">
|
||||
<el-table-column prop="deviceName" align="center" label="抓拍设备"></el-table-column>
|
||||
<el-table-column prop="carNumber" align="center" label="车牌号"></el-table-column>
|
||||
|
||||
<el-table-column prop="isExceed" align="center" label="是否超出阈值">
|
||||
@ -55,8 +74,8 @@
|
||||
<template slot-scope="scope">
|
||||
<el-image
|
||||
style="width: 50px; height: 50px"
|
||||
:src="scope.row.snapshotImage"
|
||||
:preview-src-list="[scope.row.snapshotImage]"
|
||||
:src="$store.state.FILEURL + scope.row.snapshotImage"
|
||||
:preview-src-list="[$store.state.FILEURL + scope.row.snapshotImage]"
|
||||
>
|
||||
<div slot="error" class="image-slot">
|
||||
<i class="el-icon-picture-outline"></i>
|
||||
@ -70,6 +89,7 @@
|
||||
|
||||
<div class="Pagination-but">
|
||||
<el-pagination
|
||||
class="pagerBox"
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:current-page="pageInfo.pageNo"
|
||||
@ -77,6 +97,7 @@
|
||||
:page-size="pageInfo.pageSize"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="pageInfo.total"
|
||||
background
|
||||
></el-pagination>
|
||||
</div>
|
||||
</div>
|
||||
@ -134,7 +155,16 @@ export default {
|
||||
uploadTime_end: ""
|
||||
},
|
||||
// 上传时间
|
||||
updateDate: []
|
||||
updateDate: [
|
||||
new Date(new Date().setHours(8, 0, 0, 0))
|
||||
.toISOString()
|
||||
.slice(0, 19)
|
||||
.replace("T", " "),
|
||||
new Date(new Date().setHours(32, 0, 0, 0))
|
||||
.toISOString()
|
||||
.slice(0, 19)
|
||||
.replace("T", " ")
|
||||
]
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
@ -145,10 +175,10 @@ export default {
|
||||
this.pageInfo.pageSize = 10;
|
||||
this.pageInfo.carNumber = null;
|
||||
this.pageInfo.deviceName = null;
|
||||
this.pageInfo.uploadTime_begin = null;
|
||||
this.pageInfo.uploadTime_end = null;
|
||||
this.updateDate = [];
|
||||
this.getList ()
|
||||
// this.pageInfo.uploadTime_begin = null;
|
||||
// this.pageInfo.uploadTime_end = null;
|
||||
// this.updateDate = [];
|
||||
this.getList();
|
||||
},
|
||||
handle(type, show) {
|
||||
//打开弹窗前的统一处理
|
||||
@ -171,7 +201,6 @@ export default {
|
||||
// this.pageInfo.updateDate = []
|
||||
}
|
||||
|
||||
|
||||
console.log("pageinfo", this.pageInfo);
|
||||
|
||||
carMeasureSpeedData(this.pageInfo).then(result => {
|
||||
@ -219,11 +248,15 @@ export default {
|
||||
position: relative;
|
||||
|
||||
.Pagination-but {
|
||||
// padding: 20px 0;
|
||||
width: 100%;
|
||||
padding: 20px 0;
|
||||
// background: skyblue;
|
||||
position: absolute;
|
||||
bottom: 30px;
|
||||
right: 20px;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
x
Reference in New Issue
Block a user