w_rs_rp_empinfo_tx.srw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. $PBExportHeader$w_rs_rp_empinfo_tx.srw
  2. forward
  3. global type w_rs_rp_empinfo_tx from w_publ_easyq
  4. end type
  5. type ddlb_1 from dropdownlistbox within w_rs_rp_empinfo_tx
  6. end type
  7. type ddlb_scid from uo_ddlb_scid within w_rs_rp_empinfo_tx
  8. end type
  9. type st_1 from statictext within w_rs_rp_empinfo_tx
  10. end type
  11. type st_2 from statictext within w_rs_rp_empinfo_tx
  12. end type
  13. type st_5 from statictext within w_rs_rp_empinfo_tx
  14. end type
  15. type st_6 from statictext within w_rs_rp_empinfo_tx
  16. end type
  17. type em_3 from editmask within w_rs_rp_empinfo_tx
  18. end type
  19. type em_4 from editmask within w_rs_rp_empinfo_tx
  20. end type
  21. end forward
  22. global type w_rs_rp_empinfo_tx from w_publ_easyq
  23. string title = "退休提醒表"
  24. ddlb_1 ddlb_1
  25. ddlb_scid ddlb_scid
  26. st_1 st_1
  27. st_2 st_2
  28. st_5 st_5
  29. st_6 st_6
  30. em_3 em_3
  31. em_4 em_4
  32. end type
  33. global w_rs_rp_empinfo_tx w_rs_rp_empinfo_tx
  34. type variables
  35. long cur_scid_arr[]
  36. end variables
  37. on w_rs_rp_empinfo_tx.create
  38. int iCurrent
  39. call super::create
  40. this.ddlb_1=create ddlb_1
  41. this.ddlb_scid=create ddlb_scid
  42. this.st_1=create st_1
  43. this.st_2=create st_2
  44. this.st_5=create st_5
  45. this.st_6=create st_6
  46. this.em_3=create em_3
  47. this.em_4=create em_4
  48. iCurrent=UpperBound(this.Control)
  49. this.Control[iCurrent+1]=this.ddlb_1
  50. this.Control[iCurrent+2]=this.ddlb_scid
  51. this.Control[iCurrent+3]=this.st_1
  52. this.Control[iCurrent+4]=this.st_2
  53. this.Control[iCurrent+5]=this.st_5
  54. this.Control[iCurrent+6]=this.st_6
  55. this.Control[iCurrent+7]=this.em_3
  56. this.Control[iCurrent+8]=this.em_4
  57. end on
  58. on w_rs_rp_empinfo_tx.destroy
  59. call super::destroy
  60. destroy(this.ddlb_1)
  61. destroy(this.ddlb_scid)
  62. destroy(this.st_1)
  63. destroy(this.st_2)
  64. destroy(this.st_5)
  65. destroy(this.st_6)
  66. destroy(this.em_3)
  67. destroy(this.em_4)
  68. end on
  69. event open;call super::open;em_3.text = '55'
  70. em_4.text = '50'
  71. cb_1.triggerevent(clicked!)
  72. end event
  73. event ue_before_open;call super::ue_before_open;if_ue_filter=true
  74. if_ue_sort=true
  75. if_ue_sentdataout=true
  76. end event
  77. type cb_func from w_publ_easyq`cb_func within w_rs_rp_empinfo_tx
  78. end type
  79. type cb_exit from w_publ_easyq`cb_exit within w_rs_rp_empinfo_tx
  80. end type
  81. type cb_2 from w_publ_easyq`cb_2 within w_rs_rp_empinfo_tx
  82. integer taborder = 100
  83. boolean bringtotop = true
  84. end type
  85. type cb_psetup from w_publ_easyq`cb_psetup within w_rs_rp_empinfo_tx
  86. boolean bringtotop = true
  87. end type
  88. type cb_1 from w_publ_easyq`cb_1 within w_rs_rp_empinfo_tx
  89. boolean bringtotop = true
  90. end type
  91. event cb_1::clicked;call super::clicked;long m_old
  92. long w_old
  93. m_old = long(em_3.text)
  94. w_old = long(em_4.text)
  95. if ddlb_1.text='在职'then
  96. dw_1.retrieve(1,cur_scid_arr,w_old,m_old)
  97. //else
  98. // dw_1.retrieve(0,cur_scid_arr,w_old,m_old)
  99. end if
  100. end event
  101. type st_3 from w_publ_easyq`st_3 within w_rs_rp_empinfo_tx
  102. boolean visible = false
  103. integer x = 1353
  104. integer y = 204
  105. integer height = 68
  106. end type
  107. type st_4 from w_publ_easyq`st_4 within w_rs_rp_empinfo_tx
  108. boolean visible = false
  109. integer x = 1961
  110. integer y = 216
  111. end type
  112. type em_1 from w_publ_easyq`em_1 within w_rs_rp_empinfo_tx
  113. boolean visible = false
  114. integer x = 1573
  115. integer taborder = 110
  116. end type
  117. type em_2 from w_publ_easyq`em_2 within w_rs_rp_empinfo_tx
  118. boolean visible = false
  119. integer x = 2062
  120. integer taborder = 120
  121. end type
  122. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rs_rp_empinfo_tx
  123. integer x = 1582
  124. integer y = 40
  125. end type
  126. type cbx_yl from w_publ_easyq`cbx_yl within w_rs_rp_empinfo_tx
  127. integer x = 1371
  128. integer y = 40
  129. end type
  130. type dw_1 from w_publ_easyq`dw_1 within w_rs_rp_empinfo_tx
  131. integer y = 304
  132. integer width = 2693
  133. integer height = 936
  134. string dataobject = "dw_rs_rp_empinfo_tx"
  135. end type
  136. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rs_rp_empinfo_tx
  137. end type
  138. type sle_cust from w_publ_easyq`sle_cust within w_rs_rp_empinfo_tx
  139. end type
  140. type st_mtrl from w_publ_easyq`st_mtrl within w_rs_rp_empinfo_tx
  141. end type
  142. type st_cust from w_publ_easyq`st_cust within w_rs_rp_empinfo_tx
  143. end type
  144. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rs_rp_empinfo_tx
  145. end type
  146. type pb_em1 from w_publ_easyq`pb_em1 within w_rs_rp_empinfo_tx
  147. boolean visible = false
  148. integer x = 2464
  149. integer y = 184
  150. end type
  151. type pb_em2 from w_publ_easyq`pb_em2 within w_rs_rp_empinfo_tx
  152. boolean visible = false
  153. integer x = 2565
  154. integer y = 184
  155. end type
  156. type pb_2 from w_publ_easyq`pb_2 within w_rs_rp_empinfo_tx
  157. boolean visible = false
  158. integer x = 2665
  159. integer y = 184
  160. end type
  161. type cb_help from w_publ_easyq`cb_help within w_rs_rp_empinfo_tx
  162. end type
  163. type cb_copyself from w_publ_easyq`cb_copyself within w_rs_rp_empinfo_tx
  164. end type
  165. type gb_1 from w_publ_easyq`gb_1 within w_rs_rp_empinfo_tx
  166. end type
  167. type ln_bar from w_publ_easyq`ln_bar within w_rs_rp_empinfo_tx
  168. end type
  169. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rs_rp_empinfo_tx
  170. end type
  171. type r_bar from w_publ_easyq`r_bar within w_rs_rp_empinfo_tx
  172. end type
  173. type ln_1 from w_publ_easyq`ln_1 within w_rs_rp_empinfo_tx
  174. end type
  175. type ln_2 from w_publ_easyq`ln_2 within w_rs_rp_empinfo_tx
  176. end type
  177. type ln_3 from w_publ_easyq`ln_3 within w_rs_rp_empinfo_tx
  178. boolean visible = false
  179. end type
  180. type ln_4 from w_publ_easyq`ln_4 within w_rs_rp_empinfo_tx
  181. boolean visible = false
  182. end type
  183. type ddlb_1 from dropdownlistbox within w_rs_rp_empinfo_tx
  184. boolean visible = false
  185. integer x = 896
  186. integer y = 200
  187. integer width = 370
  188. integer height = 300
  189. integer taborder = 40
  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. string text = "在职"
  198. boolean vscrollbar = true
  199. string item[] = {"在职","离职"}
  200. borderstyle borderstyle = stylelowered!
  201. end type
  202. type ddlb_scid from uo_ddlb_scid within w_rs_rp_empinfo_tx
  203. integer x = 165
  204. integer y = 200
  205. integer width = 576
  206. integer height = 620
  207. integer taborder = 90
  208. boolean bringtotop = true
  209. end type
  210. event constructor;call super::constructor;cur_scid_arr = THIS.uo_scid_arr
  211. end event
  212. event selectionchanged;call super::selectionchanged;
  213. cur_scid_arr = THIS.uo_scid_arr
  214. cb_1.triggerevent(clicked!)
  215. end event
  216. type st_1 from statictext within w_rs_rp_empinfo_tx
  217. integer x = 27
  218. integer y = 220
  219. integer width = 128
  220. integer height = 48
  221. boolean bringtotop = true
  222. integer textsize = -9
  223. integer weight = 400
  224. fontcharset fontcharset = gb2312charset!
  225. fontpitch fontpitch = variable!
  226. string facename = "宋体"
  227. long textcolor = 33554432
  228. long backcolor = 134217739
  229. string text = "分部"
  230. alignment alignment = right!
  231. boolean focusrectangle = false
  232. end type
  233. type st_2 from statictext within w_rs_rp_empinfo_tx
  234. boolean visible = false
  235. integer x = 750
  236. integer y = 220
  237. integer width = 128
  238. integer height = 48
  239. boolean bringtotop = true
  240. integer textsize = -9
  241. integer weight = 400
  242. fontcharset fontcharset = gb2312charset!
  243. fontpitch fontpitch = variable!
  244. string facename = "宋体"
  245. long textcolor = 33554432
  246. long backcolor = 134217739
  247. string text = "状态"
  248. alignment alignment = right!
  249. boolean focusrectangle = false
  250. end type
  251. type st_5 from statictext within w_rs_rp_empinfo_tx
  252. integer x = 773
  253. integer y = 212
  254. integer width = 352
  255. integer height = 72
  256. boolean bringtotop = true
  257. integer textsize = -9
  258. integer weight = 400
  259. fontcharset fontcharset = gb2312charset!
  260. fontpitch fontpitch = variable!
  261. string facename = "宋体"
  262. long textcolor = 33554432
  263. long backcolor = 67108864
  264. string text = "退休年龄:男"
  265. boolean focusrectangle = false
  266. end type
  267. type st_6 from statictext within w_rs_rp_empinfo_tx
  268. integer x = 1335
  269. integer y = 212
  270. integer width = 91
  271. integer height = 52
  272. boolean bringtotop = true
  273. integer textsize = -9
  274. integer weight = 400
  275. fontcharset fontcharset = gb2312charset!
  276. fontpitch fontpitch = variable!
  277. string facename = "宋体"
  278. long textcolor = 33554432
  279. long backcolor = 67108864
  280. string text = "女"
  281. boolean focusrectangle = false
  282. end type
  283. type em_3 from editmask within w_rs_rp_empinfo_tx
  284. integer x = 1115
  285. integer y = 196
  286. integer width = 183
  287. integer height = 84
  288. integer taborder = 70
  289. boolean bringtotop = true
  290. integer textsize = -9
  291. integer weight = 400
  292. fontcharset fontcharset = gb2312charset!
  293. fontpitch fontpitch = variable!
  294. string facename = "宋体"
  295. long textcolor = 33554432
  296. borderstyle borderstyle = stylelowered!
  297. string mask = "###"
  298. end type
  299. type em_4 from editmask within w_rs_rp_empinfo_tx
  300. integer x = 1403
  301. integer y = 196
  302. integer width = 183
  303. integer height = 84
  304. integer taborder = 20
  305. boolean bringtotop = true
  306. integer textsize = -9
  307. integer weight = 400
  308. fontcharset fontcharset = gb2312charset!
  309. fontpitch fontpitch = variable!
  310. string facename = "宋体"
  311. long textcolor = 33554432
  312. borderstyle borderstyle = stylelowered!
  313. string mask = "###"
  314. end type