| | |
| | | gl.CMD.e61850.getDischargeParm = 41; //获取参数
|
| | | })(jQuery, window, document, GLOBAL);
|
| | |
|
| | | // 地图信息
|
| | | ;(function($, window, document, gl, undefined) {
|
| | | // 定义BMap的命名空间
|
| | | gl.namespace('BMap');
|
| | | // 地图可视区域定义
|
| | | var mapViewArea = [
|
| | | {name: '中国',area:'中国', left: {lng:71.3822, lat:0.6212}, right: {lng: 139.526,lat:54.3093}},
|
| | | {name: '中国-广西',area: '广西省' ,left: {lng:104.45675, lat:20.8744}, right: {lng: 112.068,lat:26.391}}
|
| | | ];
|
| | | |
| | | // 将变量mapView绑定到GLOBAL.BMap下
|
| | | gl.BMap.mapViewArea = mapViewArea;
|
| | | |
| | | })(jQuery, window, document, GLOBAL);
|
| | |
|
| | |
|
| | | // 生成阿里图标的元素
|
| | | function create_ali_font(cla, color, data) {
|
| | | var i = $('<i class="icon iconfont"></i>');
|
| | |
| | | var outerHTML = i[0].outerHTML;
|
| | | return outerHTML;
|
| | | }
|
| | |
|
| | | //生成阿里图标的元素
|
| | | function create_fa_font(cla, color, data) {
|
| | | var i = $('<i class="fa"></i>');
|
| | |
| | | var outerHTML = i[0].outerHTML;
|
| | | return outerHTML;
|
| | | }
|
| | |
|
| | | // 生成跳转的链接
|
| | | function skipUrl(page, province, city, county, home,battid,monnum) {
|
| | | var str = page+'?';
|
| | | if(province){
|
| | | str += '&province='+province;
|
| | | }
|
| | | if(city){
|
| | | str +='&city='+city;
|
| | | }
|
| | | if(county){
|
| | | str += '&county='+county;
|
| | | }
|
| | | if(home){
|
| | | str += '&home='+home;
|
| | | }
|
| | | if(battid){
|
| | | str += '&battid='+battid;
|
| | | }
|
| | | if(monnum){
|
| | | str += '&monnum'+monnum;
|
| | | }
|
| | | //var str = page+'?province='+province+'&city='+city+'&county='+county+'&home='+home;
|
| | | return str;
|
| | | } |