LiJun
2018-10-30 23cd3bbdaed741ec08f18269eaad9a3beb72bf2e
gx_tieta/WebRoot/js/base.js
@@ -422,6 +422,63 @@
   });
}
//根据stationid查询基站的信息
function findStationInfoByStation(temp){
   //console.info(temp);
   $.ajax({
        type:"post",
        url: "Battinf_exAction!serchByCondition",
        async:true,
        dataType:'json',
        data:"json="+JSON.stringify(temp),
        success: function(data){
         var model = eval('('+data.result+')');
         if(model.code == 1 && model.data.length>0){
            var station = model.data[0];
            console.info(station);
            $('#station_stationid_ex').text(temp.StationId_ex);                                 //站点id
            $('#station_stationname').text(station.stationName);                              //机房名称
            $('#station_stationid').text(station.stationId);                                 //机房名称
            $('#station_affiliation').text(station.affiliation);                              //所属组织
            $('#station_dataSources').text(station.dataSources);                              //数据来源
            $('#station_stationType').text(station.stationType);                              //站址类型
            $('#station_jinweidu').text("经度:" + station.longitude+";纬度:"+station.latitude);         //经纬度
            $('#station_stationAddr').text(station.stationAddr);                              //所在地址
            $('#station_stationstate').text("站址等级:"+station.stationLevel+";维护状态:"+station.maintenanceState+";封锁状态:"+(station.blockedState==0?'否':'是'));         //机房状态
            $('#station_maintenanceCompany').text(station.maintenanceCompany);                                                                        //维护单位
            $('#station_stationscenario').text("业务场景:"+station.businessScenario+";覆盖场景:"+station.CoverScenario+";站址地形:"+station.siteTerrain);                  //站址场景
            $('#station_stationproperty').text("产权性质:"+station.propertyRights+";(原)产权单位:"+station.propertyUnit+";是否共享:"+(station.isShare==1?'是':'否'));         //站址产权
            $('#station_useUnit').text(station.useUnit);                              //使用单位
            $('#station_siteCode').text(station.siteCode);                              //物理站址编码
            $('#station_historySiteCode').text(station.historySiteCode);                  //历史物理站址编码
            $('#station_siteInternalNumber').text(station.siteInternalNumber);               //站址内部编号
            $('#station_sitePinyinReferred').text(station.sitePinyinReferred);               //站址拼音简称
            $('#station_siteChineseReferred').text(station.siteChineseReferred);            //中文简称
            $('#station_isOpenBusiness').text(station.isOpenBusiness);                     //是否开通业务
            $('#station_schoolPersonnel').text(station.schoolPersonnel);                  //录入人员
            $('#station_entryTime').text(station.entryTime);                           //录入时间
            $('#station_modifyPeople').text(station.modifyPeople);                        //修改人
            $('#station_modifyTime').text(station.modifyTime);                           //修改时间
            $('#station_note').text(station.note);                                    //备注
            $('#station_receiveorvalidity').text("站址接收标记:"+(station.siteReceivesMark==1?'是':'否')+";是否有效:"+(station.siteValidity==1?'是':'否'));                                    //备注
            $('#station_siteNameCMCC').text(station.siteNameCMCC);                        //移动站址名称
            $('#station_siteNameCTC').text(station.siteNameCTC);                        //联通站址名称
            $('#station_siteNameCUCC').text(station.siteNameCUCC);                        //电信站址名称
            $('#station_producer').text(station.producer);                              //品牌
            $('#station_lastTimeLong').text(station.lastTimeLong);                        //续航测算时长
            $('#station_lastTimeType').text(station.lastTimeType);                        //续航测算类别
            $('#station_lastTimeDate').text(station.lastTimeDate);                        //续航发生时间
            $('#station_shareInfo').text(station.shareInfo);                           //共享情况
            $('#station_electPower').text("移动购买:"+(station.electPowerCMCC==1?'是':'否')+";电信购买:"+(station.electPowerCTC==1?'是':'否')+";联通购买:"+(station.electPowerCUCC==1?'是':'否'));                           //共享情况
            $('#station_isCanElectPower').text(station.isCanElectPower==1?'是':'否');         //是否具备发电条件
            $('#station_upperStationRoute').text(station.upperStationRoute);               //上站路程
            $('#station_upperStationDifficult').text(station.upperStationDifficult);         //上站难易程度
            $('#station_clienteleErrorService').text(station.clienteleErrorService);         //客户问题库未完成蓄电池维修
         }
       }
   });
}
   
//根据num获取故障类型和故障排除方法