Index.cshtml 8.83 KB
@using Hh.Mes.Common.config
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>@ConfigRead.GetInstance.GetAppsetConnection().LoginTitle</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/css/main.css?v=2.0" media="all" />
    <style type="text/css">
     .layui-tab-brief>.layui-tab-title .layui-this{background-color:transparent}
     #layerDemorb span{color:red}
     .layui-nav-child{background-color:#fff!important}
     dd.layui-this a{background-color:#000!important}
     .inter-con{border-top:2px solid #000}
     .log-head{height:30px;line-height:30px;font-weight:700;border-bottom:2px solid rgb(218 211 211)}
     .log-body{height:60px;padding-left:10px}
     .log-body-text{color:#0c0cec;text-decoration:underline;cursor:pointer!important}
     #client-body .client-info {line-height: 1.6;}
     .left-search{position:relative;top:4px;bottom:0;left:0;width:200px;height:40px}
     .input-search{width:95%;height:34px;margin-left:3px;border-radius:4px;border:1px solid #d2d2d2}
     .input-search:focus{border-color:#66afe9!important;outline:0;box-shadow:inset 0 1px 1px rgb(0 0 0 / 8%),0 0 8px rgb(102 175 233 / 60%)}
    </style>
</head>
<body class="main_body HPlus">
    <div class="layui-layout layui-layout-admin">
        <!-- 顶部 -->
        <div class="layui-header header">
            <div class="layui-main">
                <img src="~/images/logo.png" class="logo" style="width:190px;height:21px;margin-left:-20px;margin-top:4px;background-color: white !important;">

                <!-- 显示/隐藏菜单 -->
                <a href="javascript:;" class="hideMenu"><i class="layui-icon" style="margin-left:-45px;" data-icon="">&#xe6e7;</i></a>
                <!-- 顶部右侧菜单 -->
                <ul class="layui-nav top_menu">
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            <cite>设置</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;" class="changepwd"><i class="layui-icon" data-icon="">&#xe642;</i><cite>修改密码</cite></a></dd>
@*                            <dd><a href="javascript:;" class="lockcms"><i class="layui-icon" data-icon="">&#xe6e5;</i><cite>锁屏</cite></a></dd>*@
                        </dl>
                    </li>
                    <li class="layui-nav-item ">
                        <a onclick="qp.fullScreen.handleFullScreen(this);"><cite>全屏</cite><i class="layui-icon" data-icon="">&#xe622;</i></a>
                    </li>
                    <li class="layui-nav-item">
                        <a onclick="Cancellation()" class="signOut"><cite>注销</cite><i class="layui-icon" data-icon="">&#xe6e6;</i></a>
                    </li>
                </ul>
            </div>
        </div>
        <!-- 左侧导航 -->
        <div class="layui-side layui-bg-black">
            <div style="border-bottom:2px double gray;padding:5px; background-color: white; color: #000;">
                <span id="loginInfo"></span>
                <span id="loginTime"></span>
                <cite id="Name" style="display:none"></cite>
            </div>
            <!--左侧搜索-->
            <div class="left-search">
                <input id="inputSearch" type="text" placeholder="搜索:请输入菜单名称" class="input-search" />
            </div>
            <div class="navBar layui-side-scroll"></div>
        </div>

        <!-- 右侧内容 -->
        <div class="layui-body layui-form">
            <div class="layui-tab layui-tab-card marg0" lay-filter="bodyTab" id="top_tabs_box">
                <ul class="layui-tab-title top_tab" id="top_tabs">
                    <li class="layui-this" lay-id=""><i class="iconfont icon-computer"></i> <cite>项目地图</cite></li>
                </ul>
                <ul class="leftBtn">
                    <li class="layui-nav-item">
                        <i class="layui-icon">&#xe603;</i>
                    </li>
                </ul>
                <ul class="rightBtn">
                    <li class="layui-nav-item">
                        <i class="layui-icon">&#xe602;</i>
                    </li>
                </ul>
                <ul class="layui-nav closeBox">
                    <li class="layui-nav-item">
                        <a href="javascript:;"><i class="layui-icon">&#xe6e3;</i>页面操作</a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;" class="refresh refreshThis"><i class="layui-icon">&#xe9aa;</i> 刷新当前</a></dd>
                            <dd><a href="javascript:;" class="closePageOther"><i class="layui-icon">&#xe66e;</i> 关闭其他</a></dd>
                            <dd><a href="javascript:;" class="closePageAll"><i class="layui-icon">&#xe6a6;</i>关闭全部</a></dd>
                        </dl>
                    </li>
                </ul>
                <div class="layui-tab-content clildFrame">
                    <div class="layui-tab-item layui-show">
                        <iframe src="/Home/ProjectMap"></iframe>
                    </div>
                </div>
            </div>
        </div>
        <!-- 底部 -->
        <div class="layui-footer footer">
            <p>@ViewBag.copyright</p>
        </div>
    </div>

    <div class="LogTips" style="display:none">
        <div class="client-con">
            <div class="log-head ">
                <span>客户端状态,不在线请联系管理员</span>
            </div>
            <div class="log-body" style="height:120px;overflow-y: auto;">
                <span class="log-body-text">
                    <span id="client-body"> </span>
                </span>
            </div>
        </div>
        <div class="inter-con">
            <div class="log-head ">
                <span>PDA接口错误</span>
            </div>
            <div class="log-body">
                <span onclick="infoTips.updateLogTips('pda')" class="log-body-text">
                    PDA接口日志异常
                    <span id="pda-body"> </span>
                </span>
                <div>
                    <br>
                    <span>详细信息请查看日志管理=>PDA接口日志</span>
                </div>
            </div>
        </div>
        <div class="inter-con">
            <div class="log-head ">
                <span>接口日志</span>
            </div>
            <div class="log-body">
                <span onclick="infoTips.updateLogTips('inter')" class="log-body-text">
                    接口日志异常
                    <span id="inter-body"> </span>
                </span>
                <div>
                    <br>
                    <span>详细信息请查看日志管理=>接口日志</span>
                </div>
            </div>
        </div>
        <div class="job-con">
            <div class="log-head">
                <span>定时器日志</span>
            </div>
            <div class="log-body">
                <span onclick="infoTips.updateLogTips('job')" class="log-body-text">
                    定时器日志异常
                    <span id="job-body"> </span>
                </span>
                <div>
                    <br>
                    <span>详细信息请查看日志管理=>定时器日志</span>
                </div>
            </div>
        </div>
        <div class="server-con">
            <div class="log-head">
                <span>server服务器异常(请联系管理人员)</span>
            </div>
            <div class="log-body">
                <span id="server-body" class="layui-bg-red"></span>
            </div>
        </div>
        <div class="server-con">
            <div class="log-head">
                <span>数据库服务器(请联系管理人员)</span>
            </div>
            <div class="log-body">
                <span id="sqlServer-body"></span>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="/layui/layui.js"></script>
    <script type="text/javascript" src="/js/leftNav.js"></script>
    <script type="text/javascript" src="/js/index.js" asp-append-version="true"></script>


    <script>
        @Html.Raw(ViewBag.IsDevelopment);
        @Html.Raw(ViewBag.EnumProjectStatus);
        var sysEquipmentType = @Html.Raw(ViewBag.equipmentType);
    </script>
</body>
</html>