| | |
| | | </head>
|
| | | <body>
|
| | | <div data-role="page">
|
| | | |
| | | <!-- 头部内容 -->
|
| | | <div data-role="header" data-position="fixed">
|
| | | <a href="batt-approve-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>
|
| | | <fieldset data-role="controlgroup" class="ptr0" > |
| | | </fieldset>
|
| | | |
| | | <fieldset data-role="controlgroup" class="ptr0" ></fieldset>
|
| | | </div>
|
| | | <!-- 主体内容 -->
|
| | | <div data-role="main">
|
| | | <!-- <div class="set-option"> -->
|
| | | <table class="layout-set">
|
| | | <tbody>
|
| | | <tr>
|
| | | <td>省</td>
|
| | | <td>
|
| | | <input type="text" id="mainteArea" class="unable" data-mini="true" onfocus="this.blur()"/>
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>城市</td>
|
| | | <td>
|
| | | <input type="text" id="city" class="unable" data-mini="true" onfocus="this.blur()"/> |
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>区县</td>
|
| | | <td>
|
| | | <input type="text" id="country" class="unable" data-mini="true" onfocus="this.blur()"/> |
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>机房名称</td>
|
| | | <td>
|
| | | <textarea id="homeName" class="unable" data-mini="true"></textarea> |
| | | </td>
|
| | | </tr>
|
| | | <tr> |
| | | <td>机房编号</td>
|
| | | <td>
|
| | | <input type="text" id="StationId" class="unable" data-mini="true" onfocus="this.blur()"/>
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>FBS设备ID(重要)</td>
|
| | | <td>
|
| | | <input type="text" id="FBSDeviceId" class="unable" data-mini="true" onfocus="this.blur()"/>
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>FBS设备IP(重要)</td>
|
| | | <td>
|
| | | <input type="text" id="FbsDeviceIp" class="unable" data-mini="true" onfocus="this.blur()" />
|
| | | </td>
|
| | | </tr>
|
| | | |
| | | |
| | | <input type="hidden" id="StationName4" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="StationIp" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="FbsDeviceIp_YM" class="unable" data-mini="true" value="456"/> |
| | | |
| | | <input type="hidden" id="FbsDeviceIp_WG" class="unable" data-mini="true" value="456"/>
|
| | | |
| | | <input type="hidden" id="FBSDeviceName" data-mini="true" />
|
| | | |
| | | <input type="hidden" readonly unselectable="on" value="123" id="BattGroupNum" class="unable" class="uncheck" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="FloatVolLevel" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="OfflineVolLevel" class="unable" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="BattFloatCurrent" class="unable" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="MonResStd" data-mini="true" /> |
| | | |
| | | <input type="hidden" id="MonSerStd" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="MonVolLowToAvg" data-mini="true" />
|
| | | |
| | | <tr>
|
| | | <td>*负载电流(A)</td>
|
| | | <td>
|
| | | <input type="text" id="Load_curr" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr> |
| | | <input type="hidden" id="DisCurrMax" class="unable" data-mini="true" />
|
| | |
|
| | | <tr>
|
| | | <td>*基站电话号码</td>
|
| | | <td>
|
| | | <input type="text" id="station_phone" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | |
|
| | | <input id="startTestrecord" type="hidden" name="appDate" class="appDatefir" value="2000-01-01" />
|
| | | |
| | | <input id="endTestrecord" type="hidden" name="appDate" class="appDatesec" value="2017-01-01" />
|
| | | |
| | | <tr>
|
| | | <td>*安装人员</td>
|
| | | <td>
|
| | | <input type="text" id="install_user" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | |
| | | <tr>
|
| | | <td>*通讯计数</td>
|
| | | <td>
|
| | | <input type="text" id="tongxunnumber" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | |
| | | <tr>
|
| | | <td>*丢包率</td>
|
| | | <td>
|
| | | <input type="text" id="diubaonumber" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | |
| | | <tr>
|
| | | <td>*是否验收</td>
|
| | | <td>
|
| | | <input type="text" id="check_en" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | </tbody>
|
| | | </table>
|
| | | <!-- </div> -->
|
| | | <div id="battdata">
|
| | | <!-- <div>
|
| | | <h1 class="hbg">电池组1</h1>
|
| | | <table class="layout-set"> |
| | | <tbody>
|
| | | <tr>
|
| | | <td>设备索引</td>
|
| | | <td>
|
| | | <fieldset data-role="controlgroup" data-type="horizontal"> |
| | | <select>
|
| | | <option value="">0</option>
|
| | | <option value="mon">1</option>
|
| | | <option value="mon">2</option>
|
| | | <option value="mon">3</option>
|
| | | |
| | | </select>
|
| | | </fieldset> |
| | | </td> |
| | | </tr>
|
| | | <tr>
|
| | | <td>电池组名称</td>
|
| | | <td><input type="text" id="" data-mini="true" /></td>
|
| | | </tr>
|
| | | </tbody>
|
| | | </table>
|
| | | </div> -->
|
| | | </div> |
| | | |
| | | <table class="layout-set">
|
| | | <tbody>
|
| | | <tr>
|
| | | <td>省</td>
|
| | | <td>
|
| | | <input type="text" id="mainteArea" class="unable" data-mini="true" onfocus="this.blur()"/>
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>城市</td>
|
| | | <td>
|
| | | <input type="text" id="city" class="unable" data-mini="true" onfocus="this.blur()"/> |
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>区县</td>
|
| | | <td>
|
| | | <input type="text" id="country" class="unable" data-mini="true" onfocus="this.blur()"/> |
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>机房名称</td>
|
| | | <td>
|
| | | <textarea id="homeName" class="unable" data-mini="true"></textarea> |
| | | </td>
|
| | | </tr>
|
| | | <tr> |
| | | <td>机房编号</td>
|
| | | <td>
|
| | | <input type="text" id="StationId" class="unable" data-mini="true" onfocus="this.blur()"/>
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>FBS设备ID(重要)</td>
|
| | | <td>
|
| | | <input type="text" id="FBSDeviceId" class="unable" data-mini="true" onfocus="this.blur()"/>
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>FBS设备IP(重要)</td>
|
| | | <td>
|
| | | <input type="text" id="FbsDeviceIp" class="unable" data-mini="true" onfocus="this.blur()" />
|
| | | </td>
|
| | | </tr>
|
| | | |
| | | |
| | | <input type="hidden" id="StationName4" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="StationIp" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="FbsDeviceIp_YM" class="unable" data-mini="true" value="456"/> |
| | | |
| | | <input type="hidden" id="FbsDeviceIp_WG" class="unable" data-mini="true" value="456"/>
|
| | | |
| | | <input type="hidden" id="FBSDeviceName" data-mini="true" />
|
| | | |
| | | <input type="hidden" readonly unselectable="on" value="123" id="BattGroupNum" class="unable" class="uncheck" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="FloatVolLevel" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="OfflineVolLevel" class="unable" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="BattFloatCurrent" class="unable" data-mini="true" />
|
| | |
|
| | | <input type="hidden" id="MonResStd" data-mini="true" /> |
| | | |
| | | <input type="hidden" id="MonSerStd" data-mini="true" />
|
| | | |
| | | <input type="hidden" id="MonVolLowToAvg" data-mini="true" />
|
| | | |
| | | <tr>
|
| | | <td>*负载电流(A)</td>
|
| | | <td>
|
| | | <input type="text" id="Load_curr" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr> |
| | | <input type="hidden" id="DisCurrMax" class="unable" data-mini="true" />
|
| | |
|
| | | <tr>
|
| | | <td>*基站电话号码</td>
|
| | | <td>
|
| | | <input type="text" id="station_phone" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | |
|
| | | <input id="startTestrecord" type="hidden" name="appDate" class="appDatefir" value="2000-01-01" />
|
| | | |
| | | <input id="endTestrecord" type="hidden" name="appDate" class="appDatesec" value="2017-01-01" />
|
| | | |
| | | <tr>
|
| | | <td>*安装人员</td>
|
| | | <td>
|
| | | <input type="text" id="install_user" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | <tr>
|
| | | <td>*是否验收</td>
|
| | | <td>
|
| | | <input type="text" id="check_en" class="unable" data-mini="true" />
|
| | | </td>
|
| | | </tr>
|
| | | </tbody>
|
| | | </table>
|
| | | <div id="battdata"></div>
|
| | | </div>
|
| | |
|
| | | <div data-role="footer" data-position="fixed" data-theme="a">
|
| | | <div data-role="navbar">
|
| | | <ul>
|
| | | <li><a href="" id="applyyanshou"class="ui-btn ui-btn-inline ui-corner-all operat-but ui-btn-icon-check" data-position-to="window" data-icon="check" data-role="button">申请验收</a></li>
|
| | | <li><a href="javascript:;" id="homeInfoIframeBtn" class="ui-btn ui-btn-inline ui-corner-all operat-but ui-btn-icon-check" data-position-to="window" data-icon="home" data-role="button">机房信息</a></li>
|
| | | <li><a href="#yourPopup" id="shishishuju" data-rel="popup" class="ui-btn ui-btn-inline ui-corner-all operat-but ui-btn-icon-check" data-position-to="window" data-icon="star" data-role="button">实时数据</a></li>
|
| | | </ul>
|
| | | </div>
|
| | | </div>
|
| | | <div data-role="popup" id="yourPopup" class="ui-content" data-overlay-theme="b">
|
| | | <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn ui-icon-delete ui-btn-icon-notext ui-btn-right">关闭</a>
|
| | | <h1>选择查看电池组</h1>
|
| | | <fieldset data-role="controlgroup" > |
| | | <select id="newbattnum" data-mini="true">
|
| | | <option value="1">电池组1</option>
|
| | | |
| | | </select> |
| | | </fieldset>
|
| | | |
| | | <div data-role="controlgroup" data-type="horizontal" class="mt6">
|
| | | <a href="" id="sure" class="ui-btn ui-corner-all ui-shadow ui-btn-icon-left ui-icon-check pl5" >确定</a>
|
| | | <a href="" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-icon-left ui-icon-delete pl5" >取消</a> |
| | | </div>
|
| | | <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn ui-icon-delete ui-btn-icon-notext ui-btn-right">关闭</a>
|
| | | <h1>选择查看电池组</h1>
|
| | | <fieldset data-role="controlgroup" > |
| | | <select id="newbattnum" data-mini="true">
|
| | | <option value="1">电池组1</option>
|
| | | </select> |
| | | </fieldset>
|
| | | |
| | | <div data-role="controlgroup" data-type="horizontal" class="mt6">
|
| | | <a href="" id="sure" class="ui-btn ui-corner-all ui-shadow ui-btn-icon-left ui-icon-check pl5" >确定</a>
|
| | | <a href="" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-icon-left ui-icon-delete pl5" >取消</a> |
| | | </div>
|
| | | </div>
|
| | | <div data-role="popup" id="yourPopup" class="ui-content" data-overlay-theme="b">
|
| | | <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn ui-icon-delete ui-btn-icon-notext ui-btn-right">关闭</a>
|
| | | <a href="" data-rel="back" id="sure" class="ui-btn ui-corner-all ui-shadow ui-btn-icon-left ui-icon-check" >提交</a>
|
| | | <a href="" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-icon-left ui-icon-delete" >放弃</a>
|
| | | </div> |
| | | <a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn ui-icon-delete ui-btn-icon-notext ui-btn-right">关闭</a>
|
| | | <a href="" data-rel="back" id="sure" class="ui-btn ui-corner-all ui-shadow ui-btn-icon-left ui-icon-check" >提交</a>
|
| | | <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>
|
| | |
| | | }
|
| | | // 点击申请验收显示面板
|
| | | $("#applyyanshou").on('click',function(){
|
| | | console.info(temp);
|
| | | //console.info(temp);
|
| | | if(temp.length == 0) {
|
| | | layer.msg('获取数据失败!!');
|
| | | return ;
|
| | | }
|
| | |
|
| | | // 存储所有的数据
|
| | | $('#homeInfoIframeAll').data('allData', temp);
|
| | | $('#homeInfoIframeAll').data('allData', temp);
|
| | | var _data = temp[0];
|
| | | var _temp = {
|
| | | homeId: _data.binf.StationId
|
| | |
| | | }
|
| | |
|
| | | // 存储需要的homeInfo信息
|
| | | $('#homeInfoIframe').data('homeInfo', _temp);
|
| | | |
| | | $('#homeInfoIframe').data('homeInfo', _temp);
|
| | | iframePopup = layer.open({
|
| | | type: 2
|
| | | ,closeBtn: 0
|
| | |
| | | ,full: true
|
| | | ,anim: 4
|
| | | ,content: 'iframe/homeinfo1.html'
|
| | | ,success: function() {
|
| | | $('div[data-role=page]').hide();
|
| | | }
|
| | | ,end: function() {
|
| | | $('div[data-role=page]').show();
|
| | | }
|
| | | });
|
| | | layer.full(iframePopup);
|
| | | })
|
| | | });
|
| | | |
| | | // 显示机房面板信息
|
| | | $('#homeInfoIframeBtn').click(function() {
|
| | | 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/seenhomeinfo.html'
|
| | | ,success: function() {
|
| | | $('div[data-role=page]').hide();
|
| | | }
|
| | | ,end: function() {
|
| | | $('div[data-role=page]').show();
|
| | | }
|
| | | }); |
| | | layer.full(iframePopup);
|
| | | });
|
| | | |
| | | var tempgroupid = new Array() ;
|
| | | for(var i=0;i<temp.length;i++){
|
| | | tempgroupid.push(temp[i].binf.BattGroupId);
|
| | |
| | | //setTimes($("#startTestrecord"),'2000-01-01');
|
| | | //setTimes($("#endTestrecord"),new Date().format('yyyy-MM-dd'));
|
| | | installstartdata(temp);//导入初始页面值
|
| | | getnewnumber(temp[0].binf.FBSDeviceId);
|
| | | //getnewnumber(temp[0].binf.FBSDeviceId);
|
| | | updateinstalldata();
|
| | | });
|
| | | var timeer = '';
|