1
13693261870
2022-09-16 762f2fb45db004618ba099aa3c0bd89dba1eb843
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
<!DOCTYPE html>
<html>
    <head>
        <title>日志表</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <script src="../../../js/paramconfig.js"></script>
        <script type="text/javascript">
        //脚本,css引用
        remoteToLoadCss('BootStrap4/assets/css/style.css');
        remoteToLoadCss('BootStrap4/expand/css/bootstrap-extract.css');
        loadLocalCss('../../../css/jquery-ui.min.css');
        remoteToLoadCss('BootStrap4/assets/plugins/bootstrap-datepicker/old_datepaker/datepicker.css');
        
        remoteToLoadCss('BootStrap4/assets/css/style.css');
        remoteToLoadCss('BootStrap4/expand/css/bootstrap-extract.css');
        remoteToLoadCss('BootStrap4/expand/plugins/jqgrid/ui.jqgrid-bootstrap.css');
        
        remoteToLoadCss('BootStrap4/expand/css/jqGridCommon.css');
 
        
        remoteToLoadJs('BootStrap4/assets/js/jquery.min.js');
        remoteToLoadJs('BootStrap4/expand/plugins/layer/layer.js');
        remoteToLoadJs('BootStrap4/assets/js/tether.min.js');
        remoteToLoadJs('BootStrap4/assets/js/bootstrap.min.js');
        
        loadLocalJs('../../../libs/vue.min.js');
        
        remoteToLoadJs('BootStrap4/expand/plugins/jqgrid/grid.locale-cn.js');
        remoteToLoadJs('BootStrap4/expand/plugins/jqgrid/jquery.jqGrid.min.js');
        loadLocalJs('../../../js/jquery-ui.min.js');
        remoteToLoadJs('BootStrap4/assets/plugins/bootstrap-datepicker/old_datepaker/bootstrap-datepicker.js');
        remoteToLoadJs('BootStrap4/assets/plugins/bootstrap-datepicker/old_datepaker/bootstrap-datepicker.zh-CN.min.js');
        
        loadLocalJs('../../../js/common.js'); 
 
        </script>
        <style>
            html { overflow-x:hidden; }
 
            body {
                background-color: white;
                padding-bottom: 0;
            }
 
            th {
                text-align: center;
            }
            
            .col-xs-12,
            .col-sm-12,
            .col-md-6,
            .col-lg-4,
            .col-xl-3{
                padding-left: 0;
                padding-right: 0;
            }
            .ui-autocomplete{
                max-height:100px;
                overflow-y:auto;
                overflow-x:hidden;
            }
 
            #searchForm .col-sm-4 {
                padding: 0;
            }
        </style>
    </head>
    <body>
        <div id="rapp" v-cloak>
            <div v-show="showList">
                <div class="panel panel-default">
                    <div class="panel-heading"> 查询区 </div>
                    <div class="panel-body SearchBox">
                        <form id="searchForm">
                            <div class="row">
                                <div class="col-sm-12 col-md-6 col-lg-4 col-xl-4 DivHeight">
                                    <label class="control-label">作业名称</label>
                                    <div class="controls">
                                        <input type="text" class="form-control" id="jobname"  name="jobname" />
                                    </div>
                                </div>
                                <div class="col-sm-12 col-md-6 col-lg-4 col-xl-4 DivHeight">
                                    <label class="control-label">作业状态</label>
                                    <div class="controls">
                                        <select class="form-control" id="status" name="status">
                                            <option value="">全部</option>
                                            <option value="start">开始</option>
                                            <option value="end">结束</option>
                                            <option value="stop">停止</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-sm-12 col-md-6 col-lg-4 col-xl-4 DivHeight">
                                    <label class="control-label">更新时间</label>
                                    <div class="controls">
                                        <input type="text" readonly="readonly" class="custom-form-control  date-picker" id="logdatebegin" style="width: 48.5%; display: inline-block;" />
 
                                        <input type="text" readonly="readonly" class="custom-form-control  date-picker" id="logdatefinish" style="width:48.5%; display: inline-block;" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-12 col-md-6 col-lg-12 col-xl-12" style="display:block;">
                                    <div style="float: right;padding-right: 0.75em;">
                                        <a class="btn btn-primary-outline" @click="query"><i class="fa fa-search"></i>&nbsp;查询</a>
                                        <a class="btn btn-primary-outline" onclick="resetForm('searchForm')"><i class="fa fa-trash-o"></i>&nbsp;清除</a>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                <table id="jqGrid"></table>
                <div id="jqGridPager"></div>
            </div>
        </div>
        <div class="modal fade" id="logModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog" style="width: 700px;">
                <div class="modal-content">
                    <div class="modal-header">
                        文本日志
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                            &times;
                        </button>
                    </div>
                    <div class="modal-body">
                        <div id="logDiv" style="width: 100%;"></div>
                    </div>
                </div>
            </div>
        </div>
        <script src="../../../js/modules/log/kettle_job.js"></script>
        <script>
            $(function () {
                $(".date-picker").datepicker({
                    language: 'zh-CN',
                    format: 'yyyy-mm-dd'
                }); //初始化时间控件
            })
        </script>
    </body>
</html>