Pārlūkot izejas kodu

商丘后台修改,以及app修改

miaofuhao 7 gadi atpakaļ
vecāks
revīzija
8728de78e6

+ 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
 

BIN
WebAPP/img/guide.png


+ 1 - 3
WebAPP/login.html

@@ -243,9 +243,7 @@
243 243
 			mui.init();
244 244
 			mui.plusReady(function() {
245 245
 				var usercode = localStorage.getItem("user"); //获取本地存储
246
-				var psw = localStorage.getItem("psw"); //获取本地存储
247
-//				alert(usercode);
248
-//				alert(psw);
246
+				var psw = localStorage.getItem("psw"); //获取本地存储s
249 247
 				if(usercode != null) //如果缓存中有数据,则加载出来 
250 248
 				{
251 249
 					document.getElementById("account").value = usercode;

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 3 - 16
WebAPP/manifest.json


+ 47 - 47
WebAPP/personal.html

@@ -709,53 +709,53 @@
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
-// 				})
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 759
  		})
760 760
 	</script>
761 761
 

BIN
WebAPP/unpackage/release/io.dcloud.H5E949709_1213155225.apk


+ 0 - 1
WebSite/index.html

@@ -21,7 +21,6 @@
21 21
             width: 100%;
22 22
             height: 184px;
23 23
         }
24
-
25 24
         #acceptanceBar {
26 25
             width: 100%;
27 26
             height: 284px;

+ 20 - 4
WebUI/CallCenterWeb.UI/CommonHtml/PrintPreview-1.html

@@ -39,12 +39,22 @@
39 39
 				text-align: left;
40 40
 				font-weight: normal;
41 41
 				margin-left: 38px;
42
+				position: relative;
42 43
 			}
43 44
 			
44 45
 			.headerAlign h3 {
45 46
 				width: 646px;
46 47
 			}
47
-			
48
+			.headerAlign .textCb{
49
+				position: absolute;
50
+				padding: 5px 12px;
51
+				right: 32px;
52
+				top: 30px;
53
+				font-size: 16px;
54
+				color: #e84545;
55
+				border: 1px solid #e84545;
56
+				display: none;
57
+			}
48 58
 			#main table {
49 59
 				margin: 0 auto;
50 60
 				width: 621px;
@@ -114,7 +124,9 @@
114 124
 				font-size: 22pt !important;
115 125
 				letter-spacing: -1px !important;
116 126
 			}
117
-			
127
+			.textCb{
128
+				color: #e84545 !important;
129
+			}
118 130
 			.headerAlign h3 div:nth-of-type(1) {
119 131
 				font-size: 14pt !important;
120 132
 				font-family: "宋体" !important;
@@ -177,8 +189,9 @@
177 189
 			<div class="alignC headerAlign">
178 190
 				<!--<br />-->
179 191
 				<h2 style="margin-bottom: 15px; margin-top: 0;">
180
-                  商丘市12345政府服务热线办公室工作交办单
181
-            </h2>
192
+                  	商丘市12345政府服务热线办公室工作交办单
193
+            	</h2>
194
+            	<span class="textCb">重办</span>
182 195
 				<!--<h3>
183 196
             	<div>主办单位: <span class="cbdw"></span></div>
184 197
             </h3>-->
@@ -335,6 +348,9 @@
335 348
 							//$('.dz').text(content.data[0].F_CusAddress);
336 349
 							//$('.lxrphone').text(content.data[0].F_ConPhone);
337 350
 							$(".lxr ").text(content.data[0].F_ComContent); //内容
351
+							if (content.data[0].F_IsReload>0) {
352
+								$(".textCb").show();
353
+							}
338 354
 							var T = content.data[0].F_CreateTime; //受理时间
339 355
 							if(T) {
340 356
 								var S = T.substring(0, T.indexOf(' '));

+ 6 - 2
WebUI/CallCenterWeb.UI/SystemManager/js/yongHuManger.js

@@ -414,16 +414,20 @@ function addCun() {
414 414
             $('.add_ygCode').val("");
415 415
             $('.add_ygName').val("");
416 416
             $('.add_pwd').val("");
417
+            $('.add_pwd2').val("");
417 418
             $('.add_did').val("");
418 419
             $('.add_roleid').val("");
419 420
             $('.add_mobile').val("");
420 421
             $('.add_telphone').val("");
421 422
             $('.add_birth').val("");
422 423
             $('.add_remark').val("");
423
-            
424
+            $('.inps1').val("");
425
+            $('.inps2').val("");
426
+            $('.addhwb input').removeAttr("checked");
427
+            $('.addzxqx input').removeAttr("checked");
428
+            $('.addSex input').removeAttr("checked");
424 429
             layer.msg("添加成功!");
425 430
             table.bootstrapTable('refresh');
426
-
427 431
             $('.addModel').css('display', 'none');
428 432
         }
429 433
     });