SMPMI00600_입원예약조회.xfdl 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMI00600" position="absolute 0 0 1199 790" titletext="입원예약조회" onload="SMPMI00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="입원예약조회" class="tit_1" position="absolute 0 0 140 25"/>
  8. <Div id="grp" taborder="3" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right">
  9. <Layouts>
  10. <Layout width="1194" height="35">
  11. <Static id="caption1" text="검색조건 :" class="search_name" position="absolute 15 9 87 31" anchor="default"/>
  12. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1105 9 1111 31" anchor="top right"/>
  13. <Static id="caption17" text="입원희망일자 :" class="search_name" position="absolute 394 9 493 31" anchor="default"/>
  14. <Combo id="cmb_inrsrvcond" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 93 9 208 31" anchor="default" onitemchanged="grp_cmb_inrsrvcond_onitemchanged">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">5</Col>
  23. <Col id="datacolumn">환자번호</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">1</Col>
  27. <Col id="datacolumn">전체(입원제외)</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">2</Col>
  31. <Col id="datacolumn">배정병동</Col>
  32. </Row>
  33. <Row>
  34. <Col id="codecolumn">3</Col>
  35. <Col id="datacolumn">예약진료과</Col>
  36. </Row>
  37. <Row>
  38. <Col id="codecolumn">4</Col>
  39. <Col id="datacolumn">예약전문의</Col>
  40. </Row>
  41. <Row>
  42. <Col id="codecolumn">6</Col>
  43. <Col id="datacolumn">입원환자대상</Col>
  44. </Row>
  45. <Row>
  46. <Col id="codecolumn">7</Col>
  47. <Col id="datacolumn">입원예약취소</Col>
  48. </Row>
  49. </Rows>
  50. </Dataset>
  51. </Combo>
  52. <Edit id="ipt_pid" taborder="2" class="input_search" visible="false" position="absolute 226 9 331 31" anchor="default" onkeydown="grp_ipt_pid_onkeydown"/>
  53. <Combo id="cmb_assgward" taborder="3" innerdataset="ds_hidden_init_wardcd" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 226 9 336 31" anchor="default" onitemchanged="grp_cmb_assgward_onitemchanged"/>
  54. <Combo id="cmb_orddeptcd" taborder="4" innerdataset="@ds_hidden_init_orddeptcd" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 226 9 336 31" anchor="default"/>
  55. <Combo id="cmb_orddrid" taborder="5" innerdataset="ds_hidden_init_orddrid" codecolumn="cd" datacolumn="nm" class="combo_search" visible="false" position="absolute 226 9 336 31" anchor="default"/>
  56. <Calendar id="ipt_inhopeddfrom" taborder="6" class="input_search" position="absolute 519 9 617 31" mask="yyyy-mm-dd" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd " value="null"/>
  57. <Calendar id="ipt_inhopeddto" taborder="7" class="input_search" position="absolute 639 9 737 31" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd "/>
  58. <Static id="cpt_line" text="~" class="search_no_b" position="absolute 623 9 633 31" anchor="default"/>
  59. <CheckBox id="bol_inhopeddchk" taborder="8" position="absolute 498 11 513 29" anchor="default" falsevalue="N" truevalue="Y" onclick="grp_bol_inhopeddchk_onclick"/>
  60. <Button id="btn_search" taborder="9" text="조회" class="btn1" position="absolute 1123 9 1179 31" anchor="top right" onclick="grp_btn_search_onclick"/>
  61. </Layout>
  62. </Layouts>
  63. </Div>
  64. <Static id="caption2" text="입원예약내역" class="tit_2" position="absolute 0 71 100 87"/>
  65. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 87 1195 93" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  66. <Grid id="grd_inrsrvspec" class="datagrid2" taborder="4" binddataset="ds_adrvlist_grdinrsrvspec" useinputpanel="false" oncelldblclick="group3_grd_inrsrvspec_oncelldblclick" position="absolute 0 92 1195 761" cellsizebandtype="allband" cellsizingtype="both" autoenter="select" anchor="all">
  67. <Formats>
  68. <Format id="default">
  69. <Columns>
  70. <Column size="25" band="left"/>
  71. <Column size="0"/>
  72. <Column size="53"/>
  73. <Column size="70"/>
  74. <Column size="35"/>
  75. <Column size="70"/>
  76. <Column size="70"/>
  77. <Column size="40"/>
  78. <Column size="29"/>
  79. <Column size="42"/>
  80. <Column size="78"/>
  81. <Column size="71"/>
  82. <Column size="69"/>
  83. <Column size="54"/>
  84. <Column size="61"/>
  85. <Column size="37"/>
  86. <Column size="91"/>
  87. <Column size="99"/>
  88. <Column size="93"/>
  89. <Column size="50"/>
  90. <Column size="297"/>
  91. <Column size="121"/>
  92. <Column size="101"/>
  93. <Column size="153"/>
  94. <Column size="73"/>
  95. <Column size="72"/>
  96. <Column size="86"/>
  97. <Column size="87"/>
  98. <Column size="87"/>
  99. <Column size="94"/>
  100. <Column size="57"/>
  101. <Column size="77"/>
  102. <Column size="84"/>
  103. <Column size="71"/>
  104. <Column size="40"/>
  105. <Column size="48"/>
  106. <Column size="39"/>
  107. <Column size="108"/>
  108. <Column size="129"/>
  109. <Column size="117"/>
  110. <Column size="70"/>
  111. <Column size="75"/>
  112. <Column size="144"/>
  113. <Column size="261"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. </Columns>
  121. <Rows>
  122. <Row size="30" band="head"/>
  123. <Row size="24"/>
  124. </Rows>
  125. <Band id="head">
  126. <Cell/>
  127. <Cell col="1" text="구분"/>
  128. <Cell col="2" text="입원&#10;여부"/>
  129. <Cell col="3" text="입원예약"/>
  130. <Cell col="4" text="DCC"/>
  131. <Cell col="5" text="환자번호"/>
  132. <Cell col="6" text="환자성명"/>
  133. <Cell col="7" text="성별"/>
  134. <Cell col="8" text="나이"/>
  135. <Cell col="9" text="대기&#10;일수"/>
  136. <Cell col="10" text="환자희망&#10;입원일"/>
  137. <Cell col="11" text="입원희망일"/>
  138. <Cell col="12" text="수술예정일"/>
  139. <Cell col="13" text="수술확정"/>
  140. <Cell col="14" text="예상&#10;재원기간"/>
  141. <Cell col="15" text="CP&#10;여부"/>
  142. <Cell col="16" text="병실등급&#10;FROM"/>
  143. <Cell col="17" text="병실등급&#10;TO"/>
  144. <Cell col="18" text="예약진료과"/>
  145. <Cell col="19" text="담당교수"/>
  146. <Cell col="20" text="원무전달사항"/>
  147. <Cell col="21" text="병동형태&#10;(센터세부병동)"/>
  148. <Cell col="22" text="진단코드"/>
  149. <Cell col="23" text="진단명"/>
  150. <Cell col="24" text="접수일자"/>
  151. <Cell col="25" text="보험유형"/>
  152. <Cell col="26" text="연락처"/>
  153. <Cell col="27" text="휴대폰"/>
  154. <Cell col="28" text="보호자&#10;연락처"/>
  155. <Cell col="29" text="생년월일"/>
  156. <Cell col="30" text="지시의사"/>
  157. <Cell col="31" text="지시일자"/>
  158. <Cell col="32" text="배정병동"/>
  159. <Cell col="33" text="배정병실"/>
  160. <Cell col="34" text="BMT&#10;여부"/>
  161. <Cell col="35" text="격리실&#10;여부"/>
  162. <Cell col="36" text="특실&#10;여부"/>
  163. <Cell col="37" text="특이사항"/>
  164. <Cell col="38" text="결정서&#10;취소사유"/>
  165. <Cell col="39" text="취소&#10;참고사항"/>
  166. <Cell col="40" text="임상시험&#10;접수"/>
  167. <Cell col="41" text="임상시험&#10;과제번호"/>
  168. <Cell col="42" text="최종&#10;수정일시"/>
  169. <Cell col="43" text="진료&#10;전달사항"/>
  170. <Cell col="44" text="원무&#10;전달사항"/>
  171. <Cell col="45" text="출력용병실&#10;From"/>
  172. <Cell col="46" text="출력용병실&#10;To"/>
  173. <Cell col="47" text="출력용&#10;진료과"/>
  174. <Cell col="48" text="재원&#10;여부"/>
  175. <Cell col="49" text="출력병실&#10;등급"/>
  176. </Band>
  177. <Band id="body">
  178. <Cell celltype="head" expr="currow + 1"/>
  179. <Cell col="1" displaytype="combo" text="bind:erreglyn" combodataset="ds_init_P0001list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  180. <Cell col="2" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inflag" combodataset="ds_static_inflag" combocodecol="value" combodatacol="label" enable="false"/>
  181. <Cell col="3" displaytype="combo" style="padding:2 2 2 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvstat" combodataset="ds_init_P0017list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  182. <Cell col="4" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:erreglyn" combodataset="ds_static_erreglyn" combocodecol="value" combodatacol="label" enable="false"/>
  183. <Cell col="5" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pid"/>
  184. <Cell col="6" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:hngnm"/>
  185. <Cell col="7" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:sex" combodataset="ds_init_P0313list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  186. <Cell col="8" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:age"/>
  187. <Cell col="9" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:delay"/>
  188. <Cell col="10" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:patinhopedd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  189. <Cell col="11" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inhopedd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  190. <Cell col="12" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:adrv_scheopdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  191. <Cell col="13" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:opcnfmyn"/>
  192. <Cell col="14" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fcstinterm"/>
  193. <Cell col="15" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:cpyn"/>
  194. <Cell col="16" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inhoperoomgrdefrom" combodataset="ds_hidden_roomgrdelist" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  195. <Cell col="17" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inhoperoomgrdeto" combodataset="ds_hidden_roomgrdelist" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  196. <Cell col="18" displaytype="normal" edittype="none" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptnm" enable="false"/>
  197. <Cell col="19" displaytype="normal" edittype="none" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrnm" enable="false"/>
  198. <Cell col="20" style="align:left top;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvrem" wordwrap="word"/>
  199. <Cell col="21" displaytype="normal" edittype="none" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:wardtypespecwardcd" enable="false"/>
  200. <Cell col="22" displaytype="normal" edittype="none" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:diagcd" wordwrap="char" enable="false"/>
  201. <Cell col="23" displaytype="normal" edittype="none" style="align:left top;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:diagnm" wordwrap="char" enable="false"/>
  202. <Cell col="24" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvacptdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  203. <Cell col="25" displaytype="combo" edittype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:insukind" combodataset="ds_hidden_init_insukind" combocodecol="cd" combodatacol="nm"/>
  204. <Cell col="26" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:hometel"/>
  205. <Cell col="27" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:mpphontel"/>
  206. <Cell col="28" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:etctel1"/>
  207. <Cell col="29" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:rrgstno" mask="99/99/99" maskchar=" "/>
  208. <Cell col="30" displaytype="normal" edittype="none" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:indirecdrnm" enable="false"/>
  209. <Cell col="31" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:indirecdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  210. <Cell col="32" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:assgward" combodataset="ds_hidden_init_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  211. <Cell col="33" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:assgroom"/>
  212. <Cell col="34" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:bmtyn"/>
  213. <Cell col="35" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:isolroomyn"/>
  214. <Cell col="36" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:specroomyn"/>
  215. <Cell col="37" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:Inrsrvrem"/>
  216. <Cell col="38" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvcnclresn" combodataset="ds_init_P0020list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  217. <Cell col="39" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:inrsrvcnclresnrem"/>
  218. <Cell col="40" displaytype="combo" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:clincstdyacptflag" combodataset="ds_static_clincstdyacptflag" combocodecol="value" combodatacol="label" enable="false"/>
  219. <Cell col="41" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:clincstdyno"/>
  220. <Cell col="42" displaytype="date" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
  221. <Cell col="43" style="align:left middle;padding:5 2 3 2;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:drrem" wordwrap="word"/>
  222. <Cell col="44" text="bind:inrsrvrem"/>
  223. <Cell col="45" text="bind:inhoperoomgrdefromnm"/>
  224. <Cell col="46" text="bind:inhoperoomgrdetonm"/>
  225. <Cell col="47" text="bind:deptengabbr"/>
  226. <Cell col="48" displaytype="none" edittype="none" text="bind:inhospyn"/>
  227. <Cell col="49" displaytype="none" edittype="none" text="bind:inhoperoomgrdenm"/>
  228. </Band>
  229. </Format>
  230. </Formats>
  231. </Grid>
  232. <Button id="btn_excsave" taborder="5" text="엑셀저장" class="btn7" position="absolute 1117 68 1195 87" onclick="btn_excsave_onclick" anchor="top right"/>
  233. <Button id="btn_print" taborder="6" text="출력" class="btn6" position="absolute 1066 68 1116 87" onclick="btn_print_onclick" anchor="top right"/>
  234. <Shape id="rectangle1" type="rectangle" position="absolute 992 71 1007 86" style="fillbrush:solid #ffff66ff true;" anchor="top right"/>
  235. <Static id="caption3" text="재원중" position="absolute 1012 72 1057 86" anchor="top right"/>
  236. <Shape id="line32" linetype="horizontal" class="line_6" position="absolute 0 761 1194 767" anchor="left right bottom"/>
  237. <Button id="btn_clear" taborder="7" text="초기화" class="btn4" position="absolute 1126 765 1194 787" onclick="btn_clear_onclick" anchor="right bottom"/>
  238. </Layout>
  239. </Layouts>
  240. <Objects>
  241. <Dataset id="ds_init_P0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  242. <Dataset id="ds_init_P0149list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  243. <Dataset id="ds_init_P0017list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  244. <Dataset id="ds_init_P0039list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  245. <Dataset id="ds_init_P0313list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  246. <Dataset id="ds_init_P0020list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  247. <Dataset id="ds_init_P0025list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  248. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  249. <ColumnInfo>
  250. <Column id="inrsrvcond" type="STRING" size="256"/>
  251. <Column id="inrsrvcondnm" type="STRING" size="256"/>
  252. <Column id="inhopeddfrom" type="STRING" size="256"/>
  253. <Column id="inhopeddto" type="STRING" size="256"/>
  254. <Column id="sendflag" type="STRING" size="256"/>
  255. <Column id="sess_posinstcd" type="STRING" size="256"/>
  256. </ColumnInfo>
  257. <Rows>
  258. <Row>
  259. <Col id="inrsrvcond">1</Col>
  260. <Col id="inrsrvcondnm"/>
  261. <Col id="inhopeddfrom"/>
  262. <Col id="inhopeddto"/>
  263. <Col id="sendflag"/>
  264. <Col id="sess_posinstcd"/>
  265. </Row>
  266. </Rows>
  267. </Dataset>
  268. <Dataset id="ds_init_pam_P0041list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  269. <Dataset id="ds_hidden_init_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  270. <Dataset id="ds_hidden_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  271. <Dataset id="ds_hidden_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  272. <Dataset id="ds_hidden_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  273. <Dataset id="ds_hidden_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  274. <Dataset id="ds_hidden_init_roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  275. <Dataset id="ds_hidden_init_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  276. <Dataset id="ds_hidden_init_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  277. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  278. <ColumnInfo>
  279. <Column id="sess_posinstcd" type="STRING" size="256"/>
  280. <Column id="ioflag" type="STRING" size="256"/>
  281. </ColumnInfo>
  282. <Rows>
  283. <Row>
  284. <Col id="sess_posinstcd"/>
  285. <Col id="ioflag"/>
  286. </Row>
  287. </Rows>
  288. </Dataset>
  289. <Dataset id="ds_hidden_roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  290. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="inhopeddchk" type="STRING" size="256"/>
  293. </ColumnInfo>
  294. <Rows>
  295. <Row/>
  296. </Rows>
  297. </Dataset>
  298. <Dataset id="ds_static_inflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  299. <ColumnInfo>
  300. <Column id="label" type="STRING" size="256"/>
  301. <Column id="value" type="STRING" size="256"/>
  302. </ColumnInfo>
  303. <Rows>
  304. <Row>
  305. <Col id="label">입원</Col>
  306. <Col id="value">Y</Col>
  307. </Row>
  308. <Row>
  309. <Col id="label">미입원</Col>
  310. <Col id="value">G</Col>
  311. </Row>
  312. <Row>
  313. <Col id="label">재원중</Col>
  314. <Col id="value">I</Col>
  315. </Row>
  316. </Rows>
  317. </Dataset>
  318. <Dataset id="ds_static_erreglyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  319. <ColumnInfo>
  320. <Column id="label" type="STRING" size="256"/>
  321. <Column id="value" type="STRING" size="256"/>
  322. </ColumnInfo>
  323. <Rows>
  324. <Row>
  325. <Col id="label">Y</Col>
  326. <Col id="value">F</Col>
  327. </Row>
  328. <Row>
  329. <Col id="label"/>
  330. <Col id="value">I</Col>
  331. </Row>
  332. </Rows>
  333. </Dataset>
  334. <Dataset id="ds_static_clincstdyacptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  335. <ColumnInfo>
  336. <Column id="label" type="STRING" size="256"/>
  337. <Column id="value" type="STRING" size="256"/>
  338. </ColumnInfo>
  339. <Rows>
  340. <Row>
  341. <Col id="label">-</Col>
  342. <Col id="value">N</Col>
  343. </Row>
  344. <Row>
  345. <Col id="label">임상(전액청구)</Col>
  346. <Col id="value">P</Col>
  347. </Row>
  348. <Row>
  349. <Col id="label">임상(진찰료제외)</Col>
  350. <Col id="value">Q</Col>
  351. </Row>
  352. <Row>
  353. <Col id="label">동물임상</Col>
  354. <Col id="value">A</Col>
  355. </Row>
  356. </Rows>
  357. </Dataset>
  358. <Dataset id="ds_adrvlist_grdinrsrvspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  359. <ColumnInfo>
  360. <Column id="erreglyn" type="STRING" size="256" sumtext="구분"/>
  361. <Column id="inflag" type="STRING" size="256" sumtext="입원여부"/>
  362. <Column id="inrsrvstat" type="STRING" size="256" sumtext="입원예약"/>
  363. <Column id="inrsrvacptdd" type="STRING" size="256" sumtext="접수일자"/>
  364. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  365. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  366. <Column id="orddrid" type="STRING" size="256" sumtext="전문의"/>
  367. <Column id="orddrnm" type="STRING" size="256" sumtext="전문의"/>
  368. <Column id="scheopdd" type="STRING" size="256" sumtext="수술예정일"/>
  369. <Column id="adrv_scheopdd" type="STRING" size="256" sumtext="입원약정서수술예정일"/>
  370. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  371. <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
  372. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  373. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  374. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  375. <Column id="hometel" type="STRING" size="256" sumtext="연락처"/>
  376. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰"/>
  377. <Column id="etctel1" type="STRING" size="256" sumtext="보호자연락처"/>
  378. <Column id="inhopedd" type="STRING" size="256" sumtext="입원희망일자"/>
  379. <Column id="indirecdrid" type="STRING" size="256" sumtext="지시의사"/>
  380. <Column id="indirecdrnm" type="STRING" size="256" sumtext="지시의사"/>
  381. <Column id="indirecdd" type="STRING" size="256" sumtext="지시일자"/>
  382. <Column id="assgward" type="STRING" size="256" sumtext="배정병동"/>
  383. <Column id="assgroom" type="STRING" size="256" sumtext="배정병실"/>
  384. <Column id="longinyn" type="STRING" size="256" sumtext="장기입원여부"/>
  385. <Column id="fcstinterm" type="STRING" size="256" sumtext="예상입원기간"/>
  386. <Column id="cpyn" type="STRING" size="256" sumtext="cp여부"/>
  387. <Column id="isolroomyn" type="STRING" size="256" sumtext="격리실여부"/>
  388. <Column id="specroomyn" type="STRING" size="256" sumtext="특실여부"/>
  389. <Column id="dietrem" type="STRING" size="256" sumtext="식이참고사항"/>
  390. <Column id="inrsrvrem" type="STRING" size="256" sumtext="입원예약참고사항"/>
  391. <Column id="deptengabbr" type="STRING" size="256" sumtext="진료과약어"/>
  392. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  393. <Column id="patinhopedd" type="STRING" size="256" sumtext="환자입원희망일"/>
  394. <Column id="delay" type="STRING" size="256" sumtext="대기일"/>
  395. <Column id="clincstdyacptflag" type="STRING" size="256" sumtext="임상시험접수상태"/>
  396. <Column id="clincstdyno" type="STRING" size="256" sumtext="임상시험과제번호"/>
  397. <Column id="inrsrvcnclresn" type="STRING" size="256" sumtext="결정서 취소사유"/>
  398. <Column id="inrsrvcnclresnrem" type="STRING" size="256" sumtext="취소사유 참고사항"/>
  399. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  400. <Column id="inhoperoomgrdetonm" type="STRING" size="256" sumtext="출력용 희망병실등급To"/>
  401. <Column id="inhoperoomgrdefrom" type="STRING" size="256" sumtext="희망병실등급From"/>
  402. <Column id="inhoperoomgrdeto" type="STRING" size="256" sumtext="희망병실등급To"/>
  403. <Column id="inhoperoomgrdefromnm" type="STRING" size="256" sumtext="출력용 희망병실등급 From"/>
  404. <Column id="realinyn" type="STRING" size="256" sumtext="실제입원여부"/>
  405. <Column id="inhospyn" type="STRING" size="256" sumtext="실제입원여부"/>
  406. <Column id="wardtypespecwardcd" type="STRING" size="256" sumtext="병동형태(세부병동)"/>
  407. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  408. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  409. <Column id="inhoperoomgrdenm" type="STRING" size="256" sumtext="병실등급fromto"/>
  410. <Column id="opcnfmyn" type="STRING" size="256" sumtext="수술확정구분"/>
  411. <Column id="bgColor" type="STRING" size="256"/>
  412. </ColumnInfo>
  413. </Dataset>
  414. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  415. <ColumnInfo>
  416. <Column id="pid" type="STRING" size="256"/>
  417. </ColumnInfo>
  418. <Rows>
  419. <Row/>
  420. </Rows>
  421. </Dataset>
  422. </Objects>
  423. <Bind>
  424. <BindItem id="item0" compid="grp.bol_inhopeddchk" propid="value" datasetid="ds_hidden" columnid="inhopeddchk"/>
  425. <BindItem id="item1" compid="grp.cmb_inrsrvcond" propid="value" datasetid="ds_send" columnid="inrsrvcond"/>
  426. <BindItem id="item2" compid="grp.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="inrsrvcondnm"/>
  427. <BindItem id="item3" compid="grp.ipt_pid" propid="value" datasetid="ds_send" columnid="inrsrvcondnm"/>
  428. <BindItem id="item4" compid="grp.cmb_assgward" propid="value" datasetid="ds_send" columnid="inrsrvcondnm"/>
  429. <BindItem id="item5" compid="grp.cmb_orddrid" propid="value" datasetid="ds_send" columnid="inrsrvcondnm"/>
  430. <BindItem id="item6" compid="grp.ipt_inhopeddfrom" propid="value" datasetid="ds_send" columnid="inhopeddfrom"/>
  431. <BindItem id="item7" compid="grp.ipt_inhopeddto" propid="value" datasetid="ds_send" columnid="inhopeddto"/>
  432. </Bind>
  433. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  434. * System Name :
  435. * Job Name :
  436. * Creator :
  437. * Make Date : 2015-10-27
  438. * Description :
  439. *---------------------------------------------------------------------------------------
  440. * Modify Date Modifier Modify Description
  441. *---------------------------------------------------------------------------------------
  442. * 2015-10-27 Live Converter TF->XP
  443. *
  444. *---------------------------------------------------------------------------------------
  445. ****************************************************************************************/
  446. //=======================================================================================
  447. // Lib Include
  448. //---------------------------------------------------------------------------------------
  449. include 'com_commonxp::comm_main.xjs';
  450. include 'pam_pamcomnxp::PAM001.xjs'
  451. var arErrorCode = new HashArray();
  452. //=======================================================================================
  453. // Local methods
  454. //---------------------------------------------------------------------------------------
  455. /**
  456. * [frschlind description]
  457. * @param {[type]} rsflag [description]
  458. * @return {[type]} [description]
  459. */
  460. function frschlind(rsflag) {
  461. if (rsflag == '1') {
  462. grp.cmb_assgward.visible = false;
  463. grp.cmb_orddeptcd.visible = false;
  464. grp.cmb_orddrid.visible = false;
  465. grp.ipt_pid.visible = false;
  466. }
  467. else if (rsflag == '2') {
  468. grp.cmb_assgward.visible = true;
  469. grp.cmb_orddeptcd.visible = false;
  470. grp.cmb_orddrid.visible = false;
  471. grp.ipt_pid.visible = false;
  472. }
  473. else if (rsflag == '3') {
  474. grp.cmb_assgward.visible = false;
  475. grp.cmb_orddeptcd.visible = true;
  476. grp.cmb_orddrid.visible = false;
  477. grp.ipt_pid.visible = false;
  478. }
  479. else if (rsflag == '4') {
  480. grp.cmb_assgward.visible = false;
  481. grp.cmb_orddeptcd.visible = false;
  482. grp.cmb_orddrid.visible = true;
  483. grp.ipt_pid.visible = false;
  484. }
  485. else if (rsflag == '5') {
  486. grp.cmb_assgward.visible = false;
  487. grp.cmb_orddeptcd.visible = false;
  488. grp.cmb_orddrid.visible = false;
  489. grp.ipt_pid.visible = true;
  490. ds_send.setColumn(0, 'inrsrvcondnm', '');
  491. //grp.ipt_pid.text = "";
  492. grp.ipt_pid.setFocus();
  493. }
  494. else if (rsflag == '6') {
  495. grp.cmb_assgward.visible = false;
  496. grp.cmb_orddeptcd.visible = false;
  497. grp.cmb_orddrid.visible = false;
  498. grp.ipt_pid.visible = false;
  499. ds_send.setColumn(0, 'inrsrvcondnm', '');
  500. }
  501. else if (rsflag == '7') {
  502. grp.cmb_assgward.visible = false;
  503. grp.cmb_orddeptcd.visible = false;
  504. grp.cmb_orddrid.visible = false;
  505. grp.ipt_pid.visible = false;
  506. ds_send.setColumn(0, 'inrsrvcondnm', '');
  507. }
  508. }
  509. /**
  510. * [fInitialize description]
  511. * @return {[type]} [description]
  512. */
  513. function fInitialize() {
  514. ds_adrvlist_grdinrsrvspec.clearData();
  515. ds_send.clearData();
  516. ds_send.addRow();
  517. ds_send_data1.clearData();
  518. ds_send_data1.addRow();
  519. ds_hidden.setColumn(0, 'inhopeddchk', 'N');
  520. ds_send.setColumn(0, "inhopeddfrom", utlf_getCurrentDate());
  521. ds_send.setColumn(0, "inhopeddto", utlf_getCurrentDate());
  522. ds_send.setColumn(0, "inrsrvcond", "1");
  523. frschlind("1");
  524. }
  525. /**
  526. * submit 후 호출 될 공통 콜백
  527. * @param {[type]} sSvcId [description]
  528. * @param {[type]} nErrorCode [description]
  529. * @param {[type]} sErrorMsg [description]
  530. * @return {Function} [description]
  531. */
  532. function callback(sSvcId, nErrorCode, sErrorMsg){
  533. arErrorCode.push(sSvcId, nErrorCode);
  534. }
  535. //=======================================================================================
  536. // Events
  537. //---------------------------------------------------------------------------------------
  538. /**
  539. * onload 이벤트 발생 시 호출
  540. * @param {[type]} obj:Form [description]
  541. * @param {[type]} e:LoadEventInfo [description]
  542. */
  543. function SMPMI00600_onload(obj:Form, e:LoadEventInfo) {
  544. frmf_initForm(obj); // 화면공통
  545. grdf_setGridSort(grd_inrsrvspec);
  546. appf_getCodeList([
  547. { dsNm: 'ds_init_P0001list', cdGrpId: 'P0001' },
  548. { dsNm: 'ds_init_P0149list', cdGrpId: 'P0149' },
  549. { dsNm: 'ds_init_P0017list', cdGrpId: 'P0017' },
  550. { dsNm: 'ds_init_P0039list', cdGrpId: 'P0039' },
  551. { dsNm: 'ds_init_P0313list', cdGrpId: 'P0313' },
  552. { dsNm: 'ds_init_P0020list', cdGrpId: 'P0020' },
  553. { dsNm: 'ds_init_P0025list', cdGrpId: 'P0025' }
  554. ]);
  555. ds_send.setColumn(0, "inhopeddfrom", utlf_getCurrentDate());
  556. ds_send.setColumn(0, "inhopeddto", utlf_getCurrentDate());
  557. // 2009.06.30 - DCC적용여부
  558. pamfGetCodeList([{ dsNm: 'ds_init_pam_P0041list', cdGrpId: 'P0041' }])
  559. dsf_createDsRow('ds_TRPMI00106', [
  560. { col: 'sess_posinstcd', type: 'string', size: 256, val: '' },
  561. { col: 'ioflag', type: 'string', size: 256, val: '' },
  562. { col: 'dridsorttype', type: 'string', size: 256, val: '' }
  563. ], false);
  564. var oParam = {};
  565. oParam.id = "TRPMI00106";
  566. oParam.service = "pamcomnapp.PamComn";
  567. oParam.method = "reqGetComCD";
  568. oParam.inds = "req=ds_TRPMI00106";
  569. oParam.outds = "ds_hidden_init_disccd=disccd ds_hidden_init_insukind=insukind ds_hidden_init_suppkind=suppkind "
  570. + "ds_hidden_init_orddeptcd=orddeptcd ds_hidden_init_orddrid=orddrid ds_hidden_init_roomgrdelist=roomgrdelist "
  571. + "ds_hidden_init_flag=flag ds_hidden_init_wardcd=wardcd ";
  572. oParam.async = false;
  573. tranf_submit(oParam);
  574. // 2009.06.30 - DCC 적용여부
  575. var sDccYn = ds_init_pam_P0041list.lookup("cdid", "D01", "cdnm");
  576. var colWidth = 0;
  577. if (sDccYn == "Y")
  578. {
  579. colWidth = 35;
  580. }
  581. grd_inrsrvspec.setFormatColProperty(4,"size", colWidth);
  582. ds_hidden.setColumn(0, 'inhopeddchk', 'Y');
  583. // bol_inhopeddchk.selected = true;
  584. //20090820 JHP 추가_ 등급을 공통코드로 가져오는데 이는 입원료 수가 매핑과 관련해서 종료된 입원료를 컨트롤 할수 있는 소지가 있기에
  585. // 실제 수가와 매핑코드를 조회하여 살아있는 입원료 등급 코드를 가져온다.
  586. // 해당 조회를 실행한다음에 병실등급에 해당하는 콤보박스를 이걸로 바꾼다. 기존은 P0025(/root/init/P0025list/P0025)였다.
  587. var sUserInfosS = sysf_getUserInfos();
  588. sUserInfosS = sUserInfosS + "|";
  589. var UserInfosS_Array = sUserInfosS.split("|");
  590. var userid = UserInfosS_Array[0]; //사용자번호
  591. var usernm = UserInfosS_Array[1]; //사용자이름
  592. //var posinstcd = UserInfosS_Array[2]; //소속기관코드
  593. //var posinstnm = UserInfosS_Array[3]; //소속기관명
  594. var posinstcd = UserInfosS_Array[6]; //근무지기관코드 2009.04.15
  595. var posinstnm = UserInfosS_Array[7]; //근무지기관명 2009.04.15
  596. var posdeptcd = UserInfosS_Array[4]; //소속부서코드
  597. var posdeptnm = UserInfosS_Array[5]; //소속부서명
  598. ds_send_data1.setColumn(0, "sess_posinstcd", posinstcd);
  599. dsf_createDsRow('ds_TRPMI00405', [
  600. { col: 'sess_posinstcd', type: 'string', size: 256, val: '' },
  601. { col: 'ioflag', type: 'string', size: 256, val: '' }
  602. ], false);
  603. ds_TRPMI00405.copyRow(0, ds_send_data1, 0);
  604. var oParam = {};
  605. oParam.id = "TRPMI00405";
  606. oParam.service = "ipatmngtapp.InhospUpdt";
  607. oParam.method = "reqGetRoomGrdeInfoList";
  608. oParam.inds = "req=ds_TRPMI00405";
  609. oParam.outds = "ds_hidden_roomgrdelist=roomgrdelist";
  610. oParam.async = false;
  611. tranf_submit(oParam);
  612. }
  613. /**
  614. * cmb_inrsrvcond 콤보 아이템 변경 후 이벤트
  615. * @param {[type]} obj: Combo [description]
  616. * @param {[type]} e: ItemChangeEventInfo [description]
  617. * @return {[type]} [description]
  618. */
  619. function grp_cmb_inrsrvcond_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  620. var rsflag = ds_send.getColumn(0, "inrsrvcond");
  621. frschlind(rsflag);
  622. }
  623. /**
  624. * cmb_assgward 콤보 아이템 변경 후 이벤트
  625. * @param {[type]} obj: Combo [description]
  626. * @param {[type]} e: ItemChangeEventInfo [description]
  627. * @return {[type]} [description]
  628. */
  629. function grp_cmb_assgward_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  630. grp.btn_search.click();
  631. }
  632. /**
  633. * ipt_pid 키보드 입력 이벤트
  634. * @param {[type]} obj: Edit [description]
  635. * @param {[type]} e: KeyEventInfo [description]
  636. * @return {[type]} [description]
  637. */
  638. function grp_ipt_pid_onkeydown(obj: Edit, e: KeyEventInfo) {
  639. if (e.keycode == 13) {
  640. obj.updateToDataset();
  641. grp.btn_search.click();
  642. }
  643. }
  644. /**
  645. * bol_inhopeddchk 채크박스 클릭 이벤트
  646. * @param {[type]} obj: CheckBox [description]
  647. * @param {[type]} e: ClickEventInfo [description]
  648. * @return {[type]} [description]
  649. */
  650. function grp_bol_inhopeddchk_onclick(obj: CheckBox, e: ClickEventInfo) {
  651. var value = ds_hidden.getColumn(0, 'inhopeddchk');
  652. if (value == 'Y') {
  653. grp.ipt_inhopeddfrom.visible = true;
  654. grp.ipt_inhopeddto.visible = true;
  655. grp.cpt_line.visible = true;
  656. ds_send.setColumn(0, "inhopeddfrom", utlf_getCurrentDate());
  657. ds_send.setColumn(0, "inhopeddto", utlf_getCurrentDate());
  658. }
  659. else {
  660. ds_send.setColumn(0, "inhopeddfrom", '');
  661. ds_send.setColumn(0, "inhopeddto", '');
  662. }
  663. }
  664. /**
  665. * 조회 버튼 클릭 이벤트
  666. * @param {[type]} obj: Button [description]
  667. * @param {[type]} e: ClickEventInfo [description]
  668. * @return {[type]} [description]
  669. */
  670. function grp_btn_search_onclick(obj: Button, e: ClickEventInfo) {
  671. //입원예약조회 구분 플래그
  672. ds_send.setColumn(0, "sendflag", 'I');
  673. dsf_createDsRow('ds_TRPMI00601', [
  674. { col: 'inrsrvcond', type: 'string', size: 256, val: '' },
  675. { col: 'inrsrvcondnm', type: 'string', size: 256, val: '' },
  676. { col: 'inhopeddfrom', type: 'string', size: 256, val: '' },
  677. { col: 'inhopeddto', type: 'string', size: 256, val: '' },
  678. { col: 'sendflag', type: 'string', size: 256, val: '' }
  679. ], false);
  680. ds_TRPMI00601.copyRow(0, ds_send, 0);
  681. ds_adrvlist_grdinrsrvspec.clearData();
  682. var oParam = {};
  683. oParam.id = "TRPMI00601";
  684. oParam.service = "ipatmngtapp.InRsrv";
  685. oParam.method = "reqGetInRsrvRefList";
  686. oParam.inds = "req=ds_TRPMI00601";
  687. oParam.outds = "ds_adrvlist_grdinrsrvspec=grdinrsrvspec";
  688. oParam.async = false;
  689. tranf_submit(oParam);
  690. ds_adrvlist_grdinrsrvspec.addColumn('bgColor', 'string');
  691. for (var idx = 0; idx < ds_adrvlist_grdinrsrvspec.rowcount; idx++) {
  692. var sRealInYN = ds_adrvlist_grdinrsrvspec.getColumn(idx, "realinyn");
  693. var color = '';
  694. if (sRealInYN == "Y") {
  695. color = '#ffff66';
  696. }
  697. else {
  698. color = '#ffffff';
  699. }
  700. ds_adrvlist_grdinrsrvspec.setColumn(idx, 'bgColor', color);
  701. }
  702. }
  703. /**
  704. * 출력 버튼 클릭 이벤트
  705. * @param {[type]} obj: Button [description]
  706. * @param {[type]} e: ClickEventInfo [description]
  707. * @return {[type]} [description]
  708. */
  709. function btn_print_onclick(obj: Button, e: ClickEventInfo) {
  710. var objDOM = rptf_createDOM(); // DOM 객체 설정
  711. rptf_setNodeListToDOM(objDOM, "root/adrvlist/grdinrsrvspec", ds_adrvlist_grdinrsrvspec);
  712. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
  713. rptf_exeReportPreview30(["RPPMI00601"], [{ xml_data_XML1: objDOM.documentElement.source }], option);
  714. }
  715. /**
  716. * 엑셀저장 버튼 클릭 이벤트
  717. * @param {[type]} obj: Button [description]
  718. * @param {[type]} e: ClickEventInfo [description]
  719. * @return {[type]} [description]
  720. */
  721. function btn_excsave_onclick(obj: Button, e: ClickEventInfo) {
  722. grdf_exportExcel(grd_inrsrvspec, "excel", "SheetName", false, "", "", false);
  723. }
  724. /**
  725. * 그리드 셀 더블클릭 이벤트
  726. * @param {[type]} obj: Grid [description]
  727. * @param {[type]} e: GridClickEventInfo [description]
  728. * @return {[type]} [description]
  729. */
  730. function group3_grd_inrsrvspec_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  731. var sPid = ds_adrvlist_grdinrsrvspec.getColumn(grd_inrsrvspec.currentrow, "pid");
  732. ds_source.setColumn(0, "pid", sPid);
  733. frmf_modal("SMPMI00200", "SMPMI00200", { arg_ds_source: ds_source }, "", "", "", "", "", "", "", "", "", "M");
  734. }
  735. /**
  736. * 초기화 버튼 클릭 이벤트
  737. * @param {[type]} obj: Button [description]
  738. * @param {[type]} e: ClickEventInfo [description]
  739. * @return {[type]} [description]
  740. */
  741. function btn_clear_onclick(obj: Button, e: ClickEventInfo) {
  742. fInitialize();
  743. }
  744. ]]></Script>
  745. </Form>
  746. </FDL>