Index.cshtml
10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
@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=""></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=""></i><cite>打卡</cite></a></dd>
<dd><a href="javascript:;" onclick="WorkAttendanceLog();"><i class="layui-icon" data-icon=""></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=""></i><cite>修改密码</cite></a></dd>
@*<dd><a href="javascript:;" class="lockcms"><i class="layui-icon" data-icon=""></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=""></i></a>
</li>
<li class="layui-nav-item">
<a onclick="Cancellation()" class="signOut"><cite>注销</cite><i class="layui-icon" data-icon=""></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"></i>
</li>
</ul>
<ul class="rightBtn">
<li class="layui-nav-item">
<i class="layui-icon"></i>
</li>
</ul>
<ul class="layui-nav closeBox">
<li class="layui-nav-item">
<a href="javascript:;"><i class="layui-icon"></i>页面操作</a>
<dl class="layui-nav-child">
<dd><a href="javascript:;" class="refresh refreshThis"><i class="layui-icon"></i> 刷新当前</a></dd>
<dd><a href="javascript:;" class="closePageOther"><i class="layui-icon"></i> 关闭其他</a></dd>
<dd><a href="javascript:;" class="closePageAll"><i class="layui-icon"></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"></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>