57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
@using WX.CRM.WebHelper;
|
|
@{
|
|
ViewBag.Title = "";
|
|
Layout = "~/Views/Shared/_Index_Layout2.cshtml";
|
|
}
|
|
<script src="~/Scripts/op/tablegrid.sort.js?t=1"></script>
|
|
<script src="~/Scripts/op/ofixedtable.js"></script>
|
|
|
|
<div class="bas_datagrid">
|
|
@Html.Raw(ViewBag.gridTable)
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$('#tablist').tablegrid({
|
|
url: '/weiXin/CommissionUser/Detail',
|
|
height: $(window).height() - 130,
|
|
loadNow: true,
|
|
isPage: false,
|
|
data: GetControlValue,
|
|
onLoadSuccess: function (data) {
|
|
}
|
|
});
|
|
function GetControlValue() {
|
|
return { eid: @ViewBag.eid, sTime: '@ViewBag.sTime', eTime: '@ViewBag.eTime'};
|
|
}
|
|
$("#btnQuery").click(function () {
|
|
//if ($("#txt_SltYearMonth").attr("disabled") != "disabled")
|
|
// $("#txt_SearchType").val(0);
|
|
$('#tablist').tablegrid("Search");
|
|
});
|
|
});
|
|
|
|
function onLoadSucced() {
|
|
$('#tablist').tablegrid("Search");
|
|
}
|
|
function frameReturnByClose() {
|
|
$("#modalwindow").window('close');
|
|
}
|
|
|
|
function frameReturnByReload(flag) {
|
|
$("#tablist").tablegrid("Load");
|
|
}
|
|
|
|
function frameReturnByMes(mes) {
|
|
$.messageBox5s('提示', mes);
|
|
}
|
|
function GetIframeHtml(src) {
|
|
return "<iframe width='100%' height='98%' scrolling='no' frameborder='0' src='" + src + "'></iframe>";
|
|
}
|
|
//获取datagrid头部及字段
|
|
function getDataGridHeader() {
|
|
var columns = $('#tablist').tablegrid("getHead");
|
|
return columns;
|
|
}
|
|
</script>
|