| | |
| | | |
| | | </div>*@ |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">身份证号</label> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">身份证号<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="身份证号" name="IdCard" id="IdCard" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.IdCard" autocomplete="off"> |
| | | </div> |
| | |
| | | return; |
| | | } |
| | | |
| | | |
| | | if ($("#Sex").val() == '') { |
| | | toastr.warning("性别不能为空"); |
| | | return; |
| | | }; |
| | | //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" } |
| | | $.ajax({ |
| | | type: "POST", |
| | |
| | | |
| | | if (data.Result) { |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('成功保存', { icon: 6 }); |
| | | |
| | | //window.location = "/Project/add?id=" + data.ReturnID; |
| | | layer.msg('成功保存', { icon: 5 }, function () { |
| | | try { |
| | | _pageAutoClose();//自动关闭页面方法 |
| | | } |
| | | catch (err) { |
| | | try { |
| | | parent._CloseTab1("/ExpertsApply/ExpertsApply"); |
| | | } |
| | | catch (err) { |
| | | |
| | | var browserName = navigator.appName; |
| | | if (browserName == "Netscape") { |
| | | window.location.href = "about:blank"; //关键是这句话 |
| | | window.close(); |
| | | } else if (browserName == "Microsoft Internet Explorer") { |
| | | window.opener = null; |
| | | window.close(); |
| | | } |
| | | |
| | | try { |
| | | _pageAutoClose();//自动关闭页面方法 |
| | | } |
| | | catch (err) { |
| | | try { |
| | | parent._CloseTab1("/ExpertsApply/ExpertsApply"); |
| | | } |
| | | catch (err) { |
| | | } |
| | | } |
| | | }); |
| | | |
| | | window.close(); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | else { |
| | | // toastr.error("失败"); |
| | | parent.layer.msg(data.Message, { icon: 5 }); |
| | | layer.msg(data.Message, { icon: 5 }); |
| | | } |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | } |