|
|
|
@ -3,9 +3,9 @@
|
|
|
|
|
<!-- 搜索栏-->
|
|
|
|
|
<el-form v-show="showSearch" ref="queryRef" :inline="true" :label-width=" locale ? '90px':'140px'"
|
|
|
|
|
:model="queryParams">
|
|
|
|
|
<el-form-item label="车牌号" prop="internationalization1">
|
|
|
|
|
<el-form-item label="车牌号" prop="carLicense">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.internationalization1"
|
|
|
|
|
v-model="queryParams.carLicense"
|
|
|
|
|
:placeholder=" t('common.pleaseEnter') + '车牌号'"
|
|
|
|
|
clearable
|
|
|
|
|
style="width: 200px"
|
|
|
|
@ -86,49 +86,48 @@
|
|
|
|
|
<!-- 表格主体-->
|
|
|
|
|
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table-column align="center" fixed type="selection" width="55"/>
|
|
|
|
|
<el-table-column label="序号" align="center" prop="internationalization1"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="序号" align="center" type="index" width="50" />
|
|
|
|
|
<el-table-column label="GPS时间" align="center" prop="internationalization2"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="收发器ID" align="center" prop="internationalization3"
|
|
|
|
|
<el-table-column label="收发器ID" align="center" prop="machineId"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="车牌号" align="center" prop="internationalization4"
|
|
|
|
|
<el-table-column label="车牌号" align="center" prop="carLicense"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="纬度" align="center" prop="internationalization5"
|
|
|
|
|
<el-table-column label="纬度" align="center" prop="latitude"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="经度" align="center" prop="internationalization6"
|
|
|
|
|
<el-table-column label="经度" align="center" prop="longitude"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="GPS里程" align="center" prop="internationalization7"
|
|
|
|
|
<el-table-column label="GPS里程" align="center" prop="gpsMileage"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="海拔" align="center" prop="internationalization8"
|
|
|
|
|
<el-table-column label="海拔" align="center" prop="altitude"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="速度" align="center" prop="internationalization9"
|
|
|
|
|
<el-table-column label="速度" align="center" prop="speed"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="方向" align="center" prop="internationalization10"
|
|
|
|
|
<el-table-column label="方向" align="center" prop="course"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="是否外接电源" align="center" prop="internationalization11"
|
|
|
|
|
<el-table-column label="是否外接电源" align="center" prop="isOutPower"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="设备上传电池电压" align="center" prop="internationalization12"
|
|
|
|
|
<el-table-column label="设备上传电池电压" align="center" prop="carPower"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="胎压设备是否正常工作" align="center" prop="internationalization13"
|
|
|
|
|
<el-table-column label="胎压设备是否正常工作" align="center" prop="isSensorRun"
|
|
|
|
|
width="170"/>
|
|
|
|
|
<el-table-column label="紧急报警" align="center" prop="internationalization14"
|
|
|
|
|
<el-table-column label="紧急报警" align="center" prop="emergencyAlarm"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="超速预警" align="center" prop="internationalization15"
|
|
|
|
|
<el-table-column label="超速预警" align="center" prop="speedAlarm"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="疲劳驾驶" align="center" prop="internationalization16"
|
|
|
|
|
<el-table-column label="疲劳驾驶" align="center" prop="fatigueDrivingAlarm"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="危险预警" align="center" prop="internationalization17"
|
|
|
|
|
<el-table-column label="危险预警" align="center" prop="riskEarlyAlarm"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="gnss模块" align="center" prop="internationalization18"
|
|
|
|
|
<el-table-column label="gnss模块" align="center" prop="gnssModule"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="天线缺失" align="center" prop="internationalization19"
|
|
|
|
|
<el-table-column label="天线缺失" align="center" prop="gnssLossAntenna"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="天线短路" align="center" prop="internationalization20"
|
|
|
|
|
<el-table-column label="天线短路" align="center" prop="gnssAntennaShortcircuit"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="终端主电源欠压" align="center" prop="internationalization20"
|
|
|
|
|
<el-table-column label="终端主电源欠压" align="center" prop="mainPowerLake"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column label="终端主电源掉电" align="center" prop="internationalization20"
|
|
|
|
|
<el-table-column label="终端主电源掉电" align="center" prop="mainpowerloss"
|
|
|
|
|
width="150"/>
|
|
|
|
|
<el-table-column :label="t('option.option')" align="center" class-name="small-padding fixed-width" fixed="right"
|
|
|
|
|
width="160">
|
|
|
|
@ -344,6 +343,7 @@ const locale = (Cookies.get('language') || 'zhCn') === 'zhCn'
|
|
|
|
|
const {proxy} = getCurrentInstance();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 表格数据
|
|
|
|
|
const postList = ref([]);
|
|
|
|
|
// 模态框开关标识
|
|
|
|
@ -367,43 +367,13 @@ const title = ref("");
|
|
|
|
|
const queryParams = ref({
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
internationalization1: undefined,
|
|
|
|
|
carLicense: undefined,
|
|
|
|
|
internationalization2: undefined,
|
|
|
|
|
internationalization3: undefined,
|
|
|
|
|
internationalization4: undefined,
|
|
|
|
|
internationalization5: undefined,
|
|
|
|
|
internationalization6: undefined,
|
|
|
|
|
internationalization7: undefined,
|
|
|
|
|
internationalization8: undefined,
|
|
|
|
|
internationalization9: undefined,
|
|
|
|
|
internationalization10: undefined,
|
|
|
|
|
internationalization11: undefined,
|
|
|
|
|
internationalization12: undefined,
|
|
|
|
|
internationalization13: undefined,
|
|
|
|
|
internationalization14: undefined,
|
|
|
|
|
internationalization15: undefined,
|
|
|
|
|
internationalization16: undefined,
|
|
|
|
|
internationalization17: undefined,
|
|
|
|
|
internationalization18: undefined,
|
|
|
|
|
internationalization19: undefined,
|
|
|
|
|
internationalization20: undefined,
|
|
|
|
|
isDelete: undefined,
|
|
|
|
|
createTime: undefined,
|
|
|
|
|
createId: undefined,
|
|
|
|
|
createBy: undefined,
|
|
|
|
|
createName: undefined,
|
|
|
|
|
modifyTime: undefined,
|
|
|
|
|
modifyId: undefined,
|
|
|
|
|
modifyBy: undefined,
|
|
|
|
|
modifyName: undefined,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// 表单验证规则
|
|
|
|
|
const rules = {
|
|
|
|
|
brand: [{required: true, message: "轮胎品牌不能为空", trigger: "blur"}],
|
|
|
|
|
type: [{required: true, message: "轮胎型号不能为空", trigger: "blur"}],
|
|
|
|
|
serialNumber: [{required: true, message: "轮胎编号不能为空", trigger: "blur"}],
|
|
|
|
|
depth: [{required: true, message: "花纹深度不能为空", trigger: "blur"}],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 表单数据
|
|
|
|
|