68 lines
2.8 KiB
Plaintext
68 lines
2.8 KiB
Plaintext
|
|
@model dccdc.Models.infectionRedMoneyModel
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
|
|
@section scripts{
|
|
<script type="text/javascript">
|
|
$("#submitid").click(function () {
|
|
$.ajax({
|
|
url: "@Url.Action("Add")",
|
|
type: "post",
|
|
dataType: "json",
|
|
data: {
|
|
days: $("#days").val(),
|
|
daymoney: $("#daymoney").val(),
|
|
questionnairemoney: $("#questionnairemoney").val(),
|
|
testmoney: $("#testmoney").val()
|
|
},
|
|
success: function (data) {
|
|
$.ligerDialog.alert(data.Message);
|
|
window.location.reload();
|
|
},
|
|
error: function (e) {
|
|
$.ligerDialog.warn(e.responseText);
|
|
}
|
|
});
|
|
})
|
|
</script>
|
|
}
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<div id="edit">
|
|
<table class="t1" style="width: 600px">
|
|
<tr>
|
|
<td class="ltd" width="150px">签到日期次数:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.days, new { Styles = "width:140px", Class = "l-text" })@*<input type="text" name="days" id="days" />*@</td>
|
|
<td class="ltd" width="150px">满次数红包金额:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.daymoney, new { Styles = "width:140px", Class = "l-text" })@*<input type="text" name="daymoney" id="daymoney" />*@</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="ltd" width="150px">问卷调查后红包金额:</td>
|
|
<td class="rtd">@Html.TextBoxFor(m => m.questionnairemoney, new { Styles = "width:140px", Class = "l-text" })@*<input type="text" name="questionnairemoney" id="questionnairemoney" />*@</td>
|
|
<td class="ltd" width="150px"></td>
|
|
<td class="rtd"></td>
|
|
<!--<td class="ltd" width="150px">体检后红包金额:</td>-->
|
|
<!--<td class="rtd">@Html.TextBoxFor(m => m.testmoney, new { Styles = "width:140px", Class = "l-text" })-->@*<input type="text" name="testmoney" id="testmoney" />*@
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div align="center">
|
|
<input type="submit" id="submitid" value="提交" class="l-button" />
|
|
</div>
|
|
</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|