|
|
@@ -362,7 +362,7 @@ function GetStateName(val) {
|
|
362
|
362
|
// return '<div class="defauli">已完结</div>'
|
|
363
|
363
|
// }
|
|
364
|
364
|
if (val == 0) {
|
|
365
|
|
- return '<div class="warning">待处理</div>'
|
|
|
365
|
+ return '<div class="warning">待处理</div> '
|
|
366
|
366
|
} else{
|
|
367
|
367
|
return '<div class="defauli">已处理</div>'
|
|
368
|
368
|
|
|
|
@@ -499,3 +499,28 @@ $('.modify').click(function(){
|
|
499
|
499
|
// content: 'addZhiShiKuManger.html?addId=' + id + '&addPid='+ pid +'&addName='+ name +''
|
|
500
|
500
|
});
|
|
501
|
501
|
})
|
|
|
502
|
+
|
|
|
503
|
+function Remove(val){
|
|
|
504
|
+ return '<div class="imgs" ><a onclick= remove("' + val + '") >删除</a></div>';
|
|
|
505
|
+}
|
|
|
506
|
+
|
|
|
507
|
+function remove(str){
|
|
|
508
|
+ layer.confirm('确定删除当前记录?', {
|
|
|
509
|
+ btn: ['是', '否'] //按钮
|
|
|
510
|
+ }, function() {
|
|
|
511
|
+ /*执行删除*/
|
|
|
512
|
+ $.ajax({
|
|
|
513
|
+ type: "get",
|
|
|
514
|
+ url: huayi.config.callcenter_url + "WorkOrder/DelWorkOrder",
|
|
|
515
|
+ dataType: 'json',
|
|
|
516
|
+ async: true,
|
|
|
517
|
+ data: {
|
|
|
518
|
+ ids:str,
|
|
|
519
|
+ token: $.cookie("token")
|
|
|
520
|
+ },
|
|
|
521
|
+ success: function(data) {
|
|
|
522
|
+
|
|
|
523
|
+ }
|
|
|
524
|
+ });
|
|
|
525
|
+ });
|
|
|
526
|
+}
|