ComplianceServer/oldcode/Core.Web/Views/HGKeyWord/Index.cshtml

45 lines
1.4 KiB
Plaintext

@model CRM.Core.Model.Entity.BAS_PARAMETER
@{
ViewBag.Title = "Open";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="x-body">
<div class="layui-form">
<table class="layui-table">
<colgroup>
<col width="200">
<col>
</colgroup>
<tbody>
<tr>
<td>关键词:</td>
<td>
@Html.TextAreaFor(m => m.PARAVALUE, new { rows = 30, cols = 80 })
@Html.HiddenFor(m => m.PARAKEY)
</td>
</tr>
</tbody>
</table>
<button class="layui-btn" id="save">保存</button>
</div>
</div>
<script>
$(function () {
layui.use('layer', function () {
var layer = layui.layer;
$("#save").click(function () {
var orderid = $("#ORDERID").val();
$.r_post('SaveKey', { PARAVALUE: $("#PARAVALUE").val(), PARAKEY: $("#PARAKEY").val() }, function (result) {
if (result.result) {
layer.alert(result.retmsg)
} else {
if (result.retcode == 60) {
layer.alert(result.retmsg);
}
}
});
});
});
});
</script>