Index.cshtml 10.5 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: white!important;}
        dd.layui-this a{background-color: #000!important;}

        .log-head{height: 30px;font-weight: bold;border-bottom:2px solid rgb(218 211 211)}
        .log-body,.log-body{height:70px; padding-left:10px;}
        .log-body-text,.log-body-text{color: #0c0cec; text-decoration: underline;cursor:pointer!important;}
        .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:;" onclick="LogStatistics();">接口错误日志统计<span id="LogStatistics" class="" style=" right: 10px; top: 10px;"></span></a>
                    </li>*@
                    <li class="layui-nav-item">
                        <a href="javascript:;" onclick="UnfinishedOrderInfo(1);">工单信息<span id="RedDot" class="" style=" right: 10px; top: 10px;"></span></a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            <cite>打卡管理</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;" onclick="WorkAttendance();"><i class="layui-icon" data-icon="">&#xe642;</i><cite>打卡</cite></a></dd>
                            <dd><a href="javascript:;" onclick="WorkAttendanceLog();"><i class="layui-icon" data-icon="">&#xe60f;</i><cite>打卡记录</cite></a></dd>
                        </dl>
                    </li>
                    <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>
                <img src="~/images/company2.jpg" alt="数字化智能管理" style="height:120px;object-fit: cover;" />
            </div>*@
            <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/Main"></iframe>*@
                        <iframe src="/Home/Welcome"></iframe>
                    </div>
                </div>
            </div>
        </div>
        <!-- 底部 -->
        <div class="layui-footer footer">
            <p>@ViewBag.copyright</p>
        </div>
    </div>
    <!-- 移动导航 -->
    <div class="site-tree-mobile layui-hide"><i class="layui-icon">&#xe602;</i></div>
    <div class="site-mobile-shade"></div>

    <!-- 考勤打卡 -->
    <div id="clock" style="display: none;">
        <div class="layui-tab layui-tab-brief" style="margin-top:10px; width:320px" lay-filter="loginWebcam">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="1">人脸识别</li>
                <li lay-id="3">刷卡登入</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <div id="webcam" style="margin: auto; margin-top: -32px;"></div>
                    <button class="layui-btn loginbtn" style="width: 105px;margin-top: -32px;" id="btnTakeSnapshot">拍照登入</button>
                </div>
                <div class="layui-tab-item">
                    <form action="#">
                        <input id="IdCard" name="IdCard" type="password" autocomplete="off" style="margin-top: 25px;" class="layui-input" placeholder="请输入卡号">
                    </form>
                </div>
            </div>
        </div>
        <div id="ccvMessage" style="clear:both;color: #009688;margin-top: 430px;"></div>
        <div id="loginMessage" style="clear:both;color: #009688;margin-top: 5px;"></div>
    </div>
    
<div class="LogTips" style="display:none">
    <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>服务器异常(请联系管理人员)</span>
        </div>
        <div class="log-body">
            <span id="server-body" class="layui-bg-red"></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 src="~/js/face/webcam.js"></script>
    <script src="~/js/face/ccv.js"></script>
    <script src="~/js/face/face.js"></script>
 
    <script>
        @Html.Raw(ViewBag.EnumAGVState);
        @Html.Raw(ViewBag.EnumAgvTaskType);
        @Html.Raw(ViewBag.EnumLog);
        @Html.Raw(ViewBag.EnumLocationStatus);

        @Html.Raw(ViewBag.EnumLoadData);
        @Html.Raw(ViewBag.IsDevelopment);
        @Html.Raw(ViewBag.InventoryUseState);
        
        var material= @Html.Raw(ViewBag.material);
    </script>
</body>
</html>