SMAER01400_외상촬영현황조회.xfdl 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAER01400" position="absolute 0 0 1196 778" titletext="외상 촬영현황조회" oninit="SMAER01400_oninit" onload="SMAER01400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 66 1195 762" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 0 25 1195 31" linetype="horizontal" id="line2" class="line_10" anchor="left top right"/>
  11. <Grid position="absolute 0 30 1195 693" align="align:center middle;" id="grd_mainordlist" class="datagrid2" binddataset="ds_main_subordlist_subordlist1" anchor="all" onrbuttonup="group3_grd_mainordlist_onrbuttonup" onvscrolllastover="group3_grd_mainordlist_onvscrolllastover" extendsizetype="row" cellsizingtype="both" autosizingtype="row" selecttype="multirow">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="25" band="left"/>
  16. <Column size="87"/>
  17. <Column size="89"/>
  18. <Column size="97"/>
  19. <Column size="91"/>
  20. <Column size="41"/>
  21. <Column size="40"/>
  22. <Column size="40"/>
  23. <Column size="98"/>
  24. <Column size="93"/>
  25. <Column size="144"/>
  26. <Column size="67"/>
  27. <Column size="88"/>
  28. <Column size="279"/>
  29. <Column size="90"/>
  30. <Column size="281"/>
  31. </Columns>
  32. <Rows>
  33. <Row size="30" band="head"/>
  34. <Row size="24"/>
  35. </Rows>
  36. <Band id="head">
  37. <Cell/>
  38. <Cell col="1" text="병동"/>
  39. <Cell col="2" text="병실"/>
  40. <Cell col="3" text="환자번호"/>
  41. <Cell col="4" text="환자명"/>
  42. <Cell col="5" text="성별"/>
  43. <Cell col="6" text="나이"/>
  44. <Cell col="7" text="응/입"/>
  45. <Cell col="8" text="입원일자"/>
  46. <Cell col="9" text="퇴원일자"/>
  47. <Cell col="10" text="실시일자"/>
  48. <Cell col="11" text="외상코드"/>
  49. <Cell col="12" text="상병코드1"/>
  50. <Cell col="13" text="상병명1"/>
  51. <Cell col="14" text="상병코드2"/>
  52. <Cell col="15" text="상병명2"/>
  53. </Band>
  54. <Band id="body">
  55. <Cell celltype="head" text="expr:currow+1"/>
  56. <Cell col="1" displaytype="text" style="align:left;padding:4 4 4 4;" text="bind:wardnm" wordwrap="char" autosizerow="limitmin"/>
  57. <Cell col="2" style="padding:4 4 4 4;" text="bind:roomcd" wordwrap="char" autosizerow="limitmin"/>
  58. <Cell col="3" style="padding:4 4 4 4;" text="bind:pid" wordwrap="char" autosizerow="limitmin"/>
  59. <Cell col="4" style="padding:4 4 4 4;" text="bind:hngnm" wordwrap="char" autosizerow="limitmin"/>
  60. <Cell col="5" displaytype="normal" style="align:left;padding:4 4 4 4;" text="bind:sex" wordwrap="char" autosizerow="limitmin"/>
  61. <Cell col="6" style="align:left;padding:4 4 4 4;" text="bind:age" wordwrap="char" mask="expr:utlf_isNull(acptdt) || acptdt == '-' ? '' : '@@@@-@@-@@ @@:@@:@@'" autosizerow="limitmin"/>
  62. <Cell col="7" style="align:left;padding:4 4 4 4;" text="bind:ioflag" wordwrap="char" autosizerow="limitmin"/>
  63. <Cell col="8" style="align:left;padding:4 4 4 4;" text="bind:indd" wordwrap="char" mask="expr:expr:utlf_isNull(indd) || indd == '-' ? '' : '@@@@-@@-@@'" autosizerow="limitmin"/>
  64. <Cell col="9" style="align:left;padding:4 4 4 4;" text="bind:dschdd" wordwrap="char" mask="expr:utlf_isNull(dschdd) || dschdd == '-' ? '' : '@@@@-@@-@@'" autosizerow="limitmin"/>
  65. <Cell col="10" displaytype="text" style="align:left;padding:4 4 4 4;" text="bind:excuexectodt" wordwrap="char" mask="expr:utlf_isNull(excuexectodt) || excuexectodt == '-' ? '' : '@@@@-@@-@@ @@:@@:@@'" autosizerow="limitmin"/>
  66. <Cell col="11" style="padding:4 4 4 4;color:EXPR(trflag == 'N'?&quot;red&quot;:(trflag == 'Y'? &quot;black&quot;:&quot;#ffffff&quot;));color2:EXPR(trflag == 'N'?&quot;red&quot;:(trflag == 'Y'? &quot;black&quot;:&quot;#ffffff&quot;));font:arial,9,bold;" text="bind:trflag" wordwrap="char" autosizerow="limitmin"/>
  67. <Cell col="12" style="padding:4 4 4 4;" text="bind:diagcd" wordwrap="char" autosizerow="limitmin"/>
  68. <Cell col="13" style="padding:4 4 4 4;" text="bind:diagnm" wordwrap="char" autosizerow="limitmin"/>
  69. <Cell col="14" style="padding:4 4 4 4;" text="bind:diagcdtr" wordwrap="char" autosizerow="limitmin"/>
  70. <Cell col="15" style="padding:4 4 4 4;" text="bind:diagcdtrnm"/>
  71. </Band>
  72. </Format>
  73. </Formats>
  74. </Grid>
  75. <Button position="absolute 1001 3 1069 25" id="btn_reset" class="btn4" text="초기화" anchor="top right" onclick="group3_btn_reset_onclick" visible="false"/>
  76. <Button position="absolute 1071 3 1131 25" id="button1" class="btn6" text="출 력" anchor="top right" onclick="group3_button1_onclick" visible="false"/>
  77. <Button position="absolute 1133 3 1195 25" id="button2" class="btn7" text="Excel" anchor="top right" onclick="group3_button2_onclick"/>
  78. <Static id="Static00" text="&lt;주의&gt; 이 자료는 2017년 8월 7일 이후부터 적용됨을 알려드립니다." position="absolute 11 -1 577 21" style="color:red;font:Dotum,9,bold;"/>
  79. </Layout>
  80. </Layouts>
  81. </Div>
  82. <Static id="caption6" text="장비별 촬영현황조회" class="tit_1" position="absolute 0 0 192 25"/>
  83. <Div id="group2" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 25 1195 64">
  84. <Layouts>
  85. <Layout>
  86. <Shape id="line1" linetype="vertical" position="absolute 1120 8 1126 33" anchor="top right"/>
  87. <Button id="btn_sea" taborder="52" text="조회" onclick="group2_btn_sea_onclick" class="btn1" position="absolute 1131 9 1187 31" anchor="top right"/>
  88. <Combo id="cmb_ddflag" taborder="53" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 60 10 160 30" anchor="default">
  89. <Dataset id="innerdataset">
  90. <ColumnInfo>
  91. <Column id="codecolumn"/>
  92. <Column id="datacolumn"/>
  93. </ColumnInfo>
  94. <Rows>
  95. <Row>
  96. <Col id="codecolumn">prcpdd</Col>
  97. <Col id="datacolumn">처방일자</Col>
  98. </Row>
  99. <Row>
  100. <Col id="codecolumn">execdd</Col>
  101. <Col id="datacolumn">촬영일자</Col>
  102. </Row>
  103. </Rows>
  104. </Dataset>
  105. </Combo>
  106. <Calendar id="ipt_fromdd" taborder="54" class="input_default" position="absolute 166 10 266 30" anchor="default"/>
  107. <Calendar id="ipt_todd" taborder="55" class="input_default" position="absolute 292 10 392 30" anchor="default"/>
  108. <Static id="caption17" text="~" position="absolute 273 8 288 28" anchor="default"/>
  109. <Static id="caption5" text="구분 :" class="search_name" position="absolute 6 10 56 25" onclick="group2_caption5_onclick" anchor="default"/>
  110. <Static id="caption00" text="장비 AETitle :" onclick="group2_caption5_onclick" class="search_name" position="absolute 632 10 743 30" anchor="default"/>
  111. <Combo id="cmb_aetitle" taborder="56" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 737 10 933 30" anchor="default" innerdataset="@ds_init_A0013"/>
  112. <Static id="caption1" text="지원부서" class="search_name" position="absolute 426 10 488 30" style="align:left middle;"/>
  113. <Combo id="cmb_deptcd" taborder="57" innerdataset="ds_init_combo1" codecolumn="suppdeptcd" datacolumn="depthngnm" onitemchanged="grp_sea_combo1_onitemchanged" class="combo_search" position="absolute 491 10 601 30" style="align:left middle;"/>
  114. </Layout>
  115. </Layouts>
  116. </Div>
  117. </Layout>
  118. </Layouts>
  119. <Objects>
  120. <Dataset id="ds_main_subordlist_subordlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  121. <ColumnInfo>
  122. <Column id="wardnm" type="STRING" size="256"/>
  123. <Column id="roomcd" type="STRING" size="256"/>
  124. <Column id="pid" type="STRING" size="256"/>
  125. <Column id="hngnm" type="STRING" size="256"/>
  126. <Column id="sex" type="STRING" size="256"/>
  127. <Column id="age" type="STRING" size="256"/>
  128. <Column id="ioflag" type="STRING" size="256"/>
  129. <Column id="indd" type="STRING" size="256"/>
  130. <Column id="dschdd" type="STRING" size="256"/>
  131. <Column id="excuexectodt" type="STRING" size="256"/>
  132. <Column id="trflag" type="STRING" size="256"/>
  133. <Column id="diagcd" type="STRING" size="256"/>
  134. <Column id="diagnm" type="STRING" size="256"/>
  135. <Column id="diagcdtr" type="STRING" size="256"/>
  136. <Column id="diagcdtrnm" type="STRING" size="256"/>
  137. </ColumnInfo>
  138. <Rows>
  139. <Row>
  140. <Col id="wardnm"/>
  141. <Col id="roomcd"/>
  142. <Col id="pid"/>
  143. <Col id="hngnm"/>
  144. <Col id="sex"/>
  145. <Col id="age"/>
  146. <Col id="ioflag"/>
  147. <Col id="indd"/>
  148. <Col id="dschdd"/>
  149. <Col id="excuexectodt"/>
  150. <Col id="trflag"/>
  151. <Col id="diagcd"/>
  152. <Col id="diagnm"/>
  153. <Col id="diagcdtr"/>
  154. <Col id="diagcdtrnm"/>
  155. </Row>
  156. </Rows>
  157. </Dataset>
  158. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  159. <ColumnInfo>
  160. <Column id="ddflag" type="STRING" size="256"/>
  161. <Column id="fromdd" type="STRING" size="256"/>
  162. <Column id="todd" type="STRING" size="256"/>
  163. <Column id="suppdeptcd" type="STRING" size="256"/>
  164. <Column id="aetitle" type="STRING" size="256"/>
  165. <Column id="offset" type="STRING" size="256"/>
  166. </ColumnInfo>
  167. <Rows>
  168. <Row>
  169. <Col id="ddflag">execdd</Col>
  170. <Col id="fromdd"/>
  171. <Col id="todd"/>
  172. </Row>
  173. </Rows>
  174. </Dataset>
  175. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  176. <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  177. <ColumnInfo>
  178. <Column id="suppdeptcd" type="STRING" size="256"/>
  179. <Column id="depthngnm" type="STRING" size="256"/>
  180. </ColumnInfo>
  181. </Dataset>
  182. <Dataset id="ds_init_A0013" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  183. <ColumnInfo>
  184. <Column id="cdid" type="STRING" size="256"/>
  185. <Column id="cdnm" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. </Dataset>
  188. </Objects>
  189. <Bind>
  190. <BindItem id="item0" compid="group2.cmb_ddflag" propid="value" datasetid="ds_send" columnid="ddflag"/>
  191. <BindItem id="item1" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  192. <BindItem id="item2" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  193. <BindItem id="item19" compid="group2.cmb_aetitle" propid="value" datasetid="ds_send" columnid="aetitle"/>
  194. <BindItem id="item3" compid="group2.cmb_deptcd" propid="value" datasetid="ds_send" columnid="suppdeptcd"/>
  195. <BindItem id="item4" compid="group3.grd_mainordlist" propid="binddataset" datasetid="ds_main_subordlist_subordlist1" columnid=""/>
  196. </Bind>
  197. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  198. * System Name :
  199. * Job Name :
  200. * Creator :
  201. * Make Date : 2015-11-13
  202. * Description :
  203. *---------------------------------------------------------------------------------------
  204. * Modify Date Modifier Modify Description
  205. *---------------------------------------------------------------------------------------
  206. * 2015-11-13 Live Converter TF->XP
  207. *
  208. *---------------------------------------------------------------------------------------
  209. ****************************************************************************************/
  210. //=======================================================================================
  211. // Lib Include
  212. //---------------------------------------------------------------------------------------
  213. include "com_commonxp::comm_main.xjs"
  214. include "ast_examcurexp::AEZ0001.xjs"
  215. include "ast_examcurexp::combolist.xjs"
  216. //include "com_departmentcodexp::ZSD001.xjs"
  217. //=======================================================================================
  218. // Global Form Variable
  219. //---------------------------------------------------------------------------------------
  220. var arErrorCode = new HashArray();
  221. var gSuppdeptcd = "";
  222. //=======================================================================================
  223. // Function
  224. //---------------------------------------------------------------------------------------
  225. /****************************************************************************************
  226. * Argument : N/A
  227. * Description : 대량조회를 위한 Grid Scroll 제어 Function
  228. ****************************************************************************************/
  229. function fSubmitOnScroll() {
  230. // if(grd_mainordlist.vscroll.attribute("max") == grd_mainordlist.vscroll.attribute("pos")) { //XP 이벤트는 스크롤 마지막일때 실행되므로 이조건은 없어도 될듯
  231. ds_send.setColumn(0,"offset", ds_main_subordlist_subordlist1.rowcount); // grid의 header row는 제외
  232. call_TRAER01001();
  233. // grd_mainordlist.dispatch("onmouseup");
  234. // }
  235. }
  236. /****************************************************************************************
  237. * Argument : N/A
  238. * Description : 환자별 입원처방 촬영현황조회 Function
  239. ****************************************************************************************/
  240. function fInExamList() {
  241. ds_hidden_popdata.setColumn(0,"pid",ds_main_subordlist_subordlist1.getColumn(ds_main_subordlist_subordlist1.rowposition,"pid"));
  242. var objArg = new Object();
  243. objArg.arg_ds_send = ds_hidden_popdata;
  244. frmf_modal("SPAER01000", "SPAER01000", objArg, "", "", "", "", "", "", "", "", "", "M");
  245. ds_hidden_popdata.setColumn(0,"pid", "");
  246. }
  247. /****************************************************************************************
  248. * Argument : N/A
  249. * Description : 대분류 조회
  250. ****************************************************************************************/
  251. function call_TRAER01002(){
  252. var oParam = {};
  253. oParam.id = "TRAER01002";
  254. oParam.service = "examcurebaseapp.ComCode";
  255. oParam.method = "reqGetSubstrComCdList";
  256. oParam.inds = "req=ds_send";
  257. oParam.outds = "ds_init_cmb_lrgcd_lrgcdlist=item";
  258. oParam.async = false;
  259. oParam.callback = "cf_TRAER01002";
  260. tranf_submit(oParam);
  261. }
  262. function cf_TRAER01002(sSvcId, nErrorCode, sErrorMsg) {
  263. if(nErrorCode < 0) return;
  264. ds_init_cmb_lrgcd_lrgcdlist.updateColID("comcdid","cdid");
  265. ds_init_cmb_lrgcd_lrgcdlist.updateColID("comcdnm","cdnm");
  266. dsf_addDsItem( ds_init_cmb_lrgcd_lrgcdlist, "cdid", "cdnm", "전체", "", "above");
  267. group2.combo1.index = 0;
  268. }
  269. //지원부서 정보가져오기
  270. function fn_TRAEA00904() {
  271. dsf_createDsRow("ds_init_req3",
  272. [{col:"basesuppdeptcd", val:suppdeptcd}
  273. ]);
  274. var oParam = {};
  275. oParam.id = "TRAEA00904";
  276. oParam.service = "examcurersrvapp.RsrvRef";
  277. oParam.method = "reqGetSuppDeptCdList";
  278. oParam.inds = "req=ds_init_req3";
  279. oParam.outds = "ds_init_combo1=item";
  280. oParam.async = false;
  281. tranf_submit(oParam);
  282. }
  283. /****************************************************************************************
  284. * Argument : N/A
  285. * Description : 촬영현황조회
  286. ****************************************************************************************/
  287. function call_TRAER01001() {
  288. dsf_makeValue(ds_send,"basesuppdeptcd","string",gSuppdeptcd);
  289. var oParam = {};
  290. oParam.id = "TRAER01301_pseudo";
  291. oParam.service = "examcureacptexecapp.ExamCurePrcs";
  292. oParam.method = "reqGetExamCurePrcsListTrauma";
  293. oParam.inds = "req=ds_send";
  294. oParam.outds = "ds_main_subordlist_subordlist1=item";
  295. oParam.async = false;
  296. oParam.callback = "cf_TRAER01001";
  297. tranf_submit(oParam);
  298. }
  299. function cf_TRAER01001(sSvcId, nErrorCode, sErrorMsg) {
  300. if(nErrorCode < 0) return;
  301. }
  302. //=======================================================================================
  303. // Event
  304. //---------------------------------------------------------------------------------------
  305. /****************************************************************************************
  306. * Components : Form
  307. * Components ID : SMAER01000
  308. * Event : oninit
  309. * Argument : 01.obj : Object Event has occurred
  310. * : 02.e : Event Object
  311. * Description : 화면 처음 초기화시 폼초기화
  312. ****************************************************************************************/
  313. function SMAER01400_oninit(obj:Form, e:InitEventInfo)
  314. {
  315. frmf_initForm(obj); // 폼 초기화
  316. }
  317. /****************************************************************************************
  318. * Components : Form
  319. * Components ID : SMAER01000
  320. * Event : onload
  321. * Argument : 01.obj : Object Event has occurred
  322. * : 02.e : Event Object
  323. * Description : 화면 처음 초기화시 폼초기화
  324. ****************************************************************************************/
  325. function SMAER01400_onload(obj:Form, e:LoadEventInfo)
  326. {
  327. lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
  328. gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
  329. grdf_setGridSort(group3.grd_mainordlist); // 그리드 소트만
  330. group2.ipt_fromdd.value = utlf_getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD");
  331. group2.ipt_todd.value = utlf_getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD");
  332. fn_TRAEA00904(); //지원부서
  333. //group2.cmb_deptcd.value = gSuppdeptcd;
  334. group2.cmb_deptcd.value = "2160000000"; //고정함
  335. var arrParam = [{dsNm: "ds_init_A0013" , cdGrpId: "A0013", suppDeptCd: "2160000000" } ]
  336. lf_getAstCodeList(arrParam);
  337. group2.cmb_aetitle.index = 1;
  338. }
  339. /****************************************************************************************
  340. * Components : Combo
  341. * Components ID : group2.combo1
  342. * Event : onitemchanged
  343. * Argument : 01.obj : Object Event has occurred
  344. * : 02.e : Event Object
  345. * Description :
  346. ****************************************************************************************/
  347. function group2_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  348. {
  349. ds_send.setColumn(0,"smlcd", "");
  350. ds_init_cmb_smlcd_smlcdlist.clearData();
  351. var oParam = {};
  352. oParam.id = "TRAER01004";
  353. oParam.service = "examcurebaseapp.ComCode";
  354. oParam.method = "reqGetSubstrComCdList";
  355. oParam.inds = "req=ds_send";
  356. oParam.outds = "ds_init_cmb_smlcd_smlcdlist=item";
  357. oParam.async = false;
  358. oParam.callback = "cf_TRAER01004";
  359. tranf_submit(oParam);
  360. }
  361. function cf_TRAER01004(sSvcId, nErrorCode, sErrorMsg) {
  362. if(nErrorCode < 0) return;
  363. ds_init_cmb_smlcd_smlcdlist.updateColID("comcdid","smlcdid");
  364. ds_init_cmb_smlcd_smlcdlist.updateColID("comcdnm","smlcdnm");
  365. }
  366. /****************************************************************************************
  367. * Components : Edit
  368. * Components ID : group2.input2
  369. * Event : onkeydown
  370. * Argument : 01.obj : Object Event has occurred
  371. * : 02.e : Event Object
  372. * Description : 처방부서 검색
  373. ****************************************************************************************/
  374. function group2_input2_onkeydown(obj:Edit, e:KeyEventInfo)
  375. {
  376. if(e.keycode == 13) {
  377. obj.updateToDataset();
  378. frmf_inputEnterKey("group2.button3", "onclick", new ClickEventInfo);
  379. }
  380. }
  381. /****************************************************************************************
  382. * Components : Button
  383. * Components ID : group2.button3
  384. * Event : onclick
  385. * Argument : 01.obj : Object Event has occurred
  386. * : 02.e : Event Object
  387. * Description : 처방부서 검색
  388. ****************************************************************************************/
  389. function group2_button3_onclick(obj:Button, e:ClickEventInfo)
  390. {
  391. // 공통 부서코드 조회 팝업창 호출
  392. var search_condition = "deptnm";
  393. var search_term = "";
  394. var standard_yn = null;
  395. var ord_deptflag = null;
  396. var objDept = appf_openInstDeptCodeList(search_condition, search_term, standard_yn, ord_deptflag, "deptcd depthngnm")
  397. ds_send.setColumn(0,"rgstdeptcd",objDept.deptcd);
  398. ds_send_disp_data.setColumn(0,"rgstdeptnm",objDept.depthngnm);
  399. }
  400. /****************************************************************************************
  401. * Components : Button
  402. * Components ID : group2.btn_sea
  403. * Event : onclick
  404. * Argument : 01.obj : Object Event has occurred
  405. * : 02.e : Event Object
  406. * Description : 촬영현황조회
  407. ****************************************************************************************/
  408. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  409. {
  410. // 처방코드를 입력하였을 경우는 like검색 가능하게
  411. // if( group2.ipt_prcpcd.value.length > 0 ){
  412. // if( group2.ipt_prcpcd.value.length < 3 ){
  413. // sysf_messageBox("검색어를 세자이상 " , "C001");
  414. // group2.ipt_prcpcd.setFocus();
  415. // return ;
  416. // }
  417. // }
  418. // 대량조회-offset초기화
  419. ds_main_subordlist_subordlist1.clearData();
  420. ds_send.setColumn(0,"offset","0");
  421. call_TRAER01001();
  422. }
  423. /****************************************************************************************
  424. * Components : Button
  425. * Components ID : group3.button2
  426. * Event : onclick
  427. * Argument : 01.obj : Object Event has occurred
  428. * : 02.e : Event Object
  429. * Description : 엑셀저장
  430. ****************************************************************************************/
  431. function group3_button2_onclick(obj:Button, e:ClickEventInfo)
  432. {
  433. if( ds_main_subordlist_subordlist1.rowcount > 0 ){
  434. grdf_exportExcel(group3.grd_mainordlist, "외상촬영현황리스트", "외상촬영현황리스트", false, "", "user", false);
  435. } else {
  436. sysf_messageBox("조회된 데이터가 ", "I004");
  437. }
  438. }
  439. /****************************************************************************************
  440. * Components : Grid
  441. * Components ID : group3.grd_mainordlist
  442. * Event : onrbuttonup
  443. * Argument : 01.obj : Object Event has occurred
  444. * : 02.e : Event Object
  445. * Description : 팝업메뉴 오픈
  446. ****************************************************************************************/
  447. function group3_grd_mainordlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  448. {
  449. if(e.row > -1){
  450. grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
  451. popupmenu.trackPopup(e.screenX,e.screenY);
  452. }
  453. return true;
  454. }
  455. /****************************************************************************************
  456. * Components : Grid
  457. * Components ID : group3.grd_mainordlist
  458. * Event : onvscrolllastover
  459. * Argument : 01.obj : Object Event has occurred
  460. * : 02.e : Event Object
  461. * Description : 스크롤을 끝까지 내린상태에서 또 내릴경우 대량 조회 실행
  462. ****************************************************************************************/
  463. function group3_grd_mainordlist_onvscrolllastover(obj:Grid, e:ScrollEventInfo)
  464. {
  465. fSubmitOnScroll();
  466. }
  467. function group2_caption5_onclick(obj:Static, e:ClickEventInfo)
  468. {
  469. }
  470. ]]></Script>
  471. </Form>
  472. </FDL>