ProfTechAppoint.r1-print 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <DocRoot>
  2. <Parameters />
  3. <DataSources>
  4. <Reference name="profTechAppoint" alias.zh_CN="专业技术人员聘任单查询" alias="#1" desc.zh_CN="多分录基础单据查询" desc="#1" info="profTechAppoint.bos-query" />
  5. <Reference name="ProfTechAppointApprove" alias.zh_CN="专业技术人员聘任单审批查询" alias="#1" desc.zh_CN="专业技术人员聘任单审批信息查询" desc="#1" info="ProfTechAppointApprove.bos-query">
  6. <Params>
  7. <Param name="billId">
  8. <Associate dataSourceID="profTechAppoint">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="16" bold="true" />
  25. <Alignment wrapText="true" />
  26. </Style>
  27. <Style id="1">
  28. <Alignment wrapText="true" />
  29. </Style>
  30. <Style id="0" />
  31. <Style id="7">
  32. <Alignment horizontal="left" />
  33. <NumberFormat>yyyy年m月d日;@</NumberFormat>
  34. </Style>
  35. <Style id="6">
  36. <Alignment horizontal="right" />
  37. </Style>
  38. <Style id="5">
  39. <Borders>
  40. <Border position="left" lineStyle="Single" penStyle="Solid" color="#000000" />
  41. <Border position="top" lineStyle="Single" penStyle="Solid" color="#000000" />
  42. <Border position="right" lineStyle="Single" penStyle="Solid" color="#000000" />
  43. <Border position="bottom" lineStyle="Single" penStyle="Solid" color="#000000" />
  44. </Borders>
  45. <Alignment horizontal="left" wrapText="true" />
  46. <NumberFormat>yyyy-m-d</NumberFormat>
  47. </Style>
  48. <Style id="4">
  49. <Font size="14" bold="true" italic="false" />
  50. <Alignment horizontal="left" />
  51. </Style>
  52. </Styles>
  53. <Report type="r1-print" version="6.2.0">
  54. <Page id="page1" width="1720" height="2470">
  55. <Sub-objects>
  56. <PrintDataGrid id="dataGrid1" styleId="0" x="3" y="8">
  57. <Data dataSource="profTechAppoint" />
  58. <Col width="1717" id="column1" />
  59. <TR height="693" type="normal" displayEveryPage="true" id="row1" styleId="0">
  60. <TD id="cell1" styleId="0">
  61. <Sub-objects>
  62. <PrintLayoutGrid id="layoutGrid1" styleId="1" x="0" y="0">
  63. <Data />
  64. <Col width="286" id="column2" />
  65. <Col width="275" id="column3" />
  66. <Col width="280" id="column7" />
  67. <Col width="288" id="column8" />
  68. <Col width="277" id="column9" />
  69. <Col width="310" id="column10" />
  70. <TR height="193" id="row3">
  71. <TD id="cell2" styleId="2">
  72. <Value type="text"><![CDATA[专业技术人员聘任单]]></Value>
  73. </TD>
  74. <TD id="cell3" styleId="1" />
  75. <TD id="cell5" styleId="1" />
  76. <TD id="cell6" styleId="1" />
  77. <TD id="cell7" styleId="1" />
  78. <TD id="cell8" styleId="1" />
  79. </TR>
  80. <TR height="92" id="row5" styleId="0">
  81. <TD id="cell9" styleId="3">
  82. <Value type="text"><![CDATA[员工编码]]></Value>
  83. </TD>
  84. <TD id="cell13" styleId="3">
  85. <Value type="field" dataSource="profTechAppoint">entrys_person.number</Value>
  86. </TD>
  87. <TD id="cell14" styleId="3">
  88. <Value type="text"><![CDATA[申请人]]></Value>
  89. </TD>
  90. <TD id="cell15" styleId="3">
  91. <Value type="field" dataSource="profTechAppoint">entrys_person.name</Value>
  92. </TD>
  93. <TD id="cell16" styleId="3">
  94. <Value type="text"><![CDATA[所在部门]]></Value>
  95. </TD>
  96. <TD id="cell17" styleId="3">
  97. <Value type="field" dataSource="profTechAppoint">entrys_adminOrg.name</Value>
  98. </TD>
  99. </TR>
  100. <TR height="107" id="row6" styleId="0">
  101. <TD id="cell18" styleId="3">
  102. <Value type="text"><![CDATA[职位]]></Value>
  103. </TD>
  104. <TD id="cell22" styleId="3">
  105. <Value type="field" dataSource="profTechAppoint">entrys_position.name</Value>
  106. </TD>
  107. <TD id="cell23" styleId="3">
  108. <Value type="text"><![CDATA[聘任起始时间]]></Value>
  109. </TD>
  110. <TD id="cell24" styleId="3">
  111. <Value type="field" dataSource="profTechAppoint">entrys.dateStartOfAppoint</Value>
  112. </TD>
  113. <TD id="cell25" styleId="3">
  114. <Value type="text"><![CDATA[聘任终止时间]]></Value>
  115. </TD>
  116. <TD id="cell26" styleId="3">
  117. <Value type="field" dataSource="profTechAppoint">entrys.dateEndOfAppoint</Value>
  118. </TD>
  119. </TR>
  120. <TR height="99" id="row8" styleId="0">
  121. <TD id="cell27" styleId="3">
  122. <Value type="text"><![CDATA[聘任情况]]></Value>
  123. </TD>
  124. <TD id="cell28" styleId="3">
  125. <Value type="field" dataSource="profTechAppoint">entrys.appointStatus</Value>
  126. </TD>
  127. <TD id="cell29" styleId="3">
  128. <Value type="text"><![CDATA[聘任单位]]></Value>
  129. </TD>
  130. <TD id="cell30" styleId="3">
  131. <Value type="field" dataSource="profTechAppoint">entrys.appointUnit</Value>
  132. </TD>
  133. <TD id="cell31" styleId="3">
  134. <Value type="text"><![CDATA[备注]]></Value>
  135. </TD>
  136. <TD id="cell32" styleId="3">
  137. <Value type="field" dataSource="profTechAppoint">description</Value>
  138. </TD>
  139. </TR>
  140. <MergeBlocks>
  141. <Block left="0" right="5" top="0" bottom="0" />
  142. </MergeBlocks>
  143. </PrintLayoutGrid>
  144. </Sub-objects>
  145. </TD>
  146. </TR>
  147. <TR height="100" type="detail" repeatTimes="1" id="row2" styleId="0">
  148. <TD id="cell4" styleId="4">
  149. <Value type="text"><![CDATA[审批意见]]></Value>
  150. </TD>
  151. </TR>
  152. </PrintDataGrid>
  153. <PrintDataGrid id="dataGrid3" styleId="1" x="0" y="809" horizontalFill="true">
  154. <PreScript><![CDATA[secondBirth()]]></PreScript>
  155. <Data dataSource="ProfTechAppointApprove" />
  156. <Col width="287" id="column4" />
  157. <Col width="274" id="column5" />
  158. <Col width="283" id="column6" />
  159. <Col width="288" id="column19" />
  160. <Col width="280" id="column20" />
  161. <Col width="308" id="column21" />
  162. <TR height="97" type="normal" displayEveryPage="true" id="row4" styleId="0">
  163. <TD id="cell10" styleId="3">
  164. <Value type="text"><![CDATA[审批结果]]></Value>
  165. </TD>
  166. <TD id="cell11" styleId="3">
  167. <Value type="text"><![CDATA[审批意见]]></Value>
  168. </TD>
  169. <TD id="cell12" styleId="3">
  170. <Value type="text"><![CDATA[审批人]]></Value>
  171. </TD>
  172. <TD id="cell19" styleId="3">
  173. <Value type="text"><![CDATA[审批人所在部门]]></Value>
  174. </TD>
  175. <TD id="cell20" styleId="3">
  176. <Value type="text"><![CDATA[审批人职位]]></Value>
  177. </TD>
  178. <TD id="cell21" styleId="3">
  179. <Value type="text"><![CDATA[审批时间]]></Value>
  180. </TD>
  181. </TR>
  182. <TR height="97" type="detail" id="row7" styleId="0">
  183. <TD id="cell40" styleId="3">
  184. <Script><![CDATA[if(toStr(getFieldValue("isPass")) != null)
  185. {
  186. if(toStr(getFieldValue("isPass")) == "true")
  187. {
  188. setValue("同意");
  189. }
  190. else
  191. {
  192. setValue("不同意");
  193. }
  194. }]]></Script>
  195. <Value type="field">isPass</Value>
  196. </TD>
  197. <TD id="cell41" styleId="3">
  198. <Value type="field">opinion</Value>
  199. </TD>
  200. <TD id="cell42" styleId="3">
  201. <Value type="field">creator.name</Value>
  202. </TD>
  203. <TD id="cell43" styleId="3">
  204. <Value type="field">adminOrgUnit.name</Value>
  205. </TD>
  206. <TD id="cell46" styleId="3">
  207. <Value type="field">position.name</Value>
  208. </TD>
  209. <TD id="cell53" styleId="5">
  210. <Value type="field">createTime</Value>
  211. </TD>
  212. </TR>
  213. </PrintDataGrid>
  214. <PrintLayoutGrid id="layoutGrid2" x="4" y="2185">
  215. <Data />
  216. <Col width="570" id="column11" />
  217. <Col width="785" id="column12" />
  218. <Col width="363" id="column13" />
  219. <TR height="58" id="row9">
  220. <TD id="cell33" />
  221. <TD id="cell34" styleId="6">
  222. <Value type="text"><![CDATA[打印日期:]]></Value>
  223. </TD>
  224. <TD id="cell35" styleId="7">
  225. <Value type="text"><![CDATA[=now()]]></Value>
  226. </TD>
  227. </TR>
  228. </PrintLayoutGrid>
  229. </Sub-objects>
  230. </Page>
  231. </Report>
  232. <PrintInfo>
  233. <PaperSetup>
  234. <Paper>iso-a4</Paper>
  235. <Orientation>PORTRAIT</Orientation>
  236. <PageMargin left="190" right="190" top="250" bottom="250" />
  237. <Header height="150" margin="100" />
  238. <Footer height="150" margin="100" />
  239. </PaperSetup>
  240. <PrinterSetup>
  241. <DynamicPaper>false</DynamicPaper>
  242. <EconomizePaper>false</EconomizePaper>
  243. </PrinterSetup>
  244. <PreviewSetup>
  245. <BackgroundPicture>false</BackgroundPicture>
  246. </PreviewSetup>
  247. </PrintInfo>
  248. </DocRoot>