w_rs_rp_contract_tx.srw 7.8 KB

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