| | |
| | | function editBattGroup(obj) {
|
| | | //console.log(obj);
|
| | | searchHomeInfoByName(obj.data.StationName);
|
| | | return;
|
| | | $('#iframeEdit').data('data', obj.data);
|
| | | iframePopup = layer.open({
|
| | | type: 2
|
| | | ,area:['1200px', '520px']
|
| | | ,resize: false
|
| | | ,content: 'iframe/batt-info-edit.html'
|
| | | });
|
| | | }
|
| | |
|
| | | // 根据机房的名称查询机房的信息
|
| | |
| | | $('#iframeEdit').data('data', tmp);
|
| | | iframePopup = layer.open({
|
| | | type: 2
|
| | | ,title: '修改电池组'
|
| | | ,area:['1200px', '520px']
|
| | | ,resize: false
|
| | | ,content: 'iframe/batt-info-edit.html'
|
| | |
| | |
|
| | | iframePopup = layer.open({
|
| | | type: 2
|
| | | ,title: '新建电池组'
|
| | | ,area:['1200px', '520px']
|
| | | ,resize: false
|
| | | ,content: 'iframe/batt-info-add.html'
|
| | |
| | |
|
| | | //首页
|
| | | $('#page_home').click(function(){
|
| | | alert(123);
|
| | | if(Page != undefined){
|
| | | if(Page.curr != 1){
|
| | | Page.setCurr(1);
|
| | |
| | | //尾页
|
| | | $('#page_last').click(function(){
|
| | | if(Page != undefined){
|
| | | if(Page.pageCurr < Page.num){
|
| | | if(Page.curr < Page.num){
|
| | | Page.setCurr(Page.num);
|
| | | search(createSearchParam(), true);
|
| | | }
|
| | |
| | | var value=$('#number').val();
|
| | | //当输入的数大于0时
|
| | | if(value>0){
|
| | | if(value != Page.pageSize){
|
| | | if(value != Page.size){
|
| | | Page.setSize(parseInt(value));
|
| | | Page.setCurr(1);
|
| | | }
|