Sfoglia il codice sorgente

新版知识库调整

lihai 5 anni fa
parent
commit
550ba3e368

+ 2 - 2
WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js

@@ -2,8 +2,8 @@
2 2
     var huayi = {};
3 3
 }
4 4
 huayi.config = {
5
-    callcenter_url: "http://192.168.4.18:4030/",//生产环境
6
-    //callcenter_url: "http://localhost:63660/",//本地环境
5
+    //callcenter_url: "http://192.168.4.18:4030/",//生产环境
6
+    callcenter_url: "http://localhost:63663/",//本地环境
7 7
     socket_ip: "192.168.5.7",//ip
8 8
     socket_port: "8081",//端口
9 9
     menuworktime: 30000,//菜单工单数量刷新间隔

+ 3 - 3
WebUI/CallCenterWeb.UI/zhiShiKu/js/newRepository.js

@@ -24,7 +24,7 @@
24 24
 		            //初始化表格,动态从服务器加载数据
25 25
 		            table.bootstrapTable({
26 26
 		                method: "get", //使用get请求到服务器获取数据
27
-		                url: huayi.config.callcenter_url + "Repository/GetList", //获取数据的Servlet地址
27
+		                url: huayi.config.callcenter_url + "Repository/GetLists", //获取数据的Servlet地址
28 28
 		                contentType: "application/x-www-form-urlencoded", striped: true,
29 29
 		                striped: true, //表格显示条纹
30 30
 		                pagination: true, //启动分页
@@ -262,7 +262,7 @@
262 262
 					//按钮【按钮一】的回调
263 263
 					$.ajax({
264 264
 						type: "post",
265
-						url: huayi.config.callcenter_url + "Repository/DelRepository",
265
+						url: huayi.config.callcenter_url + "Repository/Del",
266 266
 						async: true,
267 267
 						dataType: 'json',
268 268
 						data: {
@@ -374,7 +374,7 @@
374 374
 					//按钮【按钮一】的回调
375 375
 					$.ajax({
376 376
 						type: "post",
377
-						url: huayi.config.callcenter_url + "Repository/DelRepository",
377
+						url: huayi.config.callcenter_url + "Repository/Del",
378 378
 						async: true,
379 379
 						dataType: 'json',
380 380
 						data: {

+ 1 - 1
WebUI/CallCenterWeb.UI/zhiShiKu/js/newRepositoryAdd.js

@@ -214,7 +214,7 @@ $(document).ready(function() {
214 214
 	  if(ids){
215 215
 	  	 $.ajax({
216 216
 						type:"get",
217
-						url:huayi.config.callcenter_url +"Repository/GetRepository",
217
+						url:huayi.config.callcenter_url +"Repository/GetInfo",
218 218
 						async:true,
219 219
 						dataType:'json',
220 220
 						data:{

+ 1 - 1
WebUI/CallCenterWeb.UI/zhiShiKu/js/policesAdd.js

@@ -193,7 +193,7 @@ $(document).ready(function() {
193 193
 	  if(ids){
194 194
 	  	 $.ajax({
195 195
 						type:"get",
196
-						url:huayi.config.callcenter_url +"Repository/GetRepository",
196
+						url: huayi.config.callcenter_url + "Repository/GetInfo",
197 197
 						async:true,
198 198
 						dataType:'json',
199 199
 						data:{

+ 2 - 2
WebUI/CallCenterWeb.UI/zhiShiKu/js/repositoryDrafts.js

@@ -24,7 +24,7 @@
24 24
 		            //初始化表格,动态从服务器加载数据
25 25
 		            table.bootstrapTable({
26 26
 		                method: "get", //使用get请求到服务器获取数据
27
-		                url: huayi.config.callcenter_url + "Repository/GetList", //获取数据的Servlet地址
27
+		                url: huayi.config.callcenter_url + "Repository/GetLists", //获取数据的Servlet地址
28 28
 		                contentType: "application/x-www-form-urlencoded", striped: true,
29 29
 		                striped: true, //表格显示条纹
30 30
 		                pagination: true, //启动分页
@@ -318,7 +318,7 @@
318 318
 					//按钮【按钮一】的回调
319 319
 					$.ajax({
320 320
 						type: "post",
321
-						url: huayi.config.callcenter_url + "Repository/DelRepository",
321
+						url: huayi.config.callcenter_url + "Repository/Del",
322 322
 						async: true,
323 323
 						dataType: 'json',
324 324
 						data: {

+ 2 - 2
WebUI/CallCenterWeb.UI/zhiShiKu/newRepositoryDetail.html

@@ -1,4 +1,4 @@
1
-<!DOCTYPE html>
1
+<!DOCTYPE html>
2 2
 <html>
3 3
 	<head>
4 4
 		<meta charset="UTF-8">
@@ -288,7 +288,7 @@
288 288
 					});
289 289
 					$.ajax({
290 290
 						type:"get",
291
-						url:huayi.config.callcenter_url +"Repository/GetRepository",
291
+						url:huayi.config.callcenter_url +"Repository/GetInfo",
292 292
 						async:true,
293 293
 						dataType:'json',
294 294
 						data:{

+ 2 - 2
WebUI/CallCenterWeb.UI/zhiShiKu/policiesDetails.html

@@ -1,4 +1,4 @@
1
-<!DOCTYPE html>
1
+<!DOCTYPE html>
2 2
 <html>
3 3
 	<head>
4 4
 		<meta charset="UTF-8">
@@ -215,7 +215,7 @@
215 215
 				$(document).ready(function(){
216 216
 					$.ajax({
217 217
 						type:"get",
218
-						url:huayi.config.callcenter_url +"Repository/GetRepository",
218
+						url: huayi.config.callcenter_url + "Repository/GetInfo",
219 219
 						async:true,
220 220
 						dataType:'json',
221 221
 						data:{