search.html
10.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<link rel="stylesheet" href="./bootstrap.css">
<link rel="stylesheet/less" type="text/css" href="../less/type.less" />
<link rel="stylesheet/less" type="text/css" href="../less/grid.less" />
<link rel="stylesheet/less" type="text/css" href="../less/button.less" />
<link rel="stylesheet/less" type="text/css" href="../less/search.less" />
<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.3/less.min.js"></script>
<script src="http://xn-static.oss-cn-hangzhou.aliyuncs.com/js/base/1.1.0/base.min.js"></script>
<body ng-controller="BodyController">
<div class="clearfix xn-width auto">
<div class="xn-search mt_20">
<div class="clearfix mb-10">
<a class="btn btn-sm xn_back_btn" href="fastsearch.vm">切换到快速搜索>></a>
</div>
<form class="form-horizontal clearfix xn-form mt_20" name="searchForm" novalidate="" role="form">
<div class="xn_search_box auto">
<div class="xn-input-line clearfix">
<label class="xn-lh xn-text-right xn-col-md-3">单据编号:</label>
<div class="xn-col-md-4">
<input type="text" class="form-control" name="number" id="number" ng-model="vm.businessNumber">
</div>
<div class="xn-col-md-1"></div>
<label class="xn-lh xn-text-right xn-col-md-3">申请人:</label>
<div class="xn-col-md-4">
<input type="text" class="form-control" name="number" id="number" ng-model="vm.businessNumber">
</div>
<div class="xn-col-md-1"></div>
<label class="xn-lh xn-text-right xn-col-md-3">关键字:</label>
<div class="xn-col-md-4">
<input type="text" class="form-control" name="keyword" id="keyword" ng-model="vm.keyword">
</div>
<div class="xn-col-md-1"></div>
</div>
<div class="xn-input-line clearfix">
<label class="xn-lh xn-text-right xn-col-md-3">申请日期:</label>
<div class="xn-col-md-4">
<div class="input-group openData ">
<input type="text" class="form-control" id="applyDate" name="applyEndDate" ng-model="vm.submitTimeTo"
datepicker-popup="yyyy-MM-dd" is-open="endDate" datepicker-options="dateOptions" close-text="关闭" min-date="vm.submitTimeFrom"
clear-text="清除" current-text="今天" today-disabled="false">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="startDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<label class="xn-lh f-left mr_10 ml_10">至:</label>
<div class="xn-col-md-4">
<div class="input-group openData ">
<input type="text" class="form-control" id="applyDate" name="applyStartDate" ng-model="vm.submitTimeFrom"
datepicker-popup="yyyy-MM-dd" is-open="startDate" datepicker-options="dateOptions" close-text="关闭" max-date="vm.submitTimeTo"
clear-text="清除" current-text="今天" today-disabled="false">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="endDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<div class="xn-col-md-8">
<label class="f-left xn-lh xn-cursor mr-10"><input type="radio" value="">最近一周</label>
<label class="f-left xn-lh xn-cursor mr-10"><input type="radio" value="">最近一周</label>
<label class="f-left xn-lh xn-cursor mr-10"><input type="radio" value="">最近一周</label>
</div>
<div class="xn-col-md-1"></div>
</div>
</div>
</form>
</div>
</div>
<div class="xn-width auto clearfix">
<div class="xn-search-many clearfix">
<div class="is-show clearfix">
<span >显示搜索<i class="icon icon-down ml_10"></i></span>
</div>
<div class="xn-input-line clearfix">
<label class="xn-lh xn-text-right xn-col-md-3">单据编号:</label>
<div class="xn-col-md-4">
<input type="text" class="form-control" name="number" id="number" ng-model="vm.businessNumber">
</div>
<div class="xn-col-md-1"></div>
<label class="xn-lh xn-text-right xn-col-md-3">申请人:</label>
<div class="xn-col-md-4">
<input type="text" class="form-control" name="number" id="number" ng-model="vm.businessNumber">
</div>
<div class="xn-col-md-1"></div>
<label class="xn-lh xn-text-right xn-col-md-3">关键字:</label>
<div class="xn-col-md-4">
<input type="text" class="form-control" name="keyword" id="keyword" ng-model="vm.keyword">
</div>
<div class="xn-col-md-1"></div>
</div>
<div class="xn-input-line clearfix">
<label class="xn-lh xn-text-right xn-col-md-3">申请日期:</label>
<div class="xn-col-md-4">
<div class="input-group openData ">
<input type="text" class="form-control" id="applyDate" name="applyStartDate" ng-model="vm.submitTimeFrom"
datepicker-popup="yyyy-MM-dd" is-open="startDate2" datepicker-options="dateOptions" close-text="关闭" max-date="vm.submitTimeTo"
clear-text="清除" current-text="今天" today-disabled="false">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="endDate2($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<label class="xn-lh f-left mr_10 ml_10">至:</label>
<div class="xn-col-md-4">
<div class="input-group openData ">
<input type="text" class="form-control" id="applyDate" name="applyEndDate" ng-model="vm.submitTimeTo"
datepicker-popup="yyyy-MM-dd" is-open="endDate2" datepicker-options="dateOptions" close-text="关闭" min-date="vm.submitTimeFrom"
clear-text="清除" current-text="今天" today-disabled="false">
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="openEndData2($event)"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<div class="xn-col-md-8">
<label class="f-left xn-lh xn-cursor mr-10"><input type="radio" value="">最近一周</label>
<label class="f-left xn-lh xn-cursor mr-10"><input type="radio" value="">最近一周</label>
<label class="f-left xn-lh xn-cursor mr-10"><input type="radio" value="">最近一周</label>
</div>
<div class="xn-col-md-1"></div>
</div>
<div class="xn-input-line clearfix">
<label class="xn-lh xn-text-right xn-col-md-3">流程状态:</label>
<div class="xn-col-md-9">
<div type="checkbox" xn-checkbox-list checkbox-list="statusList" ng-model="flowStatus" ></div>
</div>
<label class="xn-lh xn-text-right xn-col-md-3">操作类型:</label>
<div class="xn-col-md-9">
<div type="checkbox" xn-checkbox-list checkbox-list="submitActionList" ng-model="submitActions" ></div>
</div>
</div>
<div class="xn-input-line clearfix">
<div class="xn-col-md-offset-3 ">
<button class="btn btn-primary " ng-click="doSearch()">查询</button>
</div>
<div class="is-hide clearfix ">
<span >显示搜索<i class="icon icon-up ml_10"></i></span>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var initApp = function () {
angular.module("xn",["ui.bootstrap"])
.controller("BodyController", ["$scope",
function ($scope) {
$scope.endDate = false;
$scope.startDate = false;
$scope.endDate2 = false;
$scope.endDate2 = false;
$scope.startDate = function ($event) {
$event.preventDefault();
$event.stopPropagation();
$scope.endDate = true;
};
$scope.openEndData = function ($event) {
$event.preventDefault();
$event.stopPropagation();
$scope.startDate = true;
};
$scope.startDate2 = function ($event) {
$event.preventDefault();
$event.stopPropagation();
$scope.endDate2 = true;
};
$scope.openEndData2 = function ($event) {
$event.preventDefault();
$event.stopPropagation();
$scope.startDate2 = true;
};
}]);
};
/*犀牛ng-app的运用*/
angular.element(document).ready(function() {
initApp();
angular.bootstrap(document.body, ['xn']);
});
</script>
</body>
</html>