@@ -96,9 +96,19 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
$("input", layero).prop("placeholder", "填写驳回理由");
}
}, function (value) {
- console.log(1);
-
+ Fast.api.ajax({
+ url: "user/head/audit/audit/" + 2 + "/ids/" + row.id,
+ data:{
+ 'avatar_reason':value
+ }
+ }, function (data, ret) {
+ console.log(1);
+ $(".btn-refresh").trigger("click");
+ Layer.closeAll();
+ },function (data,ret){
+ console.log(2);
+ );
});
return false;