PersonRewardPunishRepealBill.r1-print 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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. <Borders>
  25. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  26. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  27. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  28. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  29. </Borders>
  30. <Alignment horizontal="left" />
  31. </Style>
  32. <Style id="1">
  33. <Font size="12" bold="true" />
  34. </Style>
  35. <Style id="0" />
  36. <Style id="7">
  37. <Alignment horizontal="right" />
  38. </Style>
  39. <Style id="6">
  40. <Borders>
  41. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  42. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  43. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  44. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  45. </Borders>
  46. <Alignment horizontal="left" />
  47. <NumberFormat>yyyy-m-d</NumberFormat>
  48. </Style>
  49. <Style id="5">
  50. <Alignment horizontal="left" />
  51. </Style>
  52. <Style id="4">
  53. <Font size="12" bold="true" italic="false" />
  54. <Alignment horizontal="left" />
  55. </Style>
  56. <Style id="8">
  57. <Alignment horizontal="left" />
  58. <NumberFormat>yyyy年m月d日;@</NumberFormat>
  59. </Style>
  60. </Styles>
  61. <Report type="r1-print" version="6.2.0">
  62. <Page id="page1" width="1720" height="2470">
  63. <Sub-objects>
  64. <PrintDataGrid id="dataGrid1" styleId="0" x="5" y="5">
  65. <Data dataSource="baseInfo" />
  66. <Col width="1714" id="column9" />
  67. <TR height="670" type="normal" displayEveryPage="true" id="row2" styleId="0">
  68. <TD id="cell4" styleId="0">
  69. <Sub-objects>
  70. <PrintLayoutGrid id="layoutGrid2" x="3" y="6">
  71. <Data />
  72. <Col width="284" id="column14" />
  73. <Col width="288" id="column1" />
  74. <Col width="285" id="column6" />
  75. <Col width="283" id="column5" />
  76. <Col width="286" id="column4" />
  77. <Col width="282" id="column2" />
  78. <TR height="149" id="row7">
  79. <TD id="cell5" styleId="1">
  80. <Value type="text"><![CDATA[奖惩撤销单]]></Value>
  81. </TD>
  82. <TD id="cell1" />
  83. <TD id="cell6" />
  84. <TD id="cell8" />
  85. <TD id="cell9" />
  86. <TD id="cell2" />
  87. </TR>
  88. <TR height="101" id="row1" styleId="0">
  89. <TD id="cell3" styleId="2">
  90. <Value type="text"><![CDATA[员工编码]]></Value>
  91. </TD>
  92. <TD id="cell16" styleId="3">
  93. <Value type="field" dataSource="baseInfo">person.number</Value>
  94. </TD>
  95. <TD id="cell19" styleId="2">
  96. <Value type="text"><![CDATA[员工姓名]]></Value>
  97. </TD>
  98. <TD id="cell20" styleId="3">
  99. <Value type="field" dataSource="baseInfo">person.name</Value>
  100. </TD>
  101. <TD id="cell21" styleId="2">
  102. <Value type="text"><![CDATA[所在部门]]></Value>
  103. </TD>
  104. <TD id="cell17" styleId="3">
  105. <Value type="field" dataSource="baseInfo">adminOrg.name</Value>
  106. </TD>
  107. </TR>
  108. <TR height="100" id="row6" styleId="0">
  109. <TD id="cell18" styleId="2">
  110. <Value type="text"><![CDATA[职位]]></Value>
  111. </TD>
  112. <TD id="cell13" styleId="3">
  113. <Value type="field" dataSource="baseInfo">position.name</Value>
  114. </TD>
  115. <TD id="cell22" styleId="2">
  116. <Value type="text"><![CDATA[奖惩时间]]></Value>
  117. </TD>
  118. <TD id="cell23" styleId="3">
  119. <Value type="field" dataSource="baseInfo">entry.date</Value>
  120. </TD>
  121. <TD id="cell24" styleId="2">
  122. <Value type="text"><![CDATA[奖惩内容]]></Value>
  123. </TD>
  124. <TD id="cell14" styleId="3">
  125. <Value type="field" dataSource="baseInfo">entry.content</Value>
  126. </TD>
  127. </TR>
  128. <TR height="100" id="row5" styleId="0">
  129. <TD id="cell15" styleId="2">
  130. <Value type="text"><![CDATA[奖惩类型]]></Value>
  131. </TD>
  132. <TD id="cell10" styleId="3">
  133. <Value type="field" dataSource="baseInfo">type.name</Value>
  134. </TD>
  135. <TD id="cell26" styleId="2">
  136. <Value type="text"><![CDATA[关联申请单号]]></Value>
  137. </TD>
  138. <TD id="cell27" styleId="3">
  139. <Value type="field" dataSource="baseInfo">approvalBill.number</Value>
  140. </TD>
  141. <TD id="cell25" styleId="2">
  142. <Value type="text"><![CDATA[撤销日期]]></Value>
  143. </TD>
  144. <TD id="cell11" styleId="3">
  145. <Value type="field" dataSource="baseInfo">entry.repealDate</Value>
  146. </TD>
  147. </TR>
  148. <TR height="98" id="row4" styleId="0">
  149. <TD id="cell12" styleId="2">
  150. <Value type="text"><![CDATA[撤销原因]]></Value>
  151. </TD>
  152. <TD id="cell28" styleId="3">
  153. <Value type="field" dataSource="baseInfo">entry.repealReason</Value>
  154. </TD>
  155. <TD id="cell29" styleId="2">
  156. <Value type="text"><![CDATA[撤销文号]]></Value>
  157. </TD>
  158. <TD id="cell30" styleId="3">
  159. <Value type="field" dataSource="baseInfo">entry.repealNo</Value>
  160. </TD>
  161. <TD id="cell31" styleId="2" />
  162. <TD id="cell32" styleId="2" />
  163. </TR>
  164. <MergeBlocks>
  165. <Block left="0" right="5" top="0" bottom="0" />
  166. <Block left="3" right="5" top="4" bottom="4" />
  167. </MergeBlocks>
  168. </PrintLayoutGrid>
  169. </Sub-objects>
  170. </TD>
  171. </TR>
  172. <TR height="117" type="detail" repeatTimes="1" id="row3" styleId="0">
  173. <TD id="cell7" styleId="4">
  174. <Value type="text"><![CDATA[审批意见]]></Value>
  175. </TD>
  176. </TR>
  177. </PrintDataGrid>
  178. <PrintDataGrid id="dataGrid3" styleId="5" x="0" y="803" horizontalFill="true">
  179. <PreScript><![CDATA[secondBirth()]]></PreScript>
  180. <Data dataSource="approveInfo" />
  181. <Col width="276" id="column3" styleId="0" />
  182. <Col width="281" id="column13" styleId="0" />
  183. <Col width="288" id="column7" styleId="0" />
  184. <Col width="294" id="column12" styleId="0" />
  185. <Col width="294" id="column11" styleId="0" />
  186. <Col width="287" id="column10" styleId="0" />
  187. <TR height="101" type="normal" id="row8">
  188. <TD id="cell33" styleId="2">
  189. <Value type="text"><![CDATA[审批结果]]></Value>
  190. </TD>
  191. <TD id="cell34" styleId="2">
  192. <Value type="text"><![CDATA[审批意见]]></Value>
  193. </TD>
  194. <TD id="cell35" styleId="2">
  195. <Value type="text"><![CDATA[审批人]]></Value>
  196. </TD>
  197. <TD id="cell36" styleId="2">
  198. <Value type="text"><![CDATA[审批人所在部门]]></Value>
  199. </TD>
  200. <TD id="cell37" styleId="2">
  201. <Value type="text"><![CDATA[审批人职位]]></Value>
  202. </TD>
  203. <TD id="cell38" styleId="2">
  204. <Value type="text"><![CDATA[审批时间]]></Value>
  205. </TD>
  206. </TR>
  207. <TR height="101" type="detail" id="row10">
  208. <TD id="cell39" styleId="2">
  209. <Script><![CDATA[if(toStr(getFieldValue("isPass")) == "true")
  210. {
  211. setValue("同意");
  212. }
  213. else
  214. {
  215. setValue("不同意");
  216. }]]></Script>
  217. <Value type="field">isPass</Value>
  218. </TD>
  219. <TD id="cell40" styleId="2">
  220. <Value type="field">opinion</Value>
  221. </TD>
  222. <TD id="cell41" styleId="2">
  223. <Value type="field">creator.name</Value>
  224. </TD>
  225. <TD id="cell42" styleId="2">
  226. <Value type="field">AdminOrgUnit.name</Value>
  227. </TD>
  228. <TD id="cell43" styleId="2">
  229. <Value type="field">Position.name</Value>
  230. </TD>
  231. <TD id="cell44" styleId="6">
  232. <Value type="field">createTime</Value>
  233. </TD>
  234. </TR>
  235. </PrintDataGrid>
  236. <PrintLayoutGrid id="layoutGrid1" x="5" y="2212">
  237. <Data />
  238. <Col width="572" id="column8" />
  239. <Col width="799" id="column15" />
  240. <Col width="343" id="column16" />
  241. <TR height="88" id="row9">
  242. <TD id="cell45" />
  243. <TD id="cell46" styleId="7">
  244. <Value type="text"><![CDATA[打印日期:]]></Value>
  245. </TD>
  246. <TD id="cell47" styleId="8">
  247. <Value type="text"><![CDATA[=now()]]></Value>
  248. </TD>
  249. </TR>
  250. </PrintLayoutGrid>
  251. </Sub-objects>
  252. </Page>
  253. </Report>
  254. <PrintInfo>
  255. <PaperSetup>
  256. <Paper>iso-a4</Paper>
  257. <Orientation>PORTRAIT</Orientation>
  258. <PageMargin left="190" right="190" top="250" bottom="250" />
  259. <Header height="150" margin="100" />
  260. <Footer height="150" margin="100" />
  261. </PaperSetup>
  262. <PrinterSetup>
  263. <DynamicPaper>false</DynamicPaper>
  264. <EconomizePaper>false</EconomizePaper>
  265. </PrinterSetup>
  266. <PreviewSetup>
  267. <BackgroundPicture>false</BackgroundPicture>
  268. </PreviewSetup>
  269. </PrintInfo>
  270. </DocRoot>