From 58a598834e4b87d6d0522b2d3374e478fb8dfa03 Mon Sep 17 00:00:00 2001
From: LiJun <LiJun@192.168.10.11>
Date: 星期二, 16 十月 2018 14:37:06 +0800
Subject: [PATCH] 电池信息配置页面中添加基站号码的查询和修改功能

---
 gx_tieta/WebRoot/pages/js/common.js |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/gx_tieta/WebRoot/pages/js/common.js b/gx_tieta/WebRoot/pages/js/common.js
index a2f9eaf..47b449f 100644
--- a/gx_tieta/WebRoot/pages/js/common.js
+++ b/gx_tieta/WebRoot/pages/js/common.js
@@ -423,4 +423,20 @@
 	gl.CMD.e61850.stop = 83;					//鍋滄娴嬭瘯
 	gl.CMD.e61850.setDischargeParm = 40;				//璁剧疆鍙傛暟
 	gl.CMD.e61850.getDischargeParm = 41;				//鑾峰彇鍙傛暟
-})(jQuery, window, document, GLOBAL);
\ No newline at end of file
+})(jQuery, window, document, GLOBAL);
+
+// 鐢熸垚闃块噷鍥炬爣鐨勫厓绱�
+function create_ali_font(cla, color, data) {
+	var i = $('<i class="icon iconfont"></i>');
+	i.addClass(cla);
+	i.css({
+		'color': color
+	});
+	Object.keys(data).forEach(function(key) {
+		var attr = 'data-'+key
+		i.attr(attr, data[key]);
+	});
+	// 鑾峰彇瀛楃涓�
+	var outerHTML = i[0].outerHTML;
+	return outerHTML;
+}

--
Gitblit v1.9.1