53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "notice_factor_maintainMessage";
|
|
}
|
|
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
function success(data) {
|
|
if (data.State == "1") {
|
|
$.ligerDialog.alert(data.Message, function () { window.parent.init(4); });
|
|
}
|
|
else {
|
|
$.ligerDialog.alert(data.Message);
|
|
}
|
|
}
|
|
|
|
$("#exam_group_maintain_id").change(function () {
|
|
document.getElementById("exam_group").value = $("#exam_group_maintain_id option:checked").text();
|
|
});
|
|
</script>
|
|
}
|
|
|
|
@model dccdc.Models.notice_factor_maintainModel
|
|
<div id="edit">
|
|
@using (Ajax.BeginForm("notice_factor_maintainMessage", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success" }))
|
|
{
|
|
@Html.HiddenFor(m => m.id)
|
|
@Html.HiddenFor(m => m.jobs_state_maintain_id)
|
|
@Html.HiddenFor(m => m.harmful_factors_type_maintain_id)
|
|
<table class="t1" style="width: 100%">
|
|
<tr>
|
|
<td class="ltd" width="100px">体检小组:</td>
|
|
<td class="rtd">
|
|
@Html.HiddenFor(m => m.exam_group)
|
|
@Html.DropDownListFor(m => m.exam_group_maintain_id,ViewData["team"] as SelectList,"----请选择----") @Html.ValidationMessageFor(m => m.exam_group_maintain_id)
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">提醒内容:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.bussiness_notice) @Html.ValidationMessageFor(m => m.bussiness_notice) </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div align="center">
|
|
<input type="submit" id="submitid" value="提交" class="l-button" />
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
}
|
|
</div>
|
|
|