-
Notifications
You must be signed in to change notification settings - Fork 1
/
search.html
445 lines (401 loc) · 18.6 KB
/
search.html
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>查询 - 人才管理系统 - 微小企业的得力助手.</title>
<!-- CSS files -->
<link href="./dist/css/tabler.min.css" rel="stylesheet" />
<link href="./dist/css/tabler-flags.min.css" rel="stylesheet" />
<link href="./dist/css/tabler-payments.min.css" rel="stylesheet" />
<link href="./dist/css/tabler-vendors.min.css" rel="stylesheet" />
<link href="./dist/css/demo.min.css" rel="stylesheet" />
<link rel="shortcut icon" href="./favicon.ico">
<script src="./js/jquery.js"></script>
<link rel="stylesheet" href="./css/common.css">
</head>
<body class="antialiased">
<div class="page">
<!-- !!!!!!!!!!!begin -->
<!-- 侧边导航栏 -->
<aside class="navbar navbar-vertical navbar-expand-lg navbar-dark">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu">
<span class="navbar-toggler-icon"></span>
</button>
<h1 class="navbar-brand navbar-brand-autodark">
<a href="./index.html">
<h1>人才管理系统</h1>
<!-- <h1>人才管理系统</h1> -->
</a>
</h1>
<!-- 移动端导航栏 -->
<div class="navbar-nav flex-row d-lg-none">
<div class="nav-item dropdown d-none d-md-flex me-3">
<a href="#" class="nav-link px-0" data-bs-toggle="dropdown" tabindex="-1" aria-label="Show notifications">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" />
<path d="M9 17v1a3 3 0 0 0 6 0v-1" />
</svg>
<span class="badge bg-red"></span>
</a>
<div class="dropdown-menu dropdown-menu-end dropdown-menu-card">
<div class="card">
<div class="card-body">
通知测试2
</div>
</div>
</div>
</div>
<div class="nav-item dropdown">
<a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown"
aria-label="Open user menu">
<!-- 头像 -->
<span class="avatar avatar-sm" style="background-image: url(./static/avatars/052.jpg)"></span>
</a>
<div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
<a href="#" class="dropdown-item">反馈</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">设置</a>
<a href="./sign-in.html" class="dropdown-item">登出</a>
</div>
</div>
</div>
<div class="collapse navbar-collapse" id="navbar-menu">
<ul class="navbar-nav pt-lg-3 mine_ul_right">
<!-- home/工作台 显示部门信息 HR专属 -->
<li class="nav-item">
<a class="nav-link" href="./index.html">
<span class="nav-link-icon d-md-none d-lg-inline-block"><svg xmlns="http://www.w3.org/2000/svg"
class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<polyline points="5 12 3 12 12 3 21 12 19 12" />
<path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
<path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
</svg>
</span>
<span class="nav-link-title">
工作台
</span>
</a>
</li>
<!-- search 查询所有人员 HR专属-->
<li class="nav-item">
<a class="nav-link" href="./search.html">
<span class="nav-link-icon d-md-none d-lg-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<circle cx="10" cy="10" r="7" />
<line x1="21" y1="21" x2="15" y2="15" />
</svg>
</span>
<span class="nav-link-title">
查询
</span>
</a>
</li>
<!-- create 建档 HR专属-->
<li class="nav-item">
<a class="nav-link" href="./create.html">
<span class="nav-link-icon d-md-none d-lg-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<line x1="9" y1="12" x2="15" y2="12" />
<line x1="12" y1="9" x2="12" y2="15" />
<path
d="M4 6v-1a1 1 0 0 1 1 -1h1m5 0h2m5 0h1a1 1 0 0 1 1 1v1m0 5v2m0 5v1a1 1 0 0 1 -1 1h-1m-5 0h-2m-5 0h-1a1 1 0 0 1 -1 -1v-1m0 -5v-2m0 -5" />
</svg>
</span>
<span class="nav-link-title">
建档
</span>
</a>
</li>
<!-- evaluate绩效查看 -->
<li class="nav-item">
<a class="nav-link" href="./evaluate.html">
<span class="nav-link-icon d-md-none d-lg-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<circle cx="15" cy="15" r="3" />
<path d="M13 17.5v4.5l2 -1.5l2 1.5v-4.5" />
<path d="M10 19h-5a2 2 0 0 1 -2 -2v-10c0 -1.1 .9 -2 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -1 1.73" />
<line x1="6" y1="9" x2="18" y2="9" />
<line x1="6" y1="12" x2="9" y2="12" />
<line x1="6" y1="15" x2="8" y2="15" />
</svg>
</span>
<span class="nav-link-title">
工作情况
</span>
</a>
</li>
<!-- profile个人信息查看 -->
<li class="nav-item dropdown">
<a class="nav-link" href="./profile.html">
<span class="nav-link-icon d-md-none d-lg-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<circle cx="12" cy="7" r="4" />
<path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
</svg>
</span>
<span class="nav-link-title">
个人信息
</span>
</a>
</li>
</ul>
</div>
</div>
</aside>
<!-- 右侧内容区域 -->
<div class="content new_content">
<!-- 顶部导航栏nav -->
<div class="mb-3">
<header class="d-none d-lg-block navbar navbar-expand-md navbar-dark d-print-none">
<div class="container-xl">
<h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
<a href="." class="mine_a">
HR端
</a>
</h1>
<div class="navbar-nav flex-row order-md-last">
<div class="nav-item dropdown d-none d-md-flex me-3">
<a href="#" class="nav-link px-0" data-bs-toggle="dropdown" tabindex="-1"
aria-label="Show notifications">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" />
<path d="M9 17v1a3 3 0 0 0 6 0v-1" />
</svg>
<span class="badge bg-red"></span>
</a>
<div class="dropdown-menu dropdown-menu-end dropdown-menu-card">
<div class="card">
<div class="card-body">
通知测试
</div>
</div>
</div>
</div>
<div class="nav-item dropdown">
<a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown"
aria-label="Open user menu">
<!-- 头像 -->
<span class="avatar avatar-sm" style="background-image: url(./static/avatars/052.jpg)"></span>
</a>
<div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
<a href="#" class="dropdown-item">反馈</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">设置</a>
<a href="./sign-in.html" class="dropdown-item">登出</a>
</div>
</div>
</div>
<div class="collapse navbar-collapse" id="navbar-menu">
</div>
</div>
</header>
</div>
<!-- !!!!!!!!!!!end -->
<div class="container-xl">
<!-- Page title -->
<form action="https://httpbin.org/post" method="post" class="card">
<div class="card-header">
<h4 class="card-titlw card-titlw-index">查询</h4>
</div>
<div class="card-body">
<!-- 搜索框 -->
<div class="input-icon mb-3 mine_search">
<input type="text" id="search" class="form-control" placeholder="请输入手机号查询...">
<span class="input-icon-addon">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<circle cx="10" cy="10" r="7"></circle>
<line x1="21" y1="21" x2="15" y2="15"></line>
</svg>
</span>
</div>
<div class="col-12" id="content">
<h1 style="text-align:center;display: none;">无用户信息</h1>
<div class="card" style="display: none;">
<div class="table-responsive">
<table class="table table-vcenter table-mobile-md card-table">
<thead>
<tr>
<th>姓名</th>
<th>公司</th>
<th>职位</th>
<th class="w-1"></th>
</tr>
</thead>
<tbody>
<tr>
<td data-label="Name">
<div class="d-flex py-1 align-items-center">
<span class="avatar me-2">Mike</span>
<div class="flex-fill">
<div class="font-weight-medium">Mike</div>
<div class="text-muted text-reset">198****1234</div>
</div>
</div>
</td>
<td data-label="Title">
<div>随便啥公司</div>
</td>
<td class="text-muted" data-label="Role">
美工,永远的神
</td>
<td>
<div class="btn-list flex-nowrap" style="float: right;">
<a href="#" class="btn btn-white" data-bs-toggle="modal" data-bs-target="#modal-danger">
详情
</a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</form>
</div>
<footer class="footer footer-transparent d-print-none">
<div class="container">
<div class="row text-center align-items-center flex-row-reverse">
<div class="col-lg-auto ms-lg-auto">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item"><a href="#" class="link-secondary">Documentation</a></li>
<li class="list-inline-item"><a href="#" class="link-secondary">License</a></li>
<li class="list-inline-item"><a href="https://github.com/LittleDC/Outsourcing" target="_blank"
class="link-secondary" rel="noopener">Source
code</a></li>
</ul>
</div>
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item">
Copyright © 2021
<a href="#" class="link-secondary">Tabler</a>.
All rights reserved.
</li>
<li class="list-inline-item">
<a href="#" class="link-secondary" rel="noopener">v1.0.0-beta</a>
</li>
</ul>
</div>
</div>
</div>
</footer>
</div>
</div>
<div class="modal modal-blur fade" id="modal-danger" tabindex="-1" style="display: none;" aria-hidden="true">
<div class="modal-dialog modal-sm modal-dialog-centered" role="document">
<div class="modal-content">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<div class="modal-status bg-danger"></div>
<div class="modal-body text-center py-4">
<svg xmlns="http://www.w3.org/2000/svg" class="icon mb-2 text-danger icon-lg" width="24" height="24"
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 9v2m0 4v.01"></path>
<path d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75"></path>
</svg>
<!-- <h3>发送验证码?</h3> -->
<div>
<input type="text" id="ID_code" class="form-control" style="float: left;width: 59%;margin-bottom: 1rem;"
name="example-text-input" placeholder="验证码">
<div class="" style="float: left;margin-bottom: 1rem;width: 40%;">
<button class="btn btn-light btn-pill" id="send">
获取验证码
</button>
</div>
</div>
<div class="text-muted" style="float: left;">详细信息需要获得用户同意,请明确查询是否正确</div>
</div>
<div class="modal-footer">
<div class="w-100">
<div class="row">
<div class="col">
<a href="#" class="btn btn-white w-100" data-bs-dismiss="modal">
取消
</a>
</div>
<div class="col" id="button">
<a href="#" class="btn btn-danger w-100" data-bs-dismiss="modal">
确定
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Libs JS -->
<script src="./dist/libs/apexcharts/dist/apexcharts.min.js"></script>
<!-- Tabler Core -->
<script src="./dist/js/tabler.min.js"></script>
<script>
$("#search").blur(function () {
if ($(this).val() == '19800001234') {
$("#content>div").css("display", "block")
$("#content>h1").css("display", "none")
} else if ($(this).val() != '') {
$("#content>div").css("display", "none")
$("#content>h1").css("display", "block")
} else {
$("#content>div").css("display", "none")
$("#content>h1").css("display", "none")
}
})
</script>
<!-- 定时器 -->
<script>
var time = 60
$("#send").click(function () {
// console.log(this);
this.disabled = true
this.innerHTML = time + "秒"
$("#ID_code")[0].placeholder = "验证码(1234)"
var timer = setInterval(function () {
// console.log(this);
if (time == 0) {
clearInterval(timer)
$("#send")[0].disabled = false
$("#send")[0].innerHTML = "获取验证码"
time = 60
} else {
time--
$("#send")[0].innerHTML = time + "秒"
}
}, 1000)
$("#button").click(function () {
if ($("#ID_code")[0].value == "1234") {
alert("验证成功")
location.href = "./staff_ID.html"
} else {
alert("验证码错误")
}
})
})
</script>
<script>
</script>
</body>
</html>