73 lines
2.5 KiB
Plaintext
73 lines
2.5 KiB
Plaintext
@using WX.CRM.WebHelper;
|
|
@using WX.CRM.Model.DTO;
|
|
@{
|
|
ViewBag.Title = "资源类型";
|
|
Layout = "~/Views/Shared/_Index_Layout2.cshtml";
|
|
}
|
|
|
|
<div class="mvctool">
|
|
@Html.ToolButton("btnQuery", "icon-search", "查询", true)
|
|
</div>
|
|
<div class="bas_datagrid">
|
|
<div id="tb" style="padding:5px;height:auto" class="grid_toolbar">
|
|
<ul class="toolBar_ul">
|
|
<li>
|
|
@*@Html.Action("UserComBox", "Control")*@
|
|
@Html.Action("UserSSOComBox", "Control")
|
|
</li>
|
|
<li>昵称:<input type="text" name="txt_nickname" /></li>
|
|
<li>
|
|
直播课:<select id="slt_scenetype" name="slt_scenetype">
|
|
<option value="">请选择</option>
|
|
@{
|
|
foreach (var item in ViewBag.scenetype as List<ResSceneType>)
|
|
{
|
|
<option value="@item.SCENETYPE">@item.SCENETITLE</option>
|
|
}
|
|
}
|
|
</select>
|
|
</li>
|
|
<li>创建时间:@Html.WdatePickerText("txt_stime", DateTime.Now.ToString("yyyy-MM-dd"))~@Html.WdatePickerText("txt_etime", DateTime.Now.ToString("yyyy-MM-dd"))</li>
|
|
</ul>
|
|
</div>
|
|
@Html.Raw(ViewBag.gridTable)
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$('#tablist').tablegrid({
|
|
url: '/Res/ResScene/Index',
|
|
height: $(window).height() - 110,
|
|
loadNow: false,
|
|
onLoadSuccess: function () {
|
|
$("#tablist [field='OnlineTime']").hide();
|
|
}
|
|
});
|
|
$("#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 onLoadSucced() {
|
|
$('#tablist').tablegrid("Search");
|
|
}
|
|
</script>
|
|
@*ToolBar事件处理*@
|
|
<script type="text/javascript">
|
|
function GetIframeHtml(src) {
|
|
return "<iframe width='100%' height='98%' scrolling='no' frameborder='0'' src='" + src + "'></iframe>";
|
|
}
|
|
</script>
|