hdw
2018-12-27 65f62299541fc2f373991045791e280d48d20a67
添加面板申请验收面板
2个文件已修改
56 ■■■■ 已修改文件
gx_tieta/WebRoot/batch-set-curr.jsp 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/WebRoot/mobil/batt-approved1.html 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gx_tieta/WebRoot/batch-set-curr.jsp
@@ -404,26 +404,19 @@
                    ,cellMinWidth: 80
                    ,cols: [[
                        {type:'checkbox',fixed: 'left'}
                        ,{field:'StationName', title:'机房名称', align:'center', width: 360}
                        ,{field:'StationName', title:'机房名称', align:'center', width: 470}
                        ,{field:'FBSDeviceName', title:'FBS设备名称', align:'center', width: 160}
                        ,{field:'GroupIndexInFBSDevice', title:'FBS设备索引', align:'center', width: 160}
                        ,{field:'StationName9', title:'设备版本号', align:'center', width: 160}
                        ,{field:'BattGroupId', title:'电池组ID', align:'center', width: 160}
                        ,{field:'BattGroupNum', title:'机房内电池组编号', align:'center', width: 160}
                        ,{field:'BattGroupName', title:'电池组名称', align:'center', width: 160}
                        ,{field:'FloatVolLevel', title:'浮充电压阀值', align:'center', width: 160}
                        ,{field:'OfflineVolLevel', title:'离线电压阀值', align:'center', width: 160}
                        ,{field:'BattFloatCurrent', title:'浮充阀值', align:'center', width: 100}
                        ,{field:'MonCount', title:'单体数量', align:'center', width: 100}
                        ,{field:'MonCapStd', title:'标称容量', align:'center', width: 100}
                        ,{field:'MonVolStd', title:'标称单体电压', align:'center', width: 140}
                        ,{field:'MonResStd', title:'标称单体内阻', align:'center', width: 140}
                        ,{field:'MonSerStd', title:'标称单体电导', align:'center', width: 140}
                        ,{field:'MonVolLowToAvg', title:'单体电压次低偏移量', align:'center', width: 140}
                        ,{field:'Load_curr', title:'负载电流', align:'center', width: 140}
                        ,{field:'DisCurrMax', title:'最大核容电流', align:'center', width: 140}
                        ,{field:'station_phone', title:'基站手机号码', align:'center', width: 140}
                        ,{field:'BattProducer', title:'电池品牌', align:'center', width: 140}
                        ,{field:'BattModel', title:'电池型号', align:'center', width: 260}
                        ,{field:'doThings', fixed: 'right', title: '设置状态', toolbar: '#setStatus', align: 'center', width: 160}
                    ]]
                    ,data:[]
gx_tieta/WebRoot/mobil/batt-approved1.html
@@ -8,6 +8,7 @@
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="mobilCss/jquery.mobile-1.4.5.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/tbl.css">
    <link rel="stylesheet" type="text/css" href="src/css/layui.css">
    <script type="text/javascript" src="mobilJs/jquery-1.8.2.js"></script>
    <script type="text/javascript" src="js/tbl.js"></script>
    <script type="text/javascript" src="mobilJs/base.js"></script>
@@ -57,7 +58,7 @@
        <!-- 头部内容 -->
        <div data-role="header" data-position="fixed">
            <a href="batt-unapproved-index.html" target="_top" class="ui-btn ui-corner-all ui-shadow ui-icon-back ui-btn-icon-left" style="padding-top: 0.7em; padding-bottom: 0.7em;">返回</a>
            <h1>已审批通过电机房详情</h1>
            <h1>已审批通过机房详情</h1>
            <fieldset data-role="controlgroup" class="ptr0" >
                   
                   
@@ -256,9 +257,12 @@
        <a href="" data-rel="back" class="ui-btn ui-corner-all ui-shadow  ui-btn-icon-left ui-icon-delete" >放弃</a>
    </div>        
    </div>
    <!-- 存储homeinfo的值 -->
    <div id="homeInfoIframe"></div>
    <div id="homeInfoIframeAll"></div>
</body>
<script type="text/javascript" src="src/layui.all.js"></script>
<script type="text/javascript">    
    function creatAllView(num){
        var allString=''
@@ -318,9 +322,42 @@
       return selected; 
  }    
      var temp = getCookie("eleparm");
    //console.info(temp);
    temp=JSON.parse(temp);
    console.info(temp);
    var arr = temp;
    // 点击申请验收显示面板
    $("#applyyanshou").on('click',function(){
        console.info(temp);
        if(temp.length == 0) {
            layer.msg('获取数据失败!!');
            return ;
        }
        // 存储所有的数据
        $('#homeInfoIframeAll').data('allData', temp);
        var _data = temp[0];
        var _temp = {
            homeId: _data.binf.StationId
            ,homeName: _data.binf.StationName
            ,addr: ''
            ,lng: 0
            ,lat: 0
        }
        // 存储需要的homeInfo信息
        $('#homeInfoIframe').data('homeInfo', _temp);
        iframePopup = layer.open({
             type: 2
             ,closeBtn: 0
             ,title: false
             ,area: ['100%', '100%']
             ,full: true
             ,anim: 4
             ,content: 'iframe/homeinfo1.html'
         });
         layer.full(iframePopup);
    })
    var tempgroupid = new Array() ;
    for(var i=0;i<temp.length;i++){
        tempgroupid.push(temp[i].binf.BattGroupId);