code/Athena0.0.1/Web/Areas/SystemManage/Views/BootstrapTemplate/Group/Form.cshtml
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
ViewBag.Title = "Form";
Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
var keyValue = $.request("keyValue");
$(function () {
if (!!keyValue) {
$.ajax({
url: "/SystemManage/Group/GetFormJson",
data: { keyValue: keyValue },
dataType: "json",
async: false,
success: function (data) {
$("#form1").formSerialize(data);
}
});
}
})
function submitForm() {
if (!$('#form1').formValid()) {
return false;
}
$.submitForm({
url: "/SystemManage/Group/SubmitForm?keyValue=" + keyValue,
param: $("#form1").formSerialize(),
success: function () {
$.currentWindow().$("#gridList").trigger("reloadGrid");
//$('#form1').close();
}
})
}
</script>
<form id="form1">
<div style="margin-top: 10px; margin-left: 10px; margin-right: 10px;">
<ul class="nav nav-tabs">
<li class="active"><a href="#">基本信息</a></li>
@*<li ><a href="#">扩展信息</a></li>*@
</ul>
<div class="alert alert-danger" style="text-align: left; margin-bottom: 10px;">
<i class="fa fa-warning alert-dismissible" style="position: relative; top: 1px; font-size: 15px; padding-right: 5px;"></i>
分组编号必须唯一且为2的n次方!
</div>
<div style="padding-top: 20px; margin-right: 30px;">
<table class="form">
<tr>
<th class="formTitle">组名<span style="color:red;">*</span></th>
<td class="formValue">
<input id="groupname" name="groupname" type="text" class="form-control required" />
</td>
</tr>
<tr>
<th class="formTitle">分组编号</th>
<td class="formValue">
<input id="groupcode" name="groupcode" type="text" class="form-control" />
</td>
</tr>
</table>
</div>
</div>
后面还有 1 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
