|
@@ -81,6 +81,12 @@ app.controller("inspectReportCtrl", [
|
81
|
81
|
${docHead}
|
82
|
82
|
<body onLoad="window.print()">
|
83
|
83
|
<style>
|
|
84
|
+ .ui-grid-row{
|
|
85
|
+ margin-top:0!important;
|
|
86
|
+ }
|
|
87
|
+ .ui-grid-canvas{
|
|
88
|
+ height:auto!important;
|
|
89
|
+ }
|
84
|
90
|
.ui-grid-viewport{
|
85
|
91
|
width:100%!important;
|
86
|
92
|
height:100%!important;
|
|
@@ -251,7 +257,10 @@ app.controller("inspectReportCtrl", [
|
251
|
257
|
enableFiltering: false,
|
252
|
258
|
cellTemplate: `<div class="ui-grid-cell-contents">
|
253
|
259
|
<div class="inspectPar">
|
254
|
|
- <p ng-repeat="item in row.entity.xj_items">{{item.name}}:{{item.value=="false"?"异常":"正常"}}</p>
|
|
260
|
+ <p ng-repeat="item in row.entity.xj_items">
|
|
261
|
+ <span ng-if="item.key == 'sdCheckEnable7'||item.key == 'sdCheckEnable11'||item.key == 'sdCheckEnable12'">{{item.name}}:{{item.value=="false"?"否":"是"}}</span>
|
|
262
|
+ <span ng-if="item.key != 'sdCheckEnable7'&&item.key != 'sdCheckEnable11'&&item.key != 'sdCheckEnable12'">{{item.name}}:{{item.value=="false"?"异常":"正常"}}</span>
|
|
263
|
+ </p>
|
255
|
264
|
</div>
|
256
|
265
|
</div>`,
|
257
|
266
|
},
|
|
@@ -285,6 +294,12 @@ app.controller("inspectReportCtrl", [
|
285
|
294
|
width: "12%",
|
286
|
295
|
enableFiltering: false,
|
287
|
296
|
},
|
|
297
|
+ {
|
|
298
|
+ name: "address",
|
|
299
|
+ displayName: "地址",
|
|
300
|
+ width: "12%",
|
|
301
|
+ enableFiltering: false,
|
|
302
|
+ },
|
288
|
303
|
// {
|
289
|
304
|
// minWidth: "230",
|
290
|
305
|
// name: "操作",
|