fc6c1b1f by 赵千

空项率统计接口前端页面调整,添加百分比,以及后位补0

1 parent 06f63028
...@@ -38,16 +38,21 @@ class data extends filter { ...@@ -38,16 +38,21 @@ class data extends filter {
38 }, 38 },
39 { 39 {
40 label: '本期未成功接入登簿量及在登簿日志量中的占比', 40 label: '本期未成功接入登簿量及在登簿日志量中的占比',
41 width: '120',
41 children: [ 42 children: [
42 { 43 {
43 prop: 'failReportCount', 44 prop: 'failReportCount',
44 label: '未成功接入登簿量(条)', 45 label: '未成功接入登簿量(条)',
45 width: '120' 46
46 }, 47 },
47 { 48 {
48 prop: 'failReportRatio', 49 prop: 'failReportRatio',
49 label: '占比', 50 label: '占比',
50 width: '60' 51 render: (h, scope) => {
52 return (
53 <span>{(scope.row.failReportRatio * 100).toFixed(2)}%</span>
54 );
55 },
51 } 56 }
52 ] 57 ]
53 }, 58 },
...@@ -63,6 +68,11 @@ class data extends filter { ...@@ -63,6 +68,11 @@ class data extends filter {
63 }, 68 },
64 { 69 {
65 prop: 'failReportRatio24h', 70 prop: 'failReportRatio24h',
71 render: (h, scope) => {
72 return (
73 <span>{(scope.row.failReportRatio24h * 100).toFixed(2)}%</span>
74 );
75 },
66 } 76 }
67 ] 77 ]
68 }, 78 },
...@@ -75,6 +85,11 @@ class data extends filter { ...@@ -75,6 +85,11 @@ class data extends filter {
75 }, 85 },
76 { 86 {
77 prop: 'failReportRatio24To48h', 87 prop: 'failReportRatio24To48h',
88 render: (h, scope) => {
89 return (
90 <span>{(scope.row.failReportRatio24To48h * 100).toFixed(2)}%</span>
91 );
92 },
78 } 93 }
79 ] 94 ]
80 }, 95 },
...@@ -87,6 +102,11 @@ class data extends filter { ...@@ -87,6 +102,11 @@ class data extends filter {
87 }, 102 },
88 { 103 {
89 prop: 'failReportRatio48h', 104 prop: 'failReportRatio48h',
105 render: (h, scope) => {
106 return (
107 <span>{(scope.row.failReportRatio48h * 100).toFixed(2)}%</span>
108 );
109 },
90 } 110 }
91 ] 111 ]
92 } 112 }
......
...@@ -21,6 +21,11 @@ class data extends filter { ...@@ -21,6 +21,11 @@ class data extends filter {
21 { 21 {
22 label: '空项率', 22 label: '空项率',
23 prop: "yt", 23 prop: "yt",
24 render: (h, scope) => {
25 return (
26 <span>{(scope.row.yt * 100).toFixed(2)}%</span>
27 );
28 },
24 }, 29 },
25 /*{ 30 /*{
26 label: '分值', 31 label: '分值',
...@@ -35,6 +40,11 @@ class data extends filter { ...@@ -35,6 +40,11 @@ class data extends filter {
35 { 40 {
36 label: '空项率', 41 label: '空项率',
37 prop: "qlxz", 42 prop: "qlxz",
43 render: (h, scope) => {
44 return (
45 <span>{(scope.row.qlxz * 100).toFixed(2)}%</span>
46 );
47 },
38 }, 48 },
39 /*{ 49 /*{
40 label: '分值', 50 label: '分值',
...@@ -49,6 +59,11 @@ class data extends filter { ...@@ -49,6 +59,11 @@ class data extends filter {
49 { 59 {
50 label: '空项率', 60 label: '空项率',
51 prop: "qlsdfs", 61 prop: "qlsdfs",
62 render: (h, scope) => {
63 return (
64 <span>{(scope.row.qlsdfs * 100).toFixed(2)}%</span>
65 );
66 },
52 }, 67 },
53 /*{ 68 /*{
54 label: '分值', 69 label: '分值',
...@@ -63,6 +78,11 @@ class data extends filter { ...@@ -63,6 +78,11 @@ class data extends filter {
63 { 78 {
64 label: '空项率', 79 label: '空项率',
65 prop: "gyjsydgyqk", 80 prop: "gyjsydgyqk",
81 render: (h, scope) => {
82 return (
83 <span>{(scope.row.gyjsydgyqk * 100).toFixed(2)}%</span>
84 );
85 },
66 }, 86 },
67 /*{ 87 /*{
68 label: '分值', 88 label: '分值',
...@@ -77,6 +97,11 @@ class data extends filter { ...@@ -77,6 +97,11 @@ class data extends filter {
77 { 97 {
78 label: '空项率', 98 label: '空项率',
79 prop: "dj", 99 prop: "dj",
100 render: (h, scope) => {
101 return (
102 <span>{(scope.row.dj * 100).toFixed(2)}%</span>
103 );
104 },
80 }, 105 },
81 /*{ 106 /*{
82 label: '分值', 107 label: '分值',
...@@ -91,6 +116,11 @@ class data extends filter { ...@@ -91,6 +116,11 @@ class data extends filter {
91 { 116 {
92 label: '空项率', 117 label: '空项率',
93 prop: "rjl", 118 prop: "rjl",
119 render: (h, scope) => {
120 return (
121 <span>{(scope.row.rjl * 100).toFixed(2)}%</span>
122 );
123 },
94 }, 124 },
95 /*{ 125 /*{
96 label: '分值', 126 label: '分值',
...@@ -111,6 +141,11 @@ class data extends filter { ...@@ -111,6 +141,11 @@ class data extends filter {
111 { 141 {
112 label: '空项率', 142 label: '空项率',
113 prop: "fwgyqk", 143 prop: "fwgyqk",
144 render: (h, scope) => {
145 return (
146 <span>{(scope.row.fwgyqk * 100).toFixed(2)}%</span>
147 );
148 },
114 }, 149 },
115 /*{ 150 /*{
116 label: '分值', 151 label: '分值',
...@@ -125,6 +160,11 @@ class data extends filter { ...@@ -125,6 +160,11 @@ class data extends filter {
125 { 160 {
126 label: '空项率', 161 label: '空项率',
127 prop: "fwxz", 162 prop: "fwxz",
163 render: (h, scope) => {
164 return (
165 <span>{(scope.row.fwxz * 100).toFixed(2)}%</span>
166 );
167 },
128 }, 168 },
129 /*{ 169 /*{
130 label: '分值', 170 label: '分值',
...@@ -139,6 +179,11 @@ class data extends filter { ...@@ -139,6 +179,11 @@ class data extends filter {
139 { 179 {
140 label: '空项率', 180 label: '空项率',
141 prop: "fwjg", 181 prop: "fwjg",
182 render: (h, scope) => {
183 return (
184 <span>{(scope.row.fwjg * 100).toFixed(2)}%</span>
185 );
186 },
142 }, 187 },
143 /*{ 188 /*{
144 label: '分值', 189 label: '分值',
...@@ -153,6 +198,11 @@ class data extends filter { ...@@ -153,6 +198,11 @@ class data extends filter {
153 { 198 {
154 label: '空项率', 199 label: '空项率',
155 prop: "jgsj", 200 prop: "jgsj",
201 render: (h, scope) => {
202 return (
203 <span>{(scope.row.jgsj * 100).toFixed(2)}%</span>
204 );
205 },
156 }, 206 },
157 /*{ 207 /*{
158 label: '分值', 208 label: '分值',
...@@ -173,6 +223,11 @@ class data extends filter { ...@@ -173,6 +223,11 @@ class data extends filter {
173 { 223 {
174 prop: 'dyqx', 224 prop: 'dyqx',
175 label: '空项率', 225 label: '空项率',
226 render: (h, scope) => {
227 return (
228 <span>{(scope.row.dyqx * 100).toFixed(2)}%</span>
229 );
230 },
176 }, 231 },
177 /*{ 232 /*{
178 label: '分值', 233 label: '分值',
...@@ -193,6 +248,11 @@ class data extends filter { ...@@ -193,6 +248,11 @@ class data extends filter {
193 { 248 {
194 prop: 'zgzqse', 249 prop: 'zgzqse',
195 label: '空项率', 250 label: '空项率',
251 render: (h, scope) => {
252 return (
253 <span>{(scope.row.zgzqse * 100).toFixed(2)}%</span>
254 );
255 },
196 }, 256 },
197 /*{ 257 /*{
198 label: '分值', 258 label: '分值',
...@@ -213,6 +273,11 @@ class data extends filter { ...@@ -213,6 +273,11 @@ class data extends filter {
213 { 273 {
214 prop: 'ybzjzjwzl', 274 prop: 'ybzjzjwzl',
215 label: '空项率', 275 label: '空项率',
276 render: (h, scope) => {
277 return (
278 <span>{(scope.row.ybzjzjwzl * 100).toFixed(2)}%</span>
279 );
280 },
216 }, 281 },
217 /*{ 282 /*{
218 label: '分值', 283 label: '分值',
...@@ -227,6 +292,11 @@ class data extends filter { ...@@ -227,6 +292,11 @@ class data extends filter {
227 { 292 {
228 prop: 'ybzjzjwdyfw', 293 prop: 'ybzjzjwdyfw',
229 label: '空项率', 294 label: '空项率',
295 render: (h, scope) => {
296 return (
297 <span>{(scope.row.ybzjzjwdyfw * 100).toFixed(2)}%</span>
298 );
299 },
230 }, 300 },
231 /*{ 301 /*{
232 label: '分值', 302 label: '分值',
...@@ -247,6 +317,11 @@ class data extends filter { ...@@ -247,6 +317,11 @@ class data extends filter {
247 { 317 {
248 prop: 'zgezjzjwzl', 318 prop: 'zgezjzjwzl',
249 label: '空项率', 319 label: '空项率',
320 render: (h, scope) => {
321 return (
322 <span>{(scope.row.zgezjzjwzl * 100).toFixed(2)}%</span>
323 );
324 },
250 }, 325 },
251 /*{ 326 /*{
252 label: '分值', 327 label: '分值',
...@@ -261,6 +336,11 @@ class data extends filter { ...@@ -261,6 +336,11 @@ class data extends filter {
261 { 336 {
262 prop: 'zgezjzjwdyfw', 337 prop: 'zgezjzjwdyfw',
263 label: '空项率', 338 label: '空项率',
339 render: (h, scope) => {
340 return (
341 <span>{(scope.row.zgezjzjwdyfw * 100).toFixed(2)}%</span>
342 );
343 },
264 }, 344 },
265 /*{ 345 /*{
266 label: '分值', 346 label: '分值',
...@@ -281,6 +361,11 @@ class data extends filter { ...@@ -281,6 +361,11 @@ class data extends filter {
281 { 361 {
282 prop: 'dyzxyy', 362 prop: 'dyzxyy',
283 label: '空项率', 363 label: '空项率',
364 render: (h, scope) => {
365 return (
366 <span>{(scope.row.dyzxyy * 100).toFixed(2)}%</span>
367 );
368 },
284 }, 369 },
285 /*{ 370 /*{
286 label: '分值', 371 label: '分值',
...@@ -295,6 +380,11 @@ class data extends filter { ...@@ -295,6 +380,11 @@ class data extends filter {
295 { 380 {
296 prop: 'zxsj', 381 prop: 'zxsj',
297 label: '空项率', 382 label: '空项率',
383 render: (h, scope) => {
384 return (
385 <span>{(scope.row.zxsj * 100).toFixed(2)}%</span>
386 );
387 },
298 }, 388 },
299 /*{ 389 /*{
300 label: '分值', 390 label: '分值',
...@@ -315,6 +405,11 @@ class data extends filter { ...@@ -315,6 +405,11 @@ class data extends filter {
315 { 405 {
316 prop: 'ywrzjzl', 406 prop: 'ywrzjzl',
317 label: '空项率', 407 label: '空项率',
408 render: (h, scope) => {
409 return (
410 <span>{(scope.row.ywrzjzl * 100).toFixed(2)}%</span>
411 );
412 },
318 }, 413 },
319 /*{ 414 /*{
320 label: '分值', 415 label: '分值',
...@@ -329,6 +424,11 @@ class data extends filter { ...@@ -329,6 +424,11 @@ class data extends filter {
329 { 424 {
330 prop: 'ywrzjh', 425 prop: 'ywrzjh',
331 label: '空项率', 426 label: '空项率',
427 render: (h, scope) => {
428 return (
429 <span>{(scope.row.ywrzjh * 100).toFixed(2)}%</span>
430 );
431 },
332 }, 432 },
333 /*{ 433 /*{
334 label: '分值', 434 label: '分值',
...@@ -343,6 +443,11 @@ class data extends filter { ...@@ -343,6 +443,11 @@ class data extends filter {
343 { 443 {
344 prop: 'ghyt', 444 prop: 'ghyt',
345 label: '空项率', 445 label: '空项率',
446 render: (h, scope) => {
447 return (
448 <span>{(scope.row.ghyt * 100).toFixed(2)}%</span>
449 );
450 },
346 }, 451 },
347 /*{ 452 /*{
348 label: '分值', 453 label: '分值',
...@@ -357,6 +462,11 @@ class data extends filter { ...@@ -357,6 +462,11 @@ class data extends filter {
357 { 462 {
358 prop: 'ygdjfwxz', 463 prop: 'ygdjfwxz',
359 label: '空项率', 464 label: '空项率',
465 render: (h, scope) => {
466 return (
467 <span>{(scope.row.ygdjfwxz * 100).toFixed(2)}%</span>
468 );
469 },
360 }, 470 },
361 /*{ 471 /*{
362 label: '分值', 472 label: '分值',
...@@ -377,6 +487,11 @@ class data extends filter { ...@@ -377,6 +487,11 @@ class data extends filter {
377 { 487 {
378 prop: 'jfjg', 488 prop: 'jfjg',
379 label: '空项率', 489 label: '空项率',
490 render: (h, scope) => {
491 return (
492 <span>{(scope.row.jfjg * 100).toFixed(2)}%</span>
493 );
494 },
380 }, 495 },
381 /*{ 496 /*{
382 label: '分值', 497 label: '分值',
...@@ -391,6 +506,11 @@ class data extends filter { ...@@ -391,6 +506,11 @@ class data extends filter {
391 { 506 {
392 prop: 'jfwj', 507 prop: 'jfwj',
393 label: '空项率', 508 label: '空项率',
509 render: (h, scope) => {
510 return (
511 <span>{(scope.row.jfwj * 100).toFixed(2)}%</span>
512 );
513 },
394 }, 514 },
395 /*{ 515 /*{
396 label: '分值', 516 label: '分值',
...@@ -405,6 +525,11 @@ class data extends filter { ...@@ -405,6 +525,11 @@ class data extends filter {
405 { 525 {
406 prop: 'jfdjsj', 526 prop: 'jfdjsj',
407 label: '空项率', 527 label: '空项率',
528 render: (h, scope) => {
529 return (
530 <span>{(scope.row.jfdjsj * 100).toFixed(2)}%</span>
531 );
532 },
408 }, 533 },
409 /*{ 534 /*{
410 label: '分值', 535 label: '分值',
...@@ -419,6 +544,11 @@ class data extends filter { ...@@ -419,6 +544,11 @@ class data extends filter {
419 { 544 {
420 prop: 'jfdbr', 545 prop: 'jfdbr',
421 label: '空项率', 546 label: '空项率',
547 render: (h, scope) => {
548 return (
549 <span>{(scope.row.jfdbr * 100).toFixed(2)}%</span>
550 );
551 },
422 }, 552 },
423 /*{ 553 /*{
424 label: '分值', 554 label: '分值',
...@@ -433,6 +563,11 @@ class data extends filter { ...@@ -433,6 +563,11 @@ class data extends filter {
433 { 563 {
434 prop: 'jfywh', 564 prop: 'jfywh',
435 label: '空项率', 565 label: '空项率',
566 render: (h, scope) => {
567 return (
568 <span>{(scope.row.jfywh * 100).toFixed(2)}%</span>
569 );
570 },
436 }, 571 },
437 /*{ 572 /*{
438 label: '分值', 573 label: '分值',
......
...@@ -21,9 +21,19 @@ class data extends filter { ...@@ -21,9 +21,19 @@ class data extends filter {
21 children: [ 21 children: [
22 { 22 {
23 prop: 'gyjsydsyqRate', 23 prop: 'gyjsydsyqRate',
24 render: (h, scope) => {
25 return (
26 <span>{scope.row.gyjsydsyqRate.toFixed(2)}</span>
27 );
28 },
24 }, 29 },
25 { 30 {
26 prop: 'gyjsydsyqRadio', 31 prop: 'gyjsydsyqRadio',
32 render: (h, scope) => {
33 return (
34 <span>{(scope.row.gyjsydsyqRadio * 100).toFixed(2)}%</span>
35 );
36 },
27 } 37 }
28 ] 38 ]
29 }, 39 },
...@@ -33,10 +43,20 @@ class data extends filter { ...@@ -33,10 +43,20 @@ class data extends filter {
33 { 43 {
34 prop: 'fwsyqRate', 44 prop: 'fwsyqRate',
35 width: 176, 45 width: 176,
46 render: (h, scope) => {
47 return (
48 <span>{scope.row.fwsyqRate.toFixed(2)}</span>
49 );
50 },
36 }, 51 },
37 { 52 {
38 prop: 'fwsyqRadio', 53 prop: 'fwsyqRadio',
39 width: 176, 54 width: 176,
55 render: (h, scope) => {
56 return (
57 <span>{(scope.row.fwsyqRadio * 100).toFixed(2)}%</span>
58 );
59 },
40 } 60 }
41 ] 61 ]
42 }, 62 },
...@@ -45,9 +65,19 @@ class data extends filter { ...@@ -45,9 +65,19 @@ class data extends filter {
45 children: [ 65 children: [
46 { 66 {
47 prop: 'dyqRate', 67 prop: 'dyqRate',
68 render: (h, scope) => {
69 return (
70 <span>{scope.row.dyqRate.toFixed(2)}</span>
71 );
72 },
48 }, 73 },
49 { 74 {
50 prop: 'dyqRadio', 75 prop: 'dyqRadio',
76 render: (h, scope) => {
77 return (
78 <span>{(scope.row.dyqRadio * 100).toFixed(2)}%</span>
79 );
80 },
51 } 81 }
52 ] 82 ]
53 }, 83 },
...@@ -56,9 +86,19 @@ class data extends filter { ...@@ -56,9 +86,19 @@ class data extends filter {
56 children: [ 86 children: [
57 { 87 {
58 prop: 'ygdjRate', 88 prop: 'ygdjRate',
89 render: (h, scope) => {
90 return (
91 <span>{scope.row.ygdjRate.toFixed(2)}</span>
92 );
93 },
59 }, 94 },
60 { 95 {
61 prop: 'ygdjRadio', 96 prop: 'ygdjRadio',
97 render: (h, scope) => {
98 return (
99 <span>{(scope.row.ygdjRadio * 100).toFixed(2)}%</span>
100 );
101 },
62 } 102 }
63 ] 103 ]
64 }, 104 },
...@@ -67,9 +107,19 @@ class data extends filter { ...@@ -67,9 +107,19 @@ class data extends filter {
67 children: [ 107 children: [
68 { 108 {
69 prop: 'cfdjRate', 109 prop: 'cfdjRate',
110 render: (h, scope) => {
111 return (
112 <span>{scope.row.cfdjRate.toFixed(2)}</span>
113 );
114 },
70 }, 115 },
71 { 116 {
72 prop: 'cfdjRadio', 117 prop: 'cfdjRadio',
118 render: (h, scope) => {
119 return (
120 <span>{(scope.row.cfdjRadio * 100).toFixed(2)}%</span>
121 );
122 },
73 } 123 }
74 ] 124 ]
75 } 125 }
......