SMPID33100_신생아중환자실적정성평가조회.xfdl 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPPI01100" position="absolute 0 0 1161 733" titletext="NICU NST 협진현황" oninit="SMPPI01100_oninit" onload="SMPPI01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 26 1161 732" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 1160 58" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout width="1160" height="40">
  13. <Button position="absolute 1095 10 1151 32" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
  14. <Shape position="absolute 1077 5 1083 38" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  15. <Static text="입실일자 :" position="absolute 7 10 92 27" id="caption2" class="search_name" anchor="default"/>
  16. <Calendar position="absolute 93 10 208 29" id="ipt_fromdd" enable="true" mask="yyyy-mm-dd" anchor="default" onkeydown="grp_biz_group1_input2_onkeydown" oneditclick="grp_biz_group1_ipt_fromdd_oneditclick" onkeyup="grp_biz_group1_ipt_fromdd_onkeyup" onchanged="grp_biz_group1_ipt_fromdd_onchanged" autoselect="true"/>
  17. <Calendar id="ipt_todd" taborder="33" onkeydown="grp_biz_group1_input2_onkeydown" position="absolute 233 10 348 29" mask="yyyy-mm-dd" onkeyup="grp_biz_group1_ipt_todd_onkeyup" autoselect="true" anchor="default"/>
  18. <Static id="Static00" text="~" position="absolute 212 10 230 30" style="align:center middle;" anchor="default"/>
  19. <CheckBox id="CheckBox00" taborder="34" text="현재부터 과거 7일 조회" position="absolute 12 35 175 55" falsevalue="N" truevalue="Y" anchor="default"/>
  20. <CheckBox id="CheckBox01" taborder="35" value="N" truevalue="Y" falsevalue="N" position="absolute 373 10 400 30" anchor="default"/>
  21. <Calendar id="ipt_infromdd" taborder="36" autoselect="true" onkeydown="grp_biz_group1_input2_onkeydown" onkeyup="grp_biz_group1_ipt_fromdd_onkeyup" onchanged="grp_biz_group1_ipt_fromdd_onchanged" oneditclick="grp_biz_group1_ipt_fromdd_oneditclick" position="absolute 543 10 658 29" mask="yyyy-mm-dd" anchor="default"/>
  22. <Static id="Static01" text="~" position="absolute 662 10 680 30" style="align:center middle;" anchor="default"/>
  23. <Calendar id="ipt_intodd" taborder="37" autoselect="true" onkeydown="grp_biz_group1_input2_onkeydown" onkeyup="grp_biz_group1_ipt_todd_onkeyup" position="absolute 683 10 798 29" mask="yyyy-mm-dd" anchor="default"/>
  24. <CheckBox id="CheckBox02" taborder="38" text="집중영양치료대상자만" value="N" truevalue="Y" falsevalue="N" position="absolute 204 35 367 55"/>
  25. <Static id="caption00" text="최초 입원일자 조회 :" class="search_name" position="absolute 397 13 534 30"/>
  26. <Static id="caption01" text="환자 번호 :" class="search_name" position="absolute 397 37 534 54"/>
  27. <Edit id="ipt_pid" taborder="39" position="absolute 485 34 560 54" autoselect="true" onkeydown="grp_biz_group1_ipt_pid_onkeydown" oneditclick="grp_biz_group1_ipt_pid_oneditclick"/>
  28. <Button id="button27" taborder="40" class="icon_search" position="absolute 568 36 584 55" onclick="grp_biz_group1_button27_onclick"/>
  29. <Edit id="ipt_pid00" taborder="41" autoselect="true" onkeydown="grp_biz_group1_ipt_pid_onkeydown" position="absolute 562 34 637 54" enable="false" visible="false"/>
  30. </Layout>
  31. </Layouts>
  32. </Div>
  33. <Button id="btn_excelsave" taborder="4" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" class="btn7" position="absolute 1078 60 1158 79" anchor="top right"/>
  34. <Static id="cap_judgtrgtman" text="NICU NST 협진현황" onclick="cap_diag_onclick" class="tit_2" position="absolute 0 63 290 83" anchor="left top"/>
  35. <Grid id="grd_dpcdlist" taborder="5" useinputpanel="false" position="absolute 0 80 1159 705" binddataset="ds_grd_dpcdlist" cellsizingtype="both" treeusecheckbox="false" treeuseimage="false" anchor="all" cellmovingtype="col">
  36. <Formats>
  37. <Format id="default">
  38. <Columns>
  39. <Column size="80" band="left"/>
  40. <Column size="80" band="left"/>
  41. <Column size="35"/>
  42. <Column size="75"/>
  43. <Column size="80"/>
  44. <Column size="80"/>
  45. <Column size="80"/>
  46. <Column size="113"/>
  47. <Column size="46"/>
  48. <Column size="105"/>
  49. <Column size="80"/>
  50. <Column size="59"/>
  51. <Column size="40"/>
  52. <Column size="43"/>
  53. <Column size="107"/>
  54. <Column size="80"/>
  55. <Column size="49"/>
  56. <Column size="128"/>
  57. <Column size="120"/>
  58. <Column size="108"/>
  59. <Column size="55"/>
  60. <Column size="100"/>
  61. <Column size="80"/>
  62. <Column size="80"/>
  63. </Columns>
  64. <Rows>
  65. <Row size="24" band="head"/>
  66. <Row size="22" band="head"/>
  67. <Row size="24"/>
  68. </Rows>
  69. <Band id="head">
  70. <Cell rowspan="2" displaytype="normal" text="등록번호" taborder="undefined"/>
  71. <Cell col="1" rowspan="2" displaytype="normal" text="환자명" taborder="undefined"/>
  72. <Cell col="2" rowspan="2" displaytype="normal" text="성별" taborder="undefined"/>
  73. <Cell col="3" rowspan="2" displaytype="normal" text="입원일자" taborder="undefined"/>
  74. <Cell col="4" rowspan="2" displaytype="normal" text="입실일자" taborder="undefined"/>
  75. <Cell col="5" rowspan="2" displaytype="normal" text="퇴실일자" taborder="undefined"/>
  76. <Cell col="6" rowspan="2" text="퇴원일자" taborder="undefined"/>
  77. <Cell col="7" rowspan="2" text="진료과" taborder="undefined"/>
  78. <Cell col="8" rowspan="2" displaytype="normal" text="출생&#13;&#10;구분" taborder="undefined"/>
  79. <Cell col="9" rowspan="2" displaytype="normal" text="출생일시" taborder="undefined"/>
  80. <Cell col="10" rowspan="2" displaytype="normal" text="재태기간" taborder="undefined"/>
  81. <Cell col="11" rowspan="2" displaytype="normal" text="출생당&#13;&#10;시체중" taborder="undefined"/>
  82. <Cell col="12" rowspan="2" text="대상자" taborder="undefined"/>
  83. <Cell col="13" rowspan="2" text="협진&#13;&#10;유무" taborder="undefined"/>
  84. <Cell col="14" rowspan="2" displaytype="normal" text="교정&#13;&#10;연령" taborder="undefined"/>
  85. <Cell col="15" rowspan="2" displaytype="normal" text="재원일자" taborder="undefined"/>
  86. <Cell col="16" rowspan="2" displaytype="normal" text="체중" taborder="undefined"/>
  87. <Cell col="17" rowspan="2" displaytype="normal" text="TPN처방" taborder="undefined"/>
  88. <Cell col="18" colspan="2" displaytype="normal" text="장관영양" taborder="undefined"/>
  89. <Cell col="20" rowspan="2" displaytype="normal" text="집중영양&#13;&#10;치료&#13;&#10;대상자" taborder="undefined"/>
  90. <Cell col="21" rowspan="2" displaytype="normal" text="영양지원의뢰건&#13;&#10;진행상황" taborder="undefined"/>
  91. <Cell col="22" rowspan="2" displaytype="normal" text="투여경로" taborder="undefined"/>
  92. <Cell col="23" rowspan="2" text="모유수유" taborder="undefined"/>
  93. <Cell row="1" col="18" text="협진대상"/>
  94. <Cell row="1" col="19" text="처방코드"/>
  95. </Band>
  96. <Band id="body">
  97. <Cell displaytype="normal" text="bind:pid" suppress="1"/>
  98. <Cell col="1" displaytype="normal" style="align:left;" text="bind:hngnm" suppress="1"/>
  99. <Cell col="2" displaytype="normal" text="bind:sex" suppress="2"/>
  100. <Cell col="3" displaytype="date" text="bind:indd" suppress="3"/>
  101. <Cell col="4" displaytype="date" text="bind:fromdd" suppress="4"/>
  102. <Cell col="5" displaytype="date" text="bind:todd" suppress="5"/>
  103. <Cell col="6" displaytype="date" text="bind:dschdd" suppress="6"/>
  104. <Cell col="7" displaytype="normal" style="align:left middle;" text="bind:orddeptnm" suppress="6"/>
  105. <Cell col="8" displaytype="normal" text="bind:birthgubn" suppress="6"/>
  106. <Cell col="9" displaytype="date" text="bind:brthdt" mask="yyyy-MM-dd HH:mm" suppress="7"/>
  107. <Cell col="10" displaytype="normal" text="bind:prgweek" suppress="8"/>
  108. <Cell col="11" displaytype="number" text="bind:weight_b" suppress="9"/>
  109. <Cell col="12" text="bind:patyn"/>
  110. <Cell col="13" text="bind:consltyn"/>
  111. <Cell col="14" displaytype="tree" edittype="tree" style="align:left middle;" text="bind:prgrealweek" treelevel="bind:rnk"/>
  112. <Cell col="15" displaytype="date" text="bind:basedd"/>
  113. <Cell col="16" displaytype="number" text="bind:weight_vs"/>
  114. <Cell col="17" displaytype="normal" style="align:left middle;" text="bind:tpn"/>
  115. <Cell col="18" displaytype="normal" style="align:left middle;" text="bind:consltpat"/>
  116. <Cell col="19" text="bind:consltorder"/>
  117. <Cell col="20" displaytype="normal" style="align:center middle;" text="bind:nstpat"/>
  118. <Cell col="21" displaytype="normal" style="align:left middle;" text="bind:nstconslt"/>
  119. <Cell col="22" displaytype="normal" text="bind:path"/>
  120. <Cell col="23" text="bind:calcchk1"/>
  121. </Band>
  122. </Format>
  123. </Formats>
  124. </Grid>
  125. <Grid id="grd_dpcdlist00" taborder="6" binddataset="ds_grd_dpcdlist" useinputpanel="false" position="absolute 224 190 798 477" visible="false">
  126. <Formats>
  127. <Format id="default">
  128. <Columns>
  129. <Column size="80"/>
  130. <Column size="80"/>
  131. <Column size="35"/>
  132. <Column size="75"/>
  133. <Column size="80"/>
  134. <Column size="80"/>
  135. <Column size="46"/>
  136. <Column size="105"/>
  137. <Column size="80"/>
  138. <Column size="80"/>
  139. <Column size="80"/>
  140. <Column size="80"/>
  141. <Column size="80"/>
  142. <Column size="80"/>
  143. <Column size="120"/>
  144. <Column size="80"/>
  145. <Column size="100"/>
  146. <Column size="80"/>
  147. <Column size="80"/>
  148. </Columns>
  149. <Rows>
  150. <Row size="37" band="head"/>
  151. <Row size="24"/>
  152. </Rows>
  153. <Band id="head">
  154. <Cell displaytype="normal" text="등록번호"/>
  155. <Cell col="1" displaytype="normal" text="환자명"/>
  156. <Cell col="2" displaytype="normal" text="성별"/>
  157. <Cell col="3" displaytype="normal" text="입원일자"/>
  158. <Cell col="4" displaytype="normal" text="진료개시일"/>
  159. <Cell col="5" displaytype="normal" text="진료종료일"/>
  160. <Cell col="6" displaytype="normal" text="출생&#13;&#10;구분"/>
  161. <Cell col="7" displaytype="normal" text="출생일시"/>
  162. <Cell col="8" displaytype="normal" text="재태기간"/>
  163. <Cell col="9" displaytype="normal" text="출생당시체중"/>
  164. <Cell col="10" displaytype="normal" text="교정&#13;&#10;연령"/>
  165. <Cell col="11" displaytype="normal" text="재원일자"/>
  166. <Cell col="12" displaytype="normal" text="체중"/>
  167. <Cell col="13" displaytype="normal" text="TPN처방"/>
  168. <Cell col="14" displaytype="normal" text="장관영양&#13;&#10;협진대상"/>
  169. <Cell col="15" displaytype="normal" text="집중영양치료&#13;&#10;대상자"/>
  170. <Cell col="16" displaytype="normal" text="영양지원의뢰건&#13;&#10;진행상황"/>
  171. <Cell col="17" displaytype="normal" text="투여경로"/>
  172. <Cell col="18" text="모유수유"/>
  173. </Band>
  174. <Band id="body">
  175. <Cell displaytype="normal" text="bind:pid"/>
  176. <Cell col="1" displaytype="normal" style="align:left;" text="bind:hngnm"/>
  177. <Cell col="2" displaytype="normal" text="bind:sex"/>
  178. <Cell col="3" displaytype="date" text="bind:indd"/>
  179. <Cell col="4" displaytype="date" text="bind:fromdd"/>
  180. <Cell col="5" displaytype="date" text="bind:todd"/>
  181. <Cell col="6" displaytype="normal" text="bind:birthgubn"/>
  182. <Cell col="7" displaytype="date" text="bind:brthdt" mask="yyyy-MM-dd HH:mm"/>
  183. <Cell col="8" displaytype="normal" text="bind:prgweek"/>
  184. <Cell col="9" displaytype="number" text="bind:weight_b"/>
  185. <Cell col="10" displaytype="normal" text="bind:prgrealweek"/>
  186. <Cell col="11" displaytype="date" text="bind:basedd"/>
  187. <Cell col="12" displaytype="number" text="bind:weight_vs"/>
  188. <Cell col="13" displaytype="normal" style="align:left middle;" text="bind:tpn"/>
  189. <Cell col="14" displaytype="normal" style="align:left middle;" text="bind:consltpat"/>
  190. <Cell col="15" displaytype="normal" style="align:left middle;" text="bind:nstpat"/>
  191. <Cell col="16" displaytype="normal" style="align:left middle;" text="bind:nstconslt"/>
  192. <Cell col="17" displaytype="normal" text="bind:path"/>
  193. <Cell col="18" text="bind:calcchk1"/>
  194. </Band>
  195. </Format>
  196. </Formats>
  197. </Grid>
  198. </Layout>
  199. </Layouts>
  200. </Div>
  201. <Static id="cap_title" text="NICU NST 협진현황 조회" class="tit_1" position="absolute 0 0 272 26"/>
  202. </Layout>
  203. </Layouts>
  204. <Objects>
  205. <Dataset id="ds_grd_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_dpcdlist_oncolumnchanged">
  206. <ColumnInfo>
  207. <Column id="pid" type="STRING" size="255"/>
  208. <Column id="hngnm" type="STRING" size="255"/>
  209. <Column id="sex" type="STRING" size="255"/>
  210. <Column id="indd" type="STRING" size="255"/>
  211. <Column id="fromdd" type="STRING" size="255"/>
  212. <Column id="todd" type="STRING" size="255"/>
  213. <Column id="birthgubn" type="STRING" size="255"/>
  214. <Column id="brthdt" type="STRING" size="255"/>
  215. <Column id="prgweek" type="STRING" size="255"/>
  216. <Column id="weight_b" type="STRING" size="255"/>
  217. <Column id="prgrealweek" type="STRING" size="255"/>
  218. <Column id="basedd" type="STRING" size="255"/>
  219. <Column id="weight_vs" type="STRING" size="255"/>
  220. <Column id="tpn" type="STRING" size="255"/>
  221. <Column id="consltpat" type="STRING" size="255"/>
  222. <Column id="nstpat" type="STRING" size="255"/>
  223. <Column id="nstconslt" type="STRING" size="255"/>
  224. <Column id="path" type="STRING" size="255"/>
  225. </ColumnInfo>
  226. </Dataset>
  227. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  228. <ColumnInfo>
  229. <Column id="fromdd" type="STRING" size="256"/>
  230. <Column id="todd" type="STRING" size="256"/>
  231. <Column id="dayyn" type="STRING" size="256"/>
  232. <Column id="infromdd" type="STRING" size="256"/>
  233. <Column id="intodd" type="STRING" size="256"/>
  234. <Column id="fsinddyn" type="STRING" size="256"/>
  235. <Column id="nstpatyn" type="STRING" size="256"/>
  236. <Column id="pid" type="STRING" size="256"/>
  237. <Column id="patnm" type="STRING" size="256"/>
  238. </ColumnInfo>
  239. <Rows>
  240. <Row>
  241. <Col id="dayyn">Y</Col>
  242. </Row>
  243. </Rows>
  244. </Dataset>
  245. <Dataset id="ds_send_dtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  246. <ColumnInfo>
  247. <Column id="pid" type="STRING" size="255"/>
  248. <Column id="patnm" type="STRING" size="255"/>
  249. <Column id="orddeptnm" type="STRING" size="255"/>
  250. <Column id="orddrnm" type="STRING" size="255"/>
  251. <Column id="indd" type="STRING" size="255"/>
  252. <Column id="dschdd" type="STRING" size="255"/>
  253. <Column id="opsnglcode" type="STRING" size="255"/>
  254. <Column id="opgrupcode" type="STRING" size="255"/>
  255. <Column id="opexecdd" type="STRING" size="255"/>
  256. <Column id="opfromdt" type="STRING" size="255"/>
  257. <Column id="optodt" type="STRING" size="255"/>
  258. <Column id="otheropinfo" type="STRING" size="255"/>
  259. <Column id="gbn" type="STRING" size="255"/>
  260. <Column id="prcpcd" type="STRING" size="255"/>
  261. <Column id="prcpnm" type="STRING" size="255"/>
  262. <Column id="execdd_min" type="STRING" size="255"/>
  263. <Column id="execdd_max" type="STRING" size="255"/>
  264. <Column id="sefa" type="STRING" size="255"/>
  265. <Column id="cnt" type="BIGDECIMAL" size="255"/>
  266. <Column id="flag" type="STRING" size="255"/>
  267. <Column id="rem" type="STRING" size="255"/>
  268. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  269. <Column id="remvyn" type="STRING" size="255"/>
  270. <Column id="warnyn" type="STRING" size="255"/>
  271. <Column id="roomnm" type="STRING" size="255"/>
  272. </ColumnInfo>
  273. <Rows>
  274. <Row/>
  275. </Rows>
  276. </Dataset>
  277. <Dataset id="ds_hidden_sppmc02500" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  278. <ColumnInfo>
  279. <Column id="srchcond" type="STRING" size="256"/>
  280. <Column id="pid" type="STRING" size="256"/>
  281. </ColumnInfo>
  282. <Rows>
  283. <Row/>
  284. </Rows>
  285. </Dataset>
  286. </Objects>
  287. <Bind>
  288. <BindItem id="item0" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  289. <BindItem id="item1" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  290. <BindItem id="item2" compid="grp_biz.group1.CheckBox00" propid="value" datasetid="ds_send" columnid="dayyn"/>
  291. <BindItem id="item3" compid="grp_biz.group1.CheckBox01" propid="value" datasetid="ds_send" columnid="fsinddyn"/>
  292. <BindItem id="item4" compid="grp_biz.group1.ipt_infromdd" propid="value" datasetid="ds_send" columnid="infromdd"/>
  293. <BindItem id="item5" compid="grp_biz.group1.ipt_intodd" propid="value" datasetid="ds_send" columnid="intodd"/>
  294. <BindItem id="item6" compid="grp_biz.group1.CheckBox02" propid="value" datasetid="ds_send" columnid="nstpatyn"/>
  295. <BindItem id="item7" compid="grp_biz.group1.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
  296. <BindItem id="item8" compid="grp_biz.group1.ipt_pid00" propid="value" datasetid="ds_send" columnid="patnm"/>
  297. </Bind>
  298. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  299. * System Name :
  300. * Job Name :
  301. * Creator :
  302. * Make Date : 2016-05-24
  303. * Description :
  304. *---------------------------------------------------------------------------------------
  305. * Modify Date Modifier Modify Description
  306. *---------------------------------------------------------------------------------------
  307. * 2016-05-24 Live Converter TF->XP
  308. *
  309. *---------------------------------------------------------------------------------------
  310. ****************************************************************************************/
  311. include "com_commonxp::comm_main.xjs";
  312. include "pam_pamcomnxp::PAM001.xjs";
  313. var lgv_hscroll_pos = 0;
  314. var lgv_vscroll_pos = 0;
  315. function SMPPI01100_oninit(obj:Form, e:InitEventInfo)
  316. {
  317. frmf_initForm(obj)
  318. }
  319. function SMPPI01100_onload(obj:Form, e:LoadEventInfo)
  320. {
  321. grdf_initGrid(grp_biz.grd_dpcdlist);
  322. //grdf_setRowTypeIcon(grp_biz.grd_dpcdlist, 0);
  323. grdf_setToolTipBind(grp_biz.grd_dpcdlist);
  324. //ds_init_cmb_orddeptcd.keystring = "S:depthngnm";
  325. fInitialize();
  326. }
  327. function fInitialize(){
  328. var mm = utlf_getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD");
  329. var lastdate = utlf_lastDateNum(mm)
  330. ds_send.setColumn(0,"fromdd", mm.substr(0,6) + '01');
  331. ds_send.setColumn(0,"todd", mm.substr(0,6) + lastdate);
  332. ds_send.setColumn(0,"infromdd", mm.substr(0,6) + '01');
  333. ds_send.setColumn(0,"intodd", mm.substr(0,6) + lastdate);
  334. //fGetDocuList();
  335. }
  336. function cf_TRPPI01001(sSvcId, nErrorCode, sErrorMsg) {
  337. if(nErrorCode < 0) return;
  338. }
  339. function fGetDocuList(){
  340. lgv_hscroll_pos = grp_biz.grd_dpcdlist.hscrollbar.pos;
  341. lgv_vscroll_pos = grp_biz.grd_dpcdlist.vscrollbar.pos;
  342. var oParam = {};
  343. oParam.id = "TRPPI01300";
  344. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  345. oParam.method = "reqGetNewBornPrvnList";
  346. oParam.inds = "req=ds_send";
  347. oParam.outds = "ds_grd_dpcdlist=rsltlist";
  348. oParam.async = false;
  349. oParam.callback = "cf_TRPPI01300";
  350. tranf_submit(oParam);
  351. }
  352. function cf_TRPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  353. if(nErrorCode < 0) {return};
  354. grp_biz.grd_dpcdlist.hscrollbar.pos = lgv_hscroll_pos;
  355. grp_biz.grd_dpcdlist.vscrollbar.pos = lgv_vscroll_pos;
  356. }
  357. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  358. {
  359. if (ds_grd_dpcdlist.rowcount > 0) {
  360. grdf_exportExcel(grp_biz.grd_dpcdlist, grp_biz.cap_judgtrgtman.text , "see");
  361. }else{
  362. sysf_messageBox("엑셀저장할 내역이", "I004");
  363. }
  364. }
  365. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  366. {
  367. fGetDocuList();
  368. }
  369. function grp_biz_group1_ipt_diagcd_onkeydown(obj:Edit, e:KeyEventInfo)
  370. {
  371. if(e.keycode == 13)
  372. {
  373. grp_biz_group1_btn_select_onclick();
  374. }
  375. }
  376. function grp_biz_group1_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  377. {
  378. if(e.keycode == 13)
  379. {
  380. grp_biz_group1_btn_select_onclick();
  381. }
  382. }
  383. function grp_biz_group1_ipt_fromdd_onkeyup(obj:Calendar, e:KeyEventInfo)
  384. {
  385. if(e.keycode == 13)
  386. {
  387. obj.updateToDataset();
  388. grp_biz.group1.ipt_todd.setFocus();
  389. //grp_biz_group1_btn_select_onclick();
  390. }
  391. }
  392. function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  393. {
  394. if(e.keycode == 13)
  395. {
  396. obj.updateToDataset();
  397. grp_biz_group1_btn_select_onclick();
  398. }
  399. }
  400. function cf_TXPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  401. if(nErrorCode < 0) {return};
  402. ds_grd_dpcdlist.applyChange();
  403. fGetDocuList();
  404. }
  405. function grp_biz_group1_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  406. {
  407. if (e.keycode == 13) {
  408. grp_biz.group1.btn_select.setFocus();
  409. grp_biz.group1.btn_select.click();
  410. }
  411. }
  412. function grp_biz_group1_button27_onclick(obj:Button, e:ClickEventInfo)
  413. {
  414. var objArg = new Object();
  415. objArg.arg_ds_send = ds_hidden_sppmc02500;
  416. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
  417. if(!utlf_isNull(this.objects["ds_patinfolist"])) {
  418. var srch_pid = ds_patinfolist.getColumn(0, "pid");
  419. var srch_hngnm = ds_patinfolist.getColumn(0, "hngnm");
  420. ds_send.setColumn(0, "pid", srch_pid);
  421. ds_send.setColumn(0, "patnm", srch_hngnm);
  422. }
  423. }
  424. ]]></Script>
  425. </Form>
  426. </FDL>