优化拍照bug

ds1.0
fanluyan 2 years ago
parent a9f7929181
commit 9e06bb2e04

@ -1,11 +1,6 @@
<template>
<div class="thumb-example">
<div
class="radioBox"
v-if="
bigPicPath.indexOf('nopic') == -1 && bigPicPath.indexOf('videos') == -1
"
>
<div class="radioBox" v-if="bigPicPath.indexOf('nopic') == -1">
{{ picRadio }}
</div>
<div class="picTop">

@ -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: {

Loading…
Cancel
Save