66 lines
3.1 KiB
Plaintext
66 lines
3.1 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "DJXXUpdate";
|
|
}
|
|
|
|
@model dccdc.Models.ProfessionalExamRegisterModel
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
function success(data) {
|
|
$.ligerDialog.alert(data.Message);
|
|
if (data.State == "1") {
|
|
window.parent.init();
|
|
}
|
|
}
|
|
|
|
$("#birth").ligerDateEditor();
|
|
</script>
|
|
}
|
|
|
|
<div id="edit">
|
|
@using (Ajax.BeginForm("saveDJXX", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success" }))
|
|
{
|
|
@Html.HiddenFor(m => m.id)
|
|
<table class="t1" style="width: 100%">
|
|
<tr>
|
|
<td class="ltd" width="72">姓名:</td>
|
|
<td class="rtd" width="120">@Html.TextBoxFor(m => m.person_name, new { style = "width:100px", @class = "l-text", @id = "personname" }) @Html.ValidationMessageFor(m => m.person_name)</td>
|
|
<td class="ltd" width="72">性别</td>
|
|
<td class="rtd" width="118">@Html.RadioButtonFor(m => m.sex, "男", new { id = "nan" })男 @Html.RadioButtonFor(m => m.sex, "女", new { id = "nv" })女 @Html.ValidationMessageFor(m => m.sex)</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="72">年龄:</td>
|
|
<td class="rtd" width="118">@Html.TextBoxFor(m => m.person_age, new { id = "age", style = "width:40px", @class = "l-text" }) @Html.ValidationMessageFor(m => m.person_age)</td>
|
|
<td class="ltd" width="72">出生日期:</td>
|
|
<td class="rtd" width="118">@Html.TextBoxFor(m => m.birth, new { id = "birth" }) @Html.ValidationMessageFor(m => m.birth)</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd">户籍:</td>
|
|
<td class="rtd"> @Html.DropDownListFor(m => m.native_info_maintain_id, ViewData["hj"] as SelectList, "----请选择----")@Html.ValidationMessageFor(m => m.native_info_maintain_id)</td>
|
|
<td class="ltd">家庭住址:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.home_address, new { style = "width:200px", @class = "l-text", id = "jtzz" })</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd">联系电话:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.phone, new { @class = "l-text", @id = "phone" }) </td>
|
|
<td class="ltd">单位名称:</td>
|
|
<td class="rtd">@Html.HiddenFor(m => m.enterprise_info_maintain_id) @Html.TextBoxFor(m => m.util_name, new { id = "qymc", @ondblclick = "selectdw()", style = "width:200px", @class = "l-text" })</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd">工种:</td>
|
|
<td class="rtd"> @Html.TextBoxFor(m => m.work_category, new { @class = "l-text"})</td>
|
|
<td class="ltd"></td>
|
|
<td class="rtd" ></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4">
|
|
<div align="center">
|
|
<input type="submit" id="submitid" value="提交" class="l-button" />
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
}
|
|
</div>
|
|
|