| | |
| | | parent.layer.close(window.parent.ExamineCoursePackage.layerIndex); |
| | | }; |
| | | |
| | | |
| | | ExamineCoursePackageInfo.addSubmit = function () { |
| | | |
| | | let auditStatus = $('input[name="auditStatus"]:checked').val();; |
| | | if(typeof auditStatus == "undefined"){ |
| | | Feng.error("请选择审核结果"); |
| | | return |
| | | } |
| | | let authRemark = $('#authRemark').text(); |
| | | let authRemark = $('#authRemark').val(); |
| | | if(3 == auditStatus && '' == authRemark){ |
| | | Feng.error("请输入拒绝理由"); |
| | | return |
| | | } |
| | | let ajax = new $ax(Feng.ctxPath + "/coursePackage/setCoursePackageAuditStatus", function (res) { |
| | | if(res.code == 200){ |
| | | console.log("路径") |
| | | Feng.success("审核成功!"); |
| | | ExamineCoursePackageInfo.close(); |
| | | window.parent.ExamineCoursePackage.table.refresh(); |
| | | }else{ |
| | | Feng.error(res.msg); |
| | | } |