| | |
| | | <script type="text/javascript" src="js/dischargetest/bts.js"></script>
|
| | | <script type="text/javascript" src="js/dischargetest/4016.js"></script>
|
| | | <script type="text/javascript" src="pages/js/pages/control-common.js"></script>
|
| | | <script type="text/javascript" src="pages/js/pages/siderbar.js"></script>
|
| | | <!-- 引入电路图 -->
|
| | | <script type="text/javascript" src="js/elecircle.js"></script>
|
| | | <script type="text/javascript" src="js/elecircle.content.js"></script>
|
New file |
| | |
| | | // 定义页面中的siderbar组件
|
| | | ;(function($, window, document, gl, undefined) {
|
| | | gl.namespace('pages.siderbar');
|
| | | |
| | | first();
|
| | | // 生成一级导航
|
| | | function first() {
|
| | | $.ajax({ |
| | | type: "post", |
| | | url: "BattInfAction!serchAllStation", |
| | | async:true, |
| | | dataType:'text',
|
| | | data:null, |
| | | success: function(data){
|
| | | console.info(data);
|
| | | }
|
| | | });
|
| | | }
|
| | | })(jQuery, window, document, GLOBAL); |
| | |
| | | //查询所有的省份(左侧导航第一层,查所有的省份,num中存放uid)
|
| | | public List serchAllStation(Object obj){
|
| | | BattInf binf=(BattInf) obj;;
|
| | | String sql="select DISTINCT StationName " +
|
| | | String sql="select DISTINCT StationName1 " +
|
| | | " FROM db_battinf.tb_battinf " +
|
| | | " where StationId in(" +
|
| | | " select distinct db_user.tb_user_battgroup_baojigroup_battgroup.StationId from db_user.tb_user_battgroup_baojigroup_battgroup,db_user.tb_user_battgroup_baojigroup_usr where db_user.tb_user_battgroup_baojigroup_battgroup.baoji_group_id=db_user.tb_user_battgroup_baojigroup_usr.baoji_group_id and db_user.tb_user_battgroup_baojigroup_usr.uId=?" +
|