|
@@ -40,8 +40,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
text:'取消实名',
|
|
|
title:'取消实名',
|
|
|
icon:'fa fa-exclamation-circle',
|
|
|
- classname:'btn btn-xs btn-info btn-ajax',
|
|
|
- url:'Useridconfirm/audit/id/{ids}',
|
|
|
+ classname:'btn btn-xs btn-danger btn-ajax',
|
|
|
+ url:'Useridconfirm/audit/id/{ids}/status/3',
|
|
|
target:'_self',
|
|
|
refresh:true,
|
|
|
hidden:function($row){
|
|
@@ -50,8 +50,23 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
}
|
|
|
return true;
|
|
|
}
|
|
|
-
|
|
|
- }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name:'audit',
|
|
|
+ text:'恢复实名',
|
|
|
+ title:'恢复实名',
|
|
|
+ icon:'fa fa-exclamation-circle',
|
|
|
+ classname:'btn btn-xs btn-success btn-ajax',
|
|
|
+ url:'Useridconfirm/audit/id/{ids}/status/1',
|
|
|
+ target:'_self',
|
|
|
+ refresh:true,
|
|
|
+ hidden:function($row){
|
|
|
+ if($row.status == 3){
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ },
|
|
|
],
|
|
|
events: Table.api.events.operate, formatter: Table.api.formatter.operate
|
|
|
}
|