|
|
|
@ -114,74 +114,120 @@
|
|
|
|
|
</template>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号">
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="在线状态" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.onlineStatus }}</template>
|
|
|
|
|
<el-table-column label="在线状态" v-if="showColumn.onlineStatus">
|
|
|
|
|
<template slot-scope="scope">{{
|
|
|
|
|
scope.row.onlineStatus == 1 ? "在线" : "离线"
|
|
|
|
|
}}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="出厂ID" width="125">
|
|
|
|
|
<el-table-column label="出厂ID" v-if="showColumn.factoryID">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.factoryID }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="CMD_ID" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.lineInfo }}</template>
|
|
|
|
|
<el-table-column label="CMD_ID" v-if="showColumn.cmdID">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdID }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="线路杆塔信息" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="快心跳">
|
|
|
|
|
<template slot="header" slot-scope="scope">
|
|
|
|
|
<el-checkbox
|
|
|
|
|
v-model="isCheckedAll"
|
|
|
|
|
:checked="isCheckedAll"
|
|
|
|
|
@change="handle_allCheckbox"
|
|
|
|
|
class="input_check"
|
|
|
|
|
>快心跳</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-checkbox v-model="checked"></el-checkbox>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="当天拍照数量" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="线路杆塔信息" v-if="showColumn.lineInfo">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.lineInfo }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="当天图片上传数量" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="当天拍照数量" v-if="showColumn.dayPicNum">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.dayPicNum }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="最后一次收到I1服务器数据时间" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="当天图片上传数量"
|
|
|
|
|
v-if="showColumn.dayUpPicNum"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.dayUpPicNum }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="规约信息" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="最后一次收到I1服务器数据时间"
|
|
|
|
|
v-if="showColumn.lastI1Time"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.lastI1Time }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="运维版本" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="规约信息" v-if="showColumn.protocolInfo">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.protocolInfo }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="I1版本" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="运维版本" v-if="showColumn.operationVersion">
|
|
|
|
|
<template slot-scope="scope">{{
|
|
|
|
|
scope.row.operationVersion
|
|
|
|
|
}}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="camer版本" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="I1版本" v-if="showColumn.I1Version">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.I1Version }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="AI版本" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="camer版本" v-if="showColumn.camerVersion">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.camerVersion }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="I1服务器及端口" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="AI版本" v-if="showColumn.AIVersion">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.AIVersion }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="安卓每天重启次数" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="I1服务器及端口" v-if="showColumn.I1port">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.I1port }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="充电电压" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="安卓每天重启次数"
|
|
|
|
|
v-if="showColumn.restartNum"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.restartNum }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="电池电压" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="充电电压" v-if="showColumn.chargingVoltage">
|
|
|
|
|
<template slot-scope="scope">{{
|
|
|
|
|
scope.row.chargingVoltage
|
|
|
|
|
}}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="电量" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="电池电压" v-if="showColumn.batteryVoltage">
|
|
|
|
|
<template slot-scope="scope">{{
|
|
|
|
|
scope.row.batteryVoltage
|
|
|
|
|
}}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="I1每天重启次数" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="电量" v-if="showColumn.power">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.power }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="I1网络错误次数" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="I1每天重启次数"
|
|
|
|
|
v-if="showColumn.I1dayStartNum"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">{{
|
|
|
|
|
scope.row.I1dayStartNum
|
|
|
|
|
}}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="I1网络错误次数" v-if="showColumn.I1ErrorNum">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.I1ErrorNum }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="卡1信号强度" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="卡1信号强度"
|
|
|
|
|
v-if="showColumn.card1signalStrength"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">{{
|
|
|
|
|
scope.row.card1signalStrength
|
|
|
|
|
}}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="卡2信号强度" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="卡2信号强度"
|
|
|
|
|
v-if="showColumn.card2signalStrength"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">{{
|
|
|
|
|
scope.row.card2signalStrength
|
|
|
|
|
}}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="卡1_ICCID" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="卡1_ICCID" v-if="showColumn.card1caaid">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.card1caaid }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="卡2_ICCID" width="125">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.cmdid }}</template>
|
|
|
|
|
<el-table-column label="卡2_ICCID" v-if="showColumn.card2caaid">
|
|
|
|
|
<template slot-scope="scope">{{ scope.row.card2caaid }}</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<div class="pageNation">
|
|
|
|
@ -205,34 +251,42 @@
|
|
|
|
|
size="20%"
|
|
|
|
|
>
|
|
|
|
|
<div class="body">
|
|
|
|
|
<el-checkbox v-model="checkList.date" disabled>在线状态</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.name" disabled>出厂ID</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.provinces" disabled>CMD_ID</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.city">线路杆塔信息</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.adreess">时间</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.zipCode">当天拍照数量</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.date">当天图片上传数量</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.name"
|
|
|
|
|
<el-checkbox v-model="checkList.onlineStatus">在线状态</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.factoryID">出厂ID</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.cmdID">CMD_ID</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.lineInfo">线路杆塔信息</el-checkbox>
|
|
|
|
|
|
|
|
|
|
<el-checkbox v-model="checkList.dayPicNum">当天拍照数量</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.dayUpPicNum"
|
|
|
|
|
>当天图片上传数量</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
<el-checkbox v-model="checkList.lastI1Time"
|
|
|
|
|
>最后一次收到I1服务器数据时间</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
<el-checkbox v-model="checkList.provinces">规约信息</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.city">运维版本</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.adreess">I1版本</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.zipCode">camer版本</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.date">AI版本</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.name">I1服务器及端口</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.provinces"
|
|
|
|
|
<el-checkbox v-model="checkList.protocolInfo">规约信息</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.operationVersion">运维版本</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.I1Version">I1版本</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.camerVersion">camer版本</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.AIVersion">AI版本</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.I1port">I1服务器及端口</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.restartNum"
|
|
|
|
|
>安卓每天重启次数</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
<el-checkbox v-model="checkList.city">充电电压</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.adreess">电池电压</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.zipCode">电量</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.date">I1每天重启次数</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.name">I1网络错误次数</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.provinces">卡1信号强度</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.city">卡2信号强度</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.adreess">卡1_ICCID</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.zipCode">卡2_ICCID</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.chargingVoltage">充电电压</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.batteryVoltage">电池电压</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.power">电量</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.I1dayStartNum"
|
|
|
|
|
>I1每天重启次数</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
<el-checkbox v-model="checkList.I1ErrorNum">I1网络错误次数</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.card1SignalStrength"
|
|
|
|
|
>卡1信号强度</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
<el-checkbox v-model="checkList.card2SignalStrength"
|
|
|
|
|
>卡2信号强度</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
<el-checkbox v-model="checkList.card1caaid">卡1_ICCID</el-checkbox>
|
|
|
|
|
<el-checkbox v-model="checkList.card2caaid">卡2_ICCID</el-checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer">
|
|
|
|
|
<el-button size="small" type="primary" plain @click="saveColumn"
|
|
|
|
@ -269,39 +323,81 @@ export default {
|
|
|
|
|
logUrl: "",
|
|
|
|
|
tableData: [
|
|
|
|
|
{
|
|
|
|
|
onlineStatus: "0",
|
|
|
|
|
factoryID: "",
|
|
|
|
|
cmdID: "",
|
|
|
|
|
lineInfo: "",
|
|
|
|
|
dayPicNum: "",
|
|
|
|
|
dayUpPicNum: "",
|
|
|
|
|
lastI1Time: "",
|
|
|
|
|
protocolInfo: "",
|
|
|
|
|
operationVersion: "",
|
|
|
|
|
I1Version: "",
|
|
|
|
|
camerVersion: "",
|
|
|
|
|
AIVersion: "",
|
|
|
|
|
I1port: "",
|
|
|
|
|
restartNum: "",
|
|
|
|
|
chargingVoltage: "",
|
|
|
|
|
batteryVoltage: "",
|
|
|
|
|
power: "",
|
|
|
|
|
I1dayStartNum: "",
|
|
|
|
|
I1ErrorNum: "",
|
|
|
|
|
card1SignalStrength: "",
|
|
|
|
|
card2SignalStrength: "",
|
|
|
|
|
card1caaid: "",
|
|
|
|
|
card2caaid: "",
|
|
|
|
|
onlineStatus: 0,
|
|
|
|
|
factoryID: "CSY2023082400001",
|
|
|
|
|
cmdID: "CSYJ2023082400001",
|
|
|
|
|
lineInfo: "1",
|
|
|
|
|
dayPicNum: "2",
|
|
|
|
|
dayUpPicNum: "3",
|
|
|
|
|
lastI1Time: "4",
|
|
|
|
|
protocolInfo: "5",
|
|
|
|
|
operationVersion: "6",
|
|
|
|
|
I1Version: "7",
|
|
|
|
|
camerVersion: "8",
|
|
|
|
|
AIVersion: "9",
|
|
|
|
|
I1port: "1",
|
|
|
|
|
restartNum: "2",
|
|
|
|
|
chargingVoltage: "3",
|
|
|
|
|
batteryVoltage: "4",
|
|
|
|
|
power: "5",
|
|
|
|
|
I1dayStartNum: "6",
|
|
|
|
|
I1ErrorNum: "7",
|
|
|
|
|
card1SignalStrength: "8",
|
|
|
|
|
card2SignalStrength: "9",
|
|
|
|
|
card1caaid: "1",
|
|
|
|
|
card2caaid: "2",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
onlineStatus: 1,
|
|
|
|
|
factoryID: "CSY2023082400001",
|
|
|
|
|
cmdID: "CSYJ2023082400001",
|
|
|
|
|
lineInfo: "1",
|
|
|
|
|
dayPicNum: "2",
|
|
|
|
|
dayUpPicNum: "3",
|
|
|
|
|
lastI1Time: "4",
|
|
|
|
|
protocolInfo: "5",
|
|
|
|
|
operationVersion: "6",
|
|
|
|
|
I1Version: "7",
|
|
|
|
|
camerVersion: "8",
|
|
|
|
|
AIVersion: "9",
|
|
|
|
|
I1port: "1",
|
|
|
|
|
restartNum: "2",
|
|
|
|
|
chargingVoltage: "3",
|
|
|
|
|
batteryVoltage: "4",
|
|
|
|
|
power: "5",
|
|
|
|
|
I1dayStartNum: "6",
|
|
|
|
|
I1ErrorNum: "7",
|
|
|
|
|
card1SignalStrength: "8",
|
|
|
|
|
card2SignalStrength: "9",
|
|
|
|
|
card1caaid: "1",
|
|
|
|
|
card2caaid: "2",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
checkList: {},
|
|
|
|
|
showColumn: {
|
|
|
|
|
date: true,
|
|
|
|
|
name: true,
|
|
|
|
|
provinces: true,
|
|
|
|
|
city: true,
|
|
|
|
|
adreess: true,
|
|
|
|
|
zipCode: true,
|
|
|
|
|
onlineStatus: true,
|
|
|
|
|
factoryID: true,
|
|
|
|
|
cmdID: true,
|
|
|
|
|
lineInfo: true,
|
|
|
|
|
dayPicNum: true,
|
|
|
|
|
dayUpPicNum: true,
|
|
|
|
|
lastI1Time: true,
|
|
|
|
|
protocolInfo: true,
|
|
|
|
|
operationVersion: true,
|
|
|
|
|
I1Version: true,
|
|
|
|
|
camerVersion: true,
|
|
|
|
|
AIVersion: true,
|
|
|
|
|
I1port: true,
|
|
|
|
|
restartNum: true,
|
|
|
|
|
chargingVoltage: true,
|
|
|
|
|
batteryVoltage: true,
|
|
|
|
|
power: true,
|
|
|
|
|
I1dayStartNum: true,
|
|
|
|
|
I1ErrorNum: true,
|
|
|
|
|
card1SignalStrength: true,
|
|
|
|
|
card2SignalStrength: true,
|
|
|
|
|
card1caaid: true,
|
|
|
|
|
card2caaid: true,
|
|
|
|
|
}, //设置显示隐藏列
|
|
|
|
|
page: 1, // 当前页数
|
|
|
|
|
pageSize: 20, // 每页数量
|
|
|
|
@ -331,7 +427,31 @@ export default {
|
|
|
|
|
if (localStorage.getItem("columnSet")) {
|
|
|
|
|
this.checkList = JSON.parse(localStorage.getItem("columnSet"));
|
|
|
|
|
} else {
|
|
|
|
|
this.checkList = {};
|
|
|
|
|
this.checkList = {
|
|
|
|
|
onlineStatus: true,
|
|
|
|
|
factoryID: true,
|
|
|
|
|
cmdID: true,
|
|
|
|
|
lineInfo: true,
|
|
|
|
|
dayPicNum: true,
|
|
|
|
|
dayUpPicNum: true,
|
|
|
|
|
lastI1Time: true,
|
|
|
|
|
protocolInfo: true,
|
|
|
|
|
operationVersion: true,
|
|
|
|
|
I1Version: true,
|
|
|
|
|
camerVersion: true,
|
|
|
|
|
AIVersion: true,
|
|
|
|
|
I1port: true,
|
|
|
|
|
restartNum: true,
|
|
|
|
|
chargingVoltage: true,
|
|
|
|
|
batteryVoltage: true,
|
|
|
|
|
power: true,
|
|
|
|
|
I1dayStartNum: true,
|
|
|
|
|
I1ErrorNum: true,
|
|
|
|
|
card1SignalStrength: true,
|
|
|
|
|
card2SignalStrength: true,
|
|
|
|
|
card1caaid: true,
|
|
|
|
|
card2caaid: true,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|