TG.WXCRM.V4/WEB/Views/Csvr/CustomerUC/CustomerScreenRecord.cshtml

64 lines
2.3 KiB
Plaintext

@{
Layout = null;
}
<link href="~/Content/data_grid_list.css" rel="stylesheet" />
<div class="group content_title_width">
<span class="csicon SRIcon"></span>
<span>查看远程记录</span>
</div>
<div id="ScreenRecordlist" style="margin-top:5px ;margin-bottom:20px;" class="content_div">
<table class="layui-table content_width" style="table-layout:auto;">
<thead>
<tr>
<td style="width:10px;">&nbsp;</td>
<td style="width:65px;">ID</td>
<td style="width:60px;">主控人工号</td>
<td style="width:60px;">主控人客户ID</td>
<td style="width:60px;">主控人姓名</td>
<td style="width:80px;">主控用户名</td>
<td style="width:80px;">被控人工号</td>
<td style="width:70px;">被控人客户ID</td>
<td style="width:55px;">被控人姓名</td>
<td style="width:55px;">被控用户名</td>
<td style="width:55px;">发起链接日期</td>
<td style="width:55px;">实际开始日期</td>
<td style="width:55px;">实际结束日期</td>
<td style="width:55px;">实际时长</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<script type="text/javascript">
var IsLoadAct = true;
//点击活动信息按钮
$("#btn_20").click(function () {
if ($("#ScreenRecordlist").attr("AlreadyLoad") != "true") {
if (IsLoadAct) {
$.r_ajax({
url: "/WeiXin/ScreenRecord/ScreenReocrdListHtml",
type: "Post",
data: { ResId: "@ViewBag.CustomerId" },
dataType: "json",
loading: true,
success: function (data) {
addrecordrow(data.rowsList);
IsLoadAct = false;
}, error: function () {
IsLoadAct = true;
$.messager.alert('警告', '数据加载失败!', "error");
}
});
}
}
});
function addrecordrow(rows) {
$("#ScreenRecordlist").attr("AlreadyLoad", "true");
$("#ScreenRecordlist .layui-table tbody").html(rows);
}
</script>