| | |
| | | position: absolute;
|
| | | top: 0;
|
| | | right: 0;
|
| | | z-index: 999;
|
| | | z-index: 99;
|
| | | }
|
| | | .toolbar-fixed-top-right.right10 {
|
| | | right: 10px;
|
| | |
| | | createBattTable(allbattstation);
|
| | | addTdIdx($('#tbroom table tbody td'),battstationIdList);
|
| | | }
|
| | | $('#station_num').text(totalstationNum);
|
| | | $('#batt_num').text(totalbattNum);
|
| | | getbattStationlength();
|
| | | /* $('#station_num').text(totalstationNum);
|
| | | $('#batt_num').text(totalbattNum); */
|
| | | });
|
| | | }
|
| | | }
|
| | |
| | | $('#right-menu .del-group').live('click',function(){
|
| | | var oLi=$('#lbottom .li-con li').eq(LiIndex);
|
| | | // 取人删除包机组
|
| | | layer.confirm("<s:text name='Confirm_del'/>'"+oLi.text()+"'?", {icon:3, title: '系统提示'}, function() {
|
| | | layer.confirm("<s:text name='Confirm_del'/>'"+oLi.text()+"'?", {icon:3, title: '系统提示'}, function(index) {
|
| | | layer.close(index);
|
| | | var baojigroupid=oLi.attr('value');
|
| | | loading.showLoading();
|
| | | $.post('User_battgroup_baojigroupAction!delete','us.baoji_group_id='+baojigroupid+"&us.baoji_group_name="+oLi.text(),function(data){
|
| | |
| | | layer.confirm(
|
| | | '<s:text name="Determine"/><s:text name="From"/>'+obaoLi.text()+'<s:text name="Delete"/>'+ouserLi.text()+"?",
|
| | | {icon:3,title:'系统提示'},
|
| | | function() {
|
| | | function(index) {
|
| | | layer.close(index);
|
| | | var num=ouserLi.attr('num');
|
| | | var temp = {num:num,uname:ouserLi.text(),baoji_group_name:obaoLi.text()};
|
| | | loading.showLoading();
|
| | |
| | | var _attr = {
|
| | | StationId: __data.StationId
|
| | | };
|
| | | var tmp = getOptionsData(__data.StationName3, __data.StationName, __data, _attr);
|
| | | var tmp = getOptionsData(__data.StationName, __data.StationName, __data, _attr);
|
| | | optsList.push(tmp);
|
| | | }
|
| | |
|
| | |
| | | $('#tb-right-menu .del').click(function(){
|
| | | var baojiLi=$('#lbottom .li-con li.b8cfe5');
|
| | | // 是否确认删除电池组
|
| | | layer.confirm('<s:text name="Confirm_that_the_selected_battery_pack_is_removed_from_the_package"/>?',{icon:3, title: '系统提示'},function() {
|
| | | layer.confirm('<s:text name="Confirm_that_the_selected_battery_pack_is_removed_from_the_package"/>?',{icon:3, title: '系统提示'},function(index) {
|
| | | layer.close(index);
|
| | | var removeArray=new Array();
|
| | | var redTr=$('#tbroom table .red');
|
| | | //需要判断是否含有新添加的电池组
|