SMAEA04700_치료예약스케줄조회.xfdl 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA04700" position="absolute 0 0 1200 778" titletext="치료예약스케줄조회" oninit="SMAEA04700_oninit" onload="SMAEA04700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="치료예약스케줄조회" position="absolute 0 0 204 23" id="caption6" class="tit_1"/>
  8. <Grid position="absolute 0 96 1193 771" id="grd_list" binddataset="ds_main_cureschelist_mainlist" anchor="all" autofittype="col" cellsizingtype="col">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="0"/>
  13. <Column size="0"/>
  14. <Column size="0"/>
  15. <Column size="19"/>
  16. <Column size="70"/>
  17. <Column size="60"/>
  18. <Column size="0"/>
  19. <Column size="0"/>
  20. <Column size="0"/>
  21. <Column size="0"/>
  22. <Column size="0"/>
  23. <Column size="0"/>
  24. <Column size="90"/>
  25. <Column size="85"/>
  26. <Column size="60"/>
  27. <Column size="0"/>
  28. <Column size="75"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="75"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="75"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="75"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="75"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="75"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="83"/>
  47. <Column size="246"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. </Columns>
  52. <Rows>
  53. <Row size="24" band="head"/>
  54. <Row size="24"/>
  55. </Rows>
  56. <Band id="head">
  57. <Cell text="등록일자"/>
  58. <Cell col="1" text="발생번호"/>
  59. <Cell col="2" text="지원부서"/>
  60. <Cell col="3"/>
  61. <Cell col="4" text="등록번호"/>
  62. <Cell col="5" text="이름"/>
  63. <Cell col="6" text="성별"/>
  64. <Cell col="7" text="나이"/>
  65. <Cell col="8" text="주민번호1"/>
  66. <Cell col="9" text="주민번호2"/>
  67. <Cell col="10" text="연락처"/>
  68. <Cell col="11" text="주소"/>
  69. <Cell col="12" text="진료과"/>
  70. <Cell col="13" text="진료의"/>
  71. <Cell col="14" text="상태"/>
  72. <Cell col="15" text="연락처"/>
  73. <Cell col="16" text="악물조절"/>
  74. <Cell col="17" text="변경전 일자"/>
  75. <Cell col="18" text="임시예약 순번"/>
  76. <Cell col="19" text="식이요법"/>
  77. <Cell col="20" text="변경전 일자"/>
  78. <Cell col="21" text="임시예약 순번"/>
  79. <Cell col="22" text="검사예약"/>
  80. <Cell col="23" text="변경전 일자"/>
  81. <Cell col="24" text="임시예약 순번"/>
  82. <Cell col="25" text="촬영"/>
  83. <Cell col="26" text="변경전 일자"/>
  84. <Cell col="27" text="임시예약 순번"/>
  85. <Cell col="28" text="치료일"/>
  86. <Cell col="29" text="변경전 일자"/>
  87. <Cell col="30" text="임시예약 순번"/>
  88. <Cell col="31" text="치료후 촬영"/>
  89. <Cell col="32" text="변경전 일자"/>
  90. <Cell col="33" text="임시예약 순번"/>
  91. <Cell col="34" text="치료확정유무"/>
  92. <Cell col="35" text="참고사항"/>
  93. <Cell col="36" text="시작일자"/>
  94. <Cell col="37" text="종료내용"/>
  95. <Cell col="38" text="입원예정일"/>
  96. </Band>
  97. <Band id="body">
  98. <Cell text="bind:genrdd" mask="yyyy-mm-dd"/>
  99. <Cell col="1" text="bind:genrno"/>
  100. <Cell col="2" text="bind:suppdeptcd"/>
  101. <Cell col="3" celltype="head" expr="currow+1"/>
  102. <Cell col="4" style="padding:0 0 0 2;" text="bind:pid"/>
  103. <Cell col="5" style="padding:0 0 0 2;" text="bind:hngnm"/>
  104. <Cell col="6" style="padding:0 0 0 2;" text="bind:sex"/>
  105. <Cell col="7" style="padding:0 0 0 2;" text="bind:age"/>
  106. <Cell col="8" style="padding:0 0 0 2;" text="bind:rrgstno1"/>
  107. <Cell col="9" style="padding:0 0 0 2;" text="bind:rrgstno2"/>
  108. <Cell col="10" style="padding:0 0 0 2;" text="bind:tel"/>
  109. <Cell col="11" style="padding:0 0 0 2;" text="bind:addr"/>
  110. <Cell col="12" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  111. <Cell col="13" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:orddrid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm" enable="false"/>
  112. <Cell col="14" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:statcd" combodataset="ds_cmb_statcd" combocodecol="value" combodatacol="label" enable="false"/>
  113. <Cell col="15" style="padding:0 0 0 2;" text="bind:cntctel"/>
  114. <Cell col="16" displaytype="date" style="padding:0 0 0 2;" text="bind:curedg1" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  115. <Cell col="17" displaytype="date" style="padding:0 0 0 2;" text="bind:oldcuredg1" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  116. <Cell col="18" displaytype="date" style="padding:0 0 0 2;" text="bind:curedgseq1" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  117. <Cell col="19" displaytype="date" style="padding:0 0 0 2;" text="bind:curedg2" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  118. <Cell col="20" displaytype="date" style="padding:0 0 0 2;" text="bind:oldcuredg2" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  119. <Cell col="21" displaytype="date" style="padding:0 0 0 2;" text="bind:curedgseq2" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  120. <Cell col="22" displaytype="date" style="padding:0 0 0 2;" text="bind:curedg3" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  121. <Cell col="23" displaytype="date" style="padding:0 0 0 2;" text="bind:oldcuredg3" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  122. <Cell col="24" displaytype="date" style="padding:0 0 0 2;" text="bind:curedgseq3" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  123. <Cell col="25" displaytype="date" style="padding:0 0 0 2;" text="bind:curedg4" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  124. <Cell col="26" displaytype="date" style="padding:0 0 0 2;" text="bind:oldcuredg4" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  125. <Cell col="27" displaytype="date" style="padding:0 0 0 2;" text="bind:curedgseq4" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  126. <Cell col="28" displaytype="date" style="padding:0 0 0 2;" text="bind:curedg5" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  127. <Cell col="29" displaytype="date" style="padding:0 0 0 2;" text="bind:oldcuredg5" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  128. <Cell col="30" displaytype="date" style="padding:0 0 0 2;" text="bind:curedgseq5" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  129. <Cell col="31" displaytype="date" style="padding:0 0 0 2;" text="bind:curedg6" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  130. <Cell col="32" style="padding:0 0 0 2;" text="bind:oldcuredg6"/>
  131. <Cell col="33" style="padding:0 0 0 2;" text="bind:curedgseq6"/>
  132. <Cell col="34" displaytype="combo" style="align:center middle;padding:0 0 0 2;" text="bind:curecfrmyn" combodataset="ds_cmb_curecfrmyn" combocodecol="value" combodatacol="label" enable="false"/>
  133. <Cell col="35" style="align:left middle;padding:0 0 0 2;" text="bind:remfact"/>
  134. <Cell col="36" text="bind:startdd"/>
  135. <Cell col="37" text="bind:endcnts"/>
  136. <Cell col="38" text="bind:inschedd"/>
  137. </Band>
  138. </Format>
  139. </Formats>
  140. </Grid>
  141. <Static text="치료 스케줄" position="absolute 0 75 181 96" id="caption23" class="tit_2"/>
  142. <Shape position="absolute 0 91 1193 97" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  143. <Button position="absolute 1113 71 1193 90" id="btn_excsave" class="btn7" visible="true" text="엑셀저장" anchor="top right" onclick="btn_excsave_onclick"/>
  144. <Div id="grp_sea" taborder="1" position="absolute 0 24 1193 65" class="div_SA" anchor="left top right">
  145. <Layouts>
  146. <Layout>
  147. <Static id="caption1" text="구분 :" class="search_name" position="absolute 18 15 83 27" anchor="default"/>
  148. <Combo id="combo1" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 86 9 191 31" anchor="default">
  149. <Dataset id="innerdataset">
  150. <ColumnInfo>
  151. <Column id="codecolumn"/>
  152. <Column id="datacolumn"/>
  153. </ColumnInfo>
  154. <Rows>
  155. <Row>
  156. <Col id="codecolumn">A</Col>
  157. <Col id="datacolumn">약물조절</Col>
  158. </Row>
  159. <Row>
  160. <Col id="codecolumn">B</Col>
  161. <Col id="datacolumn">식이요법</Col>
  162. </Row>
  163. <Row>
  164. <Col id="codecolumn">C</Col>
  165. <Col id="datacolumn">검사예약</Col>
  166. </Row>
  167. <Row>
  168. <Col id="codecolumn">D</Col>
  169. <Col id="datacolumn">촬영</Col>
  170. </Row>
  171. <Row>
  172. <Col id="codecolumn">E</Col>
  173. <Col id="datacolumn">치료일</Col>
  174. </Row>
  175. <Row>
  176. <Col id="codecolumn">F</Col>
  177. <Col id="datacolumn">치료후 촬영</Col>
  178. </Row>
  179. </Rows>
  180. </Dataset>
  181. </Combo>
  182. <Static id="caption3" text="조회일자 :" class="search_name" position="absolute 223 13 317 30" anchor="default"/>
  183. <Calendar id="input37" taborder="2" class="input_s_essential" position="absolute 313 11 413 30" anchor="default" autoselect="true" dateformat="yyyy-MM-dd" value="null" autoskip="true"/>
  184. <Calendar id="input36" taborder="3" class="input_s_essential" position="absolute 416 11 516 30" anchor="default" autoselect="true" dateformat="yyyy-MM-dd" autoskip="true"/>
  185. <Static id="caption58" text="등록번호 :" class="search_name" position="absolute 579 13 665 30" anchor="default"/>
  186. <Edit id="input19" taborder="4" class="input_search" position="absolute 673 11 773 30" anchor="default" autoselect="true" onkeydown="grp_sea_input19_onkeydown"/>
  187. <Button id="btn_getpatinfo" taborder="5" class="icon_search" position="absolute 776 11 792 27" anchor="default" onclick="grp_sea_btn_getpatinfo_onclick"/>
  188. <Edit id="ipt_patnm" taborder="6" readonly="true" position="absolute 798 11 883 30" anchor="default" class="output"/>
  189. <Button id="btn_req" taborder="7" text="조회" class="btn1" position="absolute 1113 10 1169 32" anchor="top right" onclick="grp_sea_btn_req_onclick"/>
  190. </Layout>
  191. </Layouts>
  192. </Div>
  193. </Layout>
  194. </Layouts>
  195. <Objects>
  196. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  197. <ColumnInfo>
  198. <Column id="srchflag" type="STRING" size="256"/>
  199. <Column id="srchdate1" type="STRING" size="256"/>
  200. <Column id="srchdate2" type="STRING" size="256"/>
  201. <Column id="srchpid" type="STRING" size="256"/>
  202. <Column id="hngnm" type="STRING" size="256"/>
  203. <Column id="suppdeptcd" type="STRING" size="256"/>
  204. </ColumnInfo>
  205. <Rows>
  206. <Row>
  207. <Col id="srchflag"/>
  208. <Col id="srchdate1"/>
  209. <Col id="srchdate2"/>
  210. <Col id="srchpid"/>
  211. <Col id="hngnm"/>
  212. </Row>
  213. </Rows>
  214. </Dataset>
  215. <Dataset id="ds_main_cureschelist_mainlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  216. <ColumnInfo>
  217. <Column id="flag" type="STRING" size="256" sumtext="상태"/>
  218. <Column id="genrdd" type="STRING" size="256" sumtext="발생일자"/>
  219. <Column id="genrno" type="STRING" size="256" sumtext="발생번호"/>
  220. <Column id="suppdeptcd" type="STRING" size="256" sumtext="지원부서코드 "/>
  221. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  222. <Column id="hngnm" type="STRING" size="256" sumtext="검사코드"/>
  223. <Column id="sex" type="STRING" size="256" sumtext="환자명"/>
  224. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  225. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  226. <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
  227. <Column id="cntctel" type="STRING" size="256" sumtext="연락처"/>
  228. <Column id="statcd" type="STRING" size="256" sumtext="상태"/>
  229. <Column id="curedg1" type="STRING" size="256" sumtext="치료1차"/>
  230. <Column id="curedg1" type="STRING" size="256" sumtext="치료1차"/>
  231. <Column id="curedgseq1" type="INT" size="256" sumtext="치료1차임시예약 순번"/>
  232. <Column id="curedg2" type="STRING" size="256" sumtext="치료2차"/>
  233. <Column id="curedg2" type="STRING" size="256" sumtext="치료2차"/>
  234. <Column id="curedgseq1" type="INT" size="256" sumtext="치료2차임시예약 순번"/>
  235. <Column id="curedg3" type="STRING" size="256" sumtext="치료3차"/>
  236. <Column id="curedg3" type="STRING" size="256" sumtext="치료3차"/>
  237. <Column id="curedgseq3" type="INT" size="256" sumtext="치료3차임시예약 순번"/>
  238. <Column id="curedg4" type="STRING" size="256" sumtext="치료4차"/>
  239. <Column id="curedg4" type="STRING" size="256" sumtext="치료4차"/>
  240. <Column id="curedgseq4" type="INT" size="256" sumtext="치료4차임시예약 순번"/>
  241. <Column id="curedg5" type="STRING" size="256" sumtext="치료5차"/>
  242. <Column id="curedg5" type="STRING" size="256" sumtext="치료5차"/>
  243. <Column id="curedgseq5" type="INT" size="256" sumtext="치료5차임시예약 순번"/>
  244. <Column id="curedg6" type="STRING" size="256" sumtext="치료6차"/>
  245. <Column id="curedg6" type="STRING" size="256" sumtext="치료6차"/>
  246. <Column id="curedgseq6" type="STRING" size="256" sumtext="치료6차임시예약 순번"/>
  247. <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
  248. <Column id="curecfrmyn" type="STRING" size="256" sumtext="치료확정유무"/>
  249. <Column id="startdd" type="STRING" size="256" sumtext="시작일자"/>
  250. <Column id="endcnts" type="STRING" size="256" sumtext="종료내용"/>
  251. <Column id="inschedd" type="STRING" size="256" sumtext="입원예정일"/>
  252. </ColumnInfo>
  253. </Dataset>
  254. <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  255. <ColumnInfo>
  256. <Column id="nm" type="STRING" size="256"/>
  257. <Column id="cd" type="STRING" size="256"/>
  258. </ColumnInfo>
  259. </Dataset>
  260. <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  261. <ColumnInfo>
  262. <Column id="nm" type="STRING" size="256"/>
  263. <Column id="cd" type="STRING" size="256"/>
  264. </ColumnInfo>
  265. </Dataset>
  266. <Dataset id="ds_cmb_statcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  267. <ColumnInfo>
  268. <Column id="label" type="STRING" size="256"/>
  269. <Column id="value" type="STRING" size="256"/>
  270. </ColumnInfo>
  271. <Rows>
  272. <Row>
  273. <Col id="label">입원</Col>
  274. <Col id="value">I</Col>
  275. </Row>
  276. <Row>
  277. <Col id="label">입원예정</Col>
  278. <Col id="value">R</Col>
  279. </Row>
  280. <Row>
  281. <Col id="label">대기</Col>
  282. <Col id="value">D</Col>
  283. </Row>
  284. <Row>
  285. <Col id="label">외래</Col>
  286. <Col id="value">O</Col>
  287. </Row>
  288. </Rows>
  289. </Dataset>
  290. <Dataset id="ds_cmb_curecfrmyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="label" type="STRING" size="256"/>
  293. <Column id="value" type="STRING" size="256"/>
  294. </ColumnInfo>
  295. <Rows>
  296. <Row>
  297. <Col id="label">확정</Col>
  298. <Col id="value">Y</Col>
  299. </Row>
  300. <Row>
  301. <Col id="label">미확정</Col>
  302. <Col id="value">N</Col>
  303. </Row>
  304. <Row>
  305. <Col id="label">취소</Col>
  306. <Col id="value">C</Col>
  307. </Row>
  308. </Rows>
  309. </Dataset>
  310. <Dataset id="ds_send_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  311. <ColumnInfo>
  312. <Column id="srchcond" type="STRING" size="256"/>
  313. <Column id="pid" type="STRING" size="256"/>
  314. </ColumnInfo>
  315. </Dataset>
  316. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  317. </Objects>
  318. <Bind>
  319. <BindItem id="item0" compid="grp_sea.combo1" propid="value" datasetid="ds_send_data" columnid="srchflag"/>
  320. <BindItem id="item1" compid="grp_sea.input37" propid="value" datasetid="ds_send_data" columnid="srchdate1"/>
  321. <BindItem id="item2" compid="grp_sea.input36" propid="value" datasetid="ds_send_data" columnid="srchdate2"/>
  322. <BindItem id="item3" compid="grp_sea.input19" propid="value" datasetid="ds_send_data" columnid="srchpid"/>
  323. <BindItem id="item4" compid="grp_sea.ipt_patnm" propid="value" datasetid="ds_send_data" columnid="hngnm"/>
  324. </Bind>
  325. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  326. * System Name :
  327. * Job Name :
  328. * Creator :
  329. * Make Date : 2015-11-13
  330. * Description :
  331. *---------------------------------------------------------------------------------------
  332. * Modify Date Modifier Modify Description
  333. *---------------------------------------------------------------------------------------
  334. * 2015-11-13 Live Converter TF->XP
  335. *
  336. *---------------------------------------------------------------------------------------
  337. ****************************************************************************************/
  338. include "com_commonxp::comm_main.xjs";
  339. include "ast_examcurexp::AEZ0001.xjs";
  340. var vSuppdeptcd;
  341. function SMAEA04700_oninit(obj:Form, e:InitEventInfo)
  342. {
  343. frmf_initForm(obj);
  344. }
  345. function SMAEA04700_onload(obj:Form, e:LoadEventInfo)
  346. {
  347. grdf_initGrid(grd_list);
  348. lf_aezfSetSuppDeptcd();
  349. vSuppdeptcd = frmf_getPrestDeptCd();
  350. if(utlf_isNull(vSuppdeptcd))
  351. {
  352. vSuppdeptcd = sysf_getUserInfo("dutplcecd");
  353. }
  354. ds_send_data.setColumn(0, "suppdeptcd", vSuppdeptcd);
  355. dsf_createDsRow("ds_req", [{col:"dridsorttype", type:"STRING", size:256 , val : ""}
  356. , {col:"sess_posinstcd", type:"STRING", size:256 , val : ""}]);
  357. var oParam = {};
  358. oParam.id = "TRPMOCOM01";
  359. oParam.service = "pamcomnapp.PamComn";
  360. oParam.method = "reqGetComCD";
  361. oParam.inds = "req=ds_req";
  362. oParam.outds = "ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid";
  363. oParam.async = false;
  364. //oParam.callback = "cf_TRPMOCOM01";
  365. tranf_submit(oParam);
  366. fInit();
  367. }
  368. function fInit()
  369. {
  370. ds_main_cureschelist_mainlist.clearData();
  371. ds_send_data.setColumn(0, "srchflag", "E");
  372. ds_send_data.setColumn(0, "srchdate1", utlf_getCurrentDate());
  373. ds_send_data.setColumn(0, "srchdate2", ((utlf_getCurrentDate()).toDate()).getAddDate(60).getDateFormat());
  374. }
  375. function grp_sea_input19_onkeydown(obj:Edit, e:KeyEventInfo)
  376. {
  377. if(e.keycode == 13)
  378. {
  379. obj.updateToDataset();
  380. fGetCureScheList();
  381. }
  382. }
  383. function grp_sea_btn_getpatinfo_onclick(obj:Button, e:ClickEventInfo)
  384. {
  385. ds_send_data2.setColumn(0, "srchcond", "1");
  386. ds_send_data2.setColumn(0, "pid", utlf_transNullToEmpty(ds_send_data.getColumn(0, "srchpid")));
  387. var objArg = new Object();
  388. objArg.arg_ds_send = ds_send_data2;
  389. frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
  390. var sPid = ds_patinfolist.getColumn(0, "pid");
  391. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  392. ds_send_data.setColumn(0, "srchpid", sPid);
  393. ds_send_data.setColumn(0, "hngnm", sHngnm);
  394. fGetCureScheList();
  395. }
  396. function grp_sea_btn_req_onclick(obj:Button, e:ClickEventInfo)
  397. {
  398. fGetCureScheList();
  399. }
  400. function fGetCureScheList()
  401. {
  402. var srchpid = ds_send_data.getColumn(0, "srchpid");
  403. if(utlf_isNull(srchpid))
  404. {
  405. var srchflag = ds_send_data.getColumn(0, "srchflag");
  406. if (utlf_isNull(srchflag))
  407. {
  408. sysf_messageBox("구분을 선택해 주십시오.","I999");
  409. return "0";
  410. }
  411. var srchdate1 = ds_send_data.getColumn(0, "srchdate1");
  412. if (utlf_isNull(srchdate1))
  413. {
  414. sysf_messageBox("조회시작일자를 선택해 주십시오.","I999");
  415. return "0";
  416. }
  417. var srchdate2 = ds_send_data.getColumn(0, "srchdate2");
  418. if (utlf_isNull(srchdate2))
  419. {
  420. sysf_messageBox("조회종료일자를 선택해 주십시오.","I999");
  421. return "0";
  422. }
  423. }
  424. ds_main_cureschelist_mainlist.clearData();
  425. var oParam = {};
  426. oParam.id = "TRAEA04601";
  427. oParam.service = "examcurebaseapp.NuclCureSche";
  428. oParam.method = "reqGetCureScheList";
  429. oParam.inds = "reqparam=ds_send_data";
  430. oParam.outds = "ds_main_cureschelist_mainlist=mainlist";
  431. oParam.async = false;
  432. //oParam.callback = "cf_TRAEA04601";
  433. tranf_submit(oParam);
  434. }
  435. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  436. {
  437. grdf_exportExcel(grd_list, "", "see");
  438. }
  439. ]]></Script>
  440. </Form>
  441. </FDL>