Index.cshtml
41.8 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
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
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header
{
<link rel="stylesheet" href="/css/treetable.css" />
<link href="/Cron/themes/bootstrap/easyui.min.css" rel="stylesheet" type="text/css" />
<link href="/Cron/themes/icon.css" rel="stylesheet" type="text/css" />
<link href="/Cron/icon.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.line {
height: 25px;
line-height: 25px;
margin: 3px;
}
.imp {
padding-left: 25px;
}
.col {
width: 95px;
}
ul {
list-style: none;
padding-left: 10px;
}
li {
height: 20px;
}
</style>
}
<div id="listForm" class="layui-tab-item layui-show">
<div id="ImportData" style="padding: 60px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;display: none;">
<div style="overflow:hidden">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal" data-type="btnTemplate"><i class="layui-icon"></i>生成模板</a>
<br />
<br />
<input type="file" name="excelfile" id="excelfile" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
</div>
</div>
<form class="layui-form layui-form-pane" action="" lay-filter="listForm">
<div class="layui-form-item" id="panelSearch" hidden>
<fieldset class="layui-elem-field">
<legend>检索区域 - 请输入相关数据查询</legend>
<div class="layui-field-box" id="qform">
<div class="layui-form-item layui-col-sm12">
<div class="layui-inline toolList">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius" data-type="btnQuery"><i class="layui-icon"></i>查询</a>
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-warm" data-type="btnReset"><i class="layui-icon"></i>重置</a>
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger" data-type="btnClose"><i class="layui-icon"></i>关闭</a>
</div>
</div>
<div class="layui-row">
<div class="layui-col-sm3">
<label class="layui-form-label">任务名称</label>
<div class="layui-input-inline">
<input name="qJobName" v-model="JobName" type="text" autocomplete="off" lay-verify="required" maxlength="64" class="layui-input">
</div>
</div>
<div class="layui-col-sm3">
<label class="layui-form-label">任务方法</label>
<div class="layui-input-inline">
<select name="qMethodName" v-model="MethodName" data-model="MethodName" class="Selector" lay-filter="qform"></select>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<table id="mainList" class="layui-table"
lay-data="{height: 'full-1', cellMinWidth: 80, page:true, id:'mainList', limit: 20, limits: [20, 50, 100, 200, 500, 1000], defaultToolbar: ['filter'], toolbar: '#toolbarTable'}"
lay-filter="mainList" lay-size="sm">
<thead>
<tr>
<th lay-data="{checkbox:true, fixed: true}"></th>
<th lay-data="{field:'Id', width:80, sort: true, fixed: false, hide: false}">id</th>
<th lay-data="{field:'JobName', width:150, sort: true, fixed: false, hide: false}">任务名称</th>
<th lay-data="{field:'JobGroup', width:150, sort: true, fixed: false, hide: true}">任务组名</th>
<th lay-data="{field:'MethodName', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('MethodName', 'DictValue', 'DictLabel', d.MethodName)}}">任务方法</th>
<th lay-data="{field:'MethodParams', width:250, sort: true, fixed: false, hide: false}">参数</th>
<th lay-data="{field:'CronExpression', width:150, sort: true, fixed: false, hide: false}">cron执行表达式</th>
<th lay-data="{field:'LastFireTime', width:150, sort: true, fixed: false, hide: false}">上次执行时间</th>
<th lay-data="{field:'NextFireTime', width:150, sort: true, fixed: false, hide: false}">下次执行时间</th>
<th lay-data="{field:'MisfirePolicy', width:150, sort: true, fixed: false, hide: true}">错误策略</th>
<th lay-data="{field:'Status', width:80, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('Status', 'DictValue', 'DictLabel', d.Status)}}">状态</th>
<th lay-data="{field:'Remark', width:150, sort: true, fixed: false, hide: true}">备注信息</th>
<th lay-data="{field:'CreateTime', width:150, sort: true, fixed: false, hide: false}">创建时间</th>
<th lay-data="{field:'CreateBy', width:150, sort: true, fixed: false, hide: false}">创建用户</th>
<th lay-data="{field:'UpdateTime', width:150, sort: true, fixed: false, hide: false}">更新时间</th>
<th lay-data="{field:'UpdateBy', width:150, sort: true, fixed: false, hide: false}">更新用户</th>
</tr>
</thead>
</table>
<script type="text/html" id="toolbarTable">
<div class="layui-btn-container">
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal" lay-event="btnSelect"><i class="layui-icon"></i>检索</a>
<a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal" lay-event="btnRefresh"><i class="layui-icon"></i>刷新</a>
{{ loadMenus("SysJob", 1) }}
</div>
</script>
</form>
</div>
<div id="modifyForm" class="layui-tab-item" style="padding-left:40px;padding-top:20px;">
<form class="layui-form layui-form-pane" action="" lay-filter="modifyForm">
<div class="layui-card">
<div class="layui-row">
<div hidden>
<label class="layui-form-label layui-col-sm3">id</label>
<div class="layui-input-inline layui-col-sm6">
<input name="Id" v-model="Id" class="layui-input" style="background-color:#eee;" disabled="disabled" type="text" autocomplete="off" lay-verify="">
</div>
</div>
<div class="layui-col-sm6">
<label class="layui-form-label layui-col-sm3">任务名称</label>
<div class="layui-input-inline layui-col-sm6">
<input name="JobName" v-model="JobName" class="layui-input requiredAdd requiredEdit " type="text" autocomplete="off" lay-verify="" placeholder="此项为必填项">
</div>
</div>
<div class="layui-col-sm6">
<label class="layui-form-label layui-col-sm3">任务组名</label>
<div class="layui-input-inline layui-col-sm6">
<input name="JobGroup" v-model="JobGroup" class="layui-input requiredAdd requiredEdit " type="text" autocomplete="off" lay-verify="" placeholder="此项为必填项">
</div>
</div>
<div class="layui-col-sm6">
<label class="layui-form-label layui-col-sm3">任务方法</label>
<div class="layui-input-inline layui-col-sm6">
<select name="MethodName" v-model="MethodName" data-model="MethodName" class="Selector_SysJob ClearSelector_SysJob" lay-filter="eform"></select>
</div>
</div>
<div class="layui-col-sm6">
<label class="layui-form-label layui-col-sm3">参数</label>
<div class="layui-input-inline layui-col-sm6">
<input id="MethodParams" name="MethodParams" v-model="MethodParams" class="layui-input" readonly="readonly" type="text" autocomplete="off" lay-verify="">
</div>
</div>
<div class="layui-col-sm6">
<label class="layui-form-label layui-col-sm3">cron执行表达式</label>
<div class="layui-input-inline layui-col-sm6">
<input name="CronExpression" v-model="CronExpression" class="layui-input CronExpression" readonly="readonly" type="text" autocomplete="off" lay-verify="">
</div>
</div>
<div hidden>
<label class="layui-form-label layui-col-sm3">错误策略</label>
<div class="layui-input-inline layui-col-sm6">
<input name="MisfirePolicy" v-model="MisfirePolicy" class="layui-input" type="text" autocomplete="off" lay-verify="">
</div>
</div>
<div hidden>
<label class="layui-form-label layui-col-sm3">状态(0正常 1暂停)</label>
<div class="layui-input-inline layui-col-sm6">
<input name="Status" v-model="Status" class="layui-input" type="text" autocomplete="off" lay-verify="" value="0">
</div>
</div>
<div hidden>
<label class="layui-form-label layui-col-sm3">备注信息</label>
<div class="layui-input-inline layui-col-sm6">
<input name="Remark" v-model="Remark" class="layui-input" type="text" autocomplete="off" lay-verify="">
</div>
</div>
<div hidden>
<label class="layui-form-label layui-col-sm3">创建时间</label>
<div class="layui-input-inline layui-col-sm6">
<input name="CreateTime" v-model="CreateTime" class="layui-input" style="background-color:#eee;" disabled="disabled" type="text" autocomplete="off" lay-verify="">
</div>
</div>
<div hidden>
<label class="layui-form-label layui-col-sm3">创建用户</label>
<div class="layui-input-inline layui-col-sm6">
<input name="CreateBy" v-model="CreateBy" class="layui-input" style="background-color:#eee;" disabled="disabled" type="text" autocomplete="off" lay-verify="">
</div>
</div>
<div hidden>
<label class="layui-form-label layui-col-sm3">更新时间</label>
<div class="layui-input-inline layui-col-sm6">
<input name="UpdateTime" v-model="UpdateTime" class="layui-input" style="background-color:#eee;" disabled="disabled" type="text" autocomplete="off" lay-verify="">
</div>
</div>
<div hidden>
<label class="layui-form-label layui-col-sm3">更新用户</label>
<div class="layui-input-inline layui-col-sm6">
<input name="UpdateBy" v-model="UpdateBy" class="layui-input" style="background-color:#eee;" disabled="disabled" type="text" autocomplete="off" lay-verify="">
</div>
</div>
</div>
</div>
</form>
</div>
<div id="CornCover" style="height:1000px; z-index:999999999">
</div>
<div id="CornSetting">
<center>
<div class="easyui-layout" style="width:830px;height:420px; border: 1px rgb(202, 196, 196) solid; border-radius: 5px;">
<div style="height: 100%;">
<div class="easyui-tabs" data-options="fit:true,border:false">
<div title="秒">
<div class="line">
<input type="radio" checked="checked" name="second" class="everyTime">
每秒 允许的通配符[, - * /]
</div>
<div class="line">
<input type="radio" name="second" class="cycle">
周期从
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:58" value="1"
id="secondStart_0">
-
<input class="numberspinner" style="width: 60px;" data-options="min:2,max:59" value="2"
id="secondEnd_0">
秒
</div>
<div class="line">
<input type="radio" name="second" class="startOn">
从
<input class="numberspinner" style="width: 60px;" data-options="min:0,max:59" value="0"
id="secondStart_1">
秒开始,每
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:59" value="1"
id="secondEnd_1">
秒执行一次
</div>
<div class="line">
<input type="radio" name="second" id="sencond_appoint">
指定
</div>
<div class="imp secondList">
<input type="checkbox" value="0">00
<input type="checkbox" value="1">01
<input type="checkbox" value="2">02
<input type="checkbox" value="3">03
<input type="checkbox" value="4">04
<input type="checkbox" value="5">05
<input type="checkbox" value="6">06
<input type="checkbox" value="7">07
<input type="checkbox" value="8">08
<input type="checkbox" value="9">09
</div>
<div class="imp secondList">
<input type="checkbox" value="10">10
<input type="checkbox" value="11">11
<input type="checkbox" value="12">12
<input type="checkbox" value="13">13
<input type="checkbox" value="14">14
<input type="checkbox" value="15">15
<input type="checkbox" value="16">16
<input type="checkbox" value="17">17
<input type="checkbox" value="18">18
<input type="checkbox" value="19">19
</div>
<div class="imp secondList">
<input type="checkbox" value="20">20
<input type="checkbox" value="21">21
<input type="checkbox" value="22">22
<input type="checkbox" value="23">23
<input type="checkbox" value="24">24
<input type="checkbox" value="25">25
<input type="checkbox" value="26">26
<input type="checkbox" value="27">27
<input type="checkbox" value="28">28
<input type="checkbox" value="29">29
</div>
<div class="imp secondList">
<input type="checkbox" value="30">30
<input type="checkbox" value="31">31
<input type="checkbox" value="32">32
<input type="checkbox" value="33">33
<input type="checkbox" value="34">34
<input type="checkbox" value="35">35
<input type="checkbox" value="36">36
<input type="checkbox" value="37">37
<input type="checkbox" value="38">38
<input type="checkbox" value="39">39
</div>
<div class="imp secondList">
<input type="checkbox" value="40">40
<input type="checkbox" value="41">41
<input type="checkbox" value="42">42
<input type="checkbox" value="43">43
<input type="checkbox" value="44">44
<input type="checkbox" value="45">45
<input type="checkbox" value="46">46
<input type="checkbox" value="47">47
<input type="checkbox" value="48">48
<input type="checkbox" value="49">49
</div>
<div class="imp secondList">
<input type="checkbox" value="50">50
<input type="checkbox" value="51">51
<input type="checkbox" value="52">52
<input type="checkbox" value="53">53
<input type="checkbox" value="54">54
<input type="checkbox" value="55">55
<input type="checkbox" value="56">56
<input type="checkbox" value="57">57
<input type="checkbox" value="58">58
<input type="checkbox" value="59">59
</div>
</div>
<div title="分钟">
<div class="line">
<input type="radio" checked="checked" name="min" class="everyTime">
分钟 允许的通配符[, - * /]
</div>
<div class="line">
<input type="radio" name="min" class="cycle">
周期从
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:58" value="1"
id="minStart_0">
-
<input class="numberspinner" style="width: 60px;" data-options="min:2,max:59" value="2"
id="minEnd_0">
分钟
</div>
<div class="line">
<input type="radio" name="min" class="startOn">
从
<input class="numberspinner" style="width: 60px;" data-options="min:0,max:59" value="0"
id="minStart_1">
分钟开始,每
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:59" value="1"
id="minEnd_1">
分钟执行一次
</div>
<div class="line">
<input type="radio" name="min" id="min_appoint">
指定
</div>
<div class="imp minList">
<input type="checkbox" value="0">00
<input type="checkbox" value="1">01
<input type="checkbox" value="2">02
<input type="checkbox" value="3">03
<input type="checkbox" value="4">04
<input type="checkbox" value="5">05
<input type="checkbox" value="6">06
<input type="checkbox" value="7">07
<input type="checkbox" value="8">08
<input type="checkbox" value="9">09
</div>
<div class="imp minList">
<input type="checkbox" value="10">10
<input type="checkbox" value="11">11
<input type="checkbox" value="12">12
<input type="checkbox" value="13">13
<input type="checkbox" value="14">14
<input type="checkbox" value="15">15
<input type="checkbox" value="16">16
<input type="checkbox" value="17">17
<input type="checkbox" value="18">18
<input type="checkbox" value="19">19
</div>
<div class="imp minList">
<input type="checkbox" value="20">20
<input type="checkbox" value="21">21
<input type="checkbox" value="22">22
<input type="checkbox" value="23">23
<input type="checkbox" value="24">24
<input type="checkbox" value="25">25
<input type="checkbox" value="26">26
<input type="checkbox" value="27">27
<input type="checkbox" value="28">28
<input type="checkbox" value="29">29
</div>
<div class="imp minList">
<input type="checkbox" value="30">30
<input type="checkbox" value="31">31
<input type="checkbox" value="32">32
<input type="checkbox" value="33">33
<input type="checkbox" value="34">34
<input type="checkbox" value="35">35
<input type="checkbox" value="36">36
<input type="checkbox" value="37">37
<input type="checkbox" value="38">38
<input type="checkbox" value="39">39
</div>
<div class="imp minList">
<input type="checkbox" value="40">40
<input type="checkbox" value="41">41
<input type="checkbox" value="42">42
<input type="checkbox" value="43">43
<input type="checkbox" value="44">44
<input type="checkbox" value="45">45
<input type="checkbox" value="46">46
<input type="checkbox" value="47">47
<input type="checkbox" value="48">48
<input type="checkbox" value="49">49
</div>
<div class="imp minList">
<input type="checkbox" value="50">50
<input type="checkbox" value="51">51
<input type="checkbox" value="52">52
<input type="checkbox" value="53">53
<input type="checkbox" value="54">54
<input type="checkbox" value="55">55
<input type="checkbox" value="56">56
<input type="checkbox" value="57">57
<input type="checkbox" value="58">58
<input type="checkbox" value="59">59
</div>
</div>
<div title="小时">
<div class="line">
<input type="radio" checked="checked" name="hour" class="everyTime">
小时 允许的通配符[, - * /]
</div>
<div class="line">
<input type="radio" name="hour" class="cycle">
周期从
<input class="numberspinner" style="width: 60px;" data-options="min:0,max:23" value="0"
id="hourStart_0">
-
<input class="numberspinner" style="width: 60px;" data-options="min:2,max:23" value="2"
id="hourEnd_1">
小时
</div>
<div class="line">
<input type="radio" name="hour" class="startOn">
从
<input class="numberspinner" style="width: 60px;" data-options="min:0,max:23" value="0"
id="hourStart_1">
小时开始,每
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:23" value="1"
id="hourEnd_1">
小时执行一次
</div>
<div class="line">
<input type="radio" name="hour" id="hour_appoint">
指定
</div>
<div class="imp hourList">
AM:
<input type="checkbox" value="0">00
<input type="checkbox" value="1">01
<input type="checkbox" value="2">02
<input type="checkbox" value="3">03
<input type="checkbox" value="4">04
<input type="checkbox" value="5">05
<input type="checkbox" value="6">06
<input type="checkbox" value="7">07
<input type="checkbox" value="8">08
<input type="checkbox" value="9">09
<input type="checkbox" value="10">10
<input type="checkbox" value="11">11
</div>
<div class="imp hourList">
PM:
<input type="checkbox" value="12">12
<input type="checkbox" value="13">13
<input type="checkbox" value="14">14
<input type="checkbox" value="15">15
<input type="checkbox" value="16">16
<input type="checkbox" value="17">17
<input type="checkbox" value="18">18
<input type="checkbox" value="19">19
<input type="checkbox" value="20">20
<input type="checkbox" value="21">21
<input type="checkbox" value="22">22
<input type="checkbox" value="23">23
</div>
</div>
<div title="日">
<div class="line">
<input type="radio" checked="checked" name="day" class="everyTime">
日 允许的通配符[, - * / L W]
</div>
<div class="line">
<input type="radio" name="day" class="unAppoint">
不指定
</div>
<div class="line">
<input type="radio" name="day" class="cycle">
周期从
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:31" value="1"
id="dayStart_0">
-
<input class="numberspinner" style="width: 60px;" data-options="min:2,max:31" value="2"
id="dayEnd_0">
日
</div>
<div class="line">
<input type="radio" name="day" class="startOn">
从
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:31" value="1"
id="dayStart_1">
日开始,每
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:31" value="1"
id="dayEnd_1">
天执行一次
</div>
<div class="line">
<input type="radio" name="day" class="workDay">
每月
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:31" value="1"
id="dayStart_2">
号最近的那个工作日
</div>
<div class="line">
<input type="radio" name="day" class="lastDay">
本月最后一天
</div>
<div class="line">
<input type="radio" name="day" id="day_appoint">
指定
</div>
<div class="imp dayList">
<input type="checkbox" value="1">1
<input type="checkbox" value="2">2
<input type="checkbox" value="3">3
<input type="checkbox" value="4">4
<input type="checkbox" value="5">5
<input type="checkbox" value="6">6
<input type="checkbox" value="7">7
<input type="checkbox" value="8">8
<input type="checkbox" value="9">9
<input type="checkbox" value="10">10
<input type="checkbox" value="11">11
<input type="checkbox" value="12">12
<input type="checkbox" value="13">13
<input type="checkbox" value="14">14
<input type="checkbox" value="15">15
<input type="checkbox" value="16">16
</div>
<div class="imp dayList">
<input type="checkbox" value="17">17
<input type="checkbox" value="18">18
<input type="checkbox" value="19">19
<input type="checkbox" value="20">20
<input type="checkbox" value="21">21
<input type="checkbox" value="22">22
<input type="checkbox" value="23">23
<input type="checkbox" value="24">24
<input type="checkbox" value="25">25
<input type="checkbox" value="26">26
<input type="checkbox" value="27">27
<input type="checkbox" value="28">28
<input type="checkbox" value="29">29
<input type="checkbox" value="30">30
<input type="checkbox" value="31">31
</div>
</div>
<div title="月">
<div class="line">
<input type="radio" checked="checked" name="mouth" class="everyTime">
月 允许的通配符[, - * /]
</div>
<div class="line">
<input type="radio" name="mouth" class="unAppoint">
不指定
</div>
<div class="line">
<input type="radio" name="mouth" class="cycle">
周期从
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:12" value="1"
id="mouthStart_0">
-
<input class="numberspinner" style="width: 60px;" data-options="min:2,max:12" value="2"
id="mouthEnd_0">
月
</div>
<div class="line">
<input type="radio" name="mouth" class="startOn">
从
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:12" value="1"
id="mouthStart_1">
日开始,每
<input class="numberspinner" style="width: 60px;" data-options="min:1,max:12" value="1"
id="mouthEnd_1">
月执行一次
</div>
<div class="line">
<input type="radio" name="mouth" id="mouth_appoint">
指定
</div>
<div class="imp mouthList">
<input type="checkbox" value="1">1
<input type="checkbox" value="2">2
<input type="checkbox" value="3">3
<input type="checkbox" value="4">4
<input type="checkbox" value="5">5
<input type="checkbox" value="6">6
<input type="checkbox" value="7">7
<input type="checkbox" value="8">8
<input type="checkbox" value="9">9
<input type="checkbox" value="10">10
<input type="checkbox" value="11">11
<input type="checkbox" value="12">12
</div>
</div>
<div title="周">
<div class="line">
<input type="radio" checked="checked" name="week" class="everyTime">
周 允许的通配符[, - * / L #]
</div>
<div class="line">
<input type="radio" name="week" class="unAppoint">
不指定
</div>
<div class="line">
<input type="radio" name="week" class="startOn">
周期 从星期<input class="numberspinner" style="width: 60px;" data-options="min:1,max:7"
id="weekStart_0" value="1">
-
<input class="numberspinner" style="width: 60px;" data-options="min:2,max:7" value="2"
id="weekEnd_0">
</div>
<div class="line">
<input type="radio" name="week" class="weekOfDay">
第<input class="numberspinner" style="width: 60px;" data-options="min:1,max:4" value="1"
id="weekStart_1">
周 的星期<input class="numberspinner" style="width: 60px;" data-options="min:1,max:7"
id="weekEnd_1" value="1">
</div>
<div class="line">
<input type="radio" name="week" class="lastWeek">
本月最后一个星期<input class="numberspinner" style="width: 60px;" data-options="min:1,max:7"
id="weekStart_2" value="1">
</div>
<div class="line">
<input type="radio" name="week" id="week_appoint">
指定
</div>
<div class="imp weekList">
<input type="checkbox" value="1">1
<input type="checkbox" value="2">2
<input type="checkbox" value="3">3
<input type="checkbox" value="4">4
<input type="checkbox" value="5">5
<input type="checkbox" value="6">6
<input type="checkbox" value="7">7
</div>
</div>
<div title="年">
<div class="line">
<input type="radio" checked="checked" name="year" class="unAppoint">
不指定 允许的通配符[, - * /] 非必填
</div>
<div class="line">
<input type="radio" name="year" class="everyTime">
每年
</div>
<div class="line">
<input type="radio" name="year" class="cycle">周期 从
<input class="numberspinner" style="width: 90px;" data-options="min:2013,max:3000"
id="yearStart_0" value="2013">
-
<input class="numberspinner" style="width: 90px;" data-options="min:2014,max:3000"
id="yearEnd_0" value="2014">
</div>
</div>
</div>
</div>
<div data-options="region:'south',border:false" style="height:140px">
<fieldset style="border-radius: 3px; height: 120px;">
<legend>表达式</legend>
<table style="height: 100px;">
<tbody>
<tr>
<td></td>
<td align="center">
秒
</td>
<td align="center">
分钟
</td>
<td align="center">
小时
</td>
<td align="center">
日
</td>
<td align="center">
月<br />
</td>
<td align="center">
星期
</td>
<td align="center">
年
</td>
</tr>
<tr>
<td>
表达式字段:
</td>
<td>
<input type="text" name="v_second" class="col" value="*" readonly="readonly" />
</td>
<td>
<input type="text" name="v_min" class="col" value="*" readonly="readonly" />
</td>
<td>
<input type="text" name="v_hour" class="col" value="*" readonly="readonly" />
</td>
<td>
<input type="text" name="v_day" class="col" value="*" readonly="readonly" />
</td>
<td>
<input type="text" name="v_mouth" class="col" value="*" readonly="readonly" />
</td>
<td>
<input type="text" name="v_week" class="col" value="?" readonly="readonly" />
</td>
<td>
<input type="text" name="v_year" class="col" readonly="readonly" />
</td>
</tr>
<tr>
<td>Cron 表达式:</td>
<td colspan="6">
<input type="text" name="cron" style="width: 100%;" value="* * * * * ?" id="cron" />
</td>
<td><input type="button" value="反解析到UI " id="btnFan" /></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
</div>
</center>
</div>
<div id="DivConfigMethodParams" hidden>
<form class="layui-form layui-form-pane" action="">
<div class="layui-card">
<div class="layui-row" id="ConfigMethodParams">
</div>
</div>
</form>
</div>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/productjs/job/SysJob.js?v=2019.08.17"></script>
<script type="text/javascript" src="/basejs/Common.js?v=2019.08.17"></script>