From 1b71deb76a81b4619538045d66032c12524dff0b Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期四, 22 十一月 2018 11:27:52 +0800
Subject: [PATCH] 电池告警率跳转
---
gx_tieta/WebRoot/index.jsp | 18 +++++++++++++++---
gx_tieta/WebRoot/pages/css/mylayui.css | 3 +++
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/gx_tieta/WebRoot/index.jsp b/gx_tieta/WebRoot/index.jsp
index 0f64896..99731a3 100644
--- a/gx_tieta/WebRoot/index.jsp
+++ b/gx_tieta/WebRoot/index.jsp
@@ -128,11 +128,14 @@
<tr>
<td class="w5em alg-c f-bold">鏈烘埧鍚嶇О:</td>
<td><input type="text" id="mapToolSearch"></td>
+ <td class="w54 btn-container">
+ <button type="button" value="鎼滅储" id="mapToolSearchBtn" class="mrr8"><i class="fa fa-search page-link"></i></button>
+ </td>
</tr>
<tr>
- <td colspan="2" class="alg-r btn-container">
+ <td colspan="3" class="alg-r btn-container">
<span class="mrr8">宸插畨瑁呰澶囨暟/璁惧鎬绘暟锛�<span id="installnum">12/600</span><i id="installnumbtn" class="fa fa-refresh mrl8 page-link" title="鍒锋柊"></i></span>
- <button type="button" value="鎼滅储" id="mapToolSearchBtn" class="mrr8">鎼滅储</button>
+
</td>
</tr>
</tbody>
@@ -1003,6 +1006,15 @@
//鍒涘缓鐢垫睜鍛婅楗肩姸鍥�
var warnTle="<s:text name='Battery_alarm_rate'/>"; /* 鐢垫睜鍛婅鐜� */
createPie(warnPie,warnTle,Almarr);
+ warnPie.on('click', function(param) {
+ // 0:鍦ㄧ嚎鐢靛帇 1:缁勭鐢靛帇 2:鍏呯數鐢垫祦 3:鏀剧數鐢垫祦 4:鍗曚綋鐢靛帇 5:瀹归噺鍛婅
+ if(param.dataIndex == 5) {
+
+ }else {
+ window.open('elewarn.jsp?warntype='+param.dataIndex+'&warntxt='+param.name);
+ }
+
+ });
}
});
}
@@ -1107,7 +1119,7 @@
powercut_isNew = false;
createPie(repairPie,repairTle,repairObj);
repairPie.on('click', function() {
- window.open('batt-state-manage.jsp?power_state=0');
+ window.open('batt-state-manage.jsp');
});
}else{
var opt = getOpt(repairTle, repairObj);
diff --git a/gx_tieta/WebRoot/pages/css/mylayui.css b/gx_tieta/WebRoot/pages/css/mylayui.css
index 9540364..bdf4530 100644
--- a/gx_tieta/WebRoot/pages/css/mylayui.css
+++ b/gx_tieta/WebRoot/pages/css/mylayui.css
@@ -163,6 +163,9 @@
z-index: -1;
}
/* width */
+.w54 {
+ width: 54px;
+}
.w260 {
width: 260px;
}
--
Gitblit v1.9.1