EventCensorBill.r1-print 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <DocRoot>
  2. <Parameters />
  3. <DataSources>
  4. <Reference name="baseInfo" alias.zh_CN="重要历史活动审查单" alias="#1" desc.zh_CN="重要历史活动审查单查询" desc="#1" info="baseInfo.bos-query" />
  5. <Reference name="approveInfo" alias.zh_CN="重要历史活动审批单审批信息" alias="#1" info="approveInfo.bos-query">
  6. <Params>
  7. <Param name="billId">
  8. <Associate dataSourceID="baseInfo">id</Associate>
  9. </Param>
  10. </Params>
  11. </Reference>
  12. </DataSources>
  13. <Styles version="1.0">
  14. <Style id="3">
  15. <Borders>
  16. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  17. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  18. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  19. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  20. </Borders>
  21. <Alignment horizontal="left" wrapText="true" />
  22. </Style>
  23. <Style id="2">
  24. <Font size="12" bold="true" />
  25. <Alignment horizontal="center" wrapText="true" />
  26. </Style>
  27. <Style id="1">
  28. <Alignment horizontal="left" wrapText="true" />
  29. </Style>
  30. <Style id="0" />
  31. <Style id="7">
  32. <Borders>
  33. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  34. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  35. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  36. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  37. </Borders>
  38. <Alignment horizontal="left" wrapText="true" />
  39. <NumberFormat>yyyy-m-d</NumberFormat>
  40. </Style>
  41. <Style id="6">
  42. <Borders>
  43. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  44. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  45. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  46. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  47. </Borders>
  48. <Alignment horizontal="left" />
  49. </Style>
  50. <Style id="5">
  51. <Alignment horizontal="left" />
  52. </Style>
  53. <Style id="4">
  54. <Font size="12" bold="true" italic="false" />
  55. <Alignment horizontal="left" />
  56. </Style>
  57. <Style id="9">
  58. <Alignment horizontal="left" />
  59. <NumberFormat>yyyy年m月d日;@</NumberFormat>
  60. </Style>
  61. <Style id="8">
  62. <Alignment horizontal="right" />
  63. </Style>
  64. </Styles>
  65. <Report type="r1-print" version="6.2.0">
  66. <Page id="page1" width="1720" height="2470">
  67. <Sub-objects>
  68. <PrintDataGrid id="dataGrid1" styleId="0" x="11" y="21">
  69. <Data dataSource="baseInfo" />
  70. <Col width="1709" id="column9" />
  71. <TR height="613" type="normal" displayEveryPage="true" id="row2" styleId="0">
  72. <TD id="cell4" styleId="0">
  73. <Sub-objects>
  74. <PrintLayoutGrid id="layoutGrid2" styleId="1" x="3" y="20">
  75. <Data />
  76. <Col width="281" id="column14" />
  77. <Col width="283" id="column1" />
  78. <Col width="284" id="column2" />
  79. <Col width="283" id="column3" />
  80. <Col width="287" id="column6" />
  81. <Col width="283" id="column5" />
  82. <TR height="154" id="row4">
  83. <TD id="cell5" styleId="2">
  84. <Value type="text"><![CDATA[重要历史活动审查单]]></Value>
  85. </TD>
  86. <TD id="cell1" styleId="1" />
  87. <TD id="cell2" styleId="1" />
  88. <TD id="cell3" styleId="1" />
  89. <TD id="cell6" styleId="1" />
  90. <TD id="cell8" styleId="1" />
  91. </TR>
  92. <TR height="107" id="row1" styleId="0">
  93. <TD id="cell9" styleId="3">
  94. <Value type="text"><![CDATA[员工编码]]></Value>
  95. </TD>
  96. <TD id="cell10" styleId="3">
  97. <Value type="field" dataSource="baseInfo">person.number</Value>
  98. </TD>
  99. <TD id="cell11" styleId="3">
  100. <Value type="text"><![CDATA[员工姓名]]></Value>
  101. </TD>
  102. <TD id="cell12" styleId="3">
  103. <Value type="field" dataSource="baseInfo">person.name</Value>
  104. </TD>
  105. <TD id="cell19" styleId="3">
  106. <Value type="text"><![CDATA[所在部门]]></Value>
  107. </TD>
  108. <TD id="cell20" styleId="3">
  109. <Value type="field" dataSource="baseInfo">adminOrgUnit.name</Value>
  110. </TD>
  111. </TR>
  112. <TR height="104" id="row7" styleId="0">
  113. <TD id="cell21" styleId="3">
  114. <Value type="text"><![CDATA[职位]]></Value>
  115. </TD>
  116. <TD id="cell16" styleId="3">
  117. <Value type="field" dataSource="baseInfo">position.name</Value>
  118. </TD>
  119. <TD id="cell17" styleId="3">
  120. <Value type="text"><![CDATA[重要历史活动名称]]></Value>
  121. </TD>
  122. <TD id="cell18" styleId="3">
  123. <Value type="field" dataSource="baseInfo">historicalEvent.name</Value>
  124. </TD>
  125. <TD id="cell22" styleId="3">
  126. <Value type="text"><![CDATA[参与时身份]]></Value>
  127. </TD>
  128. <TD id="cell23" styleId="3">
  129. <Value type="field" dataSource="baseInfo">entries.identity</Value>
  130. </TD>
  131. </TR>
  132. <TR height="102" id="row6" styleId="0">
  133. <TD id="cell24" styleId="3">
  134. <Value type="text"><![CDATA[参与时职务]]></Value>
  135. </TD>
  136. <TD id="cell13" styleId="3">
  137. <Value type="field" dataSource="baseInfo">entries.duty</Value>
  138. </TD>
  139. <TD id="cell14" styleId="3">
  140. <Value type="text"><![CDATA[参与内容]]></Value>
  141. </TD>
  142. <TD id="cell15" styleId="3">
  143. <Value type="field" dataSource="baseInfo">entries.content</Value>
  144. </TD>
  145. <TD id="cell26" styleId="3">
  146. <Value type="text"><![CDATA[审查机构]]></Value>
  147. </TD>
  148. <TD id="cell27" styleId="3">
  149. <Value type="field" dataSource="baseInfo">entries.censorInstitution</Value>
  150. </TD>
  151. </TR>
  152. <MergeBlocks>
  153. <Block left="0" right="5" top="0" bottom="0" />
  154. </MergeBlocks>
  155. </PrintLayoutGrid>
  156. </Sub-objects>
  157. </TD>
  158. </TR>
  159. <TR height="110" type="detail" repeatTimes="1" id="row3" styleId="0">
  160. <TD id="cell7" styleId="4">
  161. <Value type="text"><![CDATA[审批意见]]></Value>
  162. </TD>
  163. </TR>
  164. </PrintDataGrid>
  165. <PrintDataGrid id="dataGrid3" styleId="5" x="0" y="747" horizontalFill="true">
  166. <PreScript><![CDATA[secondBirth()]]></PreScript>
  167. <Data dataSource="approveInfo" />
  168. <Col width="274" id="column4" styleId="0" />
  169. <Col width="277" id="column13" styleId="0" />
  170. <Col width="290" id="column7" styleId="0" />
  171. <Col width="294" id="column12" styleId="0" />
  172. <Col width="295" id="column11" styleId="0" />
  173. <Col width="290" id="column10" styleId="0" />
  174. <TR height="98" type="normal" id="row5">
  175. <TD id="cell25" styleId="6">
  176. <Value type="text"><![CDATA[审批结果]]></Value>
  177. </TD>
  178. <TD id="cell28" styleId="6">
  179. <Value type="text"><![CDATA[审批意见]]></Value>
  180. </TD>
  181. <TD id="cell29" styleId="6">
  182. <Value type="text"><![CDATA[审批人]]></Value>
  183. </TD>
  184. <TD id="cell30" styleId="6">
  185. <Value type="text"><![CDATA[审批人所在部门]]></Value>
  186. </TD>
  187. <TD id="cell31" styleId="6">
  188. <Value type="text"><![CDATA[审批人职位]]></Value>
  189. </TD>
  190. <TD id="cell32" styleId="6">
  191. <Value type="text"><![CDATA[审批时间]]></Value>
  192. </TD>
  193. </TR>
  194. <TR height="101" type="detail" id="row9">
  195. <TD id="cell33" styleId="3">
  196. <Script><![CDATA[if(toStr(getFieldValue("isPass")) == "true")
  197. {
  198. setValue("同意");
  199. }
  200. else
  201. {
  202. setValue("不同意");
  203. }]]></Script>
  204. <Value type="field">isPass</Value>
  205. </TD>
  206. <TD id="cell34" styleId="3">
  207. <Value type="field">opinion</Value>
  208. </TD>
  209. <TD id="cell35" styleId="3">
  210. <Value type="field">creator.name</Value>
  211. </TD>
  212. <TD id="cell36" styleId="3">
  213. <Value type="field">AdminOrgUnit.name</Value>
  214. </TD>
  215. <TD id="cell37" styleId="3">
  216. <Value type="field">Position.name</Value>
  217. </TD>
  218. <TD id="cell38" styleId="7">
  219. <Value type="field">createTime</Value>
  220. </TD>
  221. </TR>
  222. </PrintDataGrid>
  223. <PrintLayoutGrid id="layoutGrid1" x="3" y="1547">
  224. <Data />
  225. <Col width="571" id="column8" />
  226. <Col width="798" id="column15" />
  227. <Col width="346" id="column16" />
  228. <TR height="98" id="row8">
  229. <TD id="cell39" />
  230. <TD id="cell40" styleId="8">
  231. <Value type="text"><![CDATA[打印日期:]]></Value>
  232. </TD>
  233. <TD id="cell41" styleId="9">
  234. <Value type="text"><![CDATA[=now()]]></Value>
  235. </TD>
  236. </TR>
  237. </PrintLayoutGrid>
  238. </Sub-objects>
  239. </Page>
  240. </Report>
  241. <PrintInfo>
  242. <PaperSetup>
  243. <Paper>iso-a4</Paper>
  244. <Orientation>PORTRAIT</Orientation>
  245. <PageMargin left="190" right="190" top="250" bottom="250" />
  246. <Header height="150" margin="100" />
  247. <Footer height="150" margin="100" />
  248. </PaperSetup>
  249. <PrinterSetup>
  250. <DynamicPaper>false</DynamicPaper>
  251. <EconomizePaper>false</EconomizePaper>
  252. </PrinterSetup>
  253. <PreviewSetup>
  254. <BackgroundPicture>false</BackgroundPicture>
  255. </PreviewSetup>
  256. </PrintInfo>
  257. </DocRoot>