|
@@ -46,185 +46,275 @@
|
46
|
46
|
</div> -->
|
47
|
47
|
|
48
|
48
|
<style>
|
49
|
|
- .inspectlistsearch{
|
50
|
|
- width: 30%!important;
|
51
|
|
- margin-right: 16px
|
52
|
|
- }
|
53
|
|
- .iptSize{
|
54
|
|
- width: 60%!important;
|
55
|
|
- height: 28px!important;
|
56
|
|
- }
|
57
|
|
- .tree-control .tree-input{
|
58
|
|
- min-height:28px!important
|
59
|
|
- }
|
60
|
|
- .searchBtnBox>.btn {
|
61
|
|
- margin: 0 8px 10px 0;
|
62
|
|
- }
|
|
49
|
+ .inspectlistsearch {
|
|
50
|
+ width: 30% !important;
|
|
51
|
+ margin-right: 16px;
|
|
52
|
+ }
|
|
53
|
+ .iptSize {
|
|
54
|
+ width: 60% !important;
|
|
55
|
+ height: 28px !important;
|
|
56
|
+ }
|
|
57
|
+ .tree-control .tree-input {
|
|
58
|
+ min-height: 28px !important;
|
|
59
|
+ }
|
|
60
|
+ .searchBtnBox > .btn {
|
|
61
|
+ margin: 0 8px 10px 0;
|
|
62
|
+ }
|
63
|
63
|
</style>
|
64
|
64
|
<div ng-controller="inspectListCtrl">
|
65
|
|
- <!-- <section id="page-title">
|
|
65
|
+ <!-- <section id="page-title">
|
66
|
66
|
<div class="row">
|
67
|
67
|
<div class="col-sm-8">
|
68
|
68
|
<h1 class="mainTitle">巡检列表</h1><span class="mainDescription">巡检列表,点击操作处理任务</span></div>
|
69
|
69
|
</div>
|
70
|
70
|
</section> -->
|
71
|
|
- <section id="page-title">
|
72
|
|
- <div class="row">
|
73
|
|
- <div class="col-sm-8">
|
74
|
|
- <h1 class="mainTitle">巡检列表<i tooltip='巡检列表,点击操作处理任务' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
|
|
71
|
+ <section id="page-title">
|
|
72
|
+ <div class="row">
|
|
73
|
+ <div class="col-sm-8">
|
|
74
|
+ <h1 class="mainTitle">
|
|
75
|
+ 巡检列表<i
|
|
76
|
+ tooltip="巡检列表,点击操作处理任务"
|
|
77
|
+ tooltip-placement="right"
|
|
78
|
+ class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"
|
|
79
|
+ ></i>
|
|
80
|
+ </h1>
|
|
81
|
+ </div>
|
|
82
|
+ </div>
|
|
83
|
+ </section>
|
|
84
|
+ <!-- <div class="row searchlistback margin-top-15" id="searchid"> -->
|
|
85
|
+ <div class="list-controls clearfix">
|
|
86
|
+ <div class="btn-group">
|
|
87
|
+ <button
|
|
88
|
+ class="btn btn-statebutton statebutton keepleftbottom"
|
|
89
|
+ ng-click="onChange('all')"
|
|
90
|
+ ng-class="{'statecolor':searchstate=='all'}"
|
|
91
|
+ >
|
|
92
|
+ 全部
|
|
93
|
+ </button>
|
|
94
|
+ <button
|
|
95
|
+ class="btn btn-statebutton statebutton"
|
|
96
|
+ ng-class="{'statecolor':searchstate=='todo'}"
|
|
97
|
+ ng-click="onChange('todo')"
|
|
98
|
+ >
|
|
99
|
+ 待处理
|
|
100
|
+ </button>
|
|
101
|
+ <button
|
|
102
|
+ class="btn btn-statebutton statebutton"
|
|
103
|
+ ng-class="{'statecolor':searchstate=='done'}"
|
|
104
|
+ ng-click="onChange('done')"
|
|
105
|
+ >
|
|
106
|
+ 处理过
|
|
107
|
+ </button>
|
|
108
|
+ </div>
|
|
109
|
+ </div>
|
|
110
|
+ <div class="row searchlistback" id="searchid">
|
|
111
|
+ <div class="col-xs-10" style="padding-right: 0px !important">
|
|
112
|
+ <form class="form-inline incidentsearchsize col-xs-12">
|
|
113
|
+ <div class="form-group inspectlistsearch">
|
|
114
|
+ <div>
|
|
115
|
+ <div class="control-label pull-left" style="padding-top: 4px">
|
|
116
|
+ 计划主题:
|
75
|
117
|
</div>
|
|
118
|
+ <ui-select
|
|
119
|
+ class="pull-right iptSize"
|
|
120
|
+ ng-model="tData.title" ng-change="changeTitle()"
|
|
121
|
+ theme="bootstrap"
|
|
122
|
+ >
|
|
123
|
+ <ui-select-match placeholder="">
|
|
124
|
+ {{$select.selected.title}}
|
|
125
|
+ </ui-select-match>
|
|
126
|
+ <ui-select-choices repeat="item in titleData">
|
|
127
|
+ <div
|
|
128
|
+ ng-bind-html="item.title | highlight: $select.search"
|
|
129
|
+ ></div>
|
|
130
|
+ </ui-select-choices>
|
|
131
|
+ </ui-select>
|
|
132
|
+ </div>
|
76
|
133
|
</div>
|
77
|
|
- </section>
|
78
|
|
- <!-- <div class="row searchlistback margin-top-15" id="searchid"> -->
|
79
|
|
- <div class="list-controls clearfix">
|
80
|
|
- <div class="btn-group">
|
81
|
|
- <button class="btn btn-statebutton statebutton keepleftbottom" ng-click="onChange('all')" ng-class="{'statecolor':searchstate=='all'}">全部</button>
|
82
|
|
- <button class="btn btn-statebutton statebutton" ng-class="{'statecolor':searchstate=='todo'}" ng-click="onChange('todo')">待处理</button>
|
83
|
|
- <button class="btn btn-statebutton statebutton" ng-class="{'statecolor':searchstate=='done'}" ng-click="onChange('done')">处理过</button>
|
|
134
|
+ <div class="form-group inspectlistsearch">
|
|
135
|
+ <div>
|
|
136
|
+ <div class="control-label pull-left" style="padding-top: 4px">
|
|
137
|
+ 批次号:
|
|
138
|
+ </div>
|
|
139
|
+ <ui-select
|
|
140
|
+ class="pull-right iptSize"
|
|
141
|
+ ng-model="tData.batchNo"
|
|
142
|
+ theme="bootstrap"
|
|
143
|
+ >
|
|
144
|
+ <ui-select-match placeholder="">
|
|
145
|
+ {{$select.selected.batchNo}}
|
|
146
|
+ </ui-select-match>
|
|
147
|
+ <ui-select-choices repeat="item in batchNoData">
|
|
148
|
+ <div
|
|
149
|
+ ng-bind-html="item.batchNo | highlight: $select.search"
|
|
150
|
+ ></div>
|
|
151
|
+ </ui-select-choices>
|
|
152
|
+ </ui-select>
|
|
153
|
+ </div>
|
|
154
|
+ </div>
|
|
155
|
+ <div class="form-group inspectlistsearch">
|
|
156
|
+ <div class="pull-left" style="padding-top: 4px">巡检类型:</div>
|
|
157
|
+ <div class="pull-right iptSize" style="display: inline">
|
|
158
|
+ <div>
|
|
159
|
+ <multi-select-tree
|
|
160
|
+ ng-model="model.inspectionProcessActual.inspectionType"
|
|
161
|
+ data-input-model="my_data"
|
|
162
|
+ data-output-model="model.inspectionProcessActual.inspectionType"
|
|
163
|
+ theme="bootstrap"
|
|
164
|
+ multi-select="false"
|
|
165
|
+ data-default-label=""
|
|
166
|
+ data-callback="onFilterCallback(item)"
|
|
167
|
+ data-select-only-leafs="false"
|
|
168
|
+ reset-search-input="false"
|
|
169
|
+ data-trans-label="label"
|
|
170
|
+ data-switch-view="false"
|
|
171
|
+ ></multi-select-tree>
|
|
172
|
+ </div>
|
|
173
|
+ </div>
|
84
|
174
|
</div>
|
85
|
|
- </div>
|
86
|
|
- <div class="row searchlistback" id="searchid">
|
87
|
|
- <div class="col-xs-10" style="padding-right: 0px !important;">
|
88
|
|
- <form class="form-inline incidentsearchsize col-xs-12">
|
89
|
|
- <div class="form-group inspectlistsearch ">
|
90
|
|
- <div>
|
91
|
|
- <div class="control-label pull-left" style="padding-top:4px">计划主题:</div>
|
92
|
|
- <input class="form-control pull-right inputcolor iptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="model.inspectionProcessActual.inspection.title" placeholder="" />
|
93
|
|
- </div>
|
94
|
|
- </div>
|
95
|
|
- <div class="form-group inspectlistsearch ">
|
96
|
|
- <div class=" pull-left" style="padding-top:4px">巡检类型:</div>
|
97
|
|
- <div class="pull-right iptSize" style="display:inline">
|
98
|
|
- <div>
|
99
|
|
- <multi-select-tree ng-model="model.inspectionProcessActual.inspectionType" data-input-model="my_data" data-output-model="model.inspectionProcessActual.inspectionType" theme="bootstrap" multi-select="false" data-default-label="" data-callback="onFilterCallback(item)" data-select-only-leafs="true" reset-search-input="false"
|
100
|
|
- data-trans-label="label" data-switch-view="false"></multi-select-tree>
|
101
|
|
- </div>
|
102
|
|
- </div>
|
103
|
|
- </div>
|
104
|
|
- <div class="form-group inspectlistsearch ">
|
105
|
|
- <div class=" pull-left" style="padding-top:4px">处理人:</div>
|
106
|
|
- <ui-select class="pull-right iptSize" ng-model="model.inspectionProcessActual.inspection.executeUser"
|
107
|
|
- theme="bootstrap">
|
108
|
|
- <ui-select-match placeholder="">
|
109
|
|
- {{$select.selected.name}}
|
110
|
|
- </ui-select-match>
|
111
|
|
- <ui-select-choices repeat="item in executeUserData">
|
112
|
|
- <div ng-bind-html="item.name | highlight: $select.search"></div>
|
113
|
|
- </ui-select-choices>
|
114
|
|
- </ui-select>
|
115
|
|
- </div>
|
116
|
|
- <div class="form-group inspectlistsearch ">
|
117
|
|
- <div class=" pull-left" style="padding-top:4px">创建人:</div>
|
118
|
|
- <ui-select class="pull-right iptSize" ng-model="model.inspectionProcessActual.inspection.createUser"
|
119
|
|
- theme="bootstrap">
|
120
|
|
- <ui-select-match placeholder="">
|
121
|
|
- {{$select.selected.name}}
|
122
|
|
- </ui-select-match>
|
123
|
|
- <ui-select-choices repeat="item in createUserData">
|
124
|
|
- <div ng-bind-html="item.name | highlight: $select.search"></div>
|
125
|
|
- </ui-select-choices>
|
126
|
|
- </ui-select>
|
127
|
|
- </div>
|
128
|
|
- <!-- <div class="form-group inspectlistsearch ">
|
|
175
|
+ <div class="form-group inspectlistsearch">
|
|
176
|
+ <div class="pull-left" style="padding-top: 4px">处理人:</div>
|
|
177
|
+ <ui-select
|
|
178
|
+ class="pull-right iptSize"
|
|
179
|
+ ng-model="model.inspectionProcessActual.inspection.executeUser"
|
|
180
|
+ theme="bootstrap"
|
|
181
|
+ >
|
|
182
|
+ <ui-select-match placeholder="">
|
|
183
|
+ {{$select.selected.name}}
|
|
184
|
+ </ui-select-match>
|
|
185
|
+ <ui-select-choices repeat="item in executeUserData">
|
|
186
|
+ <div ng-bind-html="item.name | highlight: $select.search"></div>
|
|
187
|
+ </ui-select-choices>
|
|
188
|
+ </ui-select>
|
|
189
|
+ </div>
|
|
190
|
+ <!-- <div class="form-group inspectlistsearch">
|
|
191
|
+ <div class="pull-left" style="padding-top: 4px">创建人:</div>
|
|
192
|
+ <ui-select
|
|
193
|
+ class="pull-right iptSize"
|
|
194
|
+ ng-model="model.inspectionProcessActual.inspection.createUser"
|
|
195
|
+ theme="bootstrap"
|
|
196
|
+ >
|
|
197
|
+ <ui-select-match placeholder="">
|
|
198
|
+ {{$select.selected.name}}
|
|
199
|
+ </ui-select-match>
|
|
200
|
+ <ui-select-choices repeat="item in createUserData">
|
|
201
|
+ <div ng-bind-html="item.name | highlight: $select.search"></div>
|
|
202
|
+ </ui-select-choices>
|
|
203
|
+ </ui-select>
|
|
204
|
+ </div> -->
|
|
205
|
+ <!-- <div class="form-group inspectlistsearch ">
|
129
|
206
|
<div class=" pull-left" style="padding-top:4px">创建时间:</div>
|
130
|
207
|
<input type="text" class="pull-right iptSize" datepicker-popuptime="yyyy-MM-dd"
|
131
|
208
|
ng-model="inspecttype.createTime" max-date="searchkeys.acceptDateEnd" is-open="startOpened"
|
132
|
209
|
hour-time=true ng-init="startOpened = false" close-text="关闭" ng-click="startOpen($event)"
|
133
|
210
|
placeholder="" />
|
134
|
211
|
</div> -->
|
135
|
|
- <div class="form-group inspectlistsearch">
|
136
|
|
- <div class=" pull-left" style="padding-top:4px">状态:</div>
|
137
|
|
- <ui-select class="pull-right iptSize" ng-model="statusData.state"
|
138
|
|
- theme="bootstrap">
|
139
|
|
- <ui-select-match placeholder="">
|
140
|
|
- {{$select.selected.name}}
|
141
|
|
- </ui-select-match>
|
142
|
|
- <ui-select-choices repeat="item in statusData">
|
143
|
|
- <div ng-bind-html="item.name | highlight: $select.search"></div>
|
144
|
|
- </ui-select-choices>
|
145
|
|
- </ui-select>
|
146
|
|
- </div>
|
147
|
|
- <!-- <div class="form-group inspectlistsearch">
|
|
212
|
+ <div class="form-group inspectlistsearch">
|
|
213
|
+ <div class="pull-left" style="padding-top: 4px">状态:</div>
|
|
214
|
+ <ui-select
|
|
215
|
+ class="pull-right iptSize"
|
|
216
|
+ ng-model="statusData.state"
|
|
217
|
+ theme="bootstrap"
|
|
218
|
+ >
|
|
219
|
+ <ui-select-match placeholder="">
|
|
220
|
+ {{$select.selected.name}}
|
|
221
|
+ </ui-select-match>
|
|
222
|
+ <ui-select-choices repeat="item in statusData">
|
|
223
|
+ <div ng-bind-html="item.name | highlight: $select.search"></div>
|
|
224
|
+ </ui-select-choices>
|
|
225
|
+ </ui-select>
|
|
226
|
+ </div>
|
|
227
|
+ <!-- <div class="form-group inspectlistsearch">
|
148
|
228
|
<div class="pull-right">
|
149
|
229
|
<div class="control-label pull-left" style="padding-top:4px">计划主题:</div>
|
150
|
230
|
<input class="form-control pull-right inputcolor" style="width:170px !important;border-color: #dedede;color: #93989e;" type="text" ng-model="inspectdata.title" placeholder="" />
|
151
|
231
|
</div>
|
152
|
232
|
</div> -->
|
153
|
|
- </form>
|
154
|
|
- </div>
|
155
|
|
- <div class="col-xs-2">
|
156
|
|
- <div>
|
157
|
|
- <!-- <div class="centerdiv-one"></div> -->
|
158
|
|
- <div class="pull-left margin-top-10 searchBtnBox">
|
159
|
|
- <!-- <div class="form-group"> -->
|
160
|
|
- <!-- <a class="btn btn-searchbutton steelbutton" id="jry_searchBtn" ng-click="searchinspectlist(inspecttype)" type="button">搜索</a> -->
|
161
|
|
- <div class="btn btn_search" ng-click="searchinspectlist(inspecttype)"><span>搜索</span></div>
|
162
|
|
- <div class="btn btn_clean" ng-click="clean()">重置</div>
|
163
|
|
- <!-- <a ladda="ldloading.expand_right" class="btn btn-primary" data-style="expand-right" ng-click="reload()">
|
|
233
|
+ </form>
|
|
234
|
+ </div>
|
|
235
|
+ <div class="col-xs-2">
|
|
236
|
+ <div>
|
|
237
|
+ <!-- <div class="centerdiv-one"></div> -->
|
|
238
|
+ <div class="pull-left margin-top-10 searchBtnBox">
|
|
239
|
+ <!-- <div class="form-group"> -->
|
|
240
|
+ <!-- <a class="btn btn-searchbutton steelbutton" id="jry_searchBtn" ng-click="searchinspectlist(inspecttype)" type="button">搜索</a> -->
|
|
241
|
+ <div class="btn btn_search" ng-click="searchinspectlist(inspecttype)">
|
|
242
|
+ <span>搜索</span>
|
|
243
|
+ </div>
|
|
244
|
+ <div class="btn btn_clean" ng-click="clean()">重置</div>
|
|
245
|
+ <!-- <a ladda="ldloading.expand_right" class="btn btn-primary" data-style="expand-right" ng-click="reload()">
|
164
|
246
|
<span translate="list.button.REFRESH">Refresh Data</span>
|
165
|
247
|
<i class="ti-reload" />
|
166
|
248
|
</a> -->
|
167
|
|
- <!-- <button ladda="ldloading.expand_right" type="button" class="btn btn-reashbutton reashbutton jry_reashbutton" data-style="expand-right" ng-click="reload()">
|
|
249
|
+ <!-- <button ladda="ldloading.expand_right" type="button" class="btn btn-reashbutton reashbutton jry_reashbutton" data-style="expand-right" ng-click="reload()">
|
168
|
250
|
<span translate="list.button.REFRESH">Refresh Data</span>
|
169
|
251
|
</button> -->
|
170
|
|
- <!-- <a ladda="ldloading.expand_right" class="btn btn-reashbutton reashbutton" data-style="expand-right" ng-click="reload()">
|
|
252
|
+ <!-- <a ladda="ldloading.expand_right" class="btn btn-reashbutton reashbutton" data-style="expand-right" ng-click="reload()">
|
171
|
253
|
<span translate="list.button.REFRESH">Refresh Data</span>
|
172
|
254
|
</a> -->
|
173
|
|
- <!-- <button type="button" id="addData" class="btn btn-success" ng-click="addData()">
|
|
255
|
+ <!-- <button type="button" id="addData" class="btn btn-success" ng-click="addData()">
|
174
|
256
|
<span translate="list.button.CREATE">Add Data</span>
|
175
|
257
|
<i class="ti-plus"/>
|
176
|
258
|
</button> -->
|
177
|
|
- <!--<button type="button" id="removeData" class="btn btn-warning" ng-click="removeData()" ng-disabled="selected.items.length==0">-->
|
178
|
|
- <!-- <button type="button" id="removeData" class="btn btn-warning" ng-click="removeData()" ng-disabled="selected.items.length==0">
|
|
259
|
+ <!--<button type="button" id="removeData" class="btn btn-warning" ng-click="removeData()" ng-disabled="selected.items.length==0">-->
|
|
260
|
+ <!-- <button type="button" id="removeData" class="btn btn-warning" ng-click="removeData()" ng-disabled="selected.items.length==0">
|
179
|
261
|
<span translate=" list.button.REMOVE ">Remove First Row</span>
|
180
|
262
|
<i class="ti-trash "/>
|
181
|
263
|
</button> -->
|
182
|
|
- </div>
|
183
|
|
- </div>
|
184
|
|
- <!-- </div>
|
185
|
|
- </div> -->
|
186
|
264
|
</div>
|
|
265
|
+ </div>
|
|
266
|
+ <!-- </div>
|
|
267
|
+ </div> -->
|
187
|
268
|
</div>
|
188
|
|
- <div class="jry_gridBg">
|
189
|
|
- <div ui-i18n="{{lang}}">
|
190
|
|
- <div class=" ">
|
191
|
|
- <div id="grid1 " ui-grid="gridOptions " ui-grid-pagination external-scopes="$scope " ui-grid-resize-columns ui-grid-auto-resize class="grid "></div>
|
192
|
|
- </div>
|
193
|
|
- </div>
|
|
269
|
+ </div>
|
|
270
|
+ <div class="jry_gridBg">
|
|
271
|
+ <div ui-i18n="{{lang}}">
|
|
272
|
+ <div class=" ">
|
|
273
|
+ <div
|
|
274
|
+ id="grid1 "
|
|
275
|
+ ui-grid="gridOptions "
|
|
276
|
+ ui-grid-pagination
|
|
277
|
+ external-scopes="$scope "
|
|
278
|
+ ui-grid-resize-columns
|
|
279
|
+ ui-grid-auto-resize
|
|
280
|
+ class="grid"
|
|
281
|
+ ></div>
|
|
282
|
+ </div>
|
194
|
283
|
</div>
|
|
284
|
+ </div>
|
195
|
285
|
</div>
|
196
|
286
|
<style>
|
197
|
|
- .jry_gridBg{
|
198
|
|
- padding: 15px;
|
199
|
|
- background: #f9f9f9;
|
200
|
|
- }
|
201
|
|
- /* tab点击颜色 */
|
202
|
|
- .statecolor{
|
203
|
|
- background-color: #005395!important
|
204
|
|
- }
|
205
|
|
- /* 搜索按钮 */
|
206
|
|
- #jry_searchBtn{
|
207
|
|
- width: 60px;
|
208
|
|
- height: 34px!important;
|
209
|
|
- border-radius: 2px;
|
210
|
|
- background-color: #005395;
|
211
|
|
- padding: 6px 0px!important
|
212
|
|
- }
|
213
|
|
- #jry_searchBtn:hover{
|
214
|
|
- background-color: #004279!important
|
215
|
|
- }
|
216
|
|
- /* 刷新按钮 */
|
217
|
|
- .jry_reashbutton{
|
218
|
|
- width: 60px;
|
219
|
|
- height: 34px;
|
220
|
|
- border-radius: 2px!important;
|
221
|
|
- border:1px #005395 solid;
|
222
|
|
- color: #005395;
|
223
|
|
- background-color: #e6eef4!important;
|
224
|
|
- padding: 0 6px!important
|
225
|
|
- }
|
226
|
|
- .jry_reashbutton:hover{
|
227
|
|
- color: #005395;
|
228
|
|
- background-color: #e6eef4!important;
|
229
|
|
- }
|
230
|
|
-</style>
|
|
287
|
+ .jry_gridBg {
|
|
288
|
+ padding: 15px;
|
|
289
|
+ background: #f9f9f9;
|
|
290
|
+ }
|
|
291
|
+ /* tab点击颜色 */
|
|
292
|
+ .statecolor {
|
|
293
|
+ background-color: #005395 !important;
|
|
294
|
+ }
|
|
295
|
+ /* 搜索按钮 */
|
|
296
|
+ #jry_searchBtn {
|
|
297
|
+ width: 60px;
|
|
298
|
+ height: 34px !important;
|
|
299
|
+ border-radius: 2px;
|
|
300
|
+ background-color: #005395;
|
|
301
|
+ padding: 6px 0px !important;
|
|
302
|
+ }
|
|
303
|
+ #jry_searchBtn:hover {
|
|
304
|
+ background-color: #004279 !important;
|
|
305
|
+ }
|
|
306
|
+ /* 刷新按钮 */
|
|
307
|
+ .jry_reashbutton {
|
|
308
|
+ width: 60px;
|
|
309
|
+ height: 34px;
|
|
310
|
+ border-radius: 2px !important;
|
|
311
|
+ border: 1px #005395 solid;
|
|
312
|
+ color: #005395;
|
|
313
|
+ background-color: #e6eef4 !important;
|
|
314
|
+ padding: 0 6px !important;
|
|
315
|
+ }
|
|
316
|
+ .jry_reashbutton:hover {
|
|
317
|
+ color: #005395;
|
|
318
|
+ background-color: #e6eef4 !important;
|
|
319
|
+ }
|
|
320
|
+</style>
|