Parcourir la Source

修改了请求的方式;

fanlongfei il y a 8 ans
Parent
commit
53e55f8c75

+ 1 - 1
WebUI/CallCenterWeb.UI/phoneClientManage/ApplicationUpdate.html

@@ -82,7 +82,7 @@
82 82
 				table1.bootstrapTable('destroy');
83 83
 				//初始化表格,动态从服务器加载数据
84 84
 				table1.bootstrapTable({
85
-					method: "get", //使用get请求到服务器获取数据
85
+					method: "POST", //使用post请求到服务器获取数据
86 86
 					url: huayi.config.callcenter_url+"ApplicationsRefresh/GetAllList", //获取数据的Servlet地址
87 87
 					contentType: "application/x-www-form-urlencoded",striped: true,
88 88
 					striped: true, //表格显示条纹

+ 1 - 1
WebUI/CallCenterWeb.UI/phoneClientManage/commonProblem.html

@@ -90,7 +90,7 @@
90 90
 				table1.bootstrapTable('destroy');
91 91
 				//初始化表格,动态从服务器加载数据
92 92
 				table1.bootstrapTable({
93
-					method: "get", //使用get请求到服务器获取数据
93
+					method: "POST", //使用post请求到服务器获取数据
94 94
 					url: huayi.config.callcenter_url+"FAQ/GetAllList", //获取数据的Servlet地址
95 95
 					contentType: "application/x-www-form-urlencoded",striped: true,
96 96
 					striped: true, //表格显示条纹

+ 27 - 3
WebUI/CallCenterWeb.UI/phoneClientManage/secrecy.html

@@ -21,9 +21,12 @@
21 21
 						<i class="syIcon"></i>位置:
22 22
 						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
23 23
 						<a href="javaScript:;">手机客户端管理</a>&gt;
24
-						<a href="" style="color: #000;">保密协议</a>
24
+						<a href="" class="nowPosition">保密协议</a>
25 25
 					</sapn>
26 26
 				</div>
27
+				<div class="dhRight">
28
+					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
29
+				</div>
27 30
 			</div>
28 31
 			<div class="Content_box">
29 32
 				<div class="complain Shows">
@@ -31,14 +34,14 @@
31 34
 					
32 35
 					</div>
33 36
 					<div style="width: 100%;padding: 10px; text-align: center;">
34
-					<textarea name="" style="width: 90%; height: 400px;"></textarea>
37
+					<textarea class="textarea-content" name="" style="width: 90%; height: 400px;"></textarea>
35 38
 					</div>
36 39
 				</div>
37 40
 			</div>
38 41
 		</div>
39 42
 
40 43
 		<script>
41
-			$(document).ready(function() {
44
+			$(document).ready(function(){
42 45
 				laydate.skin('molv');
43 46
 				laydate({
44 47
 					elem: '#startTime',
@@ -51,6 +54,27 @@
51 54
 				});
52 55
 			
53 56
 			})
57
+			$.ajax({
58
+				type: "post",
59
+				url: huayi.config.callcenter_url + "/Article/GetInfoByTitle",
60
+				dataType: 'json',
61
+				async: true,
62
+//				data: {
63
+
64
+//				},
65
+				success: function(data) {
66
+					/*验证请求*/
67
+					if(data.state == "success") {
68
+						$.cookie("token", data.data.token, {
69
+							expires: 7
70
+						});
71
+						$('.textarea-content').val(data.title);
72
+					}else{
73
+						console.log(data.message);
74
+					}
75
+				}
76
+			});
77
+            
54 78
 		</script>
55 79
 	</body>
56 80
 

+ 1 - 1
WebUI/CallCenterWeb.UI/phoneClientManage/userFeedback.html

@@ -78,7 +78,7 @@
78 78
 				table1.bootstrapTable('destroy');
79 79
 				//初始化表格,动态从服务器加载数据
80 80
 				table1.bootstrapTable({
81
-					method: "get", //使用get请求到服务器获取数据
81
+					method: "POST", //使用POST请求到服务器获取数据
82 82
 					url: huayi.config.callcenter_url+"UserFeedback/GetAllList", //获取数据的Servlet地址
83 83
 					contentType: "application/x-www-form-urlencoded",striped: true,
84 84
 					striped: true, //表格显示条纹