SMAHB00810_통합판정문구관리.xfdl 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHB00810" position="absolute 0 0 1195 771" titletext="통합판정소견예문관리" onload="SMAHB00810_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="grd_judgexmplst" taborder="19" binddataset="ds_main_judgexmpcdlst_item" useinputpanel="false" position="absolute 0 94 710 743" anchor="all" oncelldblclick="grd_judgexmplst_oncelldblclick" onrbuttonup="grd_judgexmplst_onrbuttonup">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="25" band="left"/>
  12. <Column size="0"/>
  13. <Column size="0"/>
  14. <Column size="66"/>
  15. <Column size="220"/>
  16. <Column size="190"/>
  17. <Column size="100"/>
  18. <Column size="100"/>
  19. <Column size="80"/>
  20. <Column size="120"/>
  21. </Columns>
  22. <Rows>
  23. <Row size="24" band="head"/>
  24. <Row size="24"/>
  25. </Rows>
  26. <Band id="head">
  27. <Cell/>
  28. <Cell col="1" text="sel"/>
  29. <Cell col="2" text="건진상세구분"/>
  30. <Cell col="3" text="소견코드"/>
  31. <Cell col="4" text="한글소견"/>
  32. <Cell col="5" text="영문소견"/>
  33. <Cell col="6" text="소견그룹코드"/>
  34. <Cell col="7" text="소견그룹명"/>
  35. <Cell col="8" text="최종수정자"/>
  36. <Cell col="9" text="최종수정일시"/>
  37. </Band>
  38. <Band id="body">
  39. <Cell celltype="head" text="expr:currow+1"/>
  40. <Cell col="1" text="bind:sel"/>
  41. <Cell col="2" text="bind:healexamdetlflag"/>
  42. <Cell col="3" displaytype="text" text="bind:judgexmpcd"/>
  43. <Cell col="4" displaytype="text" text="bind:judghangshrtcnts"/>
  44. <Cell col="5" displaytype="text" text="bind:judgengshrtcnts"/>
  45. <Cell col="6" displaytype="text" text="bind:judgexmpgrpcd"/>
  46. <Cell col="7" displaytype="text" text="bind:judgexmpgrpnm"/>
  47. <Cell col="8" text="bind:lastupdtrid"/>
  48. <Cell col="9" displaytype="text" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
  49. </Band>
  50. </Format>
  51. </Formats>
  52. </Grid>
  53. <Static id="caption6" text="통합판정소견 예문관리" class="tit_1" position="absolute 0 0 180 25"/>
  54. <Static id="caption1" text="예문입력" class="tit_2" position="absolute 715 73 801 90" anchor="top right"/>
  55. <Shape id="line10" class="line_3" position="absolute 715 740 1194 746" anchor="right bottom"/>
  56. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 715 89 1194 95" anchor="top right"/>
  57. <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 715 138 1194 144" anchor="top right"/>
  58. <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 715 162 1194 168" anchor="top right"/>
  59. <Static id="caption11" text="한글소견" class="cell_1" position="absolute 715 142 794 165" anchor="top right"/>
  60. <Static id="caption7" text="예문코드" class="cell_1" position="absolute 715 118 794 141" anchor="top right"/>
  61. <Static id="caption3" text="예문내역" class="tit_2" position="absolute 0 73 98 90"/>
  62. <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 715 186 1194 192" anchor="top right"/>
  63. <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 715 258 1194 264" anchor="top right"/>
  64. <Static id="caption14" text="영문소견" class="cell_1" position="absolute 715 166 794 189" anchor="top right"/>
  65. <Edit id="ipt_exmpcd" taborder="1" class="input_essential" position="absolute 797 119 923 138" anchor="top right" onkeyup="Edit2_onkeyup"/>
  66. <Edit id="ipt_shrthang" taborder="2" class="input" position="absolute 797 143 1189 162" anchor="top right" onkeyup="Edit2_onkeyup"/>
  67. <Edit id="ipt_shrteng" taborder="3" class="input" position="absolute 797 167 1189 186" anchor="top right" onkeyup="Edit2_onkeyup"/>
  68. <TextArea id="tar_hangcnts" taborder="4" position="absolute 797 262 1189 502" anchor="top right"/>
  69. <TextArea id="tar_engcnts" taborder="5" position="absolute 797 505 1189 741" anchor="top right bottom"/>
  70. <Static id="caption10" text="영문판정소견" class="cell_1" position="absolute 715 505 794 743" anchor="top right bottom" style="padding:0 0 0 4;"/>
  71. <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 715 501 1194 507" anchor="top right"/>
  72. <Div id="grp_search" taborder="6" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
  73. <Layouts>
  74. <Layout>
  75. <Static id="caption21" text="예문코드 :" class="search_name" position="absolute 16 12 102 29" anchor="default"/>
  76. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1122 10 1178 32" anchor="right" onclick="grp_search_btn_search_onclick"/>
  77. <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1101 10 1107 32" anchor="right"/>
  78. <Edit id="ipt_examcnts" taborder="2" class="input_search" position="absolute 420 11 710 30" anchor="default" onkeyup="Edit_onkeyup"/>
  79. <Edit id="ipt_examcd" taborder="3" class="input_search" position="absolute 105 11 270 30" anchor="default" onkeyup="Edit_onkeyup"/>
  80. <Static id="caption22" text="단문내용:" class="search_name" position="absolute 330 12 416 29" anchor="default"/>
  81. <Static id="caption13" text="건진상세:" class="search_name" position="absolute 770 12 856 29" anchor="default"/>
  82. <Combo id="cmb_healexamdetlflag" taborder="4" innerdataset="@ds_init_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 857 11 1007 30"/>
  83. </Layout>
  84. </Layouts>
  85. </Div>
  86. <Static id="caption2" text="사용여부" class="cell_1" position="absolute 945 118 1024 141" anchor="top right"/>
  87. <CheckBox id="chk_useyn" taborder="7" position="absolute 1027 120 1077 140" text="사용" truevalue="Y" falsevalue="N" anchor="top right" onclick="chk_useyn_onclick"/>
  88. <Div id="grp_judgexmpgrp" taborder="8" visible="false" position="absolute 272 210 702 290" class="div_SA2">
  89. <Layouts>
  90. <Layout>
  91. <Static id="caption5" text="소견그룹코드" class="cell_1" position="absolute 5 26 84 49" anchor="default" style="padding:0 0 0 4;"/>
  92. <Static id="caption8" text="소견그룹등록" class="tit_2" position="absolute 5 5 108 23" anchor="default"/>
  93. <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 5 21 425 27" anchor="default"/>
  94. <Edit id="ipt_judgexmpgrpcd" taborder="1" class="input_essential" position="absolute 86 28 206 47" anchor="default"/>
  95. <Static id="caption12" text="소견그룹명" class="cell_1" position="absolute 211 26 290 49" anchor="default" style="padding:0 0 0 4;"/>
  96. <Edit id="ipt_judgexmpgrpnm" taborder="2" class="input_essential" position="absolute 291 28 425 47" anchor="default"/>
  97. <Button id="btn_savepopup" taborder="3" text="저장" class="btn4" position="absolute 369 53 425 75" anchor="default" onclick="grp_judgexmpgrp_btn_savepopup_onclick"/>
  98. <Shape id="line11" linetype="horizontal" class="line_2" position="absolute 0 48 424 54" anchor="default"/>
  99. <Button id="btn_rsltexmp" taborder="4" class="icon_plus" position="absolute 411 6 425 20" anchor="default" onclick="grp_judgexmpgrp_btn_rsltexmp_onclick"/>
  100. </Layout>
  101. </Layouts>
  102. </Div>
  103. <Combo id="cmb_healexamdetlflag2" taborder="10" innerdataset="@ds_init_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 797 95 923 114" anchor="top right"/>
  104. <Static id="caption16" text="조치코드" class="cell_1" position="absolute 715 238 794 261" anchor="top right"/>
  105. <Edit id="ipt_sickcd" taborder="11" position="absolute 797 191 923 210" anchor="top right"/>
  106. <Button id="btn_search1" taborder="12" class="icon_search" position="absolute 926 191 942 207" anchor="top right" onclick="btn_search1_onclick"/>
  107. <Edit id="ipt_sicknm" taborder="13" position="absolute 945 191 1189 210" anchor="top right"/>
  108. <Combo id="cmb_judgeexmpcd" taborder="14" innerdataset="@ds_init_S170" codecolumn="cdid" datacolumn="cdnm" position="absolute 797 215 977 234" anchor="top right"/>
  109. <Button id="btn_search2" taborder="15" class="icon_search" position="absolute 926 239 942 255" anchor="top right" onclick="btn_search2_onclick"/>
  110. <Edit id="input3" taborder="16" position="absolute 797 239 923 258" anchor="top right"/>
  111. <Edit id="input4" taborder="17" position="absolute 945 239 1189 258" anchor="top right"/>
  112. <Shape id="line12" linetype="horizontal" class="line_2" position="absolute 715 210 1194 216" anchor="top right"/>
  113. <Shape id="line13" linetype="horizontal" class="line_2" position="absolute 715 234 1194 240" anchor="top right"/>
  114. <Static id="caption4" text="판정코드" class="cell_1" position="absolute 715 214 794 237" anchor="top right"/>
  115. <Static id="caption18" text="질환코드" class="cell_1" position="absolute 715 190 794 213" anchor="top right"/>
  116. <Static id="caption9" text="한글판정소견" class="cell_1" position="absolute 715 262 794 504" anchor="top right" style="padding:0 0 0 4;"/>
  117. <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 715 114 1194 120" anchor="top right"/>
  118. <Static id="caption15" text="건진상세" class="cell_1" position="absolute 715 94 794 117" anchor="top right"/>
  119. <Button id="btn_copy" taborder="18" text="행복사" class="btn2" position="absolute 657 67 710 89" anchor="top right" onclick="btn_copy_onclick"/>
  120. <Shape id="line4" class="line_10" position="absolute 0 89 710 95" anchor="left top right"/>
  121. <Div id="grp_btn" taborder="20" position="absolute 0 744 1195 768" anchor="left right bottom">
  122. <Layouts>
  123. <Layout>
  124. <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1008 1 1064 23" anchor="right" onclick="grp_btn_btn_save_onclick"/>
  125. <Button id="btn_del" taborder="2" text="삭제" class="btn4" position="absolute 1067 1 1123 23" anchor="right" onclick="grp_btn_btn_del_onclick"/>
  126. <Button id="btn_clear" taborder="3" text="초기화" class="btn4" position="absolute 1126 1 1194 23" anchor="right" onclick="grp_btn_btn_clear_onclick"/>
  127. <Button id="button4" taborder="4" text="확인" onclick="grp_search_button4_onclick" class="btn4" visible="false" position="absolute 840 1 896 23" anchor="right"/>
  128. <Button id="button9" taborder="5" text="취소" onclick="grp_search_button9_onclick" class="btn4" visible="false" position="absolute 899 1 955 23" anchor="right"/>
  129. </Layout>
  130. </Layouts>
  131. </Div>
  132. </Layout>
  133. </Layouts>
  134. <Objects>
  135. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  136. <ColumnInfo>
  137. <Column id="grdid" type="STRING" size="256"/>
  138. </ColumnInfo>
  139. <Rows>
  140. <Row>
  141. <Col id="grdid"/>
  142. </Row>
  143. </Rows>
  144. </Dataset>
  145. <Dataset id="ds_hidden_testlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  146. <ColumnInfo>
  147. <Column id="itemtest" type="STRING" size="256"/>
  148. </ColumnInfo>
  149. <Rows>
  150. <Row>
  151. <Col id="itemtest"/>
  152. </Row>
  153. </Rows>
  154. </Dataset>
  155. <Dataset id="ds_hidden_cnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  156. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  157. <ColumnInfo>
  158. <Column id="cnt" type="STRING" size="256"/>
  159. </ColumnInfo>
  160. </Dataset>
  161. <Dataset id="ds_init_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  162. <ColumnInfo>
  163. <Column id="judgeexmpcd" type="STRING" size="256"/>
  164. </ColumnInfo>
  165. </Dataset>
  166. <Dataset id="ds_main_judgexmpcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  167. <ColumnInfo>
  168. <Column id="sel" type="STRING" size="256"/>
  169. <Column id="healexamdetlflag" type="STRING" size="256"/>
  170. <Column id="judgexmpcd" type="STRING" size="256"/>
  171. <Column id="judghangshrtcnts" type="STRING" size="256"/>
  172. <Column id="judgengshrtcnts" type="STRING" size="256"/>
  173. <Column id="judgexmpgrpcd" type="STRING" size="256"/>
  174. <Column id="judgexmpgrpnm" type="STRING" size="256"/>
  175. <Column id="lastupdtrid" type="STRING" size="256"/>
  176. <Column id="lastupdtdt" type="STRING" size="256"/>
  177. </ColumnInfo>
  178. <Rows>
  179. <Row>
  180. <Col id="sel"/>
  181. <Col id="healexamdetlflag"/>
  182. <Col id="judgexmpcd"/>
  183. <Col id="judghangshrtcnts"/>
  184. <Col id="judgengshrtcnts"/>
  185. <Col id="judgexmpgrpcd"/>
  186. <Col id="judgexmpgrpnm"/>
  187. <Col id="lastupdtrid"/>
  188. <Col id="lastupdtdt"/>
  189. </Row>
  190. </Rows>
  191. </Dataset>
  192. <Dataset id="ds_main_judgexmpdetl_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  193. <ColumnInfo>
  194. <Column id="judgexmpcd" type="STRING" size="256"/>
  195. <Column id="judghangshrtcnts" type="STRING" size="256"/>
  196. <Column id="judgengshrtcnts" type="STRING" size="256"/>
  197. <Column id="useyn" type="STRING" size="256"/>
  198. <Column id="sickcd" type="STRING" size="256"/>
  199. <Column id="sicknm" type="STRING" size="256"/>
  200. <Column id="judgeexmpcd" type="STRING" size="256"/>
  201. <Column id="meascd" type="STRING" size="256"/>
  202. <Column id="measnm" type="STRING" size="256"/>
  203. <Column id="judghangcnts" type="STRING" size="256"/>
  204. <Column id="judgengcnts" type="STRING" size="256"/>
  205. <Column id="judgcd" type="STRING" size="256"/>
  206. </ColumnInfo>
  207. <Rows>
  208. <Row>
  209. <Col id="judgexmpcd"/>
  210. <Col id="judghangshrtcnts"/>
  211. <Col id="judgengshrtcnts"/>
  212. <Col id="useyn"/>
  213. <Col id="sickcd"/>
  214. <Col id="sicknm"/>
  215. <Col id="judgeexmpcd"/>
  216. <Col id="meascd"/>
  217. <Col id="measnm"/>
  218. <Col id="judghangcnts"/>
  219. <Col id="judgengcnts"/>
  220. <Col id="judgcd"/>
  221. </Row>
  222. </Rows>
  223. </Dataset>
  224. <Dataset id="ds_popup_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  225. <ColumnInfo>
  226. <Column id="hardcdnm" type="STRING" size="256"/>
  227. <Column id="hardcd" type="STRING" size="256"/>
  228. </ColumnInfo>
  229. <Rows>
  230. <Row>
  231. <Col id="hardcdnm">판정그룹등록</Col>
  232. <Col id="hardcd">addjudgegrp</Col>
  233. </Row>
  234. <Row>
  235. <Col id="hardcdnm">판정그룹삭제</Col>
  236. <Col id="hardcd">deljudgegrp</Col>
  237. </Row>
  238. </Rows>
  239. </Dataset>
  240. <Dataset id="ds_temp_tmpdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  241. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  242. <ColumnInfo>
  243. <Column id="okflag" type="STRING" size="256"/>
  244. <Column id="instcd" type="STRING" size="256"/>
  245. <Column id="healexamflag" type="STRING" size="256"/>
  246. <Column id="testcd" type="STRING" size="256"/>
  247. <Column id="judgexmpcd" type="STRING" size="256"/>
  248. </ColumnInfo>
  249. <Rows>
  250. <Row>
  251. <Col id="okflag"/>
  252. <Col id="instcd"/>
  253. <Col id="healexamflag"/>
  254. <Col id="testcd"/>
  255. <Col id="judgexmpcd"/>
  256. </Row>
  257. </Rows>
  258. </Dataset>
  259. <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  260. <ColumnInfo>
  261. <Column id="savesick" type="STRING" size="256"/>
  262. <Column id="healexamflag" type="STRING" size="256"/>
  263. <Column id="mode" type="STRING" size="256"/>
  264. <Column id="healexamdetlflag" type="STRING" size="256"/>
  265. </ColumnInfo>
  266. <Rows>
  267. <Row>
  268. <Col id="savesick"/>
  269. <Col id="healexamflag"/>
  270. <Col id="mode"/>
  271. <Col id="healexamdetlflag"/>
  272. </Row>
  273. </Rows>
  274. </Dataset>
  275. <Dataset id="ds_init_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  276. <ColumnInfo>
  277. <Column id="cdid" type="STRING" size="256"/>
  278. <Column id="cdnm" type="STRING" size="256"/>
  279. </ColumnInfo>
  280. </Dataset>
  281. <Dataset id="ds_popup_jugdgexmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  282. <ColumnInfo>
  283. <Column id="judgexmpgrpcd" type="STRING" size="256"/>
  284. <Column id="judgexmpgrpnm" type="STRING" size="256"/>
  285. </ColumnInfo>
  286. </Dataset>
  287. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  288. <ColumnInfo>
  289. <Column id="srchjudgexmpcd" type="STRING" size="256"/>
  290. <Column id="srchjudgexmpcnts" type="STRING" size="256"/>
  291. <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
  292. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  293. <Column id="srchinstcd" type="STRING" size="256"/>
  294. <Column id="srchhealexamflag" type="STRING" size="256"/>
  295. <Column id="srchjudgexmpcd2" type="STRING" size="256"/>
  296. </ColumnInfo>
  297. <Rows>
  298. <Row>
  299. <Col id="srchjudgexmpcd"/>
  300. <Col id="srchjudgexmpcnts"/>
  301. <Col id="srchjudgexmpcd2"/>
  302. <Col id="srchhealexamdetlflag"/>
  303. </Row>
  304. </Rows>
  305. </Dataset>
  306. <Dataset id="ds_send_savesub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  307. <ColumnInfo>
  308. <Column id="savetest" type="STRING" size="256"/>
  309. <Column id="judgcd" type="STRING" size="256"/>
  310. <Column id="instcd" type="STRING" size="256"/>
  311. <Column id="healexamflag" type="STRING" size="256"/>
  312. </ColumnInfo>
  313. <Rows>
  314. <Row>
  315. <Col id="savetest"/>
  316. <Col id="judgcd"/>
  317. <Col id="instcd"/>
  318. <Col id="healexamflag"/>
  319. </Row>
  320. </Rows>
  321. </Dataset>
  322. <Dataset id="ds_send_savegrp_grpdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  323. <Dataset id="ds_send_savegrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  324. <ColumnInfo>
  325. <Column id="healexamflag" type="STRING" size="256"/>
  326. <Column id="instcd" type="STRING" size="256"/>
  327. <Column id="healexamdetlflag" type="STRING" size="256"/>
  328. </ColumnInfo>
  329. <Rows>
  330. <Row>
  331. <Col id="healexamflag"/>
  332. <Col id="instcd"/>
  333. <Col id="healexamdetlflag"/>
  334. </Row>
  335. </Rows>
  336. </Dataset>
  337. <Dataset id="ds_init_S170" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  338. <ColumnInfo>
  339. <Column id="cdid" type="STRING" size="256"/>
  340. <Column id="cdnm" type="STRING" size="256"/>
  341. </ColumnInfo>
  342. </Dataset>
  343. </Objects>
  344. <Bind>
  345. <BindItem id="item0" compid="ipt_exmpcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgexmpcd"/>
  346. <BindItem id="item1" compid="ipt_shrthang" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangshrtcnts"/>
  347. <BindItem id="item2" compid="ipt_shrteng" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengshrtcnts"/>
  348. <BindItem id="item3" compid="tar_hangcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judghangcnts"/>
  349. <BindItem id="item4" compid="tar_engcnts" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgengcnts"/>
  350. <BindItem id="item5" compid="grp_search.ipt_examcnts" propid="value" datasetid="ds_send" columnid="srchjudgexmpcnts"/>
  351. <BindItem id="item6" compid="grp_search.ipt_examcd" propid="value" datasetid="ds_send" columnid="srchjudgexmpcd"/>
  352. <BindItem id="item7" compid="chk_useyn" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="useyn"/>
  353. <BindItem id="item8" compid="grp_judgexmpgrp.ipt_judgexmpgrpcd" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpcd"/>
  354. <BindItem id="item9" compid="grp_judgexmpgrp.ipt_judgexmpgrpnm" propid="value" datasetid="ds_popup_jugdgexmp" columnid="judgexmpgrpnm"/>
  355. <BindItem id="item10" compid="grp_search.cmb_healexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  356. <BindItem id="item11" compid="cmb_healexamdetlflag2" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  357. <BindItem id="item12" compid="ipt_sickcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="sickcd"/>
  358. <BindItem id="item13" compid="ipt_sicknm" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="sicknm"/>
  359. <BindItem id="item14" compid="cmb_judgeexmpcd" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="judgeexmpcd"/>
  360. <BindItem id="item15" compid="input3" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="meascd"/>
  361. <BindItem id="item16" compid="input4" propid="value" datasetid="ds_main_judgexmpdetl_item" columnid="measnm"/>
  362. </Bind>
  363. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  364. * System Name :
  365. * Job Name :
  366. * Creator :
  367. * Make Date : 2017-12-04
  368. * Description :
  369. *---------------------------------------------------------------------------------------
  370. * Modify Date Modifier Modify Description
  371. *---------------------------------------------------------------------------------------
  372. * 2017-06-19 Live Converter TF->XP
  373. *
  374. *---------------------------------------------------------------------------------------
  375. ****************************************************************************************/
  376. //=======================================================================================
  377. // Lib Include
  378. //---------------------------------------------------------------------------------------
  379. include "com_commonxp::comm_main.xjs";
  380. include "ast_commonxp::AST.xjs";
  381. include "ast_healexamxp::AHA001.xjs";
  382. //include "ast_healexamxp::AHA.xjs";
  383. include "ast_healthexambasexp::healcombolist.xjs";
  384. //=======================================================================================
  385. // Global Form Variable
  386. //---------------------------------------------------------------------------------------
  387. var arErrorCode = new HashArray();
  388. //=======================================================================================
  389. // Function
  390. //---------------------------------------------------------------------------------------
  391. /*-**************************************************************************************
  392. * Argument : N/A
  393. * Description : 판정소견그룹 저장
  394. ****************************************************************************************/
  395. function call_TXAHB00806() {
  396. var dsUpdate = grdf_getGridUpdateData(grd_judgexmplst, "all");
  397. grdf_setStatusColumn(dsUpdate, "m");
  398. ds_send_savegrp_grpdata.copyData(dsUpdate, true);
  399. dsf_setFixVal(ds_send_savegrp_grpdata, "instcd:"+ds_send_savegrp.getColumn(0, "instcd")+",healexamflag:"+ds_send_savegrp.getColumn(0, "healexamflag"));
  400. var oParam = {};
  401. oParam.id = "TXAHB00806";
  402. oParam.service = "healexambaseapp.CmtCode";
  403. oParam.method = "reqNewExeJudgExmpGrp";
  404. oParam.inds = "req=ds_send_savegrp_grpdata";
  405. oParam.outds = "ds_hidden_cnt=item";
  406. oParam.async = false;
  407. oParam.callback = "cf_TXAHB00806";
  408. tranf_submit(oParam);
  409. }
  410. function cf_TXAHB00806(sSvcId, nErrorCode, sErrorMsg) {
  411. arErrorCode.push(sSvcId, nErrorCode);
  412. }
  413. /*-**************************************************************************************
  414. * Argument : N/A
  415. * Description : 리스트조회
  416. ****************************************************************************************/
  417. function fGetJudgExmpList(){
  418. dsf_makeValue( ds_temp_tmpdata, "srchhealexamdetlflag", "string", grp_search.cmb_healexamdetlflag.value);
  419. fInit(false);
  420. ds_main_judgexmpcdlst_item.clearData();
  421. ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
  422. ds_send.setColumn( 0, "srchhealexamflag", fGetHealExamFlag()); //화면 parameter가 없을 경우 이 메소드 실행 오류
  423. ds_send.setColumn( 0, "srchhealexamdetlflag", ds_temp_tmpdata.getColumn(0, "srchhealexamdetlflag"));
  424. if(fGetHealExamFlag() == "G"){
  425. grp_search.caption13.visible = true;
  426. grp_search.cmb_healexamdetlflag.visible = true;
  427. caption15.visible = true;
  428. cmb_healexamdetlflag2.visible = true;
  429. ds_send.setColumn( 0, "srchhealexamdetlflag", cmb_healexamdetlflag2.value);
  430. }else{
  431. grp_search.caption13.visible = false;
  432. grp_search.cmb_healexamdetlflag.visible = false;
  433. caption15.visible = false;
  434. cmb_healexamdetlflag2.visible = false;
  435. }
  436. var oParam = {};
  437. oParam.id = "TRAHB00806";
  438. oParam.service = "healexambaseapp.CmtCode";
  439. oParam.method = "reqGetNewCmtCdList";
  440. oParam.inds = "req=ds_send";
  441. oParam.outds = "ds_main_judgexmpcdlst_item=item";
  442. oParam.async = false;
  443. //oParam.callback = "cf_TRAHB00806";
  444. tranf_submit(oParam);
  445. }
  446. /*-**************************************************************************************
  447. * Argument : N/A
  448. * Description : 초기화 설정
  449. ****************************************************************************************/
  450. function fInit(vInput){
  451. ipt_exmpcd.enable = true;
  452. if( vInput == false ) {
  453. ds_main_judgexmpcdlst_item.clearData();
  454. }
  455. //노드를 중복하여 생성하므로 노드를 지웠다가 다시 생성
  456. ds_init_baseinfo.clearData();
  457. dsf_makeValue( ds_init_baseinfo, "hedetflaglst", "string", "" );
  458. dsf_makeValue( ds_init_baseinfo, "judgeexmpcd", "string", "" );
  459. ds_main_judgexmpdetl_item.clearData(); ds_main_judgexmpdetl_item.addRow();
  460. ds_send.setColumn(0, "srchhealexamdetlflag", "");
  461. //콤보설정(공통코드)
  462. var arrParam = [{dsNm: "ds_init_A0070", cdGrpId: "A0070"}
  463. ];
  464. appf_getCodeList(arrParam);
  465. //콤보설정(건진공통코드)
  466. var arrParam = [{dsNm: "ds_init_S170", cdGrpId: "S170"}
  467. ];
  468. healGetCodeList(arrParam);
  469. frmf_addComboItem("grp_search.cmb_healexamdetlflag"," ","","above");
  470. ipt_exmpcd.setFocus();
  471. }
  472. /*-**************************************************************************************
  473. * Argument : bCopy - 예문코드 입력여부(true/false)
  474. * Description : 예문입력 조회
  475. ****************************************************************************************/
  476. function fGetExmpDetlInfo(bCopy){
  477. var idx = ds_main_judgexmpcdlst_item.rowposition;
  478. if( idx < 0 ) return ;
  479. ipt_exmpcd.enable = bCopy ;
  480. ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
  481. ds_send.setColumn( 0, "srchhealexamflag", fGetHealExamFlag());
  482. ds_send.setColumn( 0, "srchhealexamdetlflag", ds_main_judgexmpcdlst_item.getColumn(idx, "healexamdetlflag" ));
  483. ds_send.setColumn( 0, "srchjudgexmpcd2", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd" ));
  484. dsf_makeValue(ds_send, "srchjudgexmpcd", "string", ds_main_judgexmpcdlst_item.getColumn(idx, "judgexmpcd" ));
  485. var oParam = {};
  486. oParam.id = "TRAHB00807";
  487. oParam.service = "healexambaseapp.CmtCode";
  488. oParam.method = "reqGetCmtCdDetl2";
  489. oParam.inds = "req=ds_send";
  490. oParam.outds = "ds_main_judgexmpdetl_item=item";
  491. oParam.async = false;
  492. oParam.callback = "cf_TRAHB00807";
  493. tranf_submit(oParam);
  494. if(bCopy == true ) {
  495. ds_main_judgexmpdetl_item.setColumn( 0, "judgexmpcd","");
  496. ipt_exmpcd.setFocus();
  497. }
  498. }
  499. function cf_TRAHB00807(sSvcId, nErrorCode, sErrorMsg) {
  500. arErrorCode.push(sSvcId, nErrorCode);
  501. if(ds_main_judgexmpdetl_item.rowcount == 0) {
  502. ds_main_judgexmpdetl_item.addRow();
  503. dsf_setDefaultVal(ds_main_judgexmpdetl_item, "all");
  504. }
  505. }
  506. /*-**************************************************************************************
  507. * Argument : N/A
  508. * Description : 저장시 null 체크
  509. ****************************************************************************************/
  510. function fCheckVal(){
  511. var vCd = ds_main_judgexmpdetl_item.getColumn(0, "judgexmpcd");
  512. var vHealDtl = cmb_healexamdetlflag2.value;
  513. if(utlf_isNull(vCd)) {
  514. sysf_messageBox("예문코드는","I003");
  515. ipt_exmpcd.setFocus(); return;
  516. }
  517. if(utlf_isNull(vHealDtl)) {
  518. sysf_messageBox("건진상세는","I003");
  519. cmb_healexamdetlflag2.setFocus(); return;
  520. }
  521. return true;
  522. }
  523. /*-**************************************************************************************
  524. * Argument : vDel - true/false
  525. * Description : 저장
  526. ****************************************************************************************/
  527. function fSaveExmp(vDel){
  528. if(vDel == true ) {
  529. if ( sysf_messageBox("통합판정소견정보를","Q001") !=6 ) return ;
  530. } else {
  531. if ( sysf_messageBox("통합판정소견정보를","Q002") !=6 ) return ;
  532. }
  533. if(!fCheckVal()) return;
  534. ds_send_save.copyData(ds_main_judgexmpdetl_item);
  535. if( ipt_exmpcd.enable != true ){
  536. //update
  537. if(vDel == false ) {
  538. dsf_makeValue(ds_send_save, "mode", "string", "u");
  539. }else {
  540. dsf_makeValue(ds_send_save, "mode", "string", "d");
  541. }
  542. }else {
  543. //update
  544. dsf_makeValue(ds_send_save, "mode", "string", "i");
  545. }
  546. dsf_makeValue( ds_send_save, "healexamflag", "string", fGetHealExamFlag() );
  547. if(fGetHealExamFlag() == "G"){
  548. dsf_makeValue( ds_send_save, "healexamdetlflag", "string", grp_search.cmb_healexamdetlflag.value );
  549. }
  550. var oParam = {};
  551. oParam.id = "TXAHB00805";
  552. oParam.service = "healexambaseapp.CmtCode";
  553. oParam.method = "reqNewExeCmtCode";
  554. oParam.inds = "req=ds_send_save";
  555. oParam.outds = "ds_hidden=item";
  556. oParam.async = false;
  557. oParam.callback = "cf_TXAHB00805";
  558. tranf_submit(oParam);
  559. if(arErrorCode.pop("TXAHB00805") > -1) fGetExmpDetlInfo(false);
  560. dsf_makeValue( ds_temp_tmpdata, "tmpstat", "string", "Y");
  561. }
  562. function cf_TXAHB00805(sSvcId, nErrorCode, sErrorMsg) {
  563. arErrorCode.push(sSvcId, nErrorCode);
  564. }
  565. /*-**************************************************************************************
  566. * Argument : vMode - A:등록 , D:삭제
  567. * Description : 판정소견그룹을 등록,삭제 한다.
  568. ****************************************************************************************/
  569. function fSetJudgeGrp(vMode) {
  570. var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
  571. // 판정소견그룹을 등록한다.
  572. if(vMode == "A") {
  573. // 팝업화면을 나타낸다
  574. grp_judgexmpgrp.visible = true;
  575. //초기화
  576. ds_popup_jugdgexmp.setColumn( 0, "judgexmpgrpcd","");
  577. ds_popup_jugdgexmp.setColumn( 0, "judgexmpgrpnm","");
  578. } else if(vMode == "D") {
  579. // 선택한 row의 그룹코드,명을 삭제한다.
  580. for(var i=0; i < selIdxs.length; i++) {
  581. var idx = selIdxs[i];
  582. ds_main_judgexmpcdlst_item.setColumn(idx, "judgexmpgrpcd", "");
  583. ds_main_judgexmpcdlst_item.setColumn(idx, "judgexmpgrpnm", "");
  584. grdf_setStatus(grd_judgexmplst, "U", [idx]);
  585. }
  586. ds_send_savegrp.setColumn( 0, "healexamflag" , ds_send.getColumn(0, "srchhealexamflag"));
  587. ds_send_savegrp.setColumn( 0, "instcd" , ds_send.getColumn(0, "srchinstcd"));
  588. call_TXAHB00806();
  589. if(arErrorCode.pop("TXAHB00806") > -1) ds_main_judgexmpcdlst_item.applyChange();
  590. }
  591. }
  592. /*-**************************************************************************************
  593. * Argument : N/A
  594. * Description : 행선택 전달(팝업오픈시)
  595. ****************************************************************************************/
  596. function fSetData(){
  597. if(frmf_checkOpener()){
  598. var obj = new Object();
  599. obj.judgexmpcd = ds_main_judgexmpcdlst_item.getColumn(ds_main_judgexmpcdlst_item.rowposition, "judgexmpcd");
  600. obj.judghangshrtcnts = ds_main_judgexmpcdlst_item.getColumn(ds_main_judgexmpcdlst_item.rowposition, "judghangshrtcnts");
  601. opener.totjudginfo(obj);
  602. this.close();
  603. }
  604. }
  605. //=======================================================================================
  606. // Event
  607. //---------------------------------------------------------------------------------------
  608. /****************************************************************************************
  609. * Components : Form
  610. * Description : 화면 처음 초기화시 폼초기화
  611. ****************************************************************************************/
  612. function SMAHB00810_onload(obj:Form, e:LoadEventInfo) {
  613. frmf_initForm(obj);
  614. //grdf_initGrid(grd_XXX);
  615. //grdf_setGridSort(grd_XXX);
  616. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  617. //팝업유무 판단하여 초기셋팅
  618. if(frmf_checkOpener()){
  619. grp_search.cmb_healexamdetlflag.enable = false;
  620. grp_btn.btn_save.visible = false;
  621. grp_btn.btn_del.visible = false;
  622. grp_btn.btn_clear.visible = false;
  623. btn_copy.visible = false;
  624. grp_search.button4.visible = true;
  625. grp_search.button9.visible = true;
  626. caption1.visible = false;
  627. grd_judgexmplst.position.width = grp_search.position.width;
  628. line4.position.width = grp_search.position.width;
  629. var btn4W = grp_search.button4.position.width;
  630. var btn9W = grp_search.button9.position.width;
  631. grp_search.button9.position.right = grp_btn.position.right - 1;
  632. grp_search.button9.position.left = grp_search.button9.position.right - btn9W;
  633. grp_search.button4.position.right = grp_search.button9.position.left - 3;
  634. grp_search.button4.position.left = grp_search.button4.position.right - btn4W;
  635. }
  636. fGetJudgExmpList();
  637. //화면권한추가
  638. grp_search.btn_search.enable = frmf_checkAuth("R");
  639. grp_btn.btn_save.enable = frmf_checkAuth("X");
  640. grp_btn.btn_clear.enable = frmf_checkAuth("X");
  641. grp_btn.btn_del.enable = frmf_checkAuth("X");
  642. frmf_createPopupMenuDs("pmn_menu", "pmn_menu_onmenuclick", ds_popup_item);
  643. }
  644. /****************************************************************************************
  645. * Components : PopupMenu
  646. * Description : ds에 생성된 id별 함수 실행
  647. ****************************************************************************************/
  648. function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  649. {
  650. if(e.id == "addjudgegrp") {
  651. fSetJudgeGrp("A");
  652. }
  653. if(e.id == "deljudgegrp") {
  654. fSetJudgeGrp("D");
  655. }
  656. }
  657. /****************************************************************************************
  658. * Components : Button
  659. * Description : 조회
  660. ****************************************************************************************/
  661. function grp_search_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  662. fGetJudgExmpList();
  663. }
  664. /****************************************************************************************
  665. * Components : Edit
  666. * Description : 조회조건 입력후 조회
  667. ****************************************************************************************/
  668. function Edit_onkeyup(obj:Edit, e:KeyEventInfo)
  669. {
  670. if(e.keycode == 13) {
  671. obj.updateToDataset();
  672. grp_search.btn_search.click();
  673. }
  674. }
  675. /****************************************************************************************
  676. * Components : Button
  677. * Description : 소견그룹등록 저장
  678. ****************************************************************************************/
  679. function grp_judgexmpgrp_btn_savepopup_onclick(obj:Button, e:ClickEventInfo) {
  680. var selIdxs = grdf_getSelectedRows(grd_judgexmplst);
  681. var judgexmpgrpcd = grp_judgexmpgrp.ipt_judgexmpgrpcd.value;
  682. var judgexmpgrpnm = grp_judgexmpgrp.ipt_judgexmpgrpnm.value;
  683. for(var i = 0; i < selIdxs.length; i++) {
  684. var selIdx = selIdxs[i];
  685. if(!utlf_isNull(judgexmpgrpcd)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpcd", judgexmpgrpcd);
  686. if(!utlf_isNull(judgexmpgrpnm)) ds_main_judgexmpcdlst_item.setColumn(selIdx, "judgexmpgrpnm", judgexmpgrpnm);
  687. grdf_setStatus(grd_judgexmplst, "U", [selIdx]);
  688. }
  689. ds_send_savegrp.setColumn( 0, "healexamflag" , ds_send.getColumn(0, "srchhealexamflag"));
  690. ds_send_savegrp.setColumn( 0, "instcd" , ds_send.getColumn(0, "srchinstcd"));
  691. grp_judgexmpgrp.visible = false;
  692. call_TXAHB00806();
  693. if(arErrorCode.pop("TXAHB00806") > -1) ds_main_judgexmpcdlst_item.applyChange();
  694. }
  695. /****************************************************************************************
  696. * Components : Button
  697. * Description : 소견그룹등록 닫기
  698. ****************************************************************************************/
  699. function grp_judgexmpgrp_btn_rsltexmp_onclick(obj:Button, e:ClickEventInfo) {
  700. grp_judgexmpgrp.visible = false;
  701. }
  702. /****************************************************************************************
  703. * Components : Button
  704. * Description : 질환코드 팝업
  705. ****************************************************************************************/
  706. function btn_search1_onclick(obj:Button, e:ClickEventInfo) {
  707. ahafGetSickCd("SMAHB00810", ipt_sickcd.text , ipt_sicknm.text, 0, "ds_main_judgexmpdetl_item");
  708. ds_main_judgexmpdetl_item.setColumn( 0, "judgeexmpcd", ds_main_judgexmpdetl_item.getColumn(0, "judgcd"));
  709. }
  710. /****************************************************************************************
  711. * Components : Button
  712. * Description : 조치코드 팝업
  713. ****************************************************************************************/
  714. function btn_search2_onclick(obj:Button, e:ClickEventInfo) {
  715. /*param1 : 호출xrw, param2:대분류코드, param3:중분류코드, param4:멀티유무, param5:목적노드셋, param6:중분류셋팅여부*/
  716. if(ahzfOpenEtcCdSel( "SMAHB00810", "G", "G02", "N", "ds_temp_templst_item", "Y")){
  717. dsf_makeValue( ds_main_judgexmpdetl_item, "meascd", "string", ds_temp_templst_item.getColumn(0, "etcdetlcd"));
  718. dsf_makeValue( ds_main_judgexmpdetl_item, "measnm", "string", ds_temp_templst_item.getColumn(0, "etcdetlnm"));
  719. }
  720. }
  721. /****************************************************************************************
  722. * Components : Button
  723. * Description : 행복사
  724. ****************************************************************************************/
  725. function btn_copy_onclick(obj:Button, e:ClickEventInfo) {
  726. fGetExmpDetlInfo(true);
  727. }
  728. /****************************************************************************************
  729. * Components : Grid
  730. * Description : 행선택
  731. ****************************************************************************************/
  732. function grd_judgexmplst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  733. //그리드의 셀 이외의 곳을 클릭하면 종료한다.
  734. if(e.row < 0) return false;
  735. // 그리드의 헤더부분을 클릭하면 종료한다.
  736. fGetExmpDetlInfo(false);
  737. fSetData();
  738. }
  739. /****************************************************************************************
  740. * Components : Grid
  741. * Description : 우클릭 메뉴 실행
  742. ****************************************************************************************/
  743. function grd_judgexmplst_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  744. {
  745. if(e.row > -1){
  746. grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
  747. pmn_menu.trackPopup(e.screenX,e.screenY);
  748. }
  749. return true;
  750. }
  751. /****************************************************************************************
  752. * Components : Button
  753. * Description : 저장
  754. ****************************************************************************************/
  755. function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo) {
  756. var irow = ds_main_judgexmpcdlst_item.rowposition;
  757. fSaveExmp(false);
  758. if(ds_temp_tmpdata.getColumn(0, "tmpstat") == "Y"){
  759. grp_search.btn_search.click();
  760. ds_main_judgexmpcdlst_item.rowposition = irow;
  761. frmf_inputEnterKey("grd_judgexmplst", "oncelldblclick", new GridClickEventInfo);
  762. }
  763. }
  764. /****************************************************************************************
  765. * Components : Button
  766. * Description : 삭제
  767. ****************************************************************************************/
  768. function grp_btn_btn_del_onclick(obj:Button, e:ClickEventInfo) {
  769. var irow = 0;
  770. fSaveExmp(true);
  771. grp_search.btn_search.click();
  772. ds_main_judgexmpcdlst_item.rowposition = irow;
  773. frmf_inputEnterKey("grd_judgexmplst", "oncelldblclick", new GridClickEventInfo);
  774. }
  775. /****************************************************************************************
  776. * Components : Button
  777. * Description : 초기화
  778. ****************************************************************************************/
  779. function grp_btn_btn_clear_onclick(obj:Button, e:ClickEventInfo) {
  780. fInit(true);
  781. }
  782. /****************************************************************************************
  783. * Components : Button
  784. * Description : 확인(팝업오픈)
  785. ****************************************************************************************/
  786. function grp_search_button4_onclick(obj:Button, e:ClickEventInfo) {
  787. if( fSetData() == 1){
  788. this.close();
  789. }
  790. }
  791. /****************************************************************************************
  792. * Components : Button
  793. * Description : 취소(팝업오픈)
  794. ****************************************************************************************/
  795. function grp_search_button9_onclick(obj:Button, e:ClickEventInfo) {
  796. this.close();
  797. }
  798. /****************************************************************************************
  799. * Components : Edit
  800. * Description : 엔터시 다음 컴포넌트로 이동
  801. ****************************************************************************************/
  802. function Edit2_onkeyup(obj:Edit, e:KeyEventInfo)
  803. {
  804. if(e.keycode == 13) this.getNextComponent(obj).setFocus();
  805. }
  806. function chk_useyn_onclick(obj:CheckBox, e:ClickEventInfo)
  807. {
  808. if(obj.value == false) ds_main_judgexmpdetl_item.setColumn(0, "useyn", "");
  809. }
  810. ]]></Script>
  811. </Form>
  812. </FDL>