Browse Source

商丘app修改

miaofuhao 7 years ago
parent
commit
8d4b8e38cb

+ 2 - 2
WebAPP/Setting-1.html

@@ -266,9 +266,9 @@
266 266
 							<li class="mui-table-view-cell">
267 267
 								<a id="Bom" class="mui-navigate-right"><img class="Img" src="img/Wc.png" alt="" />保密协议 <i class="mui-pull-right "></i></a>
268 268
 							</li>
269
-							<li class="mui-table-view-cell">
269
+							<!-- <li class="mui-table-view-cell">
270 270
 								<a href="#" id='update'><img class="Img" src="img/Wd.png" alt="" />版本更新 <i class="mui-pull-right update"></i></a>
271
-							</li>
271
+							</li> -->
272 272
 						</ul>
273 273
 						<ul class="mui-table-view">
274 274
 							<li class="mui-table-view-cell" style="text-align: center;">

+ 2 - 2
WebAPP/User-Setting-1.html

@@ -270,9 +270,9 @@
270 270
 							<li class="mui-table-view-cell">
271 271
 								<a id="Bom" class="mui-navigate-right"><img class="Img" src="img/Wc.png" alt="" />保密协议 <i class="mui-pull-right "></i></a>
272 272
 							</li>
273
-							<li class="mui-table-view-cell">
273
+							<!-- <li class="mui-table-view-cell">
274 274
 								<a href="#" id='update'><img class="Img" src="img/Wd.png" alt="" />版本更新 <i class="mui-pull-right update"></i></a>
275
-							</li>
275
+							</li> -->
276 276
 						</ul>
277 277
 						<ul class="mui-table-view">
278 278
 							<li class="mui-table-view-cell" style="text-align: center;">

+ 51 - 51
WebAPP/User-personal.html

@@ -408,57 +408,57 @@
408 408
 
409 409
 				}, false);
410 410
 			})
411
-			var Code_;
412
-			var NewCode_;
413
-			var server = huayi.config.callcenter_url + "ApplicationsRefresh/GetInfo?"; //获取升级描述文件服务器地址
414
-						plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
415
-			               console.log("当前应用版本:"+wgtinfo.version+"---"+plus.runtime.version);
416
-							localStorage.setItem("Code",wgtinfo.version)//缓存保存版本号;
417
-							Code_= localStorage.getItem("Code");
418
-							$('.update').text(Code_);
419
-							
420
-						});
421
-			mui.ajax(server, {
422
-					data: {
423
-						isNew: true,
424
-						token: token
425
-					},
426
-					dataType: 'json', //服务器返回json格式数据
427
-					type: 'post', //HTTP请求类型
428
-					timeout: 10000, //超时时间设置为10秒;
429
-					headers: {
430
-						'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
431
-					},
432
-					success: function(data) {
433
-						if(data.state == "success") {
434
-							 NewCode_ = data.data.F_VersionCode;
435
-							localStorage.setItem("Code",NewCode_);	//缓存保存版本号;
436
-//							alert(Code_);
437
-//							alert(NewCode_);
438
-							if(Code_!= NewCode_){
439
-								var Codes=localStorage.setItem("Code",NewCode_);
440
-								plus.nativeUI.confirm("1:引导页修改", function(event) {
441
-									var tapIndex = event.index;
442
-									if(tapIndex == 0) {
443
-										console.log(data);
444
-										plus.runtime.openURL(data.data.F_DownUrl);
445
-									} else {
446
-										mui.toast("取消更新");
447
-									}
448
-								}, "提示", ["立即更新", "取消", ])
449
-							}
450
-
451
-						} else {
452
-							mui.toast(data.message);
453
-
454
-						}
455
-
456
-					},
457
-					error: function(data) {
458
-						//异常处理;
459
-						console.log(data.message);
460
-					}
461
-				})
411
+// 			var Code_;
412
+// 			var NewCode_;
413
+// 			var server = huayi.config.callcenter_url + "ApplicationsRefresh/GetInfo?"; //获取升级描述文件服务器地址
414
+// 						plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
415
+// 			               console.log("当前应用版本:"+wgtinfo.version+"---"+plus.runtime.version);
416
+// 							localStorage.setItem("Code",wgtinfo.version)//缓存保存版本号;
417
+// 							Code_= localStorage.getItem("Code");
418
+// 							$('.update').text(Code_);
419
+// 							
420
+// 						});
421
+// 			mui.ajax(server, {
422
+// 					data: {
423
+// 						isNew: true,
424
+// 						token: token
425
+// 					},
426
+// 					dataType: 'json', //服务器返回json格式数据
427
+// 					type: 'post', //HTTP请求类型
428
+// 					timeout: 10000, //超时时间设置为10秒;
429
+// 					headers: {
430
+// 						'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
431
+// 					},
432
+// 					success: function(data) {
433
+// 						if(data.state == "success") {
434
+// 							 NewCode_ = data.data.F_VersionCode;
435
+// 							localStorage.setItem("Code",NewCode_);	//缓存保存版本号;
436
+// //							alert(Code_);
437
+// //							alert(NewCode_);
438
+// 							if(Code_!= NewCode_){
439
+// 								var Codes=localStorage.setItem("Code",NewCode_);
440
+// 								plus.nativeUI.confirm("1:引导页修改", function(event) {
441
+// 									var tapIndex = event.index;
442
+// 									if(tapIndex == 0) {
443
+// 										console.log(data);
444
+// 										plus.runtime.openURL(data.data.F_DownUrl);
445
+// 									} else {
446
+// 										mui.toast("取消更新");
447
+// 									}
448
+// 								}, "提示", ["立即更新", "取消", ])
449
+// 							}
450
+// 
451
+// 						} else {
452
+// 							mui.toast(data.message);
453
+// 
454
+// 						}
455
+// 
456
+// 					},
457
+// 					error: function(data) {
458
+// 						//异常处理;
459
+// 						console.log(data.message);
460
+// 					}
461
+// 				})
462 462
 		})
463 463
 	</script>
464 464
 

+ 4 - 1
WebAPP/citizen/User-personaList.html

@@ -144,7 +144,7 @@
144 144
 			var type = 0;
145 145
 			
146 146
 			
147
-			Ajax(type)
147
+			Ajax(type);
148 148
 			$('.count_list li').on('tap',function(){
149 149
         		type=$(this).index();
150 150
         		Ajax(type);
@@ -160,8 +160,11 @@
160 160
 						dataType: 'json', //服务器返回json格式数据
161 161
 						type: 'get', //HTTP请求类型
162 162
 						success: function(result) {
163
+							
163 164
 							var con=result.data;
165
+							alert(con);
164 166
 		                	if(result.state.toLowerCase()=='success'){
167
+		                			
165 168
 		                			$('.total').html(con.total);//全部记录
166 169
 		                			$('.blzcount').html(con.blzcount);//办理中
167 170
 		                			$('.yblcount').html(con.yblcount);//已办理

+ 1 - 1
WebAPP/manifest.json

@@ -3,7 +3,7 @@
3 3
     "id" : "io.dcloud.H5E949709", /*应用的标识,创建应用时自动生成,勿手动修改*/
4 4
     "name" : "商丘12345政府服务热线", /*应用名称,程序桌面图标名称*/
5 5
     "version" : {
6
-        "name" : "1.8.1", /*应用版本名称*/
6
+        "name" : "1.8.3", /*应用版本名称*/
7 7
         "code" : "83"
8 8
     },
9 9
     "description" : "", /*应用描述信息*/

+ 48 - 48
WebAPP/personal.html

@@ -709,54 +709,54 @@
709 709
 					webviewShow.show("slide-in-right", 300); //把新webview窗体显示出来,显示动画效果为速度300毫秒的右侧移入动画
710 710
 				}, false);
711 711
 			})
712
-			var Code_;
713
-			var NewCode_;
714
-			var server = huayi.config.callcenter_url + "ApplicationsRefresh/GetInfo?"; //获取升级描述文件服务器地址
715
-						plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
716
-			               console.log("当前应用版本:"+wgtinfo.version+"---"+plus.runtime.version);
717
-							localStorage.setItem("Code",wgtinfo.version)//缓存保存版本号;
718
-							Code_= localStorage.getItem("Code");
719
-							$('.update').text(Code_);
720
-							
721
-						});
722
-			mui.ajax(server, {
723
-					data: {
724
-						isNew: true,
725
-						token: token
726
-					},
727
-					dataType: 'json', //服务器返回json格式数据
728
-					type: 'post', //HTTP请求类型
729
-					timeout: 10000, //超时时间设置为10秒;
730
-					headers: {
731
-						'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
732
-					},
733
-					success: function(data) {
734
-						if(data.state == "success") {
735
-							 NewCode_ = data.data.F_VersionCode;
736
-							localStorage.setItem("Code",NewCode_);	//缓存保存版本号;
737
-//							alert(Code_); 
738
-//							alert(NewCode_);
739
-							if(Code_!= NewCode_){
740
-								var Codes=localStorage.setItem("Code",NewCode_);
741
-								plus.nativeUI.confirm("1:页面优化", function(event) {
742
-									var tapIndex = event.index;
743
-									if(tapIndex == 0) {
744
-										console.log(data);
745
-										plus.runtime.openURL(data.data.F_DownUrl);
746
-									} else {
747
-										mui.toast("取消更新");
748
-									}
749
-								}, "版本升级提示", ["立即更新", "取消", ])
750
-							}
751
-						}
752
-
753
-					},
754
-					error: function(data) {
755
-						//异常处理;
756
-						console.log(data.message);
757
-					}
758
-				})
759
-		})
712
+// 			var Code_;
713
+// 			var NewCode_;
714
+// 			var server = huayi.config.callcenter_url + "ApplicationsRefresh/GetInfo?"; //获取升级描述文件服务器地址
715
+// 						plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
716
+// 			               console.log("当前应用版本:"+wgtinfo.version+"---"+plus.runtime.version);
717
+// 							localStorage.setItem("Code",wgtinfo.version)//缓存保存版本号;
718
+// 							Code_= localStorage.getItem("Code");
719
+// 							$('.update').text(Code_);
720
+// 							
721
+// 						});
722
+// 			mui.ajax(server, {
723
+// 					data: {
724
+// 						isNew: true,
725
+// 						token: token
726
+// 					},
727
+// 					dataType: 'json', //服务器返回json格式数据
728
+// 					type: 'post', //HTTP请求类型
729
+// 					timeout: 10000, //超时时间设置为10秒;
730
+// 					headers: {
731
+// 						'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
732
+// 					},
733
+// 					success: function(data) {
734
+// 						if(data.state == "success") {
735
+// 							 NewCode_ = data.data.F_VersionCode;
736
+// 							localStorage.setItem("Code",NewCode_);	//缓存保存版本号;
737
+// //							alert(Code_); 
738
+// //							alert(NewCode_);
739
+// 							if(Code_!= NewCode_){
740
+// 								var Codes=localStorage.setItem("Code",NewCode_);
741
+// 								plus.nativeUI.confirm("1:页面优化", function(event) {
742
+// 									var tapIndex = event.index;
743
+// 									if(tapIndex == 0) {
744
+// 										console.log(data);
745
+// 										plus.runtime.openURL(data.data.F_DownUrl);
746
+// 									} else {
747
+// 										mui.toast("取消更新");
748
+// 									}
749
+// 								}, "版本升级提示", ["立即更新", "取消", ])
750
+// 							}
751
+// 						}
752
+// 
753
+// 					},
754
+// 					error: function(data) {
755
+// 						//异常处理;
756
+// 						console.log(data.message);
757
+// 					}
758
+// 				})
759
+ 		})
760 760
 	</script>
761 761
 
762 762
 </html>

+ 2 - 1
WebSite/index.html

@@ -562,7 +562,7 @@
562 562
                 async: true,
563 563
                 cache: false,
564 564
 //              dataType: 'json',
565
-                //					crossDomain: true == !(document.all),
565
+                //crossDomain: true == !(document.all),
566 566
                 success: function (result) {
567 567
                     var result = JSON.parse(result);
568 568
                     var content =result.data;
@@ -860,6 +860,7 @@
860 860
                     $('#totalCount').html(totalCount + '件');
861 861
                     //今日共受理
862 862
                     $('#jrtotalCount').html(content.dayaccept + '件');
863
+                    //$('#jrtotalCount').html(content.dayaccept + '件');
863 864
                     //今日共交办
864 865
                     $('#jrtotalCountJ').html(content.dayassign + '件');
865 866
                 }