|
|
|
@ -155,6 +155,7 @@
|
|
|
|
|
{{ scope.row.raw_report.pic }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="protocol"
|
|
|
|
|
label="规约"
|
|
|
|
@ -177,7 +178,7 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="心跳信息" v-if="xtcheck">
|
|
|
|
|
<el-table-column label="次数" min-width="48" v-if="xtcs">
|
|
|
|
|
<el-table-column label="次数" min-width="48">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{
|
|
|
|
|
scope.row.raw_report.hasOwnProperty("msgs")
|
|
|
|
@ -186,7 +187,7 @@
|
|
|
|
|
}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="周期" min-width="48" v-if="xtzq">
|
|
|
|
|
<el-table-column label="周期" min-width="48">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{
|
|
|
|
|
scope.row.raw_report.hasOwnProperty("msgs")
|
|
|
|
@ -237,22 +238,41 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="网络信号" v-if="wlcheck">
|
|
|
|
|
<el-table-column label="卡1" min-width="60">
|
|
|
|
|
<el-table-column label="卡1" min-width="60" prop="signature1">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{
|
|
|
|
|
scope.row.raw_report.hasOwnProperty("msgs")
|
|
|
|
|
? scope.row.raw_report.msgs.signature1
|
|
|
|
|
: ""
|
|
|
|
|
}}
|
|
|
|
|
<el-tooltip
|
|
|
|
|
class="item"
|
|
|
|
|
effect="dark"
|
|
|
|
|
:content="scope.row.raw_report.msgs.signature1"
|
|
|
|
|
placement="top"
|
|
|
|
|
>
|
|
|
|
|
<span>{{
|
|
|
|
|
scope.row.raw_report.msgs.hasOwnProperty("signature1")
|
|
|
|
|
? scope.row.raw_report.msgs.signature1.split("/")[0]
|
|
|
|
|
: ""
|
|
|
|
|
}}</span>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="卡2" min-width="60">
|
|
|
|
|
<el-table-column label="卡2" min-width="60" prop="signature2">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{
|
|
|
|
|
scope.row.raw_report.hasOwnProperty("msgs")
|
|
|
|
|
? scope.row.raw_report.msgs.signature2
|
|
|
|
|
<el-tooltip
|
|
|
|
|
class="item"
|
|
|
|
|
effect="dark"
|
|
|
|
|
:content="scope.row.raw_report.msgs.signature2"
|
|
|
|
|
placement="top"
|
|
|
|
|
>
|
|
|
|
|
<span>{{
|
|
|
|
|
scope.row.raw_report.msgs.hasOwnProperty("signature2")
|
|
|
|
|
? scope.row.raw_report.msgs.signature2.split("/")[0]
|
|
|
|
|
: ""
|
|
|
|
|
}}</span>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<!-- {{
|
|
|
|
|
scope.row.raw_report.msgs.hasOwnProperty("signature2")
|
|
|
|
|
? scope.row.raw_report.msgs.signature2.split("/")[0]
|
|
|
|
|
: ""
|
|
|
|
|
}}
|
|
|
|
|
}} -->
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="错误" min-width="48">
|
|
|
|
@ -267,16 +287,22 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="重启次数" v-if="cqcheck">
|
|
|
|
|
<el-table-column label="系统" min-width="48">
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="系统"
|
|
|
|
|
min-width="48"
|
|
|
|
|
prop="rebootTimes"
|
|
|
|
|
sortable
|
|
|
|
|
:sort-method="sortNumbers"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{
|
|
|
|
|
scope.row.raw_report.hasOwnProperty("msgs")
|
|
|
|
|
? scope.row.raw_report.msgs.rebootTimes
|
|
|
|
|
scope.row.raw_report.msgs.hasOwnProperty("rebootTimes")
|
|
|
|
|
? Number(scope.row.raw_report.msgs.rebootTimes)
|
|
|
|
|
: ""
|
|
|
|
|
}}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="I1" min-width="48">
|
|
|
|
|
<el-table-column label="I1" min-width="48" prop="i1RebootTimes">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{
|
|
|
|
|
scope.row.raw_report.hasOwnProperty("msgs")
|
|
|
|
@ -296,22 +322,24 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="SIM卡" v-if="simcheck" min-width="160">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<p>
|
|
|
|
|
<el-table-column label="卡1" min-width="48" prop="simcard1">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{
|
|
|
|
|
scope.row.raw_report.hasOwnProperty("msgs")
|
|
|
|
|
? scope.row.raw_report.msgs.simcard1
|
|
|
|
|
: ""
|
|
|
|
|
}}
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="卡2" min-width="48" prop="simcard2">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{
|
|
|
|
|
scope.row.raw_report.hasOwnProperty("msgs")
|
|
|
|
|
? scope.row.raw_report.msgs.simcard2
|
|
|
|
|
: ""
|
|
|
|
|
}}
|
|
|
|
|
</p>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="版本"
|
|
|
|
@ -373,12 +401,12 @@
|
|
|
|
|
<el-checkbox v-model="xtcheck" @change="saveLocalStorage"
|
|
|
|
|
>心跳信息</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
<el-checkbox v-model="xtcs" @change="saveLocalStorage"
|
|
|
|
|
<!-- <el-checkbox v-model="xtcs" @change="saveLocalStorage"
|
|
|
|
|
>心跳次数</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
<el-checkbox v-model="xtzq" @change="saveLocalStorage"
|
|
|
|
|
>心跳周期</el-checkbox
|
|
|
|
|
>
|
|
|
|
|
> -->
|
|
|
|
|
<el-checkbox v-model="pzcheck" @change="saveLocalStorage"
|
|
|
|
|
>拍照</el-checkbox
|
|
|
|
|
>
|
|
|
|
@ -591,6 +619,8 @@
|
|
|
|
|
import { getdoActionApi, getqueryUpgradesApi } from "@/utils/api/index";
|
|
|
|
|
import rowMsgDialog from "./rowMsgDialog.vue";
|
|
|
|
|
import htmlToExcel from "@/utils/htmlToExcel";
|
|
|
|
|
import { saveAs } from "file-saver";
|
|
|
|
|
import XLSX from "xlsx";
|
|
|
|
|
export default {
|
|
|
|
|
props: ["tableData", "onlineNum", "offlineNum", "noPicNum"],
|
|
|
|
|
components: {
|
|
|
|
@ -643,8 +673,8 @@ export default {
|
|
|
|
|
gycheck: false,
|
|
|
|
|
dccheck: true,
|
|
|
|
|
xtcheck: true,
|
|
|
|
|
xtcs: false,
|
|
|
|
|
xtzq: false,
|
|
|
|
|
// xtcs: false,
|
|
|
|
|
// xtzq: false,
|
|
|
|
|
pzcheck: true,
|
|
|
|
|
wlcheck: true,
|
|
|
|
|
cqcheck: true,
|
|
|
|
@ -815,6 +845,24 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
sortNumbers(a, b) {
|
|
|
|
|
return (
|
|
|
|
|
Number(a.raw_report.msgs.rebootTimes) -
|
|
|
|
|
Number(b.raw_report.msgs.rebootTimes)
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
// sortSignature1(a, b) {
|
|
|
|
|
// return (
|
|
|
|
|
// Number(a.raw_report.msgs.signature1.split("/")[0]) -
|
|
|
|
|
// Number(b.raw_report.msgs.signature1.split("/")[0])
|
|
|
|
|
// );
|
|
|
|
|
// },
|
|
|
|
|
// sortSignature2(a, b) {
|
|
|
|
|
// return (
|
|
|
|
|
// Number(a.raw_report.msgs.signature2.split("/")[0]) -
|
|
|
|
|
// Number(b.raw_report.msgs.signature2.split("/")[0])
|
|
|
|
|
// );
|
|
|
|
|
// },
|
|
|
|
|
//获取运维勾选和快心跳勾选个数
|
|
|
|
|
getNumber() {
|
|
|
|
|
console.log(this.tableData);
|
|
|
|
@ -1184,8 +1232,8 @@ export default {
|
|
|
|
|
localStorage.setItem("gycheck", this.gycheck);
|
|
|
|
|
localStorage.setItem("dccheck", this.dccheck);
|
|
|
|
|
localStorage.setItem("xtcheck", this.xtcheck);
|
|
|
|
|
localStorage.setItem("xtcs", this.xtcs);
|
|
|
|
|
localStorage.setItem("xtzq", this.xtzq);
|
|
|
|
|
// localStorage.setItem("xtcs", this.xtcs);
|
|
|
|
|
// localStorage.setItem("xtzq", this.xtzq);
|
|
|
|
|
localStorage.setItem("pzcheck", this.pzcheck);
|
|
|
|
|
localStorage.setItem("wlcheck", this.wlcheck);
|
|
|
|
|
localStorage.setItem("cqcheck", this.cqcheck);
|
|
|
|
@ -1209,12 +1257,12 @@ export default {
|
|
|
|
|
this.xtcheck = localStorage.getItem("xtcheck")
|
|
|
|
|
? JSON.parse(localStorage.getItem("xtcheck"))
|
|
|
|
|
: true;
|
|
|
|
|
this.xtcs = localStorage.getItem("xtcs")
|
|
|
|
|
? JSON.parse(localStorage.getItem("xtcs"))
|
|
|
|
|
: false;
|
|
|
|
|
this.xtzq = localStorage.getItem("xtzq")
|
|
|
|
|
? JSON.parse(localStorage.getItem("xtzq"))
|
|
|
|
|
: false;
|
|
|
|
|
// this.xtcs = localStorage.getItem("xtcs")
|
|
|
|
|
// ? JSON.parse(localStorage.getItem("xtcs"))
|
|
|
|
|
// : false;
|
|
|
|
|
// this.xtzq = localStorage.getItem("xtzq")
|
|
|
|
|
// ? JSON.parse(localStorage.getItem("xtzq"))
|
|
|
|
|
// : false;
|
|
|
|
|
this.pzcheck = localStorage.getItem("pzcheck")
|
|
|
|
|
? JSON.parse(localStorage.getItem("pzcheck"))
|
|
|
|
|
: true;
|
|
|
|
|