97 lines
2.9 KiB
Plaintext
97 lines
2.9 KiB
Plaintext
@using WX.CRM.WebHelper
|
|
@{
|
|
ViewBag.Title = "发送朋友圈";
|
|
Layout = "~/Views/Shared/_Index_Layout2.cshtml";
|
|
}
|
|
<style>
|
|
.nbul {
|
|
position: relative;
|
|
width: 410px;
|
|
height: auto;
|
|
padding: 5px;
|
|
/*border: 1px solid #D9D9D9;*/
|
|
/*background-color: #fff;*/
|
|
}
|
|
|
|
.nbul li {
|
|
float: left;
|
|
border: 1px solid #b3bdb4;
|
|
height: 130px;
|
|
width: 130px;
|
|
overflow: hidden;
|
|
/* margin: -1px 0 0 -1px; */
|
|
padding: 2px 1px;
|
|
text-align: center;
|
|
}
|
|
|
|
</style>
|
|
<div class="mvctool">
|
|
@Html.ToolButton("btnQuery", "icon-search", "查询", true)
|
|
@if (Request.QueryString["type"] == null)
|
|
{
|
|
@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>微信号:<input id="txt_alias" name="txt_alias" type="text"/></li>
|
|
<li >时间:@Html.WdatePickerText("txt_stime", "")~@Html.WdatePickerText("txt_etime", "")</li>
|
|
</ul>
|
|
</div>
|
|
@Html.Raw(ViewBag.gridTable)
|
|
</div>
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
|
|
|
$('#tablist').tablegrid({
|
|
url: '/Ts/Friendscircle/GetHtmlList',
|
|
height: $(window).height() - 110,
|
|
loadNow: true,
|
|
isPage: true
|
|
});
|
|
$("#btnQuery").click(function () {//搜索按钮点击事件
|
|
$('#tablist').tablegrid("Search");
|
|
});
|
|
$(window).resize(function () {//自动适应大小
|
|
$('#tablist').tablegrid('resize', {
|
|
height: $(window).height() - 110
|
|
});
|
|
});
|
|
});
|
|
function frameReturnByClose() {
|
|
$("#modalwindow").window('close');
|
|
}
|
|
function frameReturnByReload(flag) {
|
|
$("#tablist").tablegrid("Load");
|
|
}
|
|
function frameReturnByMes(mes) {
|
|
$.messageBox5s('提示', mes);
|
|
}
|
|
function getPageOptions(gridID) {
|
|
var option = $("#tablist").tablepage('getPagination');
|
|
var str = "rows=" + option.rows + "&page=" + option.page + "&order=" + option.order + "&sort=" + option.sort;
|
|
return str;
|
|
}
|
|
//获取datagrid头部及字段
|
|
function getDataGridHeader() {
|
|
var columns = $('#tablist').tablegrid("getHead");
|
|
return columns;
|
|
}
|
|
|
|
</script>
|
|
@*ToolBar事件处理*@
|
|
<script type="text/javascript">
|
|
function GetIframeHtml(src) {
|
|
return "<iframe id='ifymbc' width='100%' height='98%' scrolling='no' frameborder='0'' src='" + src + "'></iframe>";
|
|
}
|
|
function SendOne_Click() {
|
|
$("#modalwindow").html(GetIframeHtml("/TS/Friendscircle/SendFriendScircle"));
|
|
$("#modalwindow").window({ title: '发朋友圈', width: 900, height: 600, iconCls: 'icon-friendScirle' }).window('open');
|
|
//ShoLayoutWindow();
|
|
}
|
|
</script>
|
|
|