|
|
|
@ -765,7 +765,14 @@ import htmlToExcel from "@/utils/htmlToExcel";
|
|
|
|
|
import { saveAs } from "file-saver";
|
|
|
|
|
import XLSX from "xlsx";
|
|
|
|
|
export default {
|
|
|
|
|
props: ["tableData", "onlineNum", "offlineNum", "noPicNum", "tableLoaidng"],
|
|
|
|
|
props: [
|
|
|
|
|
"tableData",
|
|
|
|
|
"onlineNum",
|
|
|
|
|
"offlineNum",
|
|
|
|
|
"noPicNum",
|
|
|
|
|
"freeNum",
|
|
|
|
|
"tableLoaidng",
|
|
|
|
|
],
|
|
|
|
|
components: {
|
|
|
|
|
rowMsgDialog,
|
|
|
|
|
},
|
|
|
|
@ -828,7 +835,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
ywNumber: 0,
|
|
|
|
|
kxtNumber: 0,
|
|
|
|
|
freeNum: 0,
|
|
|
|
|
|
|
|
|
|
nowTime: new Date().getTime() / 1000,
|
|
|
|
|
gycheck: true,
|
|
|
|
@ -1031,7 +1037,7 @@ export default {
|
|
|
|
|
if (row.raw_report.msgs.hasOwnProperty("freeROM")) {
|
|
|
|
|
// console.log(row.raw_report.msgs.freeROM);
|
|
|
|
|
// console.log(parseInt(row.raw_report.msgs.freeROM));
|
|
|
|
|
if (parseInt(row.raw_report.msgs.freeROM) < 40) {
|
|
|
|
|
if (parseInt(row.raw_report.msgs.freeROM) < 50) {
|
|
|
|
|
return "has-color";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1121,10 +1127,10 @@ export default {
|
|
|
|
|
this.checkAllKXT = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.freeNum =
|
|
|
|
|
this.$refs.ywMultipleTable.$el.getElementsByClassName(
|
|
|
|
|
"has-color"
|
|
|
|
|
).length;
|
|
|
|
|
// this.freeNum =
|
|
|
|
|
// this.$refs.ywMultipleTable.$el.getElementsByClassName(
|
|
|
|
|
// "has-color"
|
|
|
|
|
// ).length;
|
|
|
|
|
},
|
|
|
|
|
//导出表格
|
|
|
|
|
handleExport() {
|
|
|
|
@ -1699,10 +1705,10 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.has-color {
|
|
|
|
|
background: #f5dab1;
|
|
|
|
|
background: #ffb8b8;
|
|
|
|
|
}
|
|
|
|
|
.has-color td.el-table__cell {
|
|
|
|
|
background: #f5dab1 !important;
|
|
|
|
|
background: #ffb8b8 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.ywTableBox {
|
|
|
|
|