w_rs_rp_empinfo.srw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. $PBExportHeader$w_rs_rp_empinfo.srw
  2. forward
  3. global type w_rs_rp_empinfo from w_publ_easyq
  4. end type
  5. type ddlb_1 from dropdownlistbox within w_rs_rp_empinfo
  6. end type
  7. type ddlb_scid from uo_ddlb_scid within w_rs_rp_empinfo
  8. end type
  9. type st_1 from statictext within w_rs_rp_empinfo
  10. end type
  11. type st_2 from statictext within w_rs_rp_empinfo
  12. end type
  13. end forward
  14. global type w_rs_rp_empinfo from w_publ_easyq
  15. string title = "在职人员明细表"
  16. ddlb_1 ddlb_1
  17. ddlb_scid ddlb_scid
  18. st_1 st_1
  19. st_2 st_2
  20. end type
  21. global w_rs_rp_empinfo w_rs_rp_empinfo
  22. type variables
  23. long cur_scid_arr[]
  24. end variables
  25. on w_rs_rp_empinfo.create
  26. int iCurrent
  27. call super::create
  28. this.ddlb_1=create ddlb_1
  29. this.ddlb_scid=create ddlb_scid
  30. this.st_1=create st_1
  31. this.st_2=create st_2
  32. iCurrent=UpperBound(this.Control)
  33. this.Control[iCurrent+1]=this.ddlb_1
  34. this.Control[iCurrent+2]=this.ddlb_scid
  35. this.Control[iCurrent+3]=this.st_1
  36. this.Control[iCurrent+4]=this.st_2
  37. end on
  38. on w_rs_rp_empinfo.destroy
  39. call super::destroy
  40. destroy(this.ddlb_1)
  41. destroy(this.ddlb_scid)
  42. destroy(this.st_1)
  43. destroy(this.st_2)
  44. end on
  45. event open;call super::open;cb_1.triggerevent(clicked!)
  46. end event
  47. event ue_before_open;call super::ue_before_open;if_ue_filter=true
  48. if_ue_sort=true
  49. if_ue_sentdataout=true
  50. end event
  51. type cb_func from w_publ_easyq`cb_func within w_rs_rp_empinfo
  52. end type
  53. type cb_exit from w_publ_easyq`cb_exit within w_rs_rp_empinfo
  54. end type
  55. type cb_2 from w_publ_easyq`cb_2 within w_rs_rp_empinfo
  56. integer taborder = 100
  57. boolean bringtotop = true
  58. end type
  59. type cb_psetup from w_publ_easyq`cb_psetup within w_rs_rp_empinfo
  60. boolean bringtotop = true
  61. end type
  62. type cb_1 from w_publ_easyq`cb_1 within w_rs_rp_empinfo
  63. boolean bringtotop = true
  64. end type
  65. event cb_1::clicked;call super::clicked;if ddlb_1.text='在职'then
  66. dw_1.retrieve(1,cur_scid_arr)
  67. else
  68. dw_1.retrieve(0,cur_scid_arr)
  69. end if
  70. end event
  71. type st_3 from w_publ_easyq`st_3 within w_rs_rp_empinfo
  72. boolean visible = false
  73. integer x = 1353
  74. integer y = 204
  75. integer height = 68
  76. end type
  77. type st_4 from w_publ_easyq`st_4 within w_rs_rp_empinfo
  78. boolean visible = false
  79. integer x = 1961
  80. integer y = 216
  81. end type
  82. type em_1 from w_publ_easyq`em_1 within w_rs_rp_empinfo
  83. boolean visible = false
  84. integer x = 1573
  85. integer taborder = 110
  86. end type
  87. type em_2 from w_publ_easyq`em_2 within w_rs_rp_empinfo
  88. boolean visible = false
  89. integer x = 2062
  90. integer taborder = 120
  91. end type
  92. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rs_rp_empinfo
  93. integer x = 1582
  94. integer y = 40
  95. end type
  96. type cbx_yl from w_publ_easyq`cbx_yl within w_rs_rp_empinfo
  97. integer x = 1371
  98. integer y = 40
  99. end type
  100. type dw_1 from w_publ_easyq`dw_1 within w_rs_rp_empinfo
  101. integer y = 304
  102. integer width = 2693
  103. integer height = 936
  104. string dataobject = "dw_rs_rp_empinfo_mx"
  105. end type
  106. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rs_rp_empinfo
  107. end type
  108. type sle_cust from w_publ_easyq`sle_cust within w_rs_rp_empinfo
  109. end type
  110. type st_mtrl from w_publ_easyq`st_mtrl within w_rs_rp_empinfo
  111. end type
  112. type st_cust from w_publ_easyq`st_cust within w_rs_rp_empinfo
  113. end type
  114. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rs_rp_empinfo
  115. end type
  116. type pb_em1 from w_publ_easyq`pb_em1 within w_rs_rp_empinfo
  117. boolean visible = false
  118. integer x = 2464
  119. integer y = 184
  120. end type
  121. type pb_em2 from w_publ_easyq`pb_em2 within w_rs_rp_empinfo
  122. boolean visible = false
  123. integer x = 2565
  124. integer y = 184
  125. end type
  126. type pb_2 from w_publ_easyq`pb_2 within w_rs_rp_empinfo
  127. boolean visible = false
  128. integer x = 2665
  129. integer y = 184
  130. end type
  131. type cb_help from w_publ_easyq`cb_help within w_rs_rp_empinfo
  132. end type
  133. type cb_copyself from w_publ_easyq`cb_copyself within w_rs_rp_empinfo
  134. end type
  135. type gb_1 from w_publ_easyq`gb_1 within w_rs_rp_empinfo
  136. end type
  137. type ln_bar from w_publ_easyq`ln_bar within w_rs_rp_empinfo
  138. end type
  139. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rs_rp_empinfo
  140. end type
  141. type r_bar from w_publ_easyq`r_bar within w_rs_rp_empinfo
  142. end type
  143. type ln_1 from w_publ_easyq`ln_1 within w_rs_rp_empinfo
  144. end type
  145. type ln_2 from w_publ_easyq`ln_2 within w_rs_rp_empinfo
  146. end type
  147. type ln_3 from w_publ_easyq`ln_3 within w_rs_rp_empinfo
  148. boolean visible = false
  149. end type
  150. type ln_4 from w_publ_easyq`ln_4 within w_rs_rp_empinfo
  151. boolean visible = false
  152. end type
  153. type ddlb_1 from dropdownlistbox within w_rs_rp_empinfo
  154. integer x = 896
  155. integer y = 200
  156. integer width = 370
  157. integer height = 300
  158. integer taborder = 40
  159. boolean bringtotop = true
  160. integer textsize = -9
  161. integer weight = 400
  162. fontcharset fontcharset = gb2312charset!
  163. fontpitch fontpitch = variable!
  164. string facename = "宋体"
  165. long textcolor = 33554432
  166. string text = "在职"
  167. boolean vscrollbar = true
  168. string item[] = {"在职","离职"}
  169. borderstyle borderstyle = stylelowered!
  170. end type
  171. type ddlb_scid from uo_ddlb_scid within w_rs_rp_empinfo
  172. integer x = 165
  173. integer y = 200
  174. integer width = 576
  175. integer height = 620
  176. integer taborder = 90
  177. boolean bringtotop = true
  178. end type
  179. event constructor;call super::constructor;cur_scid_arr = THIS.uo_scid_arr
  180. end event
  181. event selectionchanged;call super::selectionchanged;
  182. cur_scid_arr = THIS.uo_scid_arr
  183. cb_1.triggerevent(clicked!)
  184. end event
  185. type st_1 from statictext within w_rs_rp_empinfo
  186. integer x = 27
  187. integer y = 220
  188. integer width = 128
  189. integer height = 48
  190. boolean bringtotop = true
  191. integer textsize = -9
  192. integer weight = 400
  193. fontcharset fontcharset = gb2312charset!
  194. fontpitch fontpitch = variable!
  195. string facename = "宋体"
  196. long textcolor = 33554432
  197. long backcolor = 134217739
  198. string text = "分部"
  199. alignment alignment = right!
  200. boolean focusrectangle = false
  201. end type
  202. type st_2 from statictext within w_rs_rp_empinfo
  203. integer x = 750
  204. integer y = 220
  205. integer width = 128
  206. integer height = 48
  207. boolean bringtotop = true
  208. integer textsize = -9
  209. integer weight = 400
  210. fontcharset fontcharset = gb2312charset!
  211. fontpitch fontpitch = variable!
  212. string facename = "宋体"
  213. long textcolor = 33554432
  214. long backcolor = 134217739
  215. string text = "状态"
  216. alignment alignment = right!
  217. boolean focusrectangle = false
  218. end type