CRM_EasyUI_2016/Areas/CustomerManager/Views/Customer/Index1.cshtml

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@using CRM_EasyUI_2016;
@using GroupThink.CRM.Common;
@using System;
@using GroupThink.CRM.Model.Sys;
@{
    ViewBag.Title = "Index1";
    Layout = "~/Views/Shared/_Index_Layout.cshtml";

    //List<PermModel> perm = (List<PermModel>)ViewBag.Perm;
    //if (perm == null)
    //{
    //    perm = new List<PermModel>();
    //}
}
<div region="center" border="false">
    <div class="easyui-layout" fit="true">
        <div region="north" border="false" class="north_box" style="padding: 0 5px;">
            <div class="btn">
                @Html.BsButtonO("btnQuery", "查询", "btn btn-primary", "icon-search")
            </div>
        </div>
        <div region="center" border="false" class="bb" style="padding: 0 10px;">
            <table id="List">
            </table>
        </div>
    </div>
</div>
<div id="modalwindow" class="dialog_tt easyui-window " data-options="modal:true,closed:true,minimizable:false,shadow:false"
    style="z-index: 9999">
</div>
<script type="text/javascript">
    $('#List').datagrid({
    url: '/Customer/GetList1',
    methord: 'post',
    fitColumns: true,
    fit: true,
    sortName: 'CreateTime',
    sortOrder: 'desc',
    idField: 'CreateTime',
    pageSize: 10,
    pageList: [10, 20, 30, 40, 50],
    pagination: true,
    singleSelect: true, //单选模式
    //striped: true, //奇偶行是否区分
    //rownumbers: true, //行号
    columns: [[
        { field: 'ck', checkbox: true },
        { field: 'CustomerName', title: '客户姓名', width: 100, align: 'left' },
        { field: 'UserID', title: '业务员', width: 100, align: 'left' },
        { field: 'Address', title: '地址', width: 100, align: 'left' }
    ]]
});

    //ifram 返回
    function frameReturnByClose() {
        $("#modalwindow").window('close');
    }
    //iframe 返回并刷新
    function frameReturnByReload(flag) {
        if (flag)
后面还有 11 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。