hdw
2018-11-02 89cc717e3ccd49d49539b25d7a8554126504b51f
gx_tieta/WebRoot/control.jsp
@@ -281,7 +281,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>         <!-- 参数名称 -->
@@ -358,6 +364,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>
@@ -823,7 +989,7 @@
            <table>
               <tbody>
                  <tr>
                     <th>机房名称</th>
                     <th>机房名称/机房id</th>
                  </tr>
                  <tr>
                     <td>
@@ -2730,8 +2896,9 @@
            var batt = getBatt();
            var province = batt.StationName1;
            var city = batt.StationName2;
            var county = batt.StationName5;
            var home = batt.StationName;
            $(this).attr('href', 'charge-test.jsp?province='+province+'&city='+city+'&home='+home);
            $(this).attr('href', 'charge-test.jsp?province='+province+'&city='+city+'&county='+county+'&home='+home);
         });
      });
   
@@ -2766,6 +2933,7 @@
                        val:_data.BattGroupId,
                        province: _data.stationName1,
                        city: _data.stationName2,
                        county: _data.stationName5,
                        home: _data.stationName,
                        isCharge:0
                     });
@@ -2775,6 +2943,7 @@
                        val: _data.BattGroupId,
                        province: _data.stationName1,
                        city: _data.stationName2,
                        county: _data.stationName5,
                        home: _data.stationName,
                        isCharge:1
                     });
@@ -3945,6 +4114,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());
@@ -3969,10 +4139,16 @@
            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 = [];
@@ -3982,10 +4158,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);
         });
         
         // 电池组
@@ -4072,11 +4249,13 @@
            var tmp = {
               province: batt.StationName1,
               city: batt.StationName2,
               county: batt.StationName5,
               home: batt.StationName,
               homeid: batt.StationId,
               battid: batt.BattGroupId
            };
            findBattinfByBattGroupId(batt.BattGroupId);
            findStationInfoByStation(batt);
            // 根据数据定位
            localSideBar(treeView, treeView.container, tmp);
         });
@@ -4114,11 +4293,12 @@
            var tmp = {
               province: battInfo.province,
               city: battInfo.city,
               county: battInfo.county,
               home: battInfo.home,
               homeid: battInfo.note,
               battid: battInfo.val
            };
            //console.log(tmp);
            localSideBar(treeView, treeView.container, tmp);
         });
         
@@ -4138,7 +4318,8 @@
         function findHome() {
            var tmp = {
               StationName1:'',
               StationName2: ''
               StationName2: '',
               StationName5:''
            };
            
            // 查询将信息
@@ -4153,6 +4334,7 @@
                        label: _data.StationName+'('+_data.StationId+')',
                        province: _data.StationName1,
                        city: _data.StationName2,
                        county: _data.StationName5,
                        home: _data.StationName,
                        homeid: _data.StationId,
                        battid: undefined
@@ -4167,6 +4349,24 @@
         }
         
      });
      // 机历卡模块
      $(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>
   <script type="text/javascript" src="js/Title.js"></script>
   <script type="text/javascript" src="js/control.js"></script>