$("#unpassBtn").off("click"); //取消每次的点击
$("#unpassBtn").click(function () {
var explainText =$("#explainText").val().trim();
var isPassurl ="../ProcessRecord/isPassToDatabases?explainText=" +explainText +"&recordId=" + recordData.recordId +"&isPass=false" +"&customerId=" +${CUSTOMER_SESSION.customerId};
$.ajax({
url:isPassurl,
success:function () {
confirm("审批不通过!");
/*window.location.replace("../homePage/toTrack?customerId=${CUSTOMER_SESSION.customerId}");*/
$("#unpassBtn").off("click");//取消每次的点击
alert("dd");
}
})
})
网友评论