tzs_dc.jrxml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="tzs_dc" language="groovy" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="998c4ada-633a-4cb4-a5e6-368e8bef1d71">
  3. <property name="ireport.zoom" value="1.0"/>
  4. <property name="ireport.x" value="0"/>
  5. <property name="ireport.y" value="0"/>
  6. <queryString>
  7. <![CDATA[]]>
  8. </queryString>
  9. <field name="jdjcnr" class="java.lang.String">
  10. <fieldDescription><![CDATA[jdjcnr]]></fieldDescription>
  11. </field>
  12. <field name="yhzgyj" class="java.lang.String">
  13. <fieldDescription><![CDATA[yhzgyj]]></fieldDescription>
  14. </field>
  15. <variable name="dc_count" class="java.lang.Integer" calculation="Count">
  16. <variableExpression><![CDATA[$V{dc_count}.valueOf( 1 )]]></variableExpression>
  17. <initialValueExpression><![CDATA[1]]></initialValueExpression>
  18. </variable>
  19. <background>
  20. <band splitType="Stretch"/>
  21. </background>
  22. <columnHeader>
  23. <band height="30" splitType="Stretch">
  24. <staticText>
  25. <reportElement x="35" y="0" width="150" height="30" uuid="78561fee-ed87-4ade-851c-12a20094be49"/>
  26. <box>
  27. <pen lineWidth="0.5"/>
  28. <topPen lineWidth="0.0"/>
  29. <leftPen lineWidth="0.0"/>
  30. <bottomPen lineWidth="0.0"/>
  31. <rightPen lineWidth="0.0"/>
  32. </box>
  33. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  34. <text><![CDATA[序号]]></text>
  35. </staticText>
  36. <staticText>
  37. <reportElement x="335" y="0" width="150" height="30" uuid="7d2d2228-c4c0-4087-bc1b-eb30fd66e4b9"/>
  38. <box>
  39. <pen lineWidth="0.5"/>
  40. <topPen lineWidth="0.0"/>
  41. <leftPen lineWidth="0.0"/>
  42. <bottomPen lineWidth="0.0"/>
  43. <rightPen lineWidth="0.0"/>
  44. </box>
  45. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  46. <text><![CDATA[整改要求]]></text>
  47. </staticText>
  48. <staticText>
  49. <reportElement x="185" y="0" width="150" height="30" uuid="e4a9fbaf-2c42-4035-9b54-4338ade38b43"/>
  50. <box>
  51. <pen lineWidth="0.5"/>
  52. <topPen lineWidth="0.0"/>
  53. <leftPen lineWidth="0.0"/>
  54. <bottomPen lineWidth="0.0"/>
  55. <rightPen lineWidth="0.0"/>
  56. </box>
  57. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  58. <text><![CDATA[安全隐患]]></text>
  59. </staticText>
  60. </band>
  61. </columnHeader>
  62. <detail>
  63. <band height="20" splitType="Stretch">
  64. <textField>
  65. <reportElement stretchType="RelativeToBandHeight" x="35" y="0" width="150" height="20" isPrintWhenDetailOverflows="true" uuid="38f9d140-bcaf-48db-84d3-6891a251df79"/>
  66. <box leftPadding="5">
  67. <pen lineWidth="0.5"/>
  68. <topPen lineWidth="0.5"/>
  69. <leftPen lineWidth="0.0"/>
  70. <bottomPen lineWidth="0.5"/>
  71. <rightPen lineWidth="0.0"/>
  72. </box>
  73. <textFieldExpression><![CDATA[$V{dc_count}.toString()]]></textFieldExpression>
  74. </textField>
  75. <textField>
  76. <reportElement stretchType="RelativeToBandHeight" x="185" y="0" width="150" height="20" isPrintWhenDetailOverflows="true" uuid="8dd725d4-8c9b-442d-b80d-90add809fda7"/>
  77. <box leftPadding="5">
  78. <pen lineWidth="0.5"/>
  79. <topPen lineWidth="0.5"/>
  80. <leftPen lineWidth="0.0"/>
  81. <bottomPen lineWidth="0.5"/>
  82. <rightPen lineWidth="0.0"/>
  83. </box>
  84. <textFieldExpression><![CDATA[$F{jdjcnr}]]></textFieldExpression>
  85. </textField>
  86. <textField>
  87. <reportElement stretchType="RelativeToBandHeight" x="335" y="0" width="150" height="20" isPrintWhenDetailOverflows="true" uuid="e22d28d5-40e2-4869-b04c-13529f6da7d8"/>
  88. <box leftPadding="5">
  89. <pen lineWidth="0.5"/>
  90. <topPen lineWidth="0.5"/>
  91. <leftPen lineWidth="0.0"/>
  92. <bottomPen lineWidth="0.5"/>
  93. <rightPen lineWidth="0.0"/>
  94. </box>
  95. <textFieldExpression><![CDATA[$F{yhzgyj}]]></textFieldExpression>
  96. </textField>
  97. </band>
  98. </detail>
  99. </jasperReport>