/*** Created by A.J on 2020/6/21.*/$(document).ready(function(){$("#qiandao").on("click", "#shanggeyue", function(){var subobj = $(this);var act = $(this).children("span").text();subobj.children("i:last").removeClass("d-none");$.post("", { act: act},function(data){subobj.children("i:last").addClass("d-none");$("#qiandao").html(data);});});$("#qiandao").on("click", "#xiageyue", function(){var subobj = $(this);var act = $(this).children("span").text();subobj.children("i:first").removeClass("d-none");$.post("", { act: act},function(data){subobj.children("i:first").addClass("d-none");$("#qiandao").html(data);});});$("#qiandao").on("click", ".keqiandao", function(){var subobj = $(this);$(this).prop("disabled", true);$.post("qiandao", { act: "qiandao", verification:$("#verification").text()},function(data){if(data.result == 'ok'){subobj.removeClass("btn-info").addClass("btn-warning");}else if(data.result == 'checked'){subobj.removeClass("btn-info").addClass("btn-warning");$.alert({title: $('#chucuo').text(),content: data.message,buttons: {confirm: {text: $('#queding').text(),btnClass: 'btn-info',keys: ['enter']}}});}else{subobj.prop("disabled", false);$.alert({title: $('#chucuo').text(),content: data.message,buttons: {confirm: {text: $('#queding').text(),btnClass: 'btn-info',keys: ['enter']}}});}});});});