From 23cd3bbdaed741ec08f18269eaad9a3beb72bf2e Mon Sep 17 00:00:00 2001 From: LiJun <LiJun@192.168.10.18> Date: 星期二, 30 十月 2018 15:51:26 +0800 Subject: [PATCH] 实时监测页面的机历卡 --- gx_tieta/WebRoot/js/base.js | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/gx_tieta/WebRoot/js/base.js b/gx_tieta/WebRoot/js/base.js index 1e6aa81..7598d6e 100644 --- a/gx_tieta/WebRoot/js/base.js +++ b/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鑾峰彇鏁呴殰绫诲瀷鍜屾晠闅滄帓闄ゆ柟娉� -- Gitblit v1.9.1