From 35fefed0792c40cb99b8d15fa5811bbb5992bff9 Mon Sep 17 00:00:00 2001 From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139> Date: 星期一, 21 一月 2019 10:42:24 +0800 Subject: [PATCH] 修改 --- gx_tieta/WebRoot/js/groupmanage.js | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/gx_tieta/WebRoot/js/groupmanage.js b/gx_tieta/WebRoot/js/groupmanage.js index 7132de4..b43326a 100644 --- a/gx_tieta/WebRoot/js/groupmanage.js +++ b/gx_tieta/WebRoot/js/groupmanage.js @@ -15,6 +15,9 @@ rs.behind = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_behind}"; // 钀藉悗鍥炬爣 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}"; rs.devalarm = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_dev_alarm}"; @@ -39,6 +42,9 @@ $('.popup .img-behind').attr('src', imgList.behind); $('.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璁惧鐘舵�� $('.popup .img-nuclear').attr('src', imgList.nuclear); @@ -65,6 +71,10 @@ $('.popup .img-behind').attr('src', 'images/none.jpg'); $('.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璁惧鐘舵�佸浘鏍� $('.popup .img-nuclear').attr('src', 'images/none.jpg'); $('.popup .img-devalarm').attr('src', 'images/none.jpg'); @@ -137,6 +147,7 @@ var _behind = $('#file_add_behind').val().length; var _warn = $('#file_add_warn').val().length; var _timeout = $('#file_add_timeout').val().length; + // 61850璁惧 if(_chart_file&&_chart_name&&_logo&&_normal&&_behind&&_warn&&_timeout) { $('.popup .ensure-btn').addClass('add-btn').removeClass('disabled'); @@ -155,6 +166,9 @@ var behind = $('.popup .img-behind').attr('src'); 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璁惧 var nuclear = $('.popup .img-nuclear').attr('src'); @@ -188,6 +202,24 @@ // 鍦板浘寤舵椂鍥炬爣 if(pregImgSrc(timeout)) { rs.timeout = timeout; + rs.count ++; + } + + // 鍦板浘鍋滅數鍥炬爣 + if(pregImgSrc(powercut)) { + rs.powercut = powercut; + rs.count ++; + } + + // 缁埅涓嶈冻鍥炬爣 + if(pregImgSrc(xuhang)) { + rs.xuhang = xuhang; + rs.count ++; + } + + // 鍦板浘鏈畨瑁呭浘鏍� + if(pregImgSrc(installed)) { + rs.installed = installed; rs.count ++; } @@ -253,6 +285,15 @@ case 'warn': rs = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_warn}"; break; + 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; // 61850璁惧鐘舵�� case 'nuclear': rs = "User_ChartAction!serchByInfo?json={Chart_file:'"+cfile+"',Chart_name:chart_nuclear_cap}"; -- Gitblit v1.9.1