yf_zd 5 лет назад
Родитель
Сommit
c877809812
88 измененных файлов с 216 добавлено и 290 удалено
  1. 1 1
      equipAllot/equip_allot_info.html
  2. 3 3
      equipAllot/equip_allot_item.html
  3. 1 1
      equipAllot/equip_allot_list.html
  4. 1 1
      equipList/equip_list.html
  5. 3 3
      equipList/equip_list_info.html
  6. 2 2
      equipList/equip_list_map.html
  7. 2 2
      equipManage/configuration_bzy.html
  8. 4 4
      equipManage/configuration_cbd.html
  9. 1 1
      equipManage/equipManage_bzy.html
  10. 11 45
      equipManage/equipManage_bzy_detail.html
  11. 1 1
      equipManage/equipManage_cbd.html
  12. 8 24
      equipManage/equipManage_cbd_detail.html
  13. 1 1
      equipManage/equipManage_jk.html
  14. 3 3
      equipManage/equipManage_jk_detail.html
  15. 1 1
      equipManage/equipManage_qxz.html
  16. 1 1
      equipManage/equipManage_qxz_data24.html
  17. 3 3
      equipManage/equipManage_qxz_detail.html
  18. 3 3
      equipManage/equipManage_qxz_detailOld.html
  19. 2 2
      equipManage/equipManage_qxz_manualCtrl.html
  20. 2 2
      equipManage/equipManage_qxz_setAstrict.html
  21. 2 2
      equipManage/equipManage_qxz_setTiming.html
  22. 1 1
      equipManage/equipManage_scd.html
  23. 12 58
      equipManage/equipManage_scd_detail.html
  24. 1 1
      equipManage/equipManage_ybq.html
  25. 4 4
      equipManage/equipManage_ybq_detail.html
  26. 2 2
      equipManage/lookImage_jk.html
  27. 1 1
      equipManage/sex_trap.html
  28. 4 4
      equipManage/sex_trap_detail1.html
  29. 3 3
      equipManage/sex_trap_detail1_config.html
  30. 4 4
      equipManage/sex_trap_detail2.html
  31. 1 1
      equipManage/sex_trap_detail2_config.html
  32. 2 2
      equipManage/sex_trap_detail_echart.html
  33. 1 1
      equipManage/sex_trap_detail_list.html
  34. 3 3
      equipManage/sex_trap_photo2.html
  35. 1 1
      home/autoDiscern.html
  36. 1 1
      home/autoDiscernResult.html
  37. 1 1
      home/copyhomePage.html
  38. 1 1
      home/equip.html
  39. 6 6
      home/homePage.html
  40. 1 1
      home/login.html
  41. 7 7
      home/map.html
  42. 3 3
      home/personalinfo.html
  43. 1 1
      js/feedback.js
  44. 1 1
      manifest.json
  45. 1 1
      personalinfo/appUpdateList.html
  46. 1 1
      personalinfo/refresh.html
  47. 1 1
      personalinfo/setting.html
  48. 3 3
      reportManage/addwormCategory.html
  49. 7 4
      reportManage/bzy_detail_echart.html
  50. 1 1
      reportManage/bzy_detail_list.html
  51. 9 5
      reportManage/bzy_image_detail.html
  52. 5 5
      reportManage/bzy_lookImage.html
  53. 6 2
      reportManage/cbd_detail_echart.html
  54. 1 1
      reportManage/cbd_detail_list.html
  55. 3 3
      reportManage/cbd_image_discern_resule.html
  56. 1 1
      reportManage/cbd_pest_data.html
  57. 11 4
      reportManage/lookImage.html
  58. 3 3
      reportManage/lookWormDetial.html
  59. 1 1
      reportManage/qxz_detail_list.html
  60. 1 1
      reportManage/qxz_detail_listOld.html
  61. 1 1
      reportManage/qxz_detail_list_detail.html
  62. 1 1
      reportManage/qxz_detail_list_detailOld.html
  63. 1 1
      reportManage/reprotManage_bzy.html
  64. 2 2
      reportManage/reprotManage_bzy_detail.html
  65. 1 1
      reportManage/reprotManage_cbd.html
  66. 8 4
      reportManage/reprotManage_cbd_detail.html
  67. 1 1
      reportManage/reprotManage_qxz.html
  68. 1 1
      reportManage/reprotManage_qxz_detail.html
  69. 1 1
      reportManage/reprotManage_qxz_detailOld.html
  70. 1 1
      reportManage/reprotManage_scd.html
  71. 2 2
      reportManage/reprotManage_scd_detail.html
  72. 1 1
      reportManage/reprotManage_xyq.html
  73. 1 1
      reportManage/reprotManage_xyq_detail.html
  74. 1 1
      reportManage/reprotManage_xyq_imglist.html
  75. 1 1
      reportManage/reprotManage_xyq_recordlist.html
  76. 2 2
      reportManage/scd_detail_echart.html
  77. 1 1
      reportManage/scd_detail_list.html
  78. 2 2
      reportManage/wormDescribe.html
  79. 1 1
      simInfo/siminfo.html
  80. 1 1
      systemmanage/systemmanage_user_add.html
  81. 2 2
      systemmanage/systemmanage_user_datial.html
  82. 1 1
      systemmanage/systemmanage_user_edit.html
  83. 1 1
      systemmanage/systemmanage_user_list.html
  84. 1 1
      systemmanage/systemmanage_user_resetPwd.html
  85. 1 1
      systemmanage/systemmanage_usergroup_add.html
  86. 4 4
      systemmanage/systemmanage_usergroup_detial.html
  87. 1 1
      systemmanage/systemmanage_usergroup_edit.html
  88. 1 1
      systemmanage/systemmanage_usergroup_list.html

+ 1 - 1
equipAllot/equip_allot_info.html

@@ -54,7 +54,7 @@
 				pulldownRefresh()
 			})
 			function pulldownRefresh(){
-				mui.ajax('http://192.168.1.11:8000/app_usermanage_detail', {
+				mui.ajax('http://120.27.222.26/app_usermanage_detail', {
 					data: {
 						userId: userId,
 					},

+ 3 - 3
equipAllot/equip_allot_item.html

@@ -344,7 +344,7 @@
 				function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/app_equip_allot_list',
+		                url: 'http://120.27.222.26/app_equip_allot_list',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'page': pageNum,
@@ -399,7 +399,7 @@
 										console.log(startPage)
 										console.log(userId)
 										console.log(mui('#searchInp')[0].value)
-					mui.ajax('http://192.168.1.11:8000/app_equip_allot_list', {
+					mui.ajax('http://120.27.222.26/app_equip_allot_list', {
 						data: {
 							'page': startPage,
 							'userid':userId,
@@ -564,7 +564,7 @@
 					console.log(topicid)
 					console.log(topicidAll);
 					if(topicidAll.length){
-						mui.ajax('http://192.168.1.11:8000/app_equip_allot_confirm', {
+						mui.ajax('http://120.27.222.26/app_equip_allot_confirm', {
 							data: {
 								'userid':userId,
 								'equip_ids':JSON.stringify(topicidAll),

+ 1 - 1
equipAllot/equip_allot_list.html

@@ -161,7 +161,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/app_equip_allot',
+		                url: 'http://120.27.222.26/app_equip_allot',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'page': pageNum,

+ 1 - 1
equipList/equip_list.html

@@ -141,7 +141,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/app_equip_list',
+		                url: 'http://120.27.222.26/app_equip_list',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'page': pageNum,

+ 3 - 3
equipList/equip_list_info.html

@@ -80,7 +80,7 @@
 				var self = plus.webview.currentWebview();//获取上页发送的id
 				console.log(self.imei)
 
-				mui.ajax('http://192.168.1.11:8000/app_equip_list_detail', {
+				mui.ajax('http://120.27.222.26/app_equip_list_detail', {
 					data: {
 						'equip_id': self.imei,
 					},
@@ -150,7 +150,7 @@
 						if(e.value == '') {
 							return false;
 						}
-						mui.ajax('http://192.168.1.11:8000/equiplist', {
+						mui.ajax('http://120.27.222.26/equiplist', {
 							data: {
 								'req': 'rename',
 								'ename': e.value,
@@ -195,7 +195,7 @@
 						if(value == '') {
 							return false;
 						}
-						mui.ajax('http://192.168.1.11:8000/equiplist', {
+						mui.ajax('http://120.27.222.26/equiplist', {
 							data: {
 								'req': 'addAddr',
 								'address': value,

+ 2 - 2
equipList/equip_list_map.html

@@ -77,7 +77,7 @@
 					lng = e.point.lng;
 					lat = e.point.lat;
 					mui.confirm('添加经纬度', '添加经纬度', ['确定', '取消'], function() {
-						mui.ajax('http://192.168.1.11:8000/qxz_location', {
+						mui.ajax('http://120.27.222.26/qxz_location', {
 							dataType: 'json', //服务器返回json格式数据
 							type: 'post', //HTTP请求类型
 							timeout: 10000, //超时时间设置为10秒;
@@ -127,7 +127,7 @@
 							points.push(point)
 							console.log(points)
 							map.setViewport(points);
-							mui.ajax('http://192.168.1.11:8000/qxz_location', {
+							mui.ajax('http://120.27.222.26/qxz_location', {
 								dataType: 'json', //服务器返回json格式数据
 								type: 'post', //HTTP请求类型
 								timeout: 10000, //超时时间设置为10秒;

+ 2 - 2
equipManage/configuration_bzy.html

@@ -341,7 +341,7 @@
 				var currvalue = $(this).val();
 				mui.confirm('是否'+txt+'设备?','信息',['确定','取消'],function(){
 					$.ajax({
-						url: 'http://192.168.1.11:8000/bzy_mqtt',
+						url: 'http://120.27.222.26/bzy_mqtt',
 						type: "post",
 						data: {
 							'req': 'on_off',
@@ -412,7 +412,7 @@
 			colltime.push(time1)
 			colltime.push(time2)
 			colltime.push(time3)
-			mui.ajax('http://192.168.1.11:8000/bzy_mqtt',{
+			mui.ajax('http://120.27.222.26/bzy_mqtt',{
 				data:{
 					'req': 'set',
 					'id': equipId,

+ 4 - 4
equipManage/configuration_cbd.html

@@ -238,7 +238,7 @@
 			var self = plus.webview.currentWebview();
 			var equipId = self.equipId;
 			document.getElementById("title").innerHTML = equipId;
-			mui.ajax('http://192.168.1.11:8000/cbd_mqtt', {
+			mui.ajax('http://120.27.222.26/cbd_mqtt', {
 				data: {
 					"req": "read", //读取
 					"topicid": JSON.stringify(equipId),
@@ -256,7 +256,7 @@
 				success: function(data) {
 					if(data == "0") {
 						mui.toast("发送成功!");
-						mui.ajax('http://192.168.1.11:8000/equipmanage_cbd', {
+						mui.ajax('http://120.27.222.26/equipmanage_cbd', {
 							data: {
 								id: equipId,
 								req: "paramconf"
@@ -479,7 +479,7 @@
 				dataUpTime = mui('#dataUpTime')[0].innerHTML,
 				imgHvga = mui('.mui-table-view-cell input[name="imgHvga"]:checked')[0].value;
 
-			mui.ajax('http://192.168.1.11:8000/cbd_mqtt', {
+			mui.ajax('http://120.27.222.26/cbd_mqtt', {
 				data: {
 					req: 'set',
 					id: id,
@@ -520,7 +520,7 @@
 				if (e.index == 1) {
 					$.ajax({
 						type: "post",
-						url: 'http://192.168.1.11:8000/cbd_mqtt',
+						url: 'http://120.27.222.26/cbd_mqtt',
 						data: {
 							"req": "ctrl",//控制
 							"topicid": document.getElementById("title").innerHTML,

+ 1 - 1
equipManage/equipManage_bzy.html

@@ -104,7 +104,7 @@
 					console.log(pageNum)
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_equipmanage',
+						url: 'http://120.27.222.26/app_equipmanage',
 						timeout: 10000, //超时时间设置,单位毫秒
 						data: {
 							'etype': 'bzy',

+ 11 - 45
equipManage/equipManage_bzy_detail.html

@@ -170,44 +170,6 @@
 							</a>
 						</li>
 					</ul>
-					<ul class="mui-table-view detialBox">
-						<li class="mui-table-view-cell">
-							<h1 class="areaTitle">配置设备操作</h1>
-						</li>
-						<!--<li class="mui-table-view-cell" id="equipSW">
-							<a class="mui-navigate-right">
-								<i class="fa fa-calendar" aria-hidden="true"></i> 设备开关
-								<span class="controlVal" data-time='' id="equipSWValue"></span>
-							</a>
-						</li>-->
-						<li class="mui-table-view-cell" id="glass">
-							<a class="mui-navigate-right">
-								<i class="fa fa-calendar" aria-hidden="true"></i> 载玻片更换时间
-								<span class="controlVal" data-time='' id="glassValue"></span>
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="liquid">
-							<a class="mui-navigate-right">
-								<i class="fa fa-tint" aria-hidden="true"></i> 培养液更换时间
-								<span class="controlVal" data-time='' id="liquidValue"></span>
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="configBtn">
-							<a class="mui-navigate-right">
-								<i class="fa fa-cog" aria-hidden="true"></i> 设备详细配置
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="simCodeSearch">
-							<a class="mui-navigate-right">
-								<i class="fa fa-search" aria-hidden="true"></i> SIM卡查询
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="refreshBtn">
-							<a class="mui-navigate-right">
-								<i class="fa fa-refresh" aria-hidden="true"></i> 查询最新状态
-							</a>
-						</li>
-					</ul>
 					
 					<div class="mui-row" id="detial">
 						<div class="mui-col-sm-6">
@@ -343,7 +305,7 @@
 				//拍照
 				document.getElementById("takephoto").addEventListener('tap', function() {
 					$.ajax({
-							url: 'http://192.168.1.11:8000/bzy_mqtt',
+							url: 'http://120.27.222.26/bzy_mqtt',
 							type: "post",
 							data: {
 								'req': 'ctrl',
@@ -380,7 +342,7 @@
 					dtpicker.show(function(selectItems) {
 						console.log(selectItems.text)
 						$.ajax({
-							url: 'http://192.168.1.11:8000/bzy_mqtt',
+							url: 'http://120.27.222.26/bzy_mqtt',
 							type: "post",
 							data: {
 								"req": "glass", //读取
@@ -417,7 +379,7 @@
 					dtpicker.show(function(selectItems) {
 						console.log(selectItems.text)
 						$.ajax({
-							url: 'http://192.168.1.11:8000/bzy_mqtt',
+							url: 'http://120.27.222.26/bzy_mqtt',
 							type: "post",
 							data: {
 								"req": "liquid", //读取
@@ -499,7 +461,7 @@
 				//下拉刷新的回调
 				function downCallback() {
 					$.ajax({
-						url: 'http://192.168.1.11:8000/app_equipmanage_detail',
+						url: 'http://120.27.222.26/app_equipmanage_detail',
 						data: {
 							'etype': 'bzy',
 							'equip_id': equipId,
@@ -525,7 +487,11 @@
 							var point = new BMap.Point(stat.lng, stat.lat);
 							geoc.getLocation(point, function (rs) {
 							    var addComp = rs.addressComponents;
-								$('#lat_lng').html('位置:'  + addComp.province + ", " + addComp.city + ", " + addComp.district);
+								if(addComp.province || addComp.city || addComp.district){
+									$('#lat_lng').html('位置:'  + addComp.province + ", " + addComp.city + ", " + addComp.district);
+								}else{
+									$('#lat_lng').html('暂无位置信息')
+								}
 							});
 							if(stat.on_off == 1) {
 								$('#ds').html('开');
@@ -597,7 +563,7 @@
 				document.getElementById('simCodeSearch').addEventListener('tap', function() {
 					if(iccid) {
 						$.ajax({
-							url: 'http://192.168.1.11:8000/siminfo',
+							url: 'http://120.27.222.26/siminfo',
 							data: {
 								simid: iccid,
 							},
@@ -671,7 +637,7 @@
 				$('#refreshBtn').on('tap', function() {
 					var id = [];
 					id.push(equipId);
-					mui.ajax('http://192.168.1.11:8000/bzy_mqtt', {
+					mui.ajax('http://120.27.222.26/bzy_mqtt', {
 						data: {
 							'req': 'read',
 							'topicid': JSON.stringify(id),

+ 1 - 1
equipManage/equipManage_cbd.html

@@ -104,7 +104,7 @@
 					console.log(pageNum)
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_equipmanage',
+						url: 'http://120.27.222.26/app_equipmanage',
 						timeout: 10000, //超时时间设置,单位毫秒
 						data: {
 							'etype': 'cbd',

+ 8 - 24
equipManage/equipManage_cbd_detail.html

@@ -135,26 +135,6 @@
 							</a>
 						</li>
 					</ul>
-					<ul class="mui-table-view detialBox">
-						<li class="mui-table-view-cell">
-							<h1 class="areaTitle">配置设备操作</h1>
-						</li>
-						<li class="mui-table-view-cell" id="configuration">
-							<a class="mui-navigate-right">
-								<i class="fa fa-cog" aria-hidden="true"></i> 设备配置
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="simCodeSearch">
-							<a class="mui-navigate-right">
-								<i class="fa fa-search" aria-hidden="true"></i> SIM卡查询
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="downInquire">
-							<a class="mui-navigate-right">
-								<i class="fa fa-refresh" aria-hidden="true"></i> 查询最近状态
-							</a>
-						</li>
-					</ul>
 					<div class="mui-row" id="detial">
 						<div class="mui-col-sm-6">
 							<div class="mui-pull-left">
@@ -287,7 +267,7 @@
 				//下拉刷新的回调
 				function downCallback() {
 					$.ajax({
-						url: 'http://192.168.1.11:8000/app_equipmanage_detail',
+						url: 'http://120.27.222.26/app_equipmanage_detail',
 						data: {
 							'etype': 'cbd',
 							'equip_id': equipId,
@@ -309,7 +289,11 @@
 							var point = new BMap.Point(stat.lng, stat.lat);
 							geoc.getLocation(point, function (rs) {
 							    var addComp = rs.addressComponents;
-								$('#lat_lng').html('位置:'  + addComp.province + ", " + addComp.city + ", " + addComp.district);
+								if(addComp.province || addComp.city || addComp.district){
+									$('#lat_lng').html('位置:'  + addComp.province + ", " + addComp.city + ", " + addComp.district);
+								}else{
+									$('#lat_lng').html('暂无位置信息')
+								}
 							});
 							var ts = stat.ts == 0 ? '光控' : '时控';
 							$('#ts').html(ts);
@@ -352,7 +336,7 @@
 				document.getElementById('simCodeSearch').addEventListener('tap', function() {
 					if(iccid) {
 						$.ajax({
-							url: 'http://192.168.1.11:8000/siminfo',
+							url: 'http://120.27.222.26/siminfo',
 							data: {
 								simid: iccid,
 							},
@@ -423,7 +407,7 @@
 				})
 				//查询
 				document.getElementById('downInquire').addEventListener('tap', function() {
-					mui.ajax('http://192.168.1.11:8000/cbd_mqtt', {
+					mui.ajax('http://120.27.222.26/cbd_mqtt', {
 						data: {
 							"req": "read", //读取
 							"topicid": equipId,

+ 1 - 1
equipManage/equipManage_jk.html

@@ -138,7 +138,7 @@
 				function getListDataFromNet(pageNum, pageSize, successCallback, errorCallback) {
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_moni_page',
+						url: 'http://120.27.222.26/app_moni_page',
 						timeout: 10000, //超时时间设置,单位毫秒
 						data: {
 							'page': pageNum,

+ 3 - 3
equipManage/equipManage_jk_detail.html

@@ -152,7 +152,7 @@
 					var self = plus.webview.currentWebview();
 					equipId = self.equipId;
 					$('#equip_name').html('设备:'+equipId);
-					mui.ajax('http://192.168.1.11:8000/app_moni', {
+					mui.ajax('http://120.27.222.26/app_moni', {
 						data: {
 							id: equipId
 						},
@@ -220,8 +220,8 @@
 				function configCamera(ctrl, movenum) {
 						console.log(111111)
 						$.ajax({
-//							url: 'http://192.168.1.11:8000/equipmanage_jk',
-							url: 'http://192.168.1.11:8000/jk_view',
+//							url: 'http://120.27.222.26/equipmanage_jk',
+							url: 'http://120.27.222.26/jk_view',
 							type: 'post',
 							dataType: 'json',
 							data: {

+ 1 - 1
equipManage/equipManage_qxz.html

@@ -97,7 +97,7 @@
 				function getListDataFromNet(pageNum, pageSize, successCallback, errorCallback) {
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_equipmanage',
+						url: 'http://120.27.222.26/app_equipmanage',
 						timeout: 10000, //超时时间设置,单位毫秒
 						data: {
 							'etype': 'qxz',

+ 1 - 1
equipManage/equipManage_qxz_data24.html

@@ -222,7 +222,7 @@
 				$('#title').html('设备ID:' + equipId);
 				$.ajax({
 					type: 'post',
-					url: 'http://192.168.1.11:8000/qxz_day_data',
+					url: 'http://120.27.222.26/qxz_day_data',
 					timeout: 10000, //超时时间设置,单位毫秒
 					data: {
 						'e_id': equipId,

+ 3 - 3
equipManage/equipManage_qxz_detail.html

@@ -37,7 +37,7 @@
 			
 			.qxzImg {
 				/*background-image: url('../images/qxz.jpg');*/
-				/*background-image: url(http://192.168.1.11:8000/qxz_photo/default.png);*/
+				/*background-image: url(http://120.27.222.26/qxz_photo/default.png);*/
 				height: 200px;
 				background-size: cover;
 				border-radius: 7px;
@@ -195,7 +195,7 @@
 				$('#equipName').html('项目名称:' + equipName);
 				$.ajax({
 					type: 'post',
-					url: 'http://192.168.1.11:8000/qxz_status',
+					url: 'http://120.27.222.26/qxz_status',
 					timeout: 10000, //超时时间设置,单位毫秒
 					data: {
 						'e_id': equipId,
@@ -233,7 +233,7 @@
 						qxzDat = data.dat;
 
 						$('#updataTime').html('数据更新时间:' + data.base.upl_time);
-						var path = 'http://192.168.1.11:8000/' + data.base.qxz_picture;
+						var path = 'http://120.27.222.26/' + data.base.qxz_picture;
 						$('#qxzImg').css('background-image', 'url(' + path + ')');
 						var dat = data.dat;
 						var datlen = Object.keys(dat).length;

+ 3 - 3
equipManage/equipManage_qxz_detailOld.html

@@ -37,7 +37,7 @@
 			
 			.qxzImg {
 				/*background-image: url('../images/qxz.jpg');*/
-				/*background-image: url(http://192.168.1.11:8000/qxz_photo/default.png);*/
+				/*background-image: url(http://120.27.222.26/qxz_photo/default.png);*/
 				height: 200px;
 				background-size: cover;
 				border-radius: 7px;
@@ -203,7 +203,7 @@
 				console.log(equipName);
 				$.ajax({
 					type: 'GET',
-					url: 'http://192.168.1.11:8000/qxz_detail',
+					url: 'http://120.27.222.26/qxz_detail',
 					timeout: 10000, //超时时间设置,单位毫秒
 					data: {
 						'id': equipId,
@@ -243,7 +243,7 @@
 							qxz_auto = true;
 						}
 						if(newData.length) {
-							var path = 'http://192.168.1.11:8000/' + newData[0].qxz_picture
+							var path = 'http://120.27.222.26/' + newData[0].qxz_picture
 							$('#qxzImg').css('background-image', 'url(' + path + ')')
 							console.log($('#qxzImg').css('background-image'))
 							for(var i = 0; i < newData.length; i++) {

+ 2 - 2
equipManage/equipManage_qxz_manualCtrl.html

@@ -176,7 +176,7 @@
 							var currWay = $(this).parent().prev().val();
 							var _this = this;
 							$.ajax({
-								url: 'http://192.168.1.11:8000/qxz_switch',
+								url: 'http://120.27.222.26/qxz_switch',
 								type: 'post',
 								data: {
 									'req': 'set',
@@ -232,7 +232,7 @@
 						var text = e.value
 						if(text) {
 							$.ajax({
-								url: 'http://192.168.1.11:8000/qxz_switch_name',
+								url: 'http://120.27.222.26/qxz_switch_name',
 								type: 'post',
 								data: {
 									'imei': equipId,

+ 2 - 2
equipManage/equipManage_qxz_setAstrict.html

@@ -334,7 +334,7 @@
 					return false;
 				} else {
 					$.ajax({
-						url: 'http://192.168.1.11:8000/qxz_value_mqtt',
+						url: 'http://120.27.222.26/qxz_value_mqtt',
 						type: 'post',
 						data: datajson,
 						success: function(data) {
@@ -367,7 +367,7 @@
 					data.lower = 32767;
 				}
 				$.ajax({
-					url: 'http://192.168.1.11:8000/qxz_value_mqtt',
+					url: 'http://120.27.222.26/qxz_value_mqtt',
 					type: 'post',
 					data: data,
 					success: function(data) {

+ 2 - 2
equipManage/equipManage_qxz_setTiming.html

@@ -316,7 +316,7 @@
 					return false;
 				} else {
 					$.ajax({
-						url: 'http://192.168.1.11:8000/qxz_timing_mqtt',
+						url: 'http://120.27.222.26/qxz_timing_mqtt',
 						type: 'post',
 						data: datajson,
 						success: function(data) {
@@ -365,7 +365,7 @@
 					data.Duration = 32767;
 				}
 				$.ajax({
-					url: 'http://192.168.1.11:8000/qxz_timing_mqtt',
+					url: 'http://120.27.222.26/qxz_timing_mqtt',
 					type: 'post',
 					data: data,
 					success: function(data) {

+ 1 - 1
equipManage/equipManage_scd.html

@@ -104,7 +104,7 @@
 					console.log(pageNum)
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_equipmanage',
+						url: 'http://120.27.222.26/app_equipmanage',
 						timeout: 10000, //超时时间设置,单位毫秒
 						data: {
 							'etype': 'scd',

+ 12 - 58
equipManage/equipManage_scd_detail.html

@@ -215,56 +215,6 @@
 							</a>
 						</li>
 					</ul>
-					<ul class="mui-table-view detialBox">
-						<li class="mui-table-view-cell">
-							<h1 class="areaTitle">配置设备操作</h1>
-						</li>
-						<li class="mui-table-view-cell" id="clock">
-							<a class="mui-navigate-right">
-								<i class="fa fa-clock-o" aria-hidden="true"></i> 定时模式
-								<span class="controlVal">光控</span>
-							</a>
-						</li>
-						<!--<li class="mui-table-view-cell" id="timingBtn">
-							<a class="mui-navigate-right">
-								<i class="fa fa-clock-o" aria-hidden="true"></i> 定时时长
-								<span class="controlVal">4</span>
-							</a>
-						</li>-->
-						<li class="mui-table-view-cell" id="switchBtn">
-							<a class="mui-navigate-right">
-								<i class="fa fa-power-off" aria-hidden="true"></i> 设备开关
-								<span class="controlVal">开</span>
-							</a>
-						</li>
-						<!--<li class="mui-table-view-cell" id="startBar">
-							<a class="mui-navigate-right">
-								<i class="fa fa-power-off" aria-hidden="true"></i> 起始时间
-								<span class="controlVal">3</span>
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="stopBar">
-							<a class="mui-navigate-right">
-								<i class="fa fa-power-off" aria-hidden="true"></i> 结束时间
-								<span class="controlVal">2</span>
-							</a>
-						</li>--> 
-						<li class="mui-table-view-cell" id="simCodeSearch">
-							<a class="mui-navigate-right">
-								<i class="fa fa-search" aria-hidden="true"></i> SIM卡查询
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="debugBtn">
-							<a class="mui-navigate-right">
-								<i class="fa fa-wrench" aria-hidden="true"></i> 调试
-							</a>
-						</li>
-						<li class="mui-table-view-cell" id="refreshBtn">
-							<a class="mui-navigate-right">
-								<i class="fa fa-refresh" aria-hidden="true"></i> 查询最新状态
-							</a>
-						</li>
-					</ul>
 					<div class="mui-row" id="detial">
 						<div class="mui-col-sm-6">
 							<div class="mui-pull-left">
@@ -500,7 +450,7 @@
 					mui(this).button('loading');
 					var id = [];
 					id.push(equipId);
-					mui.ajax('http://192.168.1.11:8000/scd_mqtt', {
+					mui.ajax('http://120.27.222.26/scd_mqtt', {
 						data: {
 							'sw': 'timer',
 							'topicid': JSON.stringify(id),
@@ -544,7 +494,7 @@
 				//下拉刷新的回调
 				function downCallback() {
 					$.ajax({
-						url: 'http://192.168.1.11:8000/app_equipmanage_detail',
+						url: 'http://120.27.222.26/app_equipmanage_detail',
 						data: {
 							'etype': 'scd',
 							'equip_id': equipId,
@@ -567,7 +517,11 @@
 							var point = new BMap.Point(stat.lng, stat.lat);
 							geoc.getLocation(point, function (rs) {
 							    var addComp = rs.addressComponents;
-								$('#lat_lng').html('位置:'  + addComp.province + ", " + addComp.city + ", " + addComp.district);
+								if(addComp.province || addComp.city || addComp.district){
+									$('#lat_lng').html('位置:'  + addComp.province + ", " + addComp.city + ", " + addComp.district);
+								}else{
+									$('#lat_lng').html('暂无位置信息')
+								}
 							});
 							equiccID = stat.iccid
 							var ds = stat.ds == 0 ? '关' : '开';
@@ -659,7 +613,7 @@
 //						console.log(getSelectedItems[0].value);
 //						var id = [];
 //						id.push(equipId);
-//						mui.ajax('http://192.168.1.11:8000/scd_mqtt', {
+//						mui.ajax('http://120.27.222.26/scd_mqtt', {
 //							data: {
 //								'sw': 'tt',
 //								'topicid': JSON.stringify(id),
@@ -711,7 +665,7 @@
 						var curSelect = getSelectedItems[0].value;
 						var id = [];
 						id.push(equipId);
-						mui.ajax('http://192.168.1.11:8000/scd_mqtt', {
+						mui.ajax('http://120.27.222.26/scd_mqtt', {
 							data: {
 								'sw': 'timer',
 								'topicid': JSON.stringify(id),
@@ -757,7 +711,7 @@
 				$('#refreshBtn').on('tap', function() {
 					var id = [];
 					id.push(equipId);
-					mui.ajax('http://192.168.1.11:8000/scd_mqtt', {
+					mui.ajax('http://120.27.222.26/scd_mqtt', {
 						data: {
 							'sw': 'read',
 							'topicid': JSON.stringify(id),
@@ -789,7 +743,7 @@
 				$('#debugBtn').on('tap', function() {
 					var id = [];
 					id.push(equipId);
-					mui.ajax('http://192.168.1.11:8000/scd_mqtt', {
+					mui.ajax('http://120.27.222.26/scd_mqtt', {
 						data: {
 							'sw': 'test',
 							'topicid': JSON.stringify(id),
@@ -822,7 +776,7 @@
 					console.log(equiccID)
 					if(equiccID) {
 						$.ajax({
-							url: 'http://192.168.1.11:8000/siminfo',
+							url: 'http://120.27.222.26/siminfo',
 							data: {
 								simid: equiccID,
 							},

+ 1 - 1
equipManage/equipManage_ybq.html

@@ -104,7 +104,7 @@
 					console.log(pageNum)
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_equipmanage',
+						url: 'http://120.27.222.26/app_equipmanage',
 						timeout: 10000, //超时时间设置,单位毫秒
 						data: {
 							'etype': 'ybq',

+ 4 - 4
equipManage/equipManage_ybq_detail.html

@@ -295,7 +295,7 @@
 				//下拉刷新的回调
 				function downCallback() {
 					$.ajax({
-						url: 'http://192.168.1.11:8000/app_equipmanage_detail',
+						url: 'http://120.27.222.26/app_equipmanage_detail',
 						data: {
 							'etype': 'scd',
 							'equip_id': equipId,
@@ -391,7 +391,7 @@
 						console.log(getSelectedItems[0].value);
 						var id = [];
 						id.push(equipId);
-						mui.ajax('http://192.168.1.11:8000/scd_mqtt', {
+						mui.ajax('http://120.27.222.26/scd_mqtt', {
 							data: {
 								'sw': 'tt',
 								'topicid': JSON.stringify(id),
@@ -443,7 +443,7 @@
 						console.log(getSelectedItems[0].value)
 						var id = [];
 						id.push(equipId);
-						mui.ajax('http://192.168.1.11:8000/scd_mqtt', {
+						mui.ajax('http://120.27.222.26/scd_mqtt', {
 							data: {
 								'sw': 'ds',
 								'topicid': JSON.stringify(id),
@@ -484,7 +484,7 @@
 				$('#refreshBtn').on('tap',function(){
 					var id = [];
 					id.push(equipId);
-					mui.ajax('http://192.168.1.11:8000/scd_mqtt',{
+					mui.ajax('http://120.27.222.26/scd_mqtt',{
 						data:{
 							'sw': 'read',
 							'topicid': JSON.stringify(id),

+ 2 - 2
equipManage/lookImage_jk.html

@@ -337,7 +337,7 @@
 		}
 		/*联网加载列表数据*/
 		function getListDataFromNet(pageNum, pageSize, successCallback, errorCallback) {
-			mui.ajax('http://192.168.1.11:8000/app_jk_img', {
+			mui.ajax('http://120.27.222.26/app_jk_img', {
 				data: {
 					'page': pageNum,
 					'equip_id': equipId
@@ -369,7 +369,7 @@
 			var id = $(_this).parents('.item').find('.mui-media-object').data('id');
 			mui.confirm(' ', '是否删除?', ['取消', '确定'], function(e) {
 				if(e.index == 1) {
-					mui.ajax('http://192.168.1.11:8000/jkimage_del', {
+					mui.ajax('http://120.27.222.26/jkimage_del', {
 						data: {
 							'addr': id,
 							'imei': equipId,

+ 1 - 1
equipManage/sex_trap.html

@@ -109,7 +109,7 @@
 					console.log(pageNum)
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_equipmanage',
+						url: 'http://120.27.222.26/app_equipmanage',
 						timeout: 10000, //超时时间设置,单位毫秒
 						data: {
 							'etype': 'xycb',

+ 4 - 4
equipManage/sex_trap_detail1.html

@@ -438,7 +438,7 @@
 				geoc = new BMap.Geocoder();
 				function downCallback() {
 					$.ajax({
-						url: 'http://192.168.1.11:8000/app_equipmanage_detail',
+						url: 'http://120.27.222.26/app_equipmanage_detail',
 						data: {
 							'etype': 'xycb',
 							'equip_id': equipId,
@@ -607,7 +607,7 @@
 				document.getElementById('simCodeSearch').addEventListener('tap', function() {
 					if(iccid) {
 						$.ajax({
-							url: 'http://192.168.1.11:8000/siminfo',
+							url: 'http://120.27.222.26/siminfo',
 							data: {
 								simid: iccid,
 							},
@@ -728,7 +728,7 @@
 			                }
 			                var fun = function(){
 				                setTimeout(function(){
-				                    mui.ajax('http://192.168.1.11:8000/sex_mqtt_detail', {
+				                    mui.ajax('http://120.27.222.26/sex_mqtt_detail', {
 					                    type:'post',
 					                    data:{
 					                        e_id:equipId
@@ -789,7 +789,7 @@
 			
 			function sendCtrlFun(data,callback){
 		        data.e_id = equipId;
-		        mui.ajax('http://192.168.1.11:8000/sex_mqtt_v1', {
+		        mui.ajax('http://120.27.222.26/sex_mqtt_v1', {
 		          type:'post',
 		          data:data,
 		           beforeSend: function() {

+ 3 - 3
equipManage/sex_trap_detail1_config.html

@@ -232,7 +232,7 @@
 		
 		function sendCtrlFun(data,callback){
 	        data.e_id = equipId;
-	        mui.ajax('http://192.168.1.11:8000/sex_mqtt_v1', {
+	        mui.ajax('http://120.27.222.26/sex_mqtt_v1', {
 	          type:'post',
 	          data:data,
 	          success:function(data){
@@ -434,7 +434,7 @@
 			function sendCtrlFunA(data,callback){
 				data.e_id = equipId;
 				console.log(data)
-		         mui.ajax('http://192.168.1.11:8000/sex_mqtt_v1', {
+		         mui.ajax('http://120.27.222.26/sex_mqtt_v1', {
 		          type:'post',
 		          data:data,
 		          success:function(data){
@@ -452,7 +452,7 @@
 				delete data.et
 				data.e_id = equipId;
 				data.ext = "work_tim0"
-		         mui.ajax('http://192.168.1.11:8000/sex_mqtt_v1', {
+		         mui.ajax('http://120.27.222.26/sex_mqtt_v1', {
 		          type:'post',
 		          data:data,
 		          success:function(data){

+ 4 - 4
equipManage/sex_trap_detail2.html

@@ -413,7 +413,7 @@
 				geoc = new BMap.Geocoder();
 				function downCallback() {
 					$.ajax({
-						url: 'http://192.168.1.11:8000/app_equipmanage_detail',
+						url: 'http://120.27.222.26/app_equipmanage_detail',
 						data: {
 							'etype': 'xycb',
 							'equip_id': equipId,
@@ -534,7 +534,7 @@
 				document.getElementById('simCodeSearch').addEventListener('tap', function() {
 					if(iccid) {
 						$.ajax({
-							url: 'http://192.168.1.11:8000/siminfo',
+							url: 'http://120.27.222.26/siminfo',
 							data: {
 								simid: iccid,
 							},
@@ -655,7 +655,7 @@
 			                }
 			                var fun = function(){
 				                setTimeout(function(){
-				                    mui.ajax('http://192.168.1.11:8000/sex_mqtt_detail', {
+				                    mui.ajax('http://120.27.222.26/sex_mqtt_detail', {
 					                    type:'post',
 					                    data:{
 					                        e_id:equipId
@@ -711,7 +711,7 @@
 			
 			function sendCtrlFun(data,callback){
 		        data.e_id = equipId;
-		        mui.ajax('http://192.168.1.11:8000/sex_mqtt', {
+		        mui.ajax('http://120.27.222.26/sex_mqtt', {
 		          type:'post',
 		          data:data,
 		           beforeSend: function() {

+ 1 - 1
equipManage/sex_trap_detail2_config.html

@@ -269,7 +269,7 @@
 		
 		function sendCtrlFun(data,callback){
 	        data.e_id = equipId;
-	        mui.ajax('http://192.168.1.11:8000/sex_mqtt', {
+	        mui.ajax('http://120.27.222.26/sex_mqtt', {
 	          type:'post',
 	          data:data,
 	          success:function(data){

+ 2 - 2
equipManage/sex_trap_detail_echart.html

@@ -282,7 +282,7 @@
 				equipId = self.equipId;
 				//请求图表数据:
 				$.ajax({
-					url: 'http://192.168.1.11:8000/sex_at_ah',
+					url: 'http://120.27.222.26/sex_at_ah',
 					type: 'post',
 					data: {
 						begin: '',
@@ -338,7 +338,7 @@
 			            var end = getYMDHMS(inst.getVal()[1]);
 			            //请求图表数据:
 						$.ajax({
-							url: 'http://192.168.1.11:8000/sex_at_ah',
+							url: 'http://120.27.222.26/sex_at_ah',
 							type: 'post',
 							data: {
 								e_id: equipId,

+ 1 - 1
equipManage/sex_trap_detail_list.html

@@ -127,7 +127,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
             	$.ajax({
 	                type: 'POST',
-		            url: 'http://192.168.1.11:8000/app_reportmanage_detail',
+		            url: 'http://120.27.222.26/app_reportmanage_detail',
 	                timeout : 10000, //超时时间设置,单位毫秒
 	                data:{
 	                	'etype': 'xycb',

+ 3 - 3
equipManage/sex_trap_photo2.html

@@ -319,7 +319,7 @@
 //				var dat = data.img;
 			for(var i = 0; i<dat.length; i++){
 //				html += '<li class="item" data-path="'+dat[i].addr+'"><div class="mui-table-view-cell mui-col-xs-6">' +
-//						'<img class="mui-media-object" src="http://192.168.1.11:8000/'+dat[i].addr+'" data-preview-src="" data-preview-group="1">' +
+//						'<img class="mui-media-object" src="http://120.27.222.26/'+dat[i].addr+'" data-preview-src="" data-preview-group="1">' +
 //						'</div><div class="mui-table-view-cell mui-col-xs-6 operateRight"><p class="delBtn"><i class="iconfont" >&#xe65c;</i>删除' +
 //						'</p><p class="lookDetial"><i class="iconfont" >&#xe723;</i>查看描述</p><p class="discern"><i class="iconfont" >&#xe62d;</i>识别</p><p class="addDetial">' +
 //						'<i class="iconfont" >&#xe69b;</i>添加描述</p><p class="itemTime">'+dat[i].upl_time+'</p></div></li>';
@@ -333,7 +333,7 @@
 		}
 		/*联网加载列表数据*/
 		function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
-        	mui.ajax('http://192.168.1.11:8000/app_ybq_img', {
+        	mui.ajax('http://120.27.222.26/app_ybq_img', {
 				data: {
 					'page': pageNum,
 					'equip_id': equipId
@@ -368,7 +368,7 @@
 				$(_this).removeClass("activeBj"); //移除p元素中值为"high"的class
 			},30)
 			var id = $(_this).parents('.item').data('id');
-			mui.ajax('http://192.168.1.11:8000/ybq_delete_img', {
+			mui.ajax('http://120.27.222.26/ybq_delete_img', {
 				data: {
 					'addr': id,
 					'imei': equipId

+ 1 - 1
home/autoDiscern.html

@@ -178,7 +178,7 @@
 			//上传图片
 			function uploadHeadImg(imgPath) {
 				//服务端接口路径
-				var server = "http://192.168.1.11:8000/app_insect_discern";
+				var server = "http://120.27.222.26/app_insect_discern";
 				//获取图片元素
 				var wt = plus.nativeUI.showWaiting('上传中...');
 				var task = plus.uploader.createUpload(server, {

+ 1 - 1
home/autoDiscernResult.html

@@ -305,7 +305,7 @@
 			//上传图片
 			function uploadHeadImg(imgPath) {
 				//服务端接口路径
-				var server = "http://192.168.1.11:8000/app_insect_discern";
+				var server = "http://120.27.222.26/app_insect_discern";
 				//获取图片元素
 				var wt = plus.nativeUI.showWaiting('上传中...');
 				var task = plus.uploader.createUpload(server, {

+ 1 - 1
home/copyhomePage.html

@@ -261,7 +261,7 @@
 //			$('.mui-content').hide()
 			
 //			mui.plusReady(function(){
-//				mui.ajax('http://192.168.1.11:8000/app_login', {
+//				mui.ajax('http://120.27.222.26/app_login', {
 //					data: {
 //						'username': 'admin',
 //						'password': 'yunfeiadmin'

+ 1 - 1
home/equip.html

@@ -174,7 +174,7 @@
 				return a - b
 			}
 			mui.plusReady(function() {
-				mui.ajax('http://192.168.1.11:8000/product_view', {
+				mui.ajax('http://120.27.222.26/product_view', {
 					data: {},
 					dataType: 'json', //服务器返回json格式数据
 					type: 'post', //HTTP请求类型

+ 6 - 6
home/homePage.html

@@ -360,7 +360,7 @@
 					{"imgUrl":"app_file/app_img/autoDiscern","path":"autoDiscern.htm"},
 				]
 				//请求轮播图
-				mui.ajax('http://192.168.1.11:8000/display_photo_common', {
+				mui.ajax('http://120.27.222.26/display_photo_common', {
 						data: {
 
 						},
@@ -390,10 +390,10 @@
 						console.log(imgUrl)
 						if(i == 0){
 							html += '<div class="mui-slider-item mui-slider-item-duplicate">'+
-									'<a href="#"><img class="guide-img" src="http://192.168.1.11:8000/'+banner[banner.length-1].imgUrl+'"></a></div>';
+									'<a href="#"><img class="guide-img" src="http://120.27.222.26/'+banner[banner.length-1].imgUrl+'"></a></div>';
 						}
 						html += '<div class="mui-slider-item" data-path="'+path+'"><a href="#">'+
-								'<img class="guide-img" src="http://192.168.1.11:8000/'+imgUrl+'"></a></div>';
+								'<img class="guide-img" src="http://120.27.222.26/'+imgUrl+'"></a></div>';
 						if(i == 0){
 							sliderIndicator += '<div class="mui-indicator mui-active"></div>';
 						}else{						
@@ -401,7 +401,7 @@
 						}
 						if(i == banner.length-1){
 							html += '<div class="mui-slider-item"><a href="#">'+
-									'<img class="guide-img" src="http://192.168.1.11:8000/'+banner[0].imgUrl+'"></a></div>';
+									'<img class="guide-img" src="http://120.27.222.26/'+banner[0].imgUrl+'"></a></div>';
 							$('#sliderGroup').html(html);
 							$('#sliderIndicator').html(sliderIndicator);
 							mui('#slider').slider({
@@ -429,7 +429,7 @@
 				});
 				
 				//请求产品介绍图
-				mui.ajax('http://192.168.1.11:8000/product_view', {
+				mui.ajax('http://120.27.222.26/product_view', {
 						data: {
 
 						},
@@ -514,7 +514,7 @@
 				})
 
 				function getuserinfo() {
-					mui.ajax('http://192.168.1.11:8000/edition', {
+					mui.ajax('http://120.27.222.26/edition', {
 						data: {
 
 						},

+ 1 - 1
home/login.html

@@ -292,7 +292,7 @@
 				if(plus.networkinfo.getCurrentType() == plus.networkinfo.CONNECTION_NONE) {
 					mui.toast("网络异常,请检查网络设置!");
 				} else {
-					mui.ajax('http://192.168.1.11:8000/app_login', {
+					mui.ajax('http://120.27.222.26/app_login', {
 						data: {
 							'username': name,
 							'password': pwd

+ 7 - 7
home/map.html

@@ -160,7 +160,7 @@
 					}
 					$.ajax({
 						type: "post",
-						url: "http://192.168.1.11:8000/home_map/map_locat",
+						url: "http://120.27.222.26/home_map/map_locat",
 						data: {
 							req: dtype
 						},
@@ -183,7 +183,7 @@
 				} else {
 					$.ajax({
 						type: "post",
-						url: "http://192.168.1.11:8000/home_map/map_locat",
+						url: "http://120.27.222.26/home_map/map_locat",
 						data: {
 							req: 'scd'
 						},
@@ -205,7 +205,7 @@
 					});
 					$.ajax({
 						type: "post",
-						url: "http://192.168.1.11:8000/home_map/map_locat",
+						url: "http://120.27.222.26/home_map/map_locat",
 						data: {
 							req: 'cbd'
 						},
@@ -227,7 +227,7 @@
 					});
 					$.ajax({
 						type: "post",
-						url: "http://192.168.1.11:8000/home_map/map_locat",
+						url: "http://120.27.222.26/home_map/map_locat",
 						data: {
 							req: 'qxz'
 						},
@@ -249,7 +249,7 @@
 					});
 					$.ajax({
 						type: "post",
-						url: "http://192.168.1.11:8000/home_map/map_locat",
+						url: "http://120.27.222.26/home_map/map_locat",
 						data: {
 							req: 'bzy'
 						},
@@ -271,7 +271,7 @@
 					});
 					$.ajax({
 						type: "post",
-						url: "http://192.168.1.11:8000/home_map/map_locat",
+						url: "http://120.27.222.26/home_map/map_locat",
 						data: {
 							req: 'xyq'
 						},
@@ -405,7 +405,7 @@
 				if(imei) {
 					$.ajax({
 						type: "post",
-						url: "http://192.168.1.11:8000/home_map/map_locat",
+						url: "http://120.27.222.26/home_map/map_locat",
 						data: {
 							req: "imei",
 							equip_id: imei

+ 3 - 3
home/personalinfo.html

@@ -171,7 +171,7 @@
 				getuserinfo();
 				$('#loadBtn').on('tap',getuserinfo);
 				function getuserinfo(){
-					mui.ajax('http://192.168.1.11:8000/app_user_info', {
+					mui.ajax('http://120.27.222.26/app_user_info', {
 						data: {
 							req:'info'
 						},
@@ -186,7 +186,7 @@
 						},
 						success: function(data) {
 							userinfoData = data;
-							$('#userImg').attr('src','http://192.168.1.11:8000/'+data.user_picture);
+							$('#userImg').attr('src','http://120.27.222.26/'+data.user_picture);
 							$('#username').html(data.username);
 							$('.failed').hide();
 							$('.header').hide();
@@ -369,7 +369,7 @@
 				//上传图片
 				function uploadHeadImg(imgPath) {
 					//服务端接口路径
-					var server = "http://192.168.1.11:8000/app_user_info";
+					var server = "http://120.27.222.26/app_user_info";
 					//获取图片元素
 					var files = document.getElementById('userImg');
 					console.log(files.src);

+ 1 - 1
js/feedback.js

@@ -16,7 +16,7 @@
 		imageList: document.getElementById('image-list'),
 		submitBtn: document.getElementById('submit')
 	};
-	var url = 'http://192.168.1.11:8000/feedback';
+	var url = 'http://120.27.222.26/feedback';
 	feedback.files = [];
 	feedback.uploader = null;  
 	feedback.deviceInfo = null; 

+ 1 - 1
manifest.json

@@ -3,7 +3,7 @@
     "id" : "H5287C086", /*应用的标识,创建应用时自动生成,勿手动修改*/
     "name" : "智慧农业物联网", /*应用名称,程序桌面图标名称*/
     "version" : {
-        "name" : "3.0.0", /*应用版本名称*/
+        "name" : "3.0.2", /*应用版本名称*/
         "code" : "83"
     },
     "description" : "", /*应用描述信息*/

+ 1 - 1
personalinfo/appUpdateList.html

@@ -39,7 +39,7 @@
 		<script src="../js/mui.min.js"></script>
 		<script type="text/javascript">
 			mui.init();
-			mui.ajax('http://192.168.1.11:8000/edition_all', {
+			mui.ajax('http://120.27.222.26/edition_all', {
 				data: {
 
 				},

+ 1 - 1
personalinfo/refresh.html

@@ -124,7 +124,7 @@
 		})
 
 		function getuserinfo() {
-			mui.ajax('http://192.168.1.11:8000/edition', {
+			mui.ajax('http://120.27.222.26/edition', {
 				data: {
 
 				},

+ 1 - 1
personalinfo/setting.html

@@ -104,7 +104,7 @@
 							//退出登录
 							var username = plus.storage.getItem('username');
 							console.log(username)
-							mui.ajax('http://192.168.1.11:8000/app_logout',{
+							mui.ajax('http://120.27.222.26/app_logout',{
 								data:{
 									username:username
 								},

+ 3 - 3
reportManage/addwormCategory.html

@@ -121,7 +121,7 @@
 //				console.log(equipId);
 //				console.log(addr);
 				//请求害虫名称
-				mui.ajax('http://192.168.1.11:8000/cbd_describe_img', {
+				mui.ajax('http://120.27.222.26/cbd_describe_img', {
 					data: {
 						req: 'pest_kind',
 						addr: addr
@@ -167,7 +167,7 @@
 									if(e.value == '') {
 										return false;
 									}
-									mui.ajax('http://192.168.1.11:8000/cbd_describe_img', {
+									mui.ajax('http://120.27.222.26/cbd_describe_img', {
 										data: {
 											req: 'add_pest',
 											pest: e.value,
@@ -210,7 +210,7 @@
 						var btnArray = ['确认', '取消'];
 						mui.confirm('确认删除该种害虫?', '删除', btnArray, function(e) {
 							if(e.index == 0) {
-								mui.ajax('http://192.168.1.11:8000/cbd_describe_img', {
+								mui.ajax('http://120.27.222.26/cbd_describe_img', {
 									data: {
 										req: 'del_pest',
 										pest: JSON.stringify(pest)

+ 7 - 4
reportManage/bzy_detail_echart.html

@@ -146,9 +146,12 @@
 							var time = '';
 							for(var g in params) {
 								time = params[g].axisValue;
-								if(params[g].seriesIndex == 0 || params[g].seriesIndex == 1) {
+								if(params[g].seriesIndex == 0 ) {
 									returnData += params[g].seriesName + ':' + params[g].value + '°C<br/>';
 								}
+								if( params[g].seriesIndex == 1) {
+									returnData += params[g].seriesName + ':' + params[g].value + '%<br/>';
+								}
 								if(params[g].seriesIndex == 2 || params[g].seriesIndex == 3) {
 									returnData += params[g].seriesName + ':' + params[g].value + 'V<br/>';
 								}
@@ -253,7 +256,7 @@
 						var time = '';
 						for(var g in params) {
 							time = params[g].axisValue;
-							returnData += params[g].seriesName + ':' + params[g].value + '';
+							returnData += params[g].seriesName + ':' + params[g].value + '°C';
 						}
 						return time + '<br/>' + returnData;
 					}
@@ -324,7 +327,7 @@
 				equipId = self.equipId;
 				//请求图表数据:
 				$.ajax({
-					url: 'http://192.168.1.11:8000/bzy_report_detail_chart',
+					url: 'http://120.27.222.26/bzy_report_detail_chart',
 					type: 'post',
 					data: {
 						req: 'data',
@@ -383,7 +386,7 @@
 			            var end = getYMDHMS(inst.getVal()[1]);
 			            //请求图表数据:
 						$.ajax({
-							url: 'http://192.168.1.11:8000/bzy_report_detail_chart',
+							url: 'http://120.27.222.26/bzy_report_detail_chart',
 							type: 'post',
 							data: {
 								req: 'filter',

+ 1 - 1
reportManage/bzy_detail_list.html

@@ -122,7 +122,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
             	$.ajax({
 	                type: 'POST',
-		            url: 'http://192.168.1.11:8000/app_reportmanage_detail',
+		            url: 'http://120.27.222.26/app_reportmanage_detail',
 	                timeout : 10000, //超时时间设置,单位毫秒
 	                data:{
 	                	'etype': 'bzy',

+ 9 - 5
reportManage/bzy_image_detail.html

@@ -56,7 +56,7 @@
 		<div class="mui-content">
 			<div class="">
 				<img src="" width="100%" id="bzyImg"/>
-				<!--<img src="http://192.168.1.11:8000/bzy/pyftp/ftp_file/bzy_photo/866262040450529/20190513/20190513211133.jpg" width="100%" id="bzyImg"/>-->
+				<!--<img src="http://120.27.222.26/bzy/pyftp/ftp_file/bzy_photo/866262040450529/20190513/20190513211133.jpg" width="100%" id="bzyImg"/>-->
 			</div>
 			<div class="bottomTxt">
 				<div>图片描述</div>
@@ -79,10 +79,14 @@
 			var self = plus.webview.currentWebview();
 			equipId = self.equipId;
 			addr = self.addr;
-			$('#bzyImg').attr('src','http://192.168.1.11:8000/bzy/'+addr);
-//			$('#bzyImg').attr('src','http://192.168.1.11:8000/bzy/pyftp/ftp_file/bzy_photo/866262040450529/20190513/20190513211133.jpg');
+			if(self.addr.substring(0,4) == 'http'){
+				$('#bzyImg').attr('src', addr);
+			}else{
+				$('#bzyImg').attr('src','http://120.27.222.26/bzy/'+addr);
+			}
+//			$('#bzyImg').attr('src','http://120.27.222.26/bzy/pyftp/ftp_file/bzy_photo/866262040450529/20190513/20190513211133.jpg');
 			
-			mui.ajax('http://192.168.1.11:8000/bzy_describe_img', {
+			mui.ajax('http://120.27.222.26/bzy_describe_img', {
 				data: {
 					'addr': addr
 				},
@@ -117,7 +121,7 @@
 				$('#saveBox').hide();
 			})
 			$('#sendBtn').on('tap',function(){
-				mui.ajax('http://192.168.1.11:8000/bzy_describe_img', {
+				mui.ajax('http://120.27.222.26/bzy_describe_img', {
 					data: {
 						'addr': addr,
 						'describe':$('#describe').val()

+ 5 - 5
reportManage/bzy_lookImage.html

@@ -322,14 +322,14 @@
 //				var dat = data.img;
 			for(var i = 0; i<dat.length; i++){
 				if(dat[i].addr.substring(0,4) == 'http'){
-					html += '<li class="item" data-id="'+dat[i].id+'"><div class="mui-table-view-cell mui-col-xs-6">' +
+					html += '<li class="item" data-path="'+dat[i].addr+'" data-id="'+dat[i].id+'"><div class="mui-table-view-cell mui-col-xs-6">' +
 					'<img class="mui-media-object" src="'+dat[i].addr+'" data-preview-src="" data-preview-group="1">' +
 					'</div><div class="mui-table-view-cell mui-col-xs-6 operateRight"><p class="delBtn"><i class="iconfont" >&#xe65c;</i>删除' +
 					'</p><p class="lookDetial"><i class="iconfont" >&#xe62d;</i>查看描述</p>' +
 					'<p class="itemTime">'+dat[i].upl_time+'</p></div></li>';
 				}else{
-					html += '<li class="item" data-id="'+dat[i].id+'"><div class="mui-table-view-cell mui-col-xs-6">' +
-					'<img class="mui-media-object" src="http://192.168.1.11:8000/bzy/'+dat[i].addr+'" data-preview-src="" data-preview-group="1">' +
+					html += '<li class="item" data-path="http://120.27.222.26/bzy/'+dat[i].addr+'" data-id="'+dat[i].id+'"><div class="mui-table-view-cell mui-col-xs-6">' +
+					'<img class="mui-media-object" src="http://120.27.222.26/bzy/'+dat[i].addr+'" data-preview-src="" data-preview-group="1">' +
 					'</div><div class="mui-table-view-cell mui-col-xs-6 operateRight"><p class="delBtn"><i class="iconfont" >&#xe65c;</i>删除' +
 					'</p><p class="lookDetial"><i class="iconfont" >&#xe62d;</i>查看描述</p>' +
 					'<p class="itemTime">'+dat[i].upl_time+'</p></div></li>';
@@ -339,7 +339,7 @@
 		}
 		/*联网加载列表数据*/
 		function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
-        	mui.ajax('http://192.168.1.11:8000/app_bzy_img', {
+        	mui.ajax('http://120.27.222.26/app_bzy_img', {
 				data: {
 					'page': pageNum,
 					'equip_id': equipId
@@ -374,7 +374,7 @@
 				$(_this).removeClass("activeBj"); //移除p元素中值为"high"的class
 			},30)
 			var id = $(_this).parents('.item').data('id');
-			mui.ajax('http://192.168.1.11:8000/bzy_delete_img', {
+			mui.ajax('http://120.27.222.26/bzy_delete_img', {
 				data: {
 					'addr': id,
 					'imei': equipId

+ 6 - 2
reportManage/cbd_detail_echart.html

@@ -105,7 +105,11 @@
 							var time = '';
 							for(var g in params) {
 								time = params[g].axisValue;
-								returnData += params[g].seriesName + ':' + params[g].value + '°C<br/>';
+								if(params[g].seriesIndex == 0){
+									returnData += params[g].seriesName + ':' + params[g].value + '°C<br/>';
+								}else{
+									returnData += params[g].seriesName + ':' + params[g].value + '%<br/>';
+								}
 							}
 							return time + '<br/>' + returnData;
 						}
@@ -160,7 +164,7 @@
 				};
 				//请求图表数据:
 				$.ajax({
-					url: 'http://192.168.1.11:8000/cbd_report_detail_chart',
+					url: 'http://120.27.222.26/cbd_report_detail_chart',
 					type: 'post',
 					data: {
 						req: 'data',

+ 1 - 1
reportManage/cbd_detail_list.html

@@ -131,7 +131,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
             	$.ajax({
 	                type: 'POST',
-		            url: 'http://192.168.1.11:8000/app_reportmanage_detail',
+		            url: 'http://120.27.222.26/app_reportmanage_detail',
 	                timeout : 10000, //超时时间设置,单位毫秒
 	                data:{
 	                	'etype': 'cbd',

+ 3 - 3
reportManage/cbd_image_discern_resule.html

@@ -65,10 +65,10 @@
 			var self = plus.webview.currentWebview();
 			equipId = self.equipId;
 			addr = self.addr;
-//			$('#cbdImg').attr('src','http://192.168.1.11:8000/cbd/'+addr);
+//			$('#cbdImg').attr('src','http://120.27.222.26/cbd/'+addr);
 //			$('#cbdImg').attr('src','https://pic.qiantucdn.com/back_origin_pic/19/03/18/607c964d203fe4413ee6351aef2796d4.jpg!/format/webp/fw/1024/watermark/url/L2ltYWdlcy93YXRlcm1hcmsvc2h1aXlpbi5wbmc=/repeat/true');
 			
-			mui.ajax('http://192.168.1.11:8000/pests_identification_new', {
+			mui.ajax('http://120.27.222.26/pests_identification_new', {
 				data: {
 					'img_addr': addr
 				},
@@ -116,7 +116,7 @@
 			});
 			
 			function insectData (res) {
-				mui.ajax('http://192.168.1.11:8000/wechat_plant',{
+				mui.ajax('http://120.27.222.26/wechat_plant',{
 						dataType:'json',//服务器返回json格式数据
 						type:'get',//HTTP请求类型
 						timeout: 10000,//超时时间设置为10秒;

+ 1 - 1
reportManage/cbd_pest_data.html

@@ -232,7 +232,7 @@
 				console.log(req)
 				console.log(begin)
 				console.log(end)
-				mui.ajax('http://192.168.1.11:8000/pest_at_ah', {
+				mui.ajax('http://120.27.222.26/pest_at_ah', {
 					data: {
 						req: req,
 						e_id: equipId,

+ 11 - 4
reportManage/lookImage.html

@@ -318,7 +318,7 @@
 			var dat = curPageData;
 //				var dat = data.img;
 			for(var i = 0; i<dat.length; i++){
-				html += '<li class="item" data-id="'+dat[i].id+'"><div class="mui-table-view-cell mui-col-xs-6">' +
+				html += '<li class="item" data-path="'+dat[i].addr+'" data-id="'+dat[i].id+'"><div class="mui-table-view-cell mui-col-xs-6">' +
 						'<img class="mui-media-object" src="'+dat[i].addr+'" data-preview-src="" data-preview-group="1">' +
 						'</div><div class="mui-table-view-cell mui-col-xs-6 operateRight"><p class="delBtn"><i class="iconfont" >&#xe65c;</i>删除' +
 						'</p><p class="lookDetial"><i class="iconfont" >&#xe723;</i>查看描述</p>';
@@ -332,7 +332,7 @@
 		}
 		/*联网加载列表数据*/
 		function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
-        	mui.ajax('http://192.168.1.11:8000/app_cbd_img', {
+        	mui.ajax('http://120.27.222.26/app_cbd_img', {
 				data: {
 					'page': pageNum,
 					'equip_id': equipId
@@ -368,7 +368,7 @@
 				$(_this).removeClass("activeBj"); //移除p元素中值为"high"的class
 			},30)
 			var id = $(_this).parents('.item').data('id');
-			mui.ajax('http://192.168.1.11:8000/cbd_delete_img', {
+			mui.ajax('http://120.27.222.26/cbd_delete_img', {
 				data: {
 					'addr': id,
 					'equip_id': equipId
@@ -399,7 +399,14 @@
 			setTimeout(function(){
 				$(_this).removeClass("activeBj"); //移除p元素中值为"high"的class
 			},30)
-			var path = $(_this).parents('.item').data('path');
+			var addr = $(_this).parents('.item').data('path');
+			if(addr.indexOf('yfzhwlw.com') != -1 ){
+				var path = addr.split('yfzhwlw.com/')[1];
+			}else if(addr.indexOf('120.27.222.26') != -1){
+				var path = addr.split('120.27.222.26/')[1];
+			}else{
+				var path = addr;
+			}
 			mui.openWindow({
 				url: 'cbd_image_discern_resule.html',
 				id: 'cbd_image_discern_resule',

+ 3 - 3
reportManage/lookWormDetial.html

@@ -84,7 +84,7 @@
 				console.log(equipId);
 				(function() {
 					//请求害虫列表
-					mui.ajax('http://192.168.1.11:8000/cbd_describe_img', {
+					mui.ajax('http://120.27.222.26/cbd_describe_img', {
 						data: {
 							req: 'desc',
 							addr: addr
@@ -163,7 +163,7 @@
 						var describe = { pest_name: wormName, crop_name: dat[1], pest_num: dat[0],   pest_case: dat[2] }
 
 						if(!isNaN(dat[0])) {
-							mui.ajax('http://192.168.1.11:8000/cbd_describe_img', {
+							mui.ajax('http://120.27.222.26/cbd_describe_img', {
 								data:{
 									req: 'change_save',
 									addr: addr,
@@ -196,7 +196,7 @@
 					mui('#detial').on('tap', '.delBtn', function() {
 						var wormName = $(this).parents('li').eq(1).find('.wormname').html();
     					var describe = {"pest_name":wormName}
-    					mui.ajax('http://192.168.1.11:8000/cbd_describe_img', {
+    					mui.ajax('http://120.27.222.26/cbd_describe_img', {
 								data:{
 									req: 'del_desc',
 									addr: addr,

+ 1 - 1
reportManage/qxz_detail_list.html

@@ -126,7 +126,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
             	$.ajax({
 	                type: 'POST',
-		            url: 'http://192.168.1.11:8000/qxz_data',
+		            url: 'http://120.27.222.26/qxz_data',
 	                timeout : 10000, //超时时间设置,单位毫秒
 	                data:{
 						'page': pageNum,

+ 1 - 1
reportManage/qxz_detail_listOld.html

@@ -127,7 +127,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
             	$.ajax({
 	                type: 'POST',
-		            url: 'http://192.168.1.11:8000/app_reportmanage_detail',
+		            url: 'http://120.27.222.26/app_reportmanage_detail',
 	                timeout : 10000, //超时时间设置,单位毫秒
 	                data:{
 	                	'etype': 'qxz',

+ 1 - 1
reportManage/qxz_detail_list_detail.html

@@ -37,7 +37,7 @@
 			
 			.qxzImg {
 				background-image: url(../images/qxz.jpg);
-				/*background-image: url(http://192.168.1.11:8000/qxz_photo/default.png);*/
+				/*background-image: url(http://120.27.222.26/qxz_photo/default.png);*/
 				height: 200px;
 				background-size: cover;
 				border-radius: 7px;

+ 1 - 1
reportManage/qxz_detail_list_detailOld.html

@@ -37,7 +37,7 @@
 			
 			.qxzImg {
 				background-image: url(../images/qxz.jpg);
-				/*background-image: url(http://192.168.1.11:8000/qxz_photo/default.png);*/
+				/*background-image: url(http://120.27.222.26/qxz_photo/default.png);*/
 				height: 200px;
 				background-size: cover;
 				border-radius: 7px;

+ 1 - 1
reportManage/reprotManage_bzy.html

@@ -275,7 +275,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/app_reportmanage',
+		                url: 'http://120.27.222.26/app_reportmanage',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'etype': 'bzy',

+ 2 - 2
reportManage/reprotManage_bzy_detail.html

@@ -324,7 +324,7 @@
 				})
 				//查询
 				document.getElementById('reloadEquip').addEventListener('tap',function(){
-					mui.ajax('http://192.168.1.11:8000/bzy_mqtt',{
+					mui.ajax('http://120.27.222.26/bzy_mqtt',{
 						data:{
 							'req': 'read',
 							'topicid': equipId,
@@ -355,7 +355,7 @@
 			})
 
 			function requestData() {
-				mui.ajax('http://192.168.1.11:8000/app_reportmanage_unflod', {
+				mui.ajax('http://120.27.222.26/app_reportmanage_unflod', {
 					data: {
 						'etype': 'bzy',
 						'equip_id': equipId,

+ 1 - 1
reportManage/reprotManage_cbd.html

@@ -275,7 +275,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/app_reportmanage',
+		                url: 'http://120.27.222.26/app_reportmanage',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'etype': 'cbd',

+ 8 - 4
reportManage/reprotManage_cbd_detail.html

@@ -349,7 +349,11 @@
 							var time = '';
 							for(var g in params) {
 								time = params[g].axisValue;
-								returnData += params[g].seriesName + ':' + params[g].value + '°C<br/>';
+								if(params[g].seriesIndex == 0){
+									returnData += params[g].seriesName + ':' + params[g].value + '°C<br/>';
+								}else{
+									returnData += params[g].seriesName + ':' + params[g].value + '%<br/>';
+								}
 							}
 							return time + '<br/>' + returnData;
 						}
@@ -442,7 +446,7 @@
 				})
 				//查询
 				document.getElementById('reloadEquip').addEventListener('tap',function(){
-					mui.ajax('http://192.168.1.11:8000/scd_mqtt',{
+					mui.ajax('http://120.27.222.26/scd_mqtt',{
 						data:{
 							'sw': 'read',
 							'topicid': equipId,
@@ -504,7 +508,7 @@
 				
 				
 				$.ajax({
-					url: 'http://192.168.1.11:8000/cbd_report_detail_chart',
+					url: 'http://120.27.222.26/cbd_report_detail_chart',
 					type: 'post',
 					data: {
 						'id':equipId,
@@ -546,7 +550,7 @@
 			}
 
 			function requestData() {
-				mui.ajax('http://192.168.1.11:8000/app_reportmanage_unflod', {
+				mui.ajax('http://120.27.222.26/app_reportmanage_unflod', {
 					data: {
 						'etype': 'cbd',
 						'equip_id': equipId,

+ 1 - 1
reportManage/reprotManage_qxz.html

@@ -217,7 +217,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/app_reportmanage',
+		                url: 'http://120.27.222.26/app_reportmanage',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'etype': 'qxz',

+ 1 - 1
reportManage/reprotManage_qxz_detail.html

@@ -280,7 +280,7 @@
 			})
 
 			function requestData(begin,end) {
-				mui.ajax('http://192.168.1.11:8000/qxz_data_chart', {
+				mui.ajax('http://120.27.222.26/qxz_data_chart', {
 					data: {
 						'e_id': equipId,
 						'begin': begin,

+ 1 - 1
reportManage/reprotManage_qxz_detailOld.html

@@ -263,7 +263,7 @@
 			})
 
 			function requestData(begin,end) {
-				mui.ajax('http://192.168.1.11:8000/qxz_report_detail_chart', {
+				mui.ajax('http://120.27.222.26/qxz_report_detail_chart', {
 					data: {
 						id: equipId,
 						begin: begin,

+ 1 - 1
reportManage/reprotManage_scd.html

@@ -218,7 +218,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/app_reportmanage',
+		                url: 'http://120.27.222.26/app_reportmanage',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'etype': 'scd',

+ 2 - 2
reportManage/reprotManage_scd_detail.html

@@ -232,7 +232,7 @@
 				document.getElementById('reloadEquip').addEventListener('tap',function(){
 					var imei = [];
 					imei.push(equipId)
-					mui.ajax('http://192.168.1.11:8000/scd_mqtt',{
+					mui.ajax('http://120.27.222.26/scd_mqtt',{
 						data:{
 							'sw': 'read',
 							'topicid': JSON.stringify(imei),
@@ -286,7 +286,7 @@
 
 
 			function requestData() {
-				mui.ajax('http://192.168.1.11:8000/app_reportmanage_unflod', {
+				mui.ajax('http://120.27.222.26/app_reportmanage_unflod', {
 					data: {
 						'etype': 'scd',
 						'equip_id': equipId,

+ 1 - 1
reportManage/reprotManage_xyq.html

@@ -143,7 +143,7 @@
 				function getListDataFromNet(pageNum, pageSize, successCallback, errorCallback) {
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/xyq_report',
+						url: 'http://120.27.222.26/xyq_report',
 						timeout: 10000, //超时时间设置,单位毫秒
 						data: {
 							'page': pageNum,

+ 1 - 1
reportManage/reprotManage_xyq_detail.html

@@ -262,7 +262,7 @@
 			}
 
 			function requestData() {
-				mui.ajax('http://192.168.1.11:8000/xyq_report_detail_chart', {
+				mui.ajax('http://120.27.222.26/xyq_report_detail_chart', {
 					data: {
 						req: 'data',
 						id: equipId,

+ 1 - 1
reportManage/reprotManage_xyq_imglist.html

@@ -312,7 +312,7 @@
 		}
 		/*联网加载列表数据*/
 		function getListDataFromNet(pageNum, pageSize, successCallback, errorCallback) {
-			mui.ajax('http://192.168.1.11:8000/trap_photo', {
+			mui.ajax('http://120.27.222.26/trap_photo', {
 				data: {
 					'page': pageNum,
 					'imei': equipId

+ 1 - 1
reportManage/reprotManage_xyq_recordlist.html

@@ -164,7 +164,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/trap_pest',
+		                url: 'http://120.27.222.26/trap_pest',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'page': pageNum,

+ 2 - 2
reportManage/scd_detail_echart.html

@@ -318,7 +318,7 @@
 				equipId = self.equipId;
 				//请求图表数据:
 				$.ajax({
-					url: 'http://192.168.1.11:8000/scd_report_detail_chart',
+					url: 'http://120.27.222.26/scd_report_detail_chart',
 					type: 'post',
 					data: {
 						req: 'data',
@@ -380,7 +380,7 @@
 			            var end = getYMDHMS(inst.getVal()[1]);
 			            //请求图表数据:
 						$.ajax({
-							url: 'http://192.168.1.11:8000/scd_report_detail_chart',
+							url: 'http://120.27.222.26/scd_report_detail_chart',
 							type: 'post',
 							data: {
 								req: 'filter',

+ 1 - 1
reportManage/scd_detail_list.html

@@ -125,7 +125,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
             	$.ajax({
 	                type: 'POST',
-	                url: 'http://192.168.1.11:8000/app_reportmanage_detail',
+	                url: 'http://120.27.222.26/app_reportmanage_detail',
 	                timeout : 10000, //超时时间设置,单位毫秒
 	                data:{
 	                	'etype': 'scd',

+ 2 - 2
reportManage/wormDescribe.html

@@ -127,7 +127,7 @@
 				addr = self.addr;
 				console.log(equipId);
 				console.log(addr);
-				mui.ajax('http://192.168.1.11:8000/cbd_describe_img', {
+				mui.ajax('http://120.27.222.26/cbd_describe_img', {
 					data: {
 						req: 'pest_kind',
 						addr: addr
@@ -160,7 +160,7 @@
 						"pest_num":document.getElementById('wormnum').value,
 						"pest_case":document.getElementById('worstage').value
 					}
-					mui.ajax('http://192.168.1.11:8000/cbd_describe_img', {
+					mui.ajax('http://120.27.222.26/cbd_describe_img', {
 						data: {
 							req: 'add_save',
 							addr: addr,

+ 1 - 1
simInfo/siminfo.html

@@ -268,7 +268,7 @@
 				function getListDataFromNet(pageNum, pageSize, successCallback, errorCallback) {
 					mui.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_siminfo',
+						url: 'http://120.27.222.26/app_siminfo',
 						timeout: 100000, //超时时间设置,单位毫秒
 						data: {
 							'page': pageNum,

+ 1 - 1
systemmanage/systemmanage_user_add.html

@@ -199,7 +199,7 @@
 						return false;
 					}
 				}
-				mui.ajax('http://192.168.1.11:8000/systemmanage_user_add', {
+				mui.ajax('http://120.27.222.26/systemmanage_user_add', {
 					data: {
 						"username": username,
 						"email": email,

+ 2 - 2
systemmanage/systemmanage_user_datial.html

@@ -130,7 +130,7 @@
 			})
 
 			function pulldownRefresh(flag) {
-				mui.ajax('http://192.168.1.11:8000/app_usermanage_detail', {
+				mui.ajax('http://120.27.222.26/app_usermanage_detail', {
 					data: {
 						userId: userId,
 					},
@@ -245,7 +245,7 @@
 			})
 
 			function execute(state) {
-				mui.ajax('http://192.168.1.11:8000/systemmanage_user_list', {
+				mui.ajax('http://120.27.222.26/systemmanage_user_list', {
 					data: {
 						req: 'state',
 						id: userId,

+ 1 - 1
systemmanage/systemmanage_user_edit.html

@@ -215,7 +215,7 @@
 			        }
 			  	}
 
-				mui.ajax('http://192.168.1.11:8000/app_usermanage_edit',{
+				mui.ajax('http://120.27.222.26/app_usermanage_edit',{
 					data:{
 						'username': $("#username").html(),
 						'userphone': $('#user_phone').val(),

+ 1 - 1
systemmanage/systemmanage_user_list.html

@@ -156,7 +156,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
                 	$.ajax({
 		                type: 'POST',
-		                url: 'http://192.168.1.11:8000/app_usermanage_list',
+		                url: 'http://120.27.222.26/app_usermanage_list',
 		                timeout : 10000, //超时时间设置,单位毫秒
 		                data:{
 		                	'page': pageNum,

+ 1 - 1
systemmanage/systemmanage_user_resetPwd.html

@@ -90,7 +90,7 @@
 					    }else if(userpassWord == '' || userRePassWord == ''){
 					    	mui.toast('请将信息填写完整')
 					    }else{
-					    	mui.ajax('http://192.168.1.11:8000/systemmanage_user_list',{
+					    	mui.ajax('http://120.27.222.26/systemmanage_user_list',{
 								data:{
 									id: self.name,
 									req: 'resetpwd',

+ 1 - 1
systemmanage/systemmanage_usergroup_add.html

@@ -122,7 +122,7 @@
 					return false;
 				}
 				
-				mui.ajax('http://192.168.1.11:8000/systemmanage_role/', {
+				mui.ajax('http://120.27.222.26/systemmanage_role/', {
 					data: $('#addUserForm').serialize(),
 					dataType: 'json', //服务器返回json格式数据
 					type: 'post', //HTTP请求类型

+ 4 - 4
systemmanage/systemmanage_usergroup_detial.html

@@ -80,7 +80,7 @@
 			
 			function pullupRefresh() {
 				console.log(groupname)
-				mui.ajax('http://192.168.1.11:8000/app_user_group_details', {
+				mui.ajax('http://120.27.222.26/app_user_group_details', {
 					data: {
 						name:groupname
 					},
@@ -96,9 +96,9 @@
 					success: function(data) {
 						$('.nullData').remove();
 						console.log(JSON.stringify(data));
-						photopath = 'http://192.168.1.11:8000/'+data.logo;
+						photopath = 'http://120.27.222.26/'+data.logo;
 						copyright = data.copyright;
-						var html = '<li class="mui-table-view-cell" id=""><span class="equipTitle">首页logo</span><p><img id="companylogo" class="" src="http://192.168.1.11:8000/'+data.logo+'"></p></li>'+
+						var html = '<li class="mui-table-view-cell" id=""><span class="equipTitle">首页logo</span><p><img id="companylogo" class="" src="http://120.27.222.26/'+data.logo+'"></p></li>'+
 									'<li class="mui-table-view-cell" id="11"><span class="equipTitle">角色名称</span><p>'+data.username+'</p></li>'+
 									'<li class="mui-table-view-cell" id="22"><span class="equipTitle">角色描述</span><p id="equipName">'+data.userremark+'</p></li>'+
 									'<li class="mui-table-view-cell" id="22"><span class="equipTitle">创建时间</span><p>'+data.creatTime+'</p></li>'+
@@ -107,7 +107,7 @@
 						$('#edit').show();
 						mui('.mui-content').pullRefresh().endPulldownToRefresh(false);
 						$('#companylogo').on('tap',previewImage);
-						var imagepath = 'http://192.168.1.11:8000/'+data.logo;
+						var imagepath = 'http://120.27.222.26/'+data.logo;
 						// 图片预览
 						function previewImage(){
 							plus.nativeUI.previewImage([

+ 1 - 1
systemmanage/systemmanage_usergroup_edit.html

@@ -52,7 +52,7 @@
 					imageList: document.getElementById('image-list'),
 					submitBtn: document.getElementById('submit')
 				};
-				var url = 'http://192.168.1.11:8000/app_user_group_edit';
+				var url = 'http://120.27.222.26/app_user_group_edit';
 				feedback.files = [];
 				feedback.uploader = null;
 				feedback.deviceInfo = null;

+ 1 - 1
systemmanage/systemmanage_usergroup_list.html

@@ -125,7 +125,7 @@
 			function getListDataFromNet(pageNum,pageSize,successCallback,errorCallback) {
 					$.ajax({
 						type: 'POST',
-						url: 'http://192.168.1.11:8000/app_user_group',
+						url: 'http://120.27.222.26/app_user_group',
 						timeout : 10000, //超时时间设置,单位毫秒
 						data:{
 							'page': pageNum,