71 lines
2.2 KiB
Plaintext
71 lines
2.2 KiB
Plaintext
@using WX.CRM.WebHelper;
|
|
@{
|
|
ViewBag.Title = "活跃风险客户评估明细";
|
|
Layout = "~/Views/Shared/_Index_Layout2.cshtml";
|
|
}
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$('#tablist').tablegrid({
|
|
url: '/Quality/RumorCheck/GetRumorCheckDetail',
|
|
height: $(window).height() - 110,
|
|
loadNow: true,
|
|
data: { tradecode: '@ViewBag.TradeCode' }
|
|
});
|
|
//function GetControlValue() {
|
|
// return { groupId: user.getGroups(), userId: user.getUser() };
|
|
//}
|
|
|
|
$(window).resize(function () {//自动适应大小
|
|
$('#tablist').tablegrid('resize', {
|
|
height: $(window).height() - 110
|
|
});
|
|
});
|
|
$("#btnQuery").click(function () {
|
|
$('#tablist').tablegrid("Search");
|
|
});
|
|
});
|
|
//ifram 返回
|
|
function frameReturnByClose() {
|
|
$("#modalwindow").window('close');
|
|
}
|
|
function frameReturnByReload(flag) {
|
|
$("#tablist").tablegrid("Load");
|
|
}
|
|
function frameReturnByMes(mes) {
|
|
$.messageBox5s('提示', mes);
|
|
}
|
|
function onLoadSucced() {
|
|
$('#tablist').tablegrid("Search");
|
|
}
|
|
|
|
//获取datagrid头部及字段
|
|
function getDataGridHeader() {
|
|
var columns = $('#tablist').tablegrid("getHead");
|
|
return columns;
|
|
}
|
|
function Export() {
|
|
var columns = getDataGridHeader();
|
|
var checkedFilds = "";
|
|
var checkedTitle = "";
|
|
$.each(columns, function (i, ex) {
|
|
checkedFilds += "[" + ex.field + "]";
|
|
checkedTitle += ex.title + ',';
|
|
});
|
|
var url = '/Quality/RumorCheck/RumorCheckExport?checkedFilds=' + checkedFilds + "&checkedTitle=" + checkedTitle + '&' + GetQueryStr();
|
|
this.window.open(url);
|
|
}
|
|
</script>
|
|
<div class="mvctool">
|
|
@Html.ToolButton("btnQuery", "icon-search", "查询", true)
|
|
@*@Html.Action("ToolBar", "Control", ViewBag.ToolBar as ToolBar)*@
|
|
</div>
|
|
<div class="bas_datagrid">
|
|
<div id="tb" style="padding:5px;height:auto" class="grid_toolbar">
|
|
<ul class="toolBar_ul">
|
|
<li>评估时间:@Html.WdatePickerText("txt_ctime", "")~@Html.WdatePickerText("txt_etime", "")</li>
|
|
</ul>
|
|
</div>
|
|
@Html.Raw(ViewBag.List)
|
|
</div>
|
|
|