|
|
@@ -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: {
|