

@{
    Layout = null;
}
@using System.Data;
@using GS.BillCommon.Models.DataModel;
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>交换机通讯管理系统-查询统计平台</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
</head>
<body class="layui-layout-body">

    <div id="LAY_app">
        <div class="layui-layout layui-layout-admin">
            <div class="layui-header">
                <!-- 头部区域 -->
                <ul class="layui-nav layui-layout-left">
                    <li class="layui-nav-item layadmin-flexible" lay-unselect>
                        <a href="javascript:;" layadmin-event="flexible" title="侧边伸缩">
                            <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
                        </a>
                    </li>
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;" layadmin-event="refresh" title="刷新">
                            <i class="layui-icon layui-icon-refresh-3"></i>
                        </a>
                    </li>
                </ul>
                <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">

                    <li class="layui-nav-item layui-hide-xs" lay-unselect>
                        <a href="javascript:;" layadmin-event="theme">
                            <i class="layui-icon layui-icon-theme"></i>
                        </a>
                    </li>
                    @*<li class="layui-nav-item layui-hide-xs" lay-unselect>
                            <a href="javascript:;" layadmin-event="note">
                                <i class="layui-icon layui-icon-note"></i>
                            </a>
                        </li>*@
                    <li class="layui-nav-item layui-hide-xs" lay-unselect>
                        <a href="javascript:;" layadmin-event="fullscreen">
                            <i class="layui-icon layui-icon-screen-full"></i>
                        </a>
                    </li>
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;">
                            <i class="layui-icon layui-icon-user"></i>
                            <cite>@(((Admin)System.Web.HttpContext.Current.Session["adminInfo"]).UserName)</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a lay-href="@Url.Action("Abouts","Home")" id="Version" style="cursor:pointer;">
                                    <i class="layui-icon layui-icon-about"></i>
                                    版本信息
                                </a>
                            </dd>
                            <dd>
                                <a lay-href="@Url.Action("Index","UpdatePassWord")" id="UpdatePassWord" style="cursor:pointer;">
                                    <i class="layui-icon layui-icon-password"></i>
                                    修改密码
                                </a>
                            </dd>
                            <dd>
                                <a lay-href="@Url.Action("LanguagePage","Home")" style="cursor:pointer;">
                                    <i class="layui-icon layui-icon-website"></i>
                                    语言
                                </a>
                            </dd>
                            <dd>
                                <a href="/Login/Index">
                                    <i class="layui-icon layui-icon-close-fill"></i>
                                    注销
                                </a>
                            </dd>
                        </dl>
                    </li>
                </ul>
            </div>

            <!-- 侧边菜单 -->
            <div class="layui-side layui-side-menu">
                <div class="layui-side-scroll">
                    <div class="layui-logo" lay-href="@Url.Action("Charging","Exhibition")">
                        <span>查询统计平台</span>
                    </div>

                    <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
                        <li id="li_Home" data-name="home" class="layui-nav-item layui-nav-itemed">
                            <a href="javascript:;" lay-tips="主页" lay-direction="2">
                                <i class="layui-icon layui-icon-home"></i>
                                <cite>主页</cite>
                            </a>
                            <dl class="layui-nav-child">
                                <dd id="dd_Record" data-name="console">
                                    <a lay-href="@Url.Action("Charging","Exhibition")">计费</a>
                                </dd>
                                <dd id="dd_Recording" data-name="console" style="display:none">
                                    <a lay-href="@Url.Action("SoundRecording","Exhibition")">录音</a>
                                </dd>
                                <dd id="dd_ZJJ" data-name="console" style="display:none">
                                    <a lay-href="@Url.Action("Middleware","Exhibition")">中间件</a>
                                </dd>
                                <dd id="dd_GJDX" data-name="console" style="display:none">
                                    <a lay-href="@Url.Action("HangUpSMS","Exhibition")">挂机短信</a>
                                </dd>
                            </dl>
                        </li>
                        <li data-name="component" class="layui-nav-item">
                            <a href="javascript:;" lay-tips="查询记录" lay-direction="2">
                                <i class="layui-icon layui-icon-component"></i>
                                <cite>查询记录</cite>
                            </a>
                            <dl class="layui-nav-child">
                                <dd data-name="recording">
                                    <a lay-href="@Url.Action("RecordReportForm","Home")">通话记录</a>
                                </dd>
                                <dd id="dd_RecordingR" data-name="recording" style="display:none">
                                    <a lay-href="@Url.Action("RecordSoundForm","Home")">录音记录</a>
                                </dd>
                                <dd id="dd_THFY" data-name="recording">
                                    <a lay-href="@Url.Action("CallChargeQuotaRecordForm","Home")">通话费用预警记录</a>
                                </dd>
                                <dd id="dd_DHDD" data-name="recording">
                                    <a lay-href="@Url.Action("PhoneTheftWarningForm","Home")">电话盗打预警记录</a>
                                </dd>
                                <dd id="dd_YC" data-name="recording">
                                    <a lay-href="@Url.Action("InceptExceptionRecordForm","Home")">异常预警记录</a>
                                </dd>
                                <dd data-name="recording">
                                    <a lay-href="@Url.Action("OperaterecordLogForm","Home")">操作记录</a>
                                </dd>
                                <dd id="dd_GJDXA" data-name="recording" style="display:none">
                                    <a lay-href="@Url.Action("HangUpSmsSendRecordForm","Home")">挂机短信发送记录</a>
                                </dd>
                                <dd id="dd_GJDXB" data-name="recording" style="display:none">
                                    <a lay-href="@Url.Action("GoodbyeSMSWarningRecordForm","Home")">挂机短信预警记录</a>
                                </dd>
                                <dd id="dd_HWYTHJL" data-name="recording" style="display:none">
                                    <a lay-href="@Url.Action("OperatorCallRecordForm","Home")">话务员通话记录</a>
                                </dd>
                                <dd id="dd_HWYWJJL" data-name="recording" style="display:none">
                                    <a lay-href="@Url.Action("OperatorMissedRecordForm","Home")">话务员未接记录</a>
                                </dd>
                                <dd id="dd_Voicemail" data-name="recording" style="display:none">
                                    <a lay-href="@Url.Action("VoicemailRecordForm","Home")">语音信箱记录</a>
                                </dd>
                                <dd id="dd_HWYJJJL" data-name="recording" style="display:none">
                                    <a lay-href="@Url.Action("OperatorHandoverRecordForm","Home")">话务员交接记录</a>
                                </dd>
                                <dd data-name="recording">
                                    <a lay-href="@Url.Action("FZPWarningRecordFrom","Home")">电话防诈骗预警记录</a>
                                </dd>
                                <dd data-name="recording">
                                    <a lay-href="@Url.Action("FSRWarningRecordFrom","Home")">电话防骚扰预警记录</a>
                                </dd>
                            </dl>
                        </li>
                        <li data-name="template" class="layui-nav-item">
                            <a href="javascript:;" lay-tips="统计报表" lay-direction="2">
                                <i class="layui-icon layui-icon-list"></i>
                                <cite>统计报表</cite>
                            </a>
                            <dl class="layui-nav-child">
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("Index","Statistics")">员工话务数量统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("EmployeeCallLongCountForm","Statistics")">员工话务时长统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("EmployeeCallChargeCountForm","Statistics")">员工话务费用统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("EmployeeCallTimeCountForm","Statistics")">员工话务时段统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("EmployeeCallChargeRankingForm","Statistics")">员工话务排行</a>
                                </dd>
                                <dd id="YYDZD" data-name="statistics">
                                    <a lay-href="@Url.Action("EmployeeCallChargeCountMonthlyForm","Statistics")">员工月度账单</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("BranchCallNumCountForm","Statistics")">部门话务数量统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("BranchCallLongCountForm","Statistics")">部门话务时长统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("BranchCallChargeCountForm","Statistics")">部门话务费用统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("BranchCallTimeCountForm","Statistics")">部门话务时段统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("BranchCallChargeRankingForm","Statistics")">部门话务排行</a>
                                </dd>
                                <dd id="BYDZD" data-name="statistics">
                                    <a lay-href="@Url.Action("BranchCallChargeCountMonthlyForm","Statistics")">部门月度账单</a>
                                </dd>
                                <dd id="LQDTJ" data-name="statistics">
                                    <a lay-href="@Url.Action("ComeAndGoCountForm","Statistics")">来去电号码话务统计</a>
                                </dd>
                                <dd id="QYTJ" data-name="statistics">
                                    <a lay-href="@Url.Action("AreaCallCountForm","Statistics")">区域话务统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("EmployeeCarryPasswordCallChargeRanking","Statistics")">随身密码话务统计</a>
                                </dd>
                                <dd id="dd_HWYHWTJ" data-name="statistics" style="display:none">
                                    <a lay-href="@Url.Action("OperatorTrafficForm","Home")">话务员话务统计</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("IdleExtensionNumStatistics","Statistics")">闲置分机统计表</a>
                                </dd>
                                <dd data-name="statistics">
                                    <a lay-href="@Url.Action("BranchBillClassifyTotalsForm","Statistics")">账单分类汇总</a>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                </div>
            </div>

            <!-- 页面标签 -->
            <div class="layadmin-pagetabs" id="LAY_app_tabs">
                <div class="layui-icon layadmin-tabs-control layui-icon-prev" layadmin-event="leftPage"></div>
                <div class="layui-icon layadmin-tabs-control layui-icon-next" layadmin-event="rightPage"></div>
                <div class="layui-icon layadmin-tabs-control layui-icon-down">
                    <ul class="layui-nav layadmin-tabs-select" lay-filter="layadmin-pagetabs-nav">
                        <li class="layui-nav-item" lay-unselect>
                            <a href="javascript:;"></a>
                            <dl class="layui-nav-child layui-anim-fadein">
                                <dd layadmin-event="closeThisTabs"><a href="javascript:;">关闭当前标签页</a></dd>
                                <dd layadmin-event="closeOtherTabs"><a href="javascript:;">关闭其它标签页</a></dd>
                                <dd layadmin-event="closeAllTabs"><a href="javascript:;">关闭全部标签页</a></dd>
                            </dl>
                        </li>
                    </ul>
                </div>
                <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="layadmin-layout-tabs">
                    <ul class="layui-tab-title" id="LAY_app_tabsheader">
                        <li lay-id="@Url.Action("Charging","Exhibition")" lay-attr="@Url.Action("Charging","Exhibition")" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
                    </ul>
                </div>
            </div>


            <!-- 主体内容 -->
            <div class="layui-body" style="background-color:white" id="LAY_app_body">
                <div class="layadmin-tabsbody-item layui-show">
                    <iframe src="@Url.Action("Charging","Exhibition")" frameborder="0" class="layadmin-iframe"></iframe>
                </div>
            </div>

            <!-- 辅助元素，一般用于移动设备下遮罩 -->
            <div class="layadmin-body-shade" layadmin-event="shade"></div>
        </div>
    </div>
    <script src="~/layuiadmin/layui/layui.js"></script>
    <script type="text/javascript">
        layui.config({
            base: '../layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index' //主入口模块
        }).use('index');

        layui.use('element', function () {
            layui.jquery.ajax({
                url: "/Home/loadPage",
                type: 'post',
                dataType: 'text',
                success: function (result) {
                    var varresult = result.split('‖');
                    for (var i = 0; i < varresult.length; i++) {
                        if (varresult[i] == "入住退房" || varresult[i] == "叫醒、房态迷你吧" || varresult[i] == "话务台") {
                            document.getElementById("dd_ZJJ").style.display = "block";
                            if (varresult[i] == "话务台") {
                                document.getElementById("dd_HWYTHJL").style.display = "block";
                                document.getElementById("dd_HWYWJJL").style.display = "block";
                                document.getElementById("dd_HWYHWTJ").style.display = "block";
                                document.getElementById("dd_HWYJJJL").style.display = "block";
                            }
                        }
                        if (varresult[i] == "电话录音") {
                            document.getElementById("dd_Recording").style.display = "block";
                            document.getElementById("dd_RecordingR").style.display = "block";
                        }
                        if (varresult[i] == "挂机短信") {
                            document.getElementById("dd_GJDX").style.display = "block";
                            document.getElementById("dd_GJDXA").style.display = "block";
                            document.getElementById("dd_GJDXB").style.display = "block";
                        }
                        if (varresult[i] == "语音信箱") {
                            document.getElementById("dd_Voicemail").style.display = "block";
                        }
                        if (varresult[i] == "isFast") {
                            document.getElementById("YYDZD").style.display = "none";
                            document.getElementById("BYDZD").style.display = "none";
                            document.getElementById("LQDTJ").style.display = "none";
                            document.getElementById("QYTJ").style.display = "none";
                            document.getElementById("dd_THFY").style.display = "none";
                            document.getElementById("dd_YC").style.display = "none";
                            document.getElementById("dd_DHDD").style.display = "none";
                        }
                    }

                }
            });
        });
    </script>
</body>
</html>


