|
@@ -189,52 +189,52 @@ $(function () {
|
|
|
|
|
|
$(document).on('click','.refusal_btn',function(){
|
|
|
var msg_id = $(this).attr('data-msg-id');
|
|
|
- // $.showLoading();
|
|
|
- // $.get("/mobile/index.php", {
|
|
|
- // act: "member_relation",
|
|
|
- // op: "handle_applys",
|
|
|
- // msg_id: msg_id,
|
|
|
- // pass:0,
|
|
|
- // client_type: "ajax",
|
|
|
- // }, function (res) {
|
|
|
- // $.hideLoading();
|
|
|
- // var data = JSON.parse(res);
|
|
|
- // if (data.code != 200) {
|
|
|
- // $.alert(data.message);
|
|
|
- // return;
|
|
|
- // }
|
|
|
+ $.showLoading();
|
|
|
+ $.get("/mobile/index.php", {
|
|
|
+ act: "member_relation",
|
|
|
+ op: "handle_applys",
|
|
|
+ msg_id: msg_id,
|
|
|
+ pass:0,
|
|
|
+ client_type: "ajax",
|
|
|
+ }, function (res) {
|
|
|
+ $.hideLoading();
|
|
|
+ var data = JSON.parse(res);
|
|
|
+ if (data.code != 200) {
|
|
|
+ $.alert(data.message);
|
|
|
+ return;
|
|
|
+ }
|
|
|
$.toast('操作成功',1000);
|
|
|
var add_item = "<span class=\"state\">已忽略</span></p>";
|
|
|
$(this).parents('.applys-item').find('.apply_name').append(add_item);
|
|
|
- $(this).parent('.handle').remove;
|
|
|
- // });
|
|
|
- // return false;
|
|
|
+ $(this).parent('.handle').remove();
|
|
|
+ });
|
|
|
+ return false;
|
|
|
});
|
|
|
|
|
|
$(document).on('click','.agree_btn',function(e)
|
|
|
{
|
|
|
var msg_id = $(this).attr('data-msg-id');
|
|
|
- // $.showLoading();
|
|
|
- // $.get("/mobile/index.php", {
|
|
|
- // act: "member_relation",
|
|
|
- // op: "handle_applys",
|
|
|
- // msg_id: msg_id,
|
|
|
- // pass:1,
|
|
|
- // client_type: "ajax",
|
|
|
- // }, function (res) {
|
|
|
- // $.hideLoading();
|
|
|
- // var data = JSON.parse(res);
|
|
|
- // if (data.code != 200) {
|
|
|
- // $.alert(data.message);
|
|
|
- // return;
|
|
|
- // }
|
|
|
+ $.showLoading();
|
|
|
+ $.get("/mobile/index.php", {
|
|
|
+ act: "member_relation",
|
|
|
+ op: "handle_applys",
|
|
|
+ msg_id: msg_id,
|
|
|
+ pass:1,
|
|
|
+ client_type: "ajax",
|
|
|
+ }, function (res) {
|
|
|
+ $.hideLoading();
|
|
|
+ var data = JSON.parse(res);
|
|
|
+ if (data.code != 200) {
|
|
|
+ $.alert(data.message);
|
|
|
+ return;
|
|
|
+ }
|
|
|
$.toast('操作成功',1000);
|
|
|
|
|
|
var add_item = "<span class=\"state\">已通过</span></p>";
|
|
|
$(this).parents('.applys-item').find('.apply_name').append(add_item);
|
|
|
- $(this).parent('.handle').remove;
|
|
|
- // });
|
|
|
- // return false;
|
|
|
+ $(this).parent('.handle').remove();
|
|
|
+ });
|
|
|
+ return false;
|
|
|
});
|
|
|
|
|
|
// $(document).on('click','.applys-item',function(){
|