ComplianceServer/oldcode/Core.Web/Views/SoftUser/Mobile.cshtml

46 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@{
ViewBag.Title = "Mobile";
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>客户ID</td>
<td><input type="text" id="resid" name="resid" class="layui-input" /></td>
</tr>
<tr>
<td></td>
<td><span id="mobile" style="color:green"></span></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 resid = $("#resid").val();
if (resid == "") {
layer.alert("客户ID不能为空");
return;
}
$.r_post('/SoftUser/mobile', { resid: resid }, function (res) {
$("#mobile").html(res.mobile);
});
});
});
});
</script>