监测点、终端的状态修改

This commit is contained in:
xy
2024-04-23 11:40:04 +08:00
parent 7fb4df66ef
commit ac39b8c0ce
60 changed files with 263 additions and 263 deletions

View File

@@ -42,7 +42,7 @@
<div class="container-fluid">
<div class="form-inline mt5 wanzhengdiv">
<div class="form-group has-feedback mr10">
<span class=' font12 fontBold'>终端状态(左柱) <span class='run'><span class='inB bg-run smallBlock'></span> 投运 </span><span class='breaks'><span class='inB bg-breaks smallBlock'></span> 热备用 </span><span class='grey'><span class='inB bg-grey smallBlock'></span> 运 &nbsp;</span></span>
<span class=' font12 fontBold'>终端状态(左柱) <span class='run'><span class='inB bg-run smallBlock'></span> 投运 </span><span class='breaks'><span class='inB bg-breaks smallBlock'></span> 检修 </span><span class='grey'><span class='inB bg-grey smallBlock'></span> 退运 &nbsp;</span></span>
<span class=' font12 fontBold' > 终端在线率(右柱) <span class='info'><span class='inB bg-info smallBlock'></span> 在线率≥90%</span><span class='warn'> <span class='inB bg-warn smallBlock'></span> 60%≤在线率<90% </span><span class='error'> <span class='inB bg-error smallBlock'></span> 在线率<60%</span> </span>
</div>
</div>
@@ -105,8 +105,8 @@
<th>区域</th>
<th>终端个数</th>
<th>投运</th>
<th>热备用</th>
<th>运</th>
<th>检修</th>
<th>退运</th>
<th>在线率(%)</th>
</tr>
</thead>
@@ -121,8 +121,8 @@
<th>厂家</th>
<th>终端个数</th>
<th>投运</th>
<th>热备用</th>
<th>运</th>
<th>检修</th>
<th>退运</th>
<th>在线率(%)</th>
</tr>
</thead>
@@ -137,8 +137,8 @@
<th>电压等级</th>
<th>终端个数</th>
<th>投运</th>
<th>热备用</th>
<th>运</th>
<th>检修</th>
<th>退运</th>
<th>在线率(%)</th>
</tr>
</thead>
@@ -153,8 +153,8 @@
<th>干扰源类型</th>
<th>终端个数</th>
<th>投运</th>
<th>热备用</th>
<th>运</th>
<th>检修</th>
<th>退运</th>
<th>在线率(%)</th>
</tr>
</thead>
@@ -544,8 +544,8 @@
tips +='<br/><font style="font-size: 12px">终端状态(%)</font>';
if (color === noMonitor) {
tips += '<br/><font style="font-size: 10px">投运 : /</font>';
tips += '<br/><font style="font-size: 10px">热备用 : /</font>';
tips += '<br/><font style="font-size: 10px">运 : /</font>';
tips += '<br/><font style="font-size: 10px">检修 : /</font>';
tips += '<br/><font style="font-size: 10px">退运 : /</font>';
tips += '<br/><font style="font-size: 12px">终端在线率(%)</font>';
tips+='<br/><font style="font-size: 10px">/</font>';
}else{
@@ -599,13 +599,13 @@
barMaxWidth: barMax,
data: normal
}, {
name: '热备用',
name: '检修',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
data: breaks
}, {
name: '运',
name: '退运',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
@@ -858,8 +858,8 @@
tips +='<br/><font style="font-size: 12px">终端状态(%)</font>';
if (color === noMonitor) {
tips += '<br/><font style="font-size: 10px">投运 : /</font>';
tips += '<br/><font style="font-size: 10px">热备用 : /</font>';
tips += '<br/><font style="font-size: 10px">运 : /</font>';
tips += '<br/><font style="font-size: 10px">检修 : /</font>';
tips += '<br/><font style="font-size: 10px">退运 : /</font>';
tips += '<br/><font style="font-size: 12px">终端在线率(%)</font>';
tips+='<br/><font style="font-size: 10px">/</font>';
}else{
@@ -914,13 +914,13 @@
barMaxWidth: barMax,
data: run
}, {
name: '热备用',
name: '检修',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
data: breaks
}, {
name: '运',
name: '退运',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
@@ -1171,8 +1171,8 @@
tips +='<br/><font style="font-size: 12px">终端状态(%)</font>';
if (color === noMonitor) {
tips += '<br/><font style="font-size: 10px">投运 : /</font>';
tips += '<br/><font style="font-size: 10px">热备用 : /</font>';
tips += '<br/><font style="font-size: 10px">运 : /</font>';
tips += '<br/><font style="font-size: 10px">检修 : /</font>';
tips += '<br/><font style="font-size: 10px">退运 : /</font>';
tips += '<br/><font style="font-size: 12px">终端在线率(%)</font>';
tips+='<br/><font style="font-size: 10px">/</font>';
}else{
@@ -1227,13 +1227,13 @@
barMaxWidth: barMax,
data: run
}, {
name: '热备用',
name: '检修',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
data: breaks
}, {
name: '运',
name: '退运',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
@@ -1484,8 +1484,8 @@
tips +='<br/><font style="font-size: 12px">终端状态(%)</font>';
if (color === noMonitor) {
tips += '<br/><font style="font-size: 10px">投运 : /</font>';
tips += '<br/><font style="font-size: 10px">热备用 : /</font>';
tips += '<br/><font style="font-size: 10px">运 : /</font>';
tips += '<br/><font style="font-size: 10px">检修 : /</font>';
tips += '<br/><font style="font-size: 10px">退运 : /</font>';
tips += '<br/><font style="font-size: 12px">终端在线率(%)</font>';
tips+='<br/><font style="font-size: 10px">/</font>';
}else{
@@ -1540,13 +1540,13 @@
barMaxWidth: barMax,
data: run
}, {
name: '热备用',
name: '检修',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
data: breaks
}, {
name: '运',
name: '退运',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,

View File

@@ -150,10 +150,10 @@
<div class="iconBox">
<div class="divs">
<img style="margin-right:9px;height: 15px" src="../images/img/pyellow.png" alt=""/> <label>热备用</label>
<img style="margin-right:9px;height: 15px" src="../images/img/pyellow.png" alt=""/> <label>检修</label>
</div>
<div class="divs">
<img style="margin-right:5px;height: 15px" src="../images/img/pgray.png" alt=""/> <label>运</label>
<img style="margin-right:5px;height: 15px" src="../images/img/pgray.png" alt=""/> <label>退运</label>
</div>
<label class="divs">投运</label>
<div class="divs" style="padding-left: 10px">

View File

@@ -75,8 +75,8 @@
<select class="form-control" id="devflag">
<option value="">全部</option>
<option value="0">投运</option>
<option value="1">热备用</option>
<option value="2">运</option>
<option value="1">检修</option>
<option value="2">退运</option>
</select> <label class="form-group">
<div class="form-inline disinlineb wanzhengdiv">

View File

@@ -66,8 +66,8 @@
class="form-control" id="devflag">
<option value="">全部</option>
<option value="0">投运</option>
<option value="1">热备用</option>
<option value="2">运</option>
<option value="1">检修</option>
<option value="2">退运</option>
</select> <label class="form-group">通讯状态:</label> <select id="status"
class="form-control">
<option value="">全部</option>

View File

@@ -48,8 +48,8 @@
<th>区域</th>
<th>终端个数</th>
<th>投运</th>
<th>热备用</th>
<th>运</th>
<th>检修</th>
<th>退运</th>
<th>在线率(%)</th>
</tr>
</thead>
@@ -64,8 +64,8 @@
<th>厂家</th>
<th>终端个数</th>
<th>投运</th>
<th>热备用</th>
<th>运</th>
<th>检修</th>
<th>退运</th>
<th>在线率(%)</th>
</tr>
</thead>
@@ -316,8 +316,8 @@
tips += '<br/><font style="font-size: 12px">终端状态(%)</font>';
if (color === noMonitor) {
tips += '<br/><font style="font-size: 10px">投运 : /</font>';
tips += '<br/><font style="font-size: 10px">热备用 : /</font>';
tips += '<br/><font style="font-size: 10px">运 : /</font>';
tips += '<br/><font style="font-size: 10px">检修 : /</font>';
tips += '<br/><font style="font-size: 10px">退运 : /</font>';
tips += '<br/><font style="font-size: 12px">终端在线率(%)</font>';
tips += '<br/><font style="font-size: 10px">/</font>';
} else {
@@ -371,13 +371,13 @@
barMaxWidth: barMax,
data: normal
}, {
name: '热备用',
name: '检修',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
data: breaks
}, {
name: '运',
name: '退运',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
@@ -635,8 +635,8 @@
tips += '<br/><font style="font-size: 12px">终端状态(%)</font>';
if (color === noMonitor) {
tips += '<br/><font style="font-size: 10px">投运 : /</font>';
tips += '<br/><font style="font-size: 10px">热备用 : /</font>';
tips += '<br/><font style="font-size: 10px">运 : /</font>';
tips += '<br/><font style="font-size: 10px">检修 : /</font>';
tips += '<br/><font style="font-size: 10px">退运 : /</font>';
tips += '<br/><font style="font-size: 12px">终端在线率(%)</font>';
tips += '<br/><font style="font-size: 10px">/</font>';
} else {
@@ -690,13 +690,13 @@
barMaxWidth: barMax,
data: run
}, {
name: '热备用',
name: '检修',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
data: breaks
}, {
name: '运',
name: '退运',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,

View File

@@ -68,7 +68,7 @@
<li id="item2">
<div style="position:absolute;z-index: 99">
<div>
<span class=' font12 fontBold ' style="display: block;margin-left: 10px">终端状态(左柱) <span class='run'><span class='inB bg-run smallBlock'></span> 投运 </span><span class='breaks'><span class='inB bg-breaks smallBlock'></span> 热备用 </span><span class='grey'><span class='inB bg-grey smallBlock'></span> 运 &nbsp;</span></span>
<span class=' font12 fontBold ' style="display: block;margin-left: 10px">终端状态(左柱) <span class='run'><span class='inB bg-run smallBlock'></span> 投运 </span><span class='breaks'><span class='inB bg-breaks smallBlock'></span> 检修 </span><span class='grey'><span class='inB bg-grey smallBlock'></span> 退运 &nbsp;</span></span>
<span class=' font12 fontBold' style="display: block;margin-left: 10px;margin-top: 8px" > 终端在线率(右柱) <span class='info'><span class='inB smallBlock' style="background-color:#2E8B57 "></span> 在线率≥90%</span><span class='warn'> <span class='inB bg-warn smallBlock'></span> 60%≤在线率<90% </span><span class='error'> <span class='inB bg-error smallBlock'></span> 在线率<60%</span> </span>
</div>
</div>
@@ -624,13 +624,13 @@
barMaxWidth: barMax,
data: normal
}, {
name: '热备用',
name: '检修',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
data: breaks
}, {
name: '运',
name: '退运',
type: 'bar',
stack: 'sum',
barMaxWidth: barMax,
@@ -894,7 +894,7 @@
return "<span class='fr font12 fontBold' > 终端在线率(右柱) <span class='info'><span class='inB bg-info smallBlock'></span> 在线率≥90%</span><span class='warn''> " +
"<span class='inB bg-warn smallBlock'></span>" +
" 60%≤在线率<90% </span><span class='error'> <span class='inB bg-error smallBlock'></span> 在线率" +
"<60%</span> </span><span class='fr font12 fontBold'>终端状态(左柱) <span class='run'><span class='inB bg-run smallBlock'></span> 投运 </span><span class='breaks'><span class='inB bg-breaks smallBlock'></span> 热备用 </span><span class='grey'><span class='inB bg-grey smallBlock'></span> 运 &nbsp;</span></span><span class='fr font12 '><span class='fontBold'>统计时间:</span><span class='' >" + startTime + "-" + endTime + "&nbsp;</span></span>";
"<60%</span> </span><span class='fr font12 fontBold'>终端状态(左柱) <span class='run'><span class='inB bg-run smallBlock'></span> 投运 </span><span class='breaks'><span class='inB bg-breaks smallBlock'></span> 检修 </span><span class='grey'><span class='inB bg-grey smallBlock'></span> 退运 &nbsp;</span></span><span class='fr font12 '><span class='fontBold'>统计时间:</span><span class='' >" + startTime + "-" + endTime + "&nbsp;</span></span>";
} else {
return "<span class='fr font12' ><span class='info'><span class='inB bg-info smallBlock'></span> "
+ name + "≥90%</span><span class='warn''> <span class='inB bg-warn smallBlock'></span> 60%≤"