hdw
2018-11-12 18ce4fb0213f2e7a7369e0d8861b744a2cd1a940
gx_tieta/WebRoot/charge-test.jsp
@@ -403,7 +403,13 @@
   <!-- 电池组机历卡详细信息-->
   <div id="card_infor">
      <span class="title-log"><s:text name="The_battery_pack_machine_through_the_card"/></span>                              <!-- 电池组机历卡 -->
      <div class="con-list ele-infor con-show">
      <div id="cardInfoTab" class="whyc-tab-card">
         <ul class="whyc-tab-title">
            <li class="whyc-tab-this">电池组信息</li>
            <li class="">基站信息</li>
         </ul>
      </div>
      <div class="con-list ele-infor con-show" style="height: 400px;overflow-y: auto">
         <table>
            <tr>
               <th id="card_infor_left"><s:text name="Parameter_name"/></th>         <!-- 参数名称 -->
@@ -480,6 +486,166 @@
            <tr>
               <td><s:text name="Head"/></td>                           <!-- 负责人 -->
               <td></td>
            </tr>
         </table>
      </div>
      <div class="con-list ele-infor" style="height: 400px;overflow-y: auto">
         <table>
            <tr>
               <th id="card_infor_left"><s:text name="Parameter_name"/></th>         <!-- 参数名称 -->
               <th><s:text name="Parameter_value"/></th>                        <!-- 参数值 -->
            </tr>
            <tr>
               <td>站点ID</td>
               <td id="station_stationid_ex"></td>
            </tr>
            <tr>
               <td>站点名称</td>
               <td id="station_stationname"></td>
            </tr>
            <tr>
               <td>机房ID</td>
               <td id="station_stationid"></td>
            </tr>
            <tr>
               <td>所属组织</td>
               <td id="station_affiliation"></td>
            </tr>
            <tr>
               <td>数据来源</td>
               <td id="station_dataSources"></td>
            </tr>
            <tr>
               <td>站址类型</td>
               <td id="station_stationType"></td>
            </tr>
            <tr>
               <td>经纬度</td>
               <td id="station_jinweidu"></td>
            </tr>
            <tr>
               <td>所在地址</td>
               <td id="station_stationAddr"></td>
            </tr>
            <tr>
               <td>站址状态</td>
               <td id="station_stationstate"></td>
            </tr>
            <tr>
               <td>维护单位</td>
               <td id="station_maintenanceCompany"></td>
            </tr>
            <tr>
               <td>站址场景</td>
               <td id="station_stationscenario"></td>
            </tr>
            <tr>
               <td>站址产权</td>
               <td id="station_stationproperty"></td>
            </tr>
            <tr>
               <td>使用单位</td>
               <td id="station_useUnit"></td>
            </tr>
            <tr>
               <td>物理站址编码</td>
               <td id="station_siteCode"></td>
            </tr>
            <tr>
               <td>历史物理站址编码</td>
               <td id="station_historySiteCode"></td>
            </tr>
            <tr>
               <td>站址内部编号</td>
               <td id="station_siteInternalNumber"></td>
            </tr>
            <tr>
               <td>站址拼音简称</td>
               <td id="station_sitePinyinReferred"></td>
            </tr>
            <tr>
               <td>中文简称</td>
               <td id="station_siteChineseReferred"></td>
            </tr>
            <tr>
               <td>是否开通业务</td>
               <td id="station_isOpenBusiness"></td>
            </tr>
            <tr>
               <td>录入人员</td>
               <td id="station_schoolPersonnel"></td>
            </tr>
            <tr>
               <td>录入时间</td>
               <td id="station_entryTime"></td>
            </tr>
            <tr>
               <td>修改人</td>
               <td id="station_modifyPeople"></td>
            </tr>
            <tr>
               <td>修改时间</td>
               <td id="station_modifyTime"></td>
            </tr>
            <tr>
               <td>备注</td>
               <td id="station_note"></td>
            </tr>
            <tr>
               <td>站址接收标记及是否有效</td>
               <td id="station_receiveorvalidity"></td>
            </tr>
            <tr>
               <td>移动站址名称</td>
               <td id="station_siteNameCMCC"></td>
            </tr>
            <tr>
               <td>电信站址名称</td>
               <td id="station_siteNameCTC"></td>
            </tr>
            <tr>
               <td>联通站址名称</td>
               <td id="station_siteNameCUCC"></td>
            </tr>
            <tr>
               <td>品牌</td>
               <td id="station_producer"></td>
            </tr>
            <tr>
               <td>续航测算时长</td>
               <td id="station_lastTimeLong"></td>
            </tr>
            <tr>
               <td>续航测算类别</td>
               <td id="station_lastTimeType"></td>
            </tr>
            <tr>
               <td>续航发生时间</td>
               <td id="station_lastTimeDate"></td>
            </tr>
            <tr>
               <td>共享情况</td>
               <td id="station_shareInfo"></td>
            </tr>
            <tr>
               <td>运营商购买发电服务状况</td>
               <td id="station_electPower"></td>
            </tr>
            <tr>
               <td>是否具备发电条件</td>
               <td id="station_isCanElectPower"></td>
            </tr>
            <tr>
               <td>上站路程</td>
               <td id="station_upperStationRoute"></td>
            </tr>
            <tr>
               <td>上站难易程度</td>
               <td id="station_upperStationDifficult"></td>
            </tr>
            <tr>
               <td>客户问题库未完成蓄电池维修</td>
               <td id="station_clienteleErrorService"></td>
            </tr>
         </table>
      </div>
@@ -3245,8 +3411,10 @@
         var batt = getBattinfById();
         var province = batt.StationName1;
         var city = batt.StationName2;
         var county = batt.StationName5;
         var home = batt.StationName;
         $(this).attr('href', 'control.jsp?province='+province+'&city='+city+'&home='+home);
         var homeid = batt.BattGroupId;
         $(this).attr('href', 'control.jsp?province='+province+'&city='+city+'&county='+county+'&home='+home+'&homeid='+homeid);
      });
   }); 
   
@@ -3563,6 +3731,7 @@
                        val:_data.BattGroupId,
                        province: _data.stationName1,
                        city: _data.stationName2,
                        county: _data.stationName5,
                        home: _data.stationName,
                        isCharge:0
                     });
@@ -3572,6 +3741,7 @@
                        val: _data.BattGroupId,
                        province: _data.stationName1,
                        city: _data.stationName2,
                        county: _data.stationName5,
                        home: _data.stationName,
                        isCharge:1
                     });
@@ -4608,6 +4778,7 @@
      var second = GLOBAL.pages.siderbar.second;   // 二级导航
      var third = GLOBAL.pages.siderbar.third;   // 三级导航
      var fourth = GLOBAL.pages.siderbar.fourth;   // 四级导航
      var fifth = GLOBAL.pages.siderbar.fifth;   // 五级导航
      var localSideBar = GLOBAL.pages.siderbar.localSideBar;   // 定位机房
      var treeView = new TreeView($('#lside'));
      $('#lside').width($('#ele_content').width());
@@ -4632,11 +4803,18 @@
         second(treeView, $(this).parent(), province);
      });
      
      // 市->机房
      // 市->区
      treeView.ele.on('click', '.city', function() {
         var city = $(this).data('attr');
         third(treeView, $(this).parent(), city);
      });
      // 区->机房
      treeView.ele.on('click', '.county', function() {
         var county = $(this).data('attr');
         fourth(treeView, $(this).parent(), county);
      });
      
      battinlist = [];
      // 机房->电池组
@@ -4645,10 +4823,11 @@
         var tmp = {
            StationName1: home.StationName1,
            StationName2: home.StationName2,
            StationName5: home.StationName5,
            StationName: home.StationName,
            StationId: home.StationId
         };
         fourth(treeView, $(this).parent(), tmp);
         fifth(treeView, $(this).parent(), tmp);
      });
      
      // 电池组
@@ -4695,6 +4874,7 @@
            province: battInfo.province,
            city: battInfo.city,
            home: battInfo.home,
            county: battInfo.county,
            homeid: battInfo.note,
            battid: battInfo.val
         };
@@ -4711,10 +4891,12 @@
            province: batt.StationName1,
            city: batt.StationName2,
            home: batt.StationName,
            county: batt.StationName5,
            homeid: batt.StationId,
            battid: batt.BattGroupId
         };
         findBattinfByBattGroupId(batt.BattGroupId);
         findStationInfoByStation(batt);
         // 根据数据定位
         localSideBar(treeView, treeView.container, tmp);
      });
@@ -4759,7 +4941,8 @@
      function findHome() {
         var tmp = {
            StationName1:'',
            StationName2: ''
            StationName2: '',
            StationName5: ''
         };
         
         // 查询将信息
@@ -4774,6 +4957,7 @@
                     label: _data.StationName+'('+_data.StationId+')',
                     province: _data.StationName1,
                     city: _data.StationName2,
                     county: _data.StationName5,
                     home: _data.StationName,
                     homeid: _data.StationId,
                     battid: undefined
@@ -4787,5 +4971,23 @@
         });
      }
   });
   // 机历卡模块
   $(function() {
      // 获取选项卡列表
      var tabs = $('#cardInfoTab .whyc-tab-title li');
      var tabContents = $('#card_infor .con-list');
      // 点击tabs触发
      tabs.click(function() {
         var index = $(this).index();
         // 移除特效
         tabs.removeClass('whyc-tab-this');
         tabContents.removeClass('con-show');
         // 显示特效
         $(this).addClass('whyc-tab-this');
         tabContents.eq(index).addClass('con-show');
      });
   });
</script>
</html>