Selaa lähdekoodia

新版知识库修改

miaofuhao 5 vuotta sitten
vanhempi
commit
e415075e54

+ 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:63663/",//本地环境
5
+    callcenter_url: "http://192.168.8.13:1012/",//生产环境
6
+    //callcenter_url: "http://localhost:63663/",//本地环境
7 7
     socket_ip: "192.168.5.7",//ip
8 8
     socket_port: "8081",//端口
9 9
     menuworktime: 30000,//菜单工单数量刷新间隔

+ 1 - 29
WebUI/CallCenterWeb.UI/zhiShiKu/js/newRepository.js

@@ -262,34 +262,6 @@
262 262
 					//按钮【按钮一】的回调
263 263
 					$.ajax({
264 264
 						type: "post",
265
-						url: huayi.config.callcenter_url + "Repository/Del",
266
-						async: true,
267
-						dataType: 'json',
268
-						data: {
269
-						    token: $.cookie("token"),
270
-							type: id
271
-						},
272
-						success: function(data) {
273
-							if(data.state.toLowerCase() == 'success') {
274
-								layer.msg("提交成功!");
275
-								layer.close(laye);
276
-								table.bootstrapTable('refresh');
277
-							}
278
-						}
279
-					});
280
-				}, function(index) {
281
-					//按钮【按钮二】的回调
282
-					layer.close(laye)
283
-				});
284
-			}
285
-			//解决
286
-			function solve(id) {
287
-				var laye = layer.confirm('确定解决?', {
288
-					btn: ['确定', '取消'] //可以无限个按钮
289
-				}, function() {
290
-					//按钮【按钮一】的回调
291
-					$.ajax({
292
-						type: "post",
293 265
 						url: huayi.config.callcenter_url + "Repository/OptRep",
294 266
 						async: true,
295 267
 						dataType: 'json',
@@ -374,7 +346,7 @@
374 346
 					//按钮【按钮一】的回调
375 347
 					$.ajax({
376 348
 						type: "post",
377
-						url: huayi.config.callcenter_url + "Repository/Del",
349
+						url: huayi.config.callcenter_url + "Repository/DelRepository",
378 350
 						async: true,
379 351
 						dataType: 'json',
380 352
 						data: {

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

@@ -318,7 +318,7 @@
318 318
 					//按钮【按钮一】的回调
319 319
 					$.ajax({
320 320
 						type: "post",
321
-						url: huayi.config.callcenter_url + "Repository/Del",
321
+						url: huayi.config.callcenter_url + "Repository/DelRepository",
322 322
 						async: true,
323 323
 						dataType: 'json',
324 324
 						data: {