|
|
@@ -456,7 +456,7 @@
|
|
456
|
456
|
工单事发区域情况
|
|
457
|
457
|
</td>
|
|
458
|
458
|
</tr>
|
|
459
|
|
- <tr>
|
|
|
459
|
+ <!--<tr>
|
|
460
|
460
|
<td>
|
|
461
|
461
|
<span class="sqs">商丘市</span>
|
|
462
|
462
|
</td>
|
|
|
@@ -528,7 +528,7 @@
|
|
528
|
528
|
<span class="cxytc"></span>
|
|
529
|
529
|
</td>
|
|
530
|
530
|
<td colspan="2"></td>
|
|
531
|
|
- </tr>
|
|
|
531
|
+ </tr>-->
|
|
532
|
532
|
</tbody>
|
|
533
|
533
|
</table>
|
|
534
|
534
|
</div><!--endprint1-->
|
|
|
@@ -788,7 +788,7 @@
|
|
788
|
788
|
工单事发区域情况
|
|
789
|
789
|
</td>
|
|
790
|
790
|
</tr>
|
|
791
|
|
- <tr>
|
|
|
791
|
+ <!--<tr>
|
|
792
|
792
|
<td>
|
|
793
|
793
|
<span class="sqs">商丘市</span>
|
|
794
|
794
|
</td>
|
|
|
@@ -860,7 +860,7 @@
|
|
860
|
860
|
<span class="cxytc"></span>
|
|
861
|
861
|
</td>
|
|
862
|
862
|
<td colspan="2"></td>
|
|
863
|
|
- </tr>
|
|
|
863
|
+ </tr>-->
|
|
864
|
864
|
</tbody>
|
|
865
|
865
|
</table>
|
|
866
|
866
|
</div><!--endprint2-->
|
|
|
@@ -967,28 +967,48 @@
|
|
967
|
967
|
|
|
968
|
968
|
//工单事发区域情况
|
|
969
|
969
|
|
|
970
|
|
- $('#main' + brieftype + ' .sqs').html(content.SimpleReport4[0].areaname);
|
|
971
|
|
- $('#main' + brieftype + ' .sqsc').html(content.SimpleReport4[0].count);
|
|
972
|
|
- $('#main' + brieftype + ' .syq').html(content.SimpleReport4[1].areaname);
|
|
973
|
|
- $('#main' + brieftype + ' .syqc').html(content.SimpleReport4[1].count);
|
|
974
|
|
- $('#main' + brieftype + ' .lyq').html(content.SimpleReport4[2].areaname);
|
|
975
|
|
- $('#main' + brieftype + ' .lyqc').html(content.SimpleReport4[2].count);
|
|
976
|
|
- $('#main' + brieftype + ' .ycs').html(content.SimpleReport4[3].areaname);
|
|
977
|
|
- $('#main' + brieftype + ' .ycsc').html(content.SimpleReport4[3].count);
|
|
978
|
|
- $('#main' + brieftype + ' .mqx').html(content.SimpleReport4[4].areaname);
|
|
979
|
|
- $('#main' + brieftype + ' .mqxc').html(content.SimpleReport4[4].count);
|
|
980
|
|
- $('#main' + brieftype + ' .sx').html(content.SimpleReport4[5].areaname);
|
|
981
|
|
- $('#main' + brieftype + ' .sxc').html(content.SimpleReport4[5].count);
|
|
982
|
|
- $('#main' + brieftype + ' .nlx').html(content.SimpleReport4[6].areaname);
|
|
983
|
|
- $('#main' + brieftype + ' .nlxc').html(content.SimpleReport4[6].count);
|
|
984
|
|
- $('#main' + brieftype + ' .zcx').html(content.SimpleReport4[7].areaname);
|
|
985
|
|
- $('#main' + brieftype + ' .zcxc').html(content.SimpleReport4[7].count);
|
|
986
|
|
- $('#main' + brieftype + ' .dcx').html(content.SimpleReport4[8].areaname);
|
|
987
|
|
- $('#main' + brieftype + ' .dcxc').html(content.SimpleReport4[8].count);
|
|
988
|
|
- $('#main' + brieftype + ' .xyx').html(content.SimpleReport4[9].areaname);
|
|
989
|
|
- $('#main' + brieftype + ' .xyxc').html(content.SimpleReport4[9].count);
|
|
990
|
|
- $('#main' + brieftype + ' .cxyt').html(content.SimpleReport4[10].areaname);
|
|
991
|
|
- $('#main' + brieftype + ' .cxytc').html(content.SimpleReport4[10].count);
|
|
|
970
|
+ //$('#main' + brieftype + ' .sqs').html(content.SimpleReport4[0].areaname);
|
|
|
971
|
+ //$('#main' + brieftype + ' .sqsc').html(content.SimpleReport4[0].count);
|
|
|
972
|
+ //$('#main' + brieftype + ' .syq').html(content.SimpleReport4[1].areaname);
|
|
|
973
|
+ //$('#main' + brieftype + ' .syqc').html(content.SimpleReport4[1].count);
|
|
|
974
|
+ //$('#main' + brieftype + ' .lyq').html(content.SimpleReport4[2].areaname);
|
|
|
975
|
+ //$('#main' + brieftype + ' .lyqc').html(content.SimpleReport4[2].count);
|
|
|
976
|
+ //$('#main' + brieftype + ' .ycs').html(content.SimpleReport4[3].areaname);
|
|
|
977
|
+ //$('#main' + brieftype + ' .ycsc').html(content.SimpleReport4[3].count);
|
|
|
978
|
+ //$('#main' + brieftype + ' .mqx').html(content.SimpleReport4[4].areaname);
|
|
|
979
|
+ //$('#main' + brieftype + ' .mqxc').html(content.SimpleReport4[4].count);
|
|
|
980
|
+ //$('#main' + brieftype + ' .sx').html(content.SimpleReport4[5].areaname);
|
|
|
981
|
+ //$('#main' + brieftype + ' .sxc').html(content.SimpleReport4[5].count);
|
|
|
982
|
+ //$('#main' + brieftype + ' .nlx').html(content.SimpleReport4[6].areaname);
|
|
|
983
|
+ //$('#main' + brieftype + ' .nlxc').html(content.SimpleReport4[6].count);
|
|
|
984
|
+ //$('#main' + brieftype + ' .zcx').html(content.SimpleReport4[7].areaname);
|
|
|
985
|
+ //$('#main' + brieftype + ' .zcxc').html(content.SimpleReport4[7].count);
|
|
|
986
|
+ //$('#main' + brieftype + ' .dcx').html(content.SimpleReport4[8].areaname);
|
|
|
987
|
+ //$('#main' + brieftype + ' .dcxc').html(content.SimpleReport4[8].count);
|
|
|
988
|
+ //$('#main' + brieftype + ' .xyx').html(content.SimpleReport4[9].areaname);
|
|
|
989
|
+ //$('#main' + brieftype + ' .xyxc').html(content.SimpleReport4[9].count);
|
|
|
990
|
+ //$('#main' + brieftype + ' .cxyt').html(content.SimpleReport4[10].areaname);
|
|
|
991
|
+ //$('#main' + brieftype + ' .cxytc').html(content.SimpleReport4[10].count);
|
|
|
992
|
+
|
|
|
993
|
+ $(".source").remove();
|
|
|
994
|
+ var sourcedata = content.SimpleReport4;
|
|
|
995
|
+ var cnt = sourcedata.length;
|
|
|
996
|
+ var row = (cnt / 4) + 1;
|
|
|
997
|
+ for (var i = 0; i < row; i++) {
|
|
|
998
|
+ var html = "<tr class='source'>";
|
|
|
999
|
+ for (var j = 0; j < 4; j++) {
|
|
|
1000
|
+ var rownum = i * 4 + j;
|
|
|
1001
|
+ if (rownum < cnt) {
|
|
|
1002
|
+ html += "<td>" + sourcedata[rownum].areaname + "</td><td>" + sourcedata[rownum].count + "</td>";
|
|
|
1003
|
+ }
|
|
|
1004
|
+ else {
|
|
|
1005
|
+ html += "<td colspan='" + (4 - j) * 2 + "'></td>";
|
|
|
1006
|
+ break;
|
|
|
1007
|
+ }
|
|
|
1008
|
+ }
|
|
|
1009
|
+ html += "/<tr>";
|
|
|
1010
|
+ $(html).appendTo($('#main' + brieftype).find('tbody'));
|
|
|
1011
|
+ }
|
|
992
|
1012
|
}
|
|
993
|
1013
|
})
|
|
994
|
1014
|
|