|
@@ -0,0 +1,805 @@
|
|
|
+<template>
|
|
|
+ <div style="position: fixed; right: 0; bottom: 2px; z-index: 2">
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ width: 540px;
|
|
|
+ height: 510px;
|
|
|
+ border: 1px solid #00549a;
|
|
|
+ border-top: none;
|
|
|
+ background: rgba(11, 12, 12);
|
|
|
+ position: absolute;
|
|
|
+ bottom: 25px;
|
|
|
+ right: 17px;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ style="position: absolute; right: -1px; top: 1px; cursor: pointer"
|
|
|
+ @click="displayAlarm"
|
|
|
+ >
|
|
|
+ <!-- <img src="@assets/img/images/close.png"> -->
|
|
|
+ </div>
|
|
|
+ <div class="blge">
|
|
|
+ <div class="titleAlarm">
|
|
|
+ <div style="margin-left: 30px">
|
|
|
+ <!-- <img src="@assets/img/images/alarmicon.png"> -->
|
|
|
+ </div>
|
|
|
+ <div @click="handAll" style="margin-left: -20px; cursor: pointer">
|
|
|
+ <div style="font-size: 20px; font-family: Bicubik; color: #ffffff">
|
|
|
+ {{ handAlls.length }}
|
|
|
+ </div>
|
|
|
+ <div style="color: #ffffff; font-size: 14px">实时告警</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div
|
|
|
+ :class="{ zhong: indexNum == 0 }"
|
|
|
+ @dblclick="ch()"
|
|
|
+ @click="handZhong(powerStation)"
|
|
|
+ style="margin-left: 50px; cursor: pointer"
|
|
|
+ class="lineList"
|
|
|
+ >
|
|
|
+ <p class="left_p"></p>
|
|
|
+ <p class="right_p"></p>
|
|
|
+ <div class="alarmNum" style="color: rgb(227, 47, 53)">
|
|
|
+ {{ indexNum1 }}
|
|
|
+ </div>
|
|
|
+ <div class="alarmdis">重度告警</div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ :class="{ content: indexNum == 1 }"
|
|
|
+ style="cursor: pointer"
|
|
|
+ @dblclick="ch()"
|
|
|
+ @click="handContent"
|
|
|
+ class="lineList"
|
|
|
+ >
|
|
|
+ <p class="left_p"></p>
|
|
|
+ <p class="right_p"></p>
|
|
|
+ <div class="alarmNum" style="color: #e37b2f">
|
|
|
+ {{ indexNum2 }}
|
|
|
+ </div>
|
|
|
+ <div class="alarmdis">中度告警</div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ :class="{ qing: indexNum == 2 }"
|
|
|
+ style="cursor: pointer"
|
|
|
+ @dblclick="ch()"
|
|
|
+ @click="handQing"
|
|
|
+ class="lineList"
|
|
|
+ >
|
|
|
+ <p class="left_p"></p>
|
|
|
+ <p class="right_p"></p>
|
|
|
+ <div class="alarmNum" style="color: #3681cd">
|
|
|
+ {{ indexNum3 }}
|
|
|
+ </div>
|
|
|
+ <div class="alarmdis">轻度告警</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="dialog">
|
|
|
+ <div>
|
|
|
+ <el-table
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
+ select-on-indeterminate
|
|
|
+ ref="scrollTable"
|
|
|
+ :header-cell-style="handerMethod"
|
|
|
+ :data="powerStation"
|
|
|
+ size="mini"
|
|
|
+ stripe
|
|
|
+ @select="changeSelect"
|
|
|
+ height="322px"
|
|
|
+ style="width: 100%"
|
|
|
+ >
|
|
|
+ <el-table-column
|
|
|
+ type="index"
|
|
|
+ label="序号"
|
|
|
+ :align="'center'"
|
|
|
+ width="40"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column label="级别" :align="'center'" width="70">
|
|
|
+ <template v-slot="scope">
|
|
|
+ <div
|
|
|
+ style="width: 50px; margin: auto; border-radius: 3px"
|
|
|
+ :style="{ color: scope.row.color, border: scope.row.bor }"
|
|
|
+ >
|
|
|
+ {{ scope.row.alarmLevel }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="alarmType"
|
|
|
+ label="告警类型"
|
|
|
+ :align="'center'"
|
|
|
+ width="65"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop=""
|
|
|
+ label="告警名称"
|
|
|
+ :align="'center'"
|
|
|
+ width="170"
|
|
|
+ >
|
|
|
+ <template v-slot="scope">
|
|
|
+ <div
|
|
|
+ @click="hiddDetails(scope.row.id)"
|
|
|
+ style="
|
|
|
+ overflow: hidden;
|
|
|
+ white-space: nowrap;
|
|
|
+ width: 170px;
|
|
|
+ cursor: pointer;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ {{ scope.row.alarmName }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column
|
|
|
+ prop="startTime"
|
|
|
+ label="发生时间"
|
|
|
+ class-name="sssd"
|
|
|
+ :align="'center'"
|
|
|
+ width="145"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column type="selection" width="25" class-name="ssss">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ <div style="margin-top: 20px">
|
|
|
+ <el-button @click="deleteon">删除</el-button>
|
|
|
+ <el-button class="determine" @click="sure">确认</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="lineLeft"></div>
|
|
|
+ </div>
|
|
|
+ <el-dialog
|
|
|
+ width="50%"
|
|
|
+ top="120px"
|
|
|
+ v-model="displayDetails"
|
|
|
+ :show-close="true"
|
|
|
+ :destroy-on-close="true"
|
|
|
+ >
|
|
|
+ <template #title>
|
|
|
+ <div class="dialog-title">
|
|
|
+ <!-- <img class="dialog-title-img" src="@assets/img/images/dialog-title.png"/> -->
|
|
|
+ <div class="title" style="margin-top: 0">告警详情</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <!-- <img class="dialog-img" style="position:absolute;right: 0px;bottom: 40px" src="@assets/img/images/dialog.png"/>-->
|
|
|
+
|
|
|
+ <div class="dialog-body" style="height: 58vh; padding: 0 15px">
|
|
|
+ <alarmMore :dareson="dareson" :lightCode="lightCode"></alarmMore>
|
|
|
+ </div>
|
|
|
+ <el-row style="position: absolute; bottom: 25px; right: 25px">
|
|
|
+ <el-button class="searchColor" type="primary" @click="sureMut" round
|
|
|
+ >确认</el-button
|
|
|
+ >
|
|
|
+ <el-button class="delecolor" round @click="cancelMultiys"
|
|
|
+ >取消</el-button
|
|
|
+ >
|
|
|
+ </el-row>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+// import { DateAlarmRecordsById } from "../../api/home";
|
|
|
+// import alarmMore from "../alarmMore";
|
|
|
+// import {
|
|
|
+// GetRecordByAlarmId,
|
|
|
+// GetyPowerstationId,
|
|
|
+// } from "../../api/factoryMonitor";
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: "byPase", //首页标题栏
|
|
|
+ // components: { alarmMore },
|
|
|
+ props: {
|
|
|
+ dareson: {
|
|
|
+ type: Object,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ page: {
|
|
|
+ pagesize: 8,
|
|
|
+ currentPage: 1,
|
|
|
+ total: 0,
|
|
|
+ },
|
|
|
+ dareson: [],
|
|
|
+ displayDetails: false,
|
|
|
+ poverStat: [],
|
|
|
+ numList: 8,
|
|
|
+ indexNum: 3,
|
|
|
+ powerStation: [],
|
|
|
+ indexNum1: 0,
|
|
|
+ indexNum2: 0,
|
|
|
+ indexNum3: 0,
|
|
|
+ pageSize: 10,
|
|
|
+ handAlls: [],
|
|
|
+ de: false,
|
|
|
+ deCon: false,
|
|
|
+ deQing: false,
|
|
|
+ ss: "",
|
|
|
+ timer: null,
|
|
|
+ dede: [],
|
|
|
+
|
|
|
+ };
|
|
|
+ },
|
|
|
+
|
|
|
+ created() {},
|
|
|
+ mounted() {
|
|
|
+ this.$nextTick(function () {
|
|
|
+ this.setColSpan();
|
|
|
+ this.addRollListener();
|
|
|
+ });
|
|
|
+ },
|
|
|
+
|
|
|
+ methods: {
|
|
|
+ setColSpan: function () {
|
|
|
+ var s = document.getElementsByClassName("ssss");
|
|
|
+ var x = document.getElementsByClassName("sssd");
|
|
|
+ x[0].colSpan = 2;
|
|
|
+ s[0].style.display = "none";
|
|
|
+ s[0].id = "delete";
|
|
|
+ },
|
|
|
+ addRollListener() {
|
|
|
+ const dom = this.$refs.scrollTable.$refs.bodyWrapper;
|
|
|
+ dom.addEventListener("scroll", () => {
|
|
|
+ const scrollTop = dom.scrollTop;
|
|
|
+ const offsetHeight = dom.offsetHeight;
|
|
|
+ const clientHeight = dom.clientHeight;
|
|
|
+ const scrollHeight = dom.scrollHeight;
|
|
|
+ if (
|
|
|
+ clientHeight + scrollTop + 1 > scrollHeight ||
|
|
|
+ offsetHeight + scrollTop >= scrollHeight
|
|
|
+ ) {
|
|
|
+ this.pageSize += 5;
|
|
|
+ let ss = this.deepClone(this.poverStat);
|
|
|
+ this.powerStation = ss.splice(0, this.pageSize);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ sureMut() {
|
|
|
+ // this.getyPowerstationId(this.dareson.id);
|
|
|
+ },
|
|
|
+
|
|
|
+ async getyPowerstationId(val) {
|
|
|
+ const data = await DateAlarmRecordsById({
|
|
|
+ alarmIds: val,
|
|
|
+ type: 0,
|
|
|
+ });
|
|
|
+ if (data) {
|
|
|
+ this.$message({
|
|
|
+ type: "success",
|
|
|
+ offset: 200,
|
|
|
+ center: true,
|
|
|
+ message: "确认成功!",
|
|
|
+ });
|
|
|
+ this.displayDetails = false;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (data) {
|
|
|
+ this.$parent.getAlarmDataByPoweStations();
|
|
|
+ this.getByEquipmentId();
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ handleSelectionChange(rows) {
|
|
|
+ this.dede = rows;
|
|
|
+ },
|
|
|
+ checkSelectable(row, index) {
|
|
|
+ // return row.discount >= 0 && row.discount <= 10
|
|
|
+ },
|
|
|
+ cancelMultiys() {
|
|
|
+ this.displayDetails = false;
|
|
|
+ },
|
|
|
+ deleteon() {
|
|
|
+ this.$confirm("确认清除?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(async () => {
|
|
|
+ this.dateAlarmRecordsById("1");
|
|
|
+ this.$message({
|
|
|
+ type: "success",
|
|
|
+ message: "清除成功!",
|
|
|
+ offset: 200,
|
|
|
+ center: true,
|
|
|
+ customClass: "s",
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ },
|
|
|
+ sure() {
|
|
|
+ this.dateAlarmRecordsById("0");
|
|
|
+ },
|
|
|
+ async dateAlarmRecordsById(val) {
|
|
|
+ const data = await DateAlarmRecordsById({
|
|
|
+ alarmIds: this.ss,
|
|
|
+ type: val,
|
|
|
+ });
|
|
|
+
|
|
|
+ if (data) {
|
|
|
+ if (val == "1") {
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: "success",
|
|
|
+ offset: 200,
|
|
|
+ center: true,
|
|
|
+ message: "确认成功!",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.$parent.getAlarmDataByPoweStations();
|
|
|
+ this.getByEquipmentId();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ changeSelect(selected, row) {
|
|
|
+ let arr = "";
|
|
|
+ selected.forEach((s) => {
|
|
|
+ arr += s.id + ",";
|
|
|
+ });
|
|
|
+ this.ss = arr;
|
|
|
+ },
|
|
|
+ displayAlarm() {
|
|
|
+ this.$parent.displayAlarm("2");
|
|
|
+ },
|
|
|
+ async hiddDetails(val) {
|
|
|
+ this.displayDetails = true;
|
|
|
+ const data = await GetRecordByAlarmId({
|
|
|
+ id: val,
|
|
|
+ });
|
|
|
+ if (data[0].alarmLevel == "1") {
|
|
|
+ data[0].alarmLevel = "重度告警";
|
|
|
+ data[0].color = "#E32F35";
|
|
|
+ data[0].bor = "1px solid #E32F35";
|
|
|
+ } else if (data[0].alarmLevel == "2") {
|
|
|
+ data[0].alarmLevel = "中度告警";
|
|
|
+ data[0].color = "#E37B2F";
|
|
|
+ data[0].bor = "1px solid #E37B2F";
|
|
|
+ } else if (data[0].alarmLevel == "3") {
|
|
|
+ data[0].alarmLevel = "轻度告警";
|
|
|
+ data[0].color = "#3681CD";
|
|
|
+ data[0].bor = "1px solid #3681CD";
|
|
|
+ }
|
|
|
+ if (data[0].alarmType == 1) {
|
|
|
+ data[0].names = "变位信号";
|
|
|
+ } else if (data[0].alarmType == 2) {
|
|
|
+ data[0].names = "通讯状态";
|
|
|
+ } else if (data[0].alarmType == 3) {
|
|
|
+ data[0].names = "异常报警";
|
|
|
+ } else if (data[0].alarmType == 4) {
|
|
|
+ data[0].names = "故障码报警";
|
|
|
+ } else if (data[0].alarmType == 5) {
|
|
|
+ data[0].names = "组合报警";
|
|
|
+ }
|
|
|
+ if (data[0].endTime == "") {
|
|
|
+ data[0].starts = "激活";
|
|
|
+ } else {
|
|
|
+ data[0].starts = "恢复";
|
|
|
+ }
|
|
|
+ if (data[0].conqType == "ZC") {
|
|
|
+ data[0].conqType = "组串式";
|
|
|
+ } else if (data[0].conqType == "JZ") {
|
|
|
+ data[0].conqType = "集中式";
|
|
|
+ }
|
|
|
+ this.dareson = data[0];
|
|
|
+ },
|
|
|
+
|
|
|
+ getColor(state) {
|
|
|
+ switch (state) {
|
|
|
+ case "1":
|
|
|
+ return "colored";
|
|
|
+ case "2":
|
|
|
+ return "colororigin";
|
|
|
+ case "3":
|
|
|
+ return "colorblue";
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+ handleCurrentChange(val) {
|
|
|
+ this.page.currentPage = val;
|
|
|
+ let arr = this.deepClone(this.poverStat);
|
|
|
+ this.powerStation = arr.splice((val - 1) * this.numList, this.numList);
|
|
|
+ // this.getTableData();
|
|
|
+ },
|
|
|
+ handAll() {
|
|
|
+ this.indexNum = 3;
|
|
|
+ this.getByEquipmentId();
|
|
|
+ },
|
|
|
+ ch() {
|
|
|
+ clearTimeout(this.timer);
|
|
|
+ this.timer = null;
|
|
|
+ this.$refs.scrollTable.clearSelection();
|
|
|
+ },
|
|
|
+ async handZhong() {
|
|
|
+ this.indexNum = 0;
|
|
|
+
|
|
|
+ this.getByEquipmentId();
|
|
|
+ // if (arr1) {
|
|
|
+ // arr1.forEach(row => {
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // this.$refs.scrollTable.toggleRowSelection(row);
|
|
|
+ // })
|
|
|
+ // });
|
|
|
+ // } else {
|
|
|
+ // this.$refs.scrollTable.clearSelection();
|
|
|
+ // }
|
|
|
+
|
|
|
+ // this.changeSelect(this.powerStation)
|
|
|
+ },
|
|
|
+ toggleSelection(rows) {},
|
|
|
+ handContent() {
|
|
|
+ this.indexNum = 1;
|
|
|
+ this.getByEquipmentId();
|
|
|
+ // if (arr1) {
|
|
|
+ // arr1.forEach(row => {
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // this.$refs.scrollTable.toggleRowSelection(row);
|
|
|
+ // })
|
|
|
+ // });
|
|
|
+ // } else {
|
|
|
+ // this.$refs.scrollTable.clearSelection();
|
|
|
+ // }
|
|
|
+ // this.changeSelect(arr1)
|
|
|
+ },
|
|
|
+ handQing() {
|
|
|
+ this.indexNum = 2;
|
|
|
+ this.getByEquipmentId();
|
|
|
+ // if (arr1) {
|
|
|
+ // arr1.forEach(row => {
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // this.$refs.scrollTable.toggleRowSelection(row);
|
|
|
+ // })
|
|
|
+ // });
|
|
|
+ // } else {
|
|
|
+ // this.$refs.scrollTable.clearSelection();
|
|
|
+ // }
|
|
|
+ // this.changeSelect(arr1)
|
|
|
+ },
|
|
|
+ deepClone(ob) {
|
|
|
+ var obj = JSON.stringify(ob);
|
|
|
+ var objClone = JSON.parse(obj);
|
|
|
+ return objClone;
|
|
|
+ },
|
|
|
+ async getByEquipmentId() {
|
|
|
+ // const data = await GetyPowerstationId({
|
|
|
+ // equipment: "",
|
|
|
+ // alarmName: "",
|
|
|
+ // alarmType: "",
|
|
|
+ // alarmLevel: "",
|
|
|
+ // alarmStatus: 0,
|
|
|
+ // firmStatus: 0,
|
|
|
+ // startTime: "",
|
|
|
+ // endTime: "",
|
|
|
+ // });
|
|
|
+ // if (JSON.stringify(data) != "{}") {
|
|
|
+ // let arr1 = [];
|
|
|
+ // let arr2 = [];
|
|
|
+ // let arr3 = [];
|
|
|
+ // data.forEach((s) => {
|
|
|
+ // s.startTimes = s.startTime.slice(5).replace("-", "/");
|
|
|
+ // if (s.levelCode == "1") {
|
|
|
+ // arr1.push(s);
|
|
|
+ // s.alarmLevel = "重";
|
|
|
+ // s.color = "#E32F35";
|
|
|
+ // s.bor = "1px solid #E32F35";
|
|
|
+ // } else if (s.levelCode == "2") {
|
|
|
+ // arr2.push(s);
|
|
|
+ // s.alarmLevel = "中";
|
|
|
+ // s.color = "#E37B2F";
|
|
|
+ // s.bor = "1px solid #E37B2F";
|
|
|
+ // } else if (s.levelCode == "3") {
|
|
|
+ // arr3.push(s);
|
|
|
+ // s.alarmLevel = "轻";
|
|
|
+ // s.color = "#3681CD";
|
|
|
+ // s.bor = "1px solid #3681CD";
|
|
|
+ // }
|
|
|
+ // if (s.endTime == "") {
|
|
|
+ // s.status = "否";
|
|
|
+ // } else {
|
|
|
+ // s.status = "是";
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // if (this.indexNum == 0) {
|
|
|
+ // this.poverStat = arr1;
|
|
|
+ // } else if (this.indexNum == 1) {
|
|
|
+ // this.poverStat = arr2;
|
|
|
+ // } else if (this.indexNum == 2) {
|
|
|
+ // this.poverStat = arr3;
|
|
|
+ // } else if (this.indexNum == 3) {
|
|
|
+ // this.poverStat = data;
|
|
|
+ // }
|
|
|
+ // this.indexNum1 = arr1.length;
|
|
|
+ // this.indexNum2 = arr2.length;
|
|
|
+ // this.indexNum3 = arr3.length;
|
|
|
+ // this.handAlls = data;
|
|
|
+ // let s = this.deepClone(this.poverStat);
|
|
|
+ // this.poverStat = this.deepClone(data);
|
|
|
+ // this.powerStation = s.splice(0, this.pageSize);
|
|
|
+ // } else {
|
|
|
+ // this.powerStation = [];
|
|
|
+ // }
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+.colored {
|
|
|
+ color: rgb(227, 47, 53);
|
|
|
+ border: 1px solid rgb(227, 47, 53);
|
|
|
+}
|
|
|
+
|
|
|
+.colororigin {
|
|
|
+ color: #e37b2f;
|
|
|
+ border: 1px solid #e37b2f;
|
|
|
+}
|
|
|
+
|
|
|
+.colorblue {
|
|
|
+ color: #3681cd;
|
|
|
+ border: 1px solid #3681cd;
|
|
|
+}
|
|
|
+
|
|
|
+.blge {
|
|
|
+ width: 540px;
|
|
|
+ height: 102px;
|
|
|
+ // background: url("../../assets/img/images/xuanfu.png") no-repeat;
|
|
|
+ background-size: cover;
|
|
|
+ background-position: 0 1px;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-pager li.active {
|
|
|
+ background: rgba(0, 70, 199, 0.4);
|
|
|
+ color: #fff;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-pagination button:disabled {
|
|
|
+ background: rgba(67, 81, 107, 0.2);
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-pagination .el-input--suffix .el-input__inner {
|
|
|
+ width: 76px;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-pagination .btn-next,
|
|
|
+.el-pagination .btn-prevP {
|
|
|
+ background: rgba(67, 81, 107, 0.2);
|
|
|
+ color: #b3b3b3;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-pager li {
|
|
|
+ background: rgba(67, 81, 107, 0.2);
|
|
|
+ color: #b3b3b3;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-pagination .btn-prev {
|
|
|
+ background: rgba(67, 81, 107, 0.2);
|
|
|
+ color: #b3b3b3;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-pagination .btn-next,
|
|
|
+.el-pagination .btn-prevP {
|
|
|
+ background: rgba(67, 81, 107, 0.2);
|
|
|
+ color: #b3b3b3;
|
|
|
+}
|
|
|
+::v-deep .el-pagination .el-input__suffix {
|
|
|
+ right: 27px;
|
|
|
+ top: -2px;
|
|
|
+}
|
|
|
+::v-deep .el-pagination__sizes {
|
|
|
+ margin: 0;
|
|
|
+}
|
|
|
+.dialog {
|
|
|
+ width: 540px;
|
|
|
+ height: 420px;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: 101px;
|
|
|
+ padding: 20px 10px 0px 10px;
|
|
|
+ border: 1px solid #00549a;
|
|
|
+ background: rgba(11, 12, 12);
|
|
|
+
|
|
|
+ ul {
|
|
|
+ margin: 0 20px;
|
|
|
+ width: 85%;
|
|
|
+
|
|
|
+ li {
|
|
|
+ display: flex;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+
|
|
|
+ div {
|
|
|
+ &:first-of-type {
|
|
|
+ width: 60px;
|
|
|
+ margin-left: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:nth-of-type(2) {
|
|
|
+ width: 190px;
|
|
|
+ text-align: left;
|
|
|
+ color: #ffffff;
|
|
|
+ margin-left: 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:last-of-type {
|
|
|
+ width: 114px;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &:nth-of-type(2n-1) {
|
|
|
+ background-color: rgba(83, 89, 104, 0.2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .title {
|
|
|
+ width: 90%;
|
|
|
+ height: 50px;
|
|
|
+ line-height: 50px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #ffffff;
|
|
|
+ margin-left: 20px;
|
|
|
+ border-bottom: 1px solid #3a3f43;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-table--mini .el-table__cell {
|
|
|
+ padding: 0px;
|
|
|
+}
|
|
|
+::v-deep .el-table__header .el-table__cell {
|
|
|
+ padding: 4px 0;
|
|
|
+}
|
|
|
+.alarmdis {
|
|
|
+ font-size: 13px;
|
|
|
+ color: #ffffff;
|
|
|
+}
|
|
|
+.alarmNum {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: Bicubik;
|
|
|
+}
|
|
|
+
|
|
|
+.titleAlarm {
|
|
|
+ width: 95%;
|
|
|
+ display: flex;
|
|
|
+ position: relative;
|
|
|
+ padding-top: 20px;
|
|
|
+ justify-content: space-around;
|
|
|
+
|
|
|
+ div {
|
|
|
+ width: 70px;
|
|
|
+ text-align: center;
|
|
|
+ height: 24px;
|
|
|
+ div:first-of-type {
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .lineList {
|
|
|
+ width: 70px;
|
|
|
+ text-align: center;
|
|
|
+ height: 60px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.zhong {
|
|
|
+ color: rgb(227, 47, 53);
|
|
|
+ position: relative;
|
|
|
+ border: 1px solid #6f6f6f;
|
|
|
+
|
|
|
+ .left_p {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-left: 1px solid #ffffff;
|
|
|
+ border-top: 1px solid #ffffff;
|
|
|
+ position: absolute;
|
|
|
+ left: -1px;
|
|
|
+ top: -1px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .right_p {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-right: 1px solid #ffffff;
|
|
|
+ border-bottom: 1px solid #ffffff;
|
|
|
+ position: absolute;
|
|
|
+ left: 61px;
|
|
|
+ top: 51px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.content {
|
|
|
+ color: #e37b2f;
|
|
|
+ position: relative;
|
|
|
+ border: 1px solid #6f6f6f;
|
|
|
+
|
|
|
+ .left_p {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-left: 1px solid #ffffff;
|
|
|
+ border-top: 1px solid #ffffff;
|
|
|
+ position: absolute;
|
|
|
+ left: -1px;
|
|
|
+ top: -1px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .right_p {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-right: 1px solid #ffffff;
|
|
|
+ border-bottom: 1px solid #ffffff;
|
|
|
+ position: absolute;
|
|
|
+ left: 61px;
|
|
|
+ top: 51px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.qing {
|
|
|
+ color: #3681cd;
|
|
|
+ position: relative;
|
|
|
+ border: 1px solid #6f6f6f;
|
|
|
+
|
|
|
+ .left_p {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-left: 1px solid #ffffff;
|
|
|
+ border-top: 1px solid #ffffff;
|
|
|
+ position: absolute;
|
|
|
+ left: -1px;
|
|
|
+ top: -1px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .right_p {
|
|
|
+ width: 8px;
|
|
|
+ height: 8px;
|
|
|
+ border-right: 1px solid #ffffff;
|
|
|
+ border-bottom: 1px solid #ffffff;
|
|
|
+ position: absolute;
|
|
|
+ left: 61px;
|
|
|
+ top: 51px;
|
|
|
+ }
|
|
|
+}
|
|
|
+::v-deep .el-button {
|
|
|
+ border: 1px solid #585e60;
|
|
|
+}
|
|
|
+.dialog {
|
|
|
+ ::v-deep .el-button {
|
|
|
+ margin-left: 30px;
|
|
|
+ width: 220px;
|
|
|
+ background: transparent;
|
|
|
+ border: 1px solid #585e60;
|
|
|
+ color: #ffffff;
|
|
|
+ font-size: 15px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.determine {
|
|
|
+ border: 1px solid #1c99ff;
|
|
|
+ color: #1c99ff;
|
|
|
+}
|
|
|
+.lineLeft {
|
|
|
+}
|
|
|
+::v-deep .el-table .cell {
|
|
|
+ width: 100%;
|
|
|
+ white-space: nowrap;
|
|
|
+}
|
|
|
+.searchColor {
|
|
|
+ background: rgba(0, 70, 199, 0.5) !important;
|
|
|
+ color: #ffffff !important;
|
|
|
+}
|
|
|
+.delecolor {
|
|
|
+ background: rgba(67, 81, 107, 0.2) !important;
|
|
|
+ border: 1px solid #2a374f;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-message--warning {
|
|
|
+ background: #090e19 !important;
|
|
|
+ box-shadow: 0 0 22px rgba(0, 70, 199, 0.2) inset !important;
|
|
|
+ border: 1px solid #094493 !important;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-message--warning .el-message__content {
|
|
|
+ color: #ffffff !important;
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .el-message .el-icon-warning {
|
|
|
+ font-size: 16px;
|
|
|
+ color: #ffd02b !important;
|
|
|
+}
|
|
|
+</style>
|