| | |
| | | layer.closeAll(); |
| | | }, |
| | | btn2:function () { |
| | | var state = TCompetition.seItem.status; |
| | | if (state == 3){ |
| | | Feng.error("当前状态不能再次审核!") |
| | | return false; |
| | | } |
| | | let audit = document.querySelector('input[name="r1"]:checked').value; |
| | | let text = $("#text").val() |
| | | if(audit==3){ |
| | | if(text==''){ |
| | | console.log("让我看看!") |
| | | console.log(TCompetition.seItem.courseId) |
| | | Feng.info("请输入拒绝理由") |
| | | return false; |
| | | } |
| | |
| | | window.parent.layer.closeAll(); |
| | | return Feng.error("操作失败!"); |
| | | }); |
| | | ajax.set("id", TCompetition.seItem.id); |
| | | |
| | | ajax.set("id", TCompetition.seItem.courseId); |
| | | ajax.set("audit", audit); |
| | | ajax.set("text", text); |
| | | ajax.start(); |