Edit D:\AVAWeike\AVAWeike\AVA.ResourcesPlatform.AdminUI\Pub\SubjectApplication\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SubjectApplication.Edit" %> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> <%= this.Title %></title> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gCnta"> <div class="gCnta-cont"> <div class="g-title-2"> <div class="ico-loading right hidden"> </div> <div title="<%= DefineEnum.?????????.Define().ToScriptTag() %>" class="ico-question right"> </div> <h3 class="txt-14"> <%= Title %></h3> <span class="txt-info">[<a href="#" onclick="GoList();return false;"><%= DefineEnum.???.Define() %></a>]</span> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmSubjectApplication" action="" onsubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentSubject"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectApplication_SubjectUserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_SubjectUserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentSubject.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentSubject"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectApplication_SubjectUserDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_SubjectUserDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentSubject.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentSubject"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectApplication_SubjectUserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_SubjectUserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentSubject.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentSubject"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectApplication_SubjectUserUserName_????????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_SubjectUserUserName_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentSubject.ParentUser.UserName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentSubject"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectApplication_SubjectUserTrueName_?????????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_SubjectUserTrueName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentSubject.ParentUser.TrueName"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_??????????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_??????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentSubject_Name", IN(this.ViewData["_SubjectApplication"], this.ViewData["_SubjectApplication.ParentSubject.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmSubjectApplication [name=ParentSubject]","Edit");" }%> <%= new HtmlHidden("ParentSubject", this.ViewData["_SubjectApplication.ParentSubject.Guid"])%> <a href="#selectSubject" class="decoration-none" onclick="return SelectSubject('#frmSubjectApplication [name=ParentSubject]','#frmSubjectApplication [name=ParentSubject_Name]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentSubject") %> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentApplication"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectApplication_ApplicationRecordEquipmentDomainName_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_ApplicationRecordEquipmentDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentApplication.ParentRecordEquipment.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentApplication"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectApplication_ApplicationRecordEquipmentDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_ApplicationRecordEquipmentDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentApplication.ParentRecordEquipment.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentApplication"], "", "display:none;")%>'> <th title="<%= Define.Get("SubjectApplication_ApplicationRecordEquipmentName_?????????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_ApplicationRecordEquipmentName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentApplication.ParentRecordEquipment.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_???????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentApplication_Title", IN(this.ViewData["_SubjectApplication"], this.ViewData["_SubjectApplication.ParentApplication.Title"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmSubjectApplication [name=ParentApplication]","Edit");" }%> <%= new HtmlHidden("ParentApplication", this.ViewData["_SubjectApplication.ParentApplication.Guid"])%> <a href="#selectApplication" class="decoration-none" onclick="return SelectApplication('#frmSubjectApplication [name=ParentApplication]','#frmSubjectApplication [name=ParentApplication_Title]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentApplication") %> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentSubmissionUser"], "", "display:none;")%>'> <th title="<%= Define.Get("SubmissionSubjectApplication_UserDomainName_Submission??????").ToScriptTag() %>"> <%= Define.Get("SubmissionSubjectApplication_UserDomainName_Submission??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentSubmissionUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentSubmissionUser"], "", "display:none;")%>'> <th title="<%= Define.Get("SubmissionSubjectApplication_UserDomainCode_Submission??????").ToScriptTag() %>"> <%= Define.Get("SubmissionSubjectApplication_UserDomainCode_Submission??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentSubmissionUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentSubmissionUser"], "", "display:none;")%>'> <th title="<%= Define.Get("SubmissionSubjectApplication_UserUserTypeName_Submission?????????").ToScriptTag() %>"> <%= Define.Get("SubmissionSubjectApplication_UserUserTypeName_Submission?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentSubmissionUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentSubmissionUser_TrueName_UserName", IN(this.ViewData["_SubjectApplication"], this.ViewData["_SubjectApplication.ParentSubmissionUser.TrueName"] + "[" + this.ViewData["_SubjectApplication.ParentSubmissionUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmSubjectApplication [name=ParentSubmissionUser]","Edit");" }%> <%= new HtmlHidden("ParentSubmissionUser", this.ViewData["_SubjectApplication.ParentSubmissionUser.Guid"])%> <a href="#selectSubmissionUser" class="decoration-none" onclick="return SelectUser('#frmSubjectApplication [name=ParentSubmissionUser]','#frmSubjectApplication [name=ParentSubmissionUser_TrueName_UserName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentSubmissionUser") %> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("SubmissionTime", this.ViewData["_SubjectApplication.SubmissionTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("SubmissionTime") %> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("SubmissionRemark", this.ViewData["_SubjectApplication.SubmissionRemark"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_???????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlSelect("ConfirmStatus", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.SubjectApplicationConfirmStatusEnum) }.InsertOption("::" + DefineEnum.???.Define() + "::", null, 0).SelectValue(this.ViewData["_SubjectApplication.ConfirmStatus"])%> <%= new HtmlYKTip("ConfirmStatus") %> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentConfirmUser"], "", "display:none;")%>'> <th title="<%= Define.Get("ConfirmSubjectApplication_UserDomainName_Confirm??????").ToScriptTag() %>"> <%= Define.Get("ConfirmSubjectApplication_UserDomainName_Confirm??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentConfirmUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentConfirmUser"], "", "display:none;")%>'> <th title="<%= Define.Get("ConfirmSubjectApplication_UserDomainCode_Confirm??????").ToScriptTag() %>"> <%= Define.Get("ConfirmSubjectApplication_UserDomainCode_Confirm??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentConfirmUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_SubjectApplication.ParentConfirmUser"], "", "display:none;")%>'> <th title="<%= Define.Get("ConfirmSubjectApplication_UserUserTypeName_Confirm?????????").ToScriptTag() %>"> <%= Define.Get("ConfirmSubjectApplication_UserUserTypeName_Confirm?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_SubjectApplication.ParentConfirmUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentConfirmUser_TrueName_UserName", IN(this.ViewData["_SubjectApplication"], this.ViewData["_SubjectApplication.ParentConfirmUser.TrueName"] + "[" + this.ViewData["_SubjectApplication.ParentConfirmUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%> <%= new HtmlHidden("ParentConfirmUser", this.ViewData["_SubjectApplication.ParentConfirmUser.Guid"])%> <a href="#selectConfirmUser" class="decoration-none" onclick="return SelectUser('#frmSubjectApplication [name=ParentConfirmUser]','#frmSubjectApplication [name=ParentConfirmUser_TrueName_UserName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentConfirmUser") %> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ConfirmTime", this.ViewData["_SubjectApplication.ConfirmTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("ConfirmTime") %> </td> </tr> <tr> <th title="<%= Define.Get("SubjectApplication_??????").ToScriptTag() %>"> <%= Define.Get("SubjectApplication_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("ConfirmRemark", this.ViewData["_SubjectApplication.ConfirmRemark"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_SubjectApplication"])) { Class = "hidden" }%> <div onclick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_SubjectApplication"])%></span></div> <div title="" onclick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> </div> </div> </div></div></div></div></body> </html> <%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/XhEditor/xheditor-zh-cn.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/SubjectApplicationAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmSubjectApplication" }); //?????????? $("#frmSubjectApplication [name=ParentSubject]").formValidator({ targetFocus : "#frmSubjectApplication [name=ParentSubject_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SubjectApplication_SubjectGuid_???????????????").ToScriptChar() %>" } }); //??????? $("#frmSubjectApplication [name=ParentApplication]").formValidator({ targetFocus : "#frmSubjectApplication [name=ParentApplication_Title]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SubjectApplication_ApplicationGuid_????????????").ToScriptChar() %>" } }); //?????? $("#frmSubjectApplication [name=ParentSubmissionUser]").formValidator({ targetFocus : "#frmSubjectApplication [name=ParentSubmissionUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SubjectApplication_SubmissionUserGuid_???????????").ToScriptChar() %>" } }); //?????? $("#frmSubjectApplication [name=SubmissionTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("SubjectApplication_SubmissionTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("SubjectApplication_SubmissionTime_??????????????").ToScriptChar() %>" } }); //??????? $("#frmSubjectApplication [name=ConfirmStatus]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SubjectApplication_ConfirmStatus_????????????").ToScriptChar() %>" } }); //?????? $("#frmSubjectApplication [name=ParentConfirmUser]").formValidator({ targetFocus : "#frmSubjectApplication [name=ParentConfirmUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SubjectApplication_ConfirmUserGuid_???????????").ToScriptChar() %>" } }); //?????? $("#frmSubjectApplication [name=ConfirmTime]").formValidator({ validatorGroup: "Edit", rules: { regex: "datetime" }, message: { regex: "<%= Define.Get("SubjectApplication_ConfirmTime_??????????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { SubjectApplicationAjax.Insert($("#frmSubjectApplication"), send, function (json) { document.getElementById("frmSubjectApplication").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Update(send) { SubjectApplicationAjax.Update($("#frmSubjectApplication"), send, function (json) { document.getElementById("frmSubjectApplication").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); GoList(); }); }; //??? function Delete(send) { var key = document.getElementById("frmSubjectApplication").KEY.value; SubjectApplicationAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??????????? </script> <script type="text/javascript"> //?????? </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de