64 lines
2.5 KiB
Plaintext
64 lines
2.5 KiB
Plaintext
@model dccdc.Models.DictionariesViewModel.Groupqz
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
|
|
$("#WorkTypeMaintainId").change(function() {
|
|
|
|
document.getElementById("WorkTypeName1").value = $("#WorkTypeMaintainId option:checked").text();
|
|
});
|
|
$("#TradeTypeMaintainId").change(function() {
|
|
|
|
document.getElementById("TradeName1").value = $("#TradeTypeMaintainId option:checked").text();
|
|
});
|
|
|
|
function success(data) {
|
|
if (data.State == "1") {
|
|
$.ligerDialog.alert(data.Message,
|
|
function() {
|
|
window.parent.init();
|
|
});
|
|
}
|
|
}
|
|
</script>
|
|
}
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<div id="edit">
|
|
@using (Ajax.BeginForm("EditgroupqzWh", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success" }))
|
|
{
|
|
|
|
@Html.HiddenFor(m => m.id, new { id = "Id" })
|
|
<table class="t1" style="width: 100%">
|
|
<tr>
|
|
<td class="ltd" width="100px">体检小组名称:</td>
|
|
<td class="rtd">@Html.HiddenFor(m => m.team_name, new { @id = "WorkTypeName1" }) @Html.DropDownListFor(m => m.exam_group_maintain_id, ViewData["TradeList"] as SelectList, "----请选择----", new { @id = "WorkTypeMaintainId" })@Html.ValidationMessageFor(m => m.exam_group_maintain_id) </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">前置条件:</td>
|
|
<td class="rtd">@Html.HiddenFor(m => m.prepose_condition, new { @id = "TradeName1" })@Html.DropDownListFor(m => m.exam_prepose_condition_maintain_id, ViewData["TypeList"] as SelectList, "----请选择----", new { @id = "TradeTypeMaintainId" })@Html.ValidationMessageFor(m => m.exam_prepose_condition_maintain_id)</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="100px">是否使用:</td>
|
|
<td class="rtd">@Html.DropDownListFor(m => m.status, ViewData["Categories"] as SelectList)</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div align="center">
|
|
<input type="submit" id="submitid" class="l-button" />
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
}
|
|
</div>
|
|
</body>
|
|
</html>
|