From b8e64e9ac514d86d8e6c6bbfe39cd04b01b5cf7f Mon Sep 17 00:00:00 2001
From: 81041 <81041@192.168.10.16>
Date: 星期二, 11 十二月 2018 17:22:37 +0800
Subject: [PATCH] 设备告警修改
---
gx_tieta/WebRoot/js/groupmanage.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/gx_tieta/WebRoot/js/groupmanage.js b/gx_tieta/WebRoot/js/groupmanage.js
index e988ecd..b43326a 100644
--- a/gx_tieta/WebRoot/js/groupmanage.js
+++ b/gx_tieta/WebRoot/js/groupmanage.js
@@ -16,6 +16,7 @@
rs.timeout = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_timeout}"; // 寤舵椂鏈烘埧鍥炬爣
rs.warn = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_warn}"; // 鍛婅鏈烘埧鍥炬爣
rs.powercut = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_poff}"; // 鍋滅數鏈烘埧鍥炬爣
+ rs.xuhang = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:Chart_xuhang}"; // 缁埅涓嶈冻鏈烘埧鍥炬爣
rs.installed = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_install}"; // 鏈畨瑁呭浘鏍�
// 61850璁惧鐘舵��
rs.nuclear = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_nuclear_cap}";
@@ -42,6 +43,7 @@
$('.popup .img-warn').attr('src', imgList.warn);
$('.popup .img-timeout').attr('src', imgList.timeout);
$('.popup .img-powercut').attr('src', imgList.powercut);
+ $('.popup .img-xuhang').attr('src', imgList.xuhang);
$('.popup .img-installed').attr('src', imgList.installed);
// 61850璁惧鐘舵��
@@ -70,6 +72,7 @@
$('.popup .img-warn').attr('src', 'images/none.jpg');
$('.popup .img-timeout').attr('src', 'images/none.jpg');
$('.popup .img-powercut').attr('src', 'images/none.jpg');
+ $('.popup .img-xuhang').attr('src', 'images/none.jpg');
$('.popup .img-installed').attr('src', 'images/none.jpg');
// 61850璁惧鐘舵�佸浘鏍�
@@ -164,6 +167,7 @@
var warn = $('.popup .img-warn').attr('src');
var timeout = $('.popup .img-timeout').attr('src');
var powercut = $('.popup .img-powercut').attr('src');
+ var xuhang = $('.popup .img-xuhang').attr('src')
var installed = $('.popup .img-installed').attr('src');
// 61850璁惧
@@ -204,6 +208,12 @@
// 鍦板浘鍋滅數鍥炬爣
if(pregImgSrc(powercut)) {
rs.powercut = powercut;
+ rs.count ++;
+ }
+
+ // 缁埅涓嶈冻鍥炬爣
+ if(pregImgSrc(xuhang)) {
+ rs.xuhang = xuhang;
rs.count ++;
}
@@ -278,6 +288,9 @@
case 'powercut':
rs = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_poff}";
break;
+ case 'xuhang':
+ rs = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:Chart_xuhang}";
+ break;
case 'installed':
rs = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_install}";
break;
--
Gitblit v1.9.1