SMMNW20000_외상병동환자대장.xfdl 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNW20000" position="absolute 0 0 1195 755" titletext="외상병동 환자대장" oninit="SMMNW20000_oninit" onload="SMMNW20000_onload" ontimer="SMMNW20000_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 755" id="group3" scrollbars="none" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Static text="외상병동 환자대장" position="absolute 0 0 165 25" id="cpt_title" class="tit_1" anchor="default"/>
  11. <Div position="absolute 0 25 1195 65" align="align:center top;" id="grp_sea" class="div_SA" anchor="left top right">
  12. <Layouts>
  13. <Layout>
  14. <Button position="absolute 1010 11 1066 33" id="btn_ref" class="btn1" taborder="7" text="조회" anchor="top right" onclick="group3_grp_sea_btn_ref_onclick"/>
  15. <Static text="기 간 :" position="absolute 215 13 269 30" id="caption3" class="search_name" anchor="default"/>
  16. <Shape position="absolute 987 10 993 31" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
  17. <Calendar position="absolute 269 11 360 30" id="ipt_fromdd" class="input_essential" taborder="2" anchor="default" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
  18. <Static text="부 서 :" position="absolute 10 13 62 30" id="caption29" class="search_name" anchor="default"/>
  19. <Combo position="absolute 65 11 190 30" id="cmb_deptcd" class="combo_essential" enable="false" taborder="1" innerdataset="@ds_init_deptinfo_deptlist" datacolumn="depthngnm" codecolumn="deptcd" anchor="default" onitemchanged="group3_grp_sea_cmb_deptcd_onitemchanged"/>
  20. <Static text="등록번호 :" position="absolute 675 13 751 30" id="caption2" class="search_name" visible="false" anchor="top right"/>
  21. <Edit position="absolute 750 11 805 30" id="ipt_pid" class="input_search" taborder="4" visible="false" anchor="top right" autoselect="true" onkeyup="group3_grp_sea_ipt_pid_onkeyup"/>
  22. <Button position="absolute 1128 11 1184 33" id="button2" class="btn7" taborder="8" text="엑셀" anchor="top right" onclick="group3_grp_sea_button2_onclick"/>
  23. <Calendar position="absolute 382 11 473 30" id="ipt_todd" class="input_essential" taborder="2" anchor="default" autoselect="true" dateformat="yyyy-MM-dd"/>
  24. <Static text="~" position="absolute 365 14 385 29" align="align:center middle;" id="caption4" anchor="default"/>
  25. <Button position="absolute 1068 11 1124 33" id="button7" class="btn6" text="출력" anchor="top right" onclick="group3_grp_sea_button7_onclick"/>
  26. </Layout>
  27. </Layouts>
  28. </Div>
  29. <Shape position="absolute 0 68 1195 74" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  30. <Grid position="absolute 0 73 1195 755" id="grd_trmsinfo" binddataset="ds_main_trmsinfo_trmslist" cellsizingtype="both" cellsizebandtype="allband" scrollpixel="all" anchor="all" selecttype="multirow" extendsizetype="row">
  31. <Formats>
  32. <Format id="default">
  33. <Columns>
  34. <Column size="20" band="left"/>
  35. <Column size="0"/>
  36. <Column size="70"/>
  37. <Column size="45"/>
  38. <Column size="43"/>
  39. <Column size="55"/>
  40. <Column size="40"/>
  41. <Column size="32"/>
  42. <Column size="55"/>
  43. <Column size="60"/>
  44. <Column size="45"/>
  45. <Column size="288"/>
  46. <Column size="55"/>
  47. <Column size="55"/>
  48. <Column size="40"/>
  49. <Column size="40"/>
  50. <Column size="70"/>
  51. <Column size="45"/>
  52. <Column size="70"/>
  53. <Column size="45"/>
  54. <Column size="44"/>
  55. <Column size="70"/>
  56. <Column size="45"/>
  57. <Column size="59"/>
  58. </Columns>
  59. <Rows>
  60. <Row size="26" band="head"/>
  61. <Row size="24"/>
  62. </Rows>
  63. <Band id="head">
  64. <Cell/>
  65. <Cell col="1" text="no"/>
  66. <Cell col="2" text="일자"/>
  67. <Cell col="3" text="병실"/>
  68. <Cell col="4" text="재원&#13;&#10;상태"/>
  69. <Cell col="5" colspan="2" text="전실병실" taborder="undefined"/>
  70. <Cell col="7" text="중증"/>
  71. <Cell col="8" text="등록번호"/>
  72. <Cell col="9" text="성명"/>
  73. <Cell col="10" text="S/A"/>
  74. <Cell col="11" text="진단명"/>
  75. <Cell col="12" text="담당교수"/>
  76. <Cell col="13" text="담당의"/>
  77. <Cell col="14" text="HD"/>
  78. <Cell col="15" text="POD"/>
  79. <Cell col="16" colspan="2" text="입원일시" taborder="undefined"/>
  80. <Cell col="18" colspan="2" text="전실일시" taborder="undefined"/>
  81. <Cell col="20" text="수술일"/>
  82. <Cell col="21" colspan="2" text="퇴실일시" taborder="undefined"/>
  83. <Cell col="23" text="퇴원종류"/>
  84. </Band>
  85. <Band id="body">
  86. <Cell celltype="head" expr="expr:currow + 1"/>
  87. <Cell col="1" text="bind:callno" suppress="1" suppressalign="middle,over"/>
  88. <Cell col="2" displaytype="date" text="bind:basedd" suppress="2" suppressalign="middle,over" calendardisplaynulltype="none"/>
  89. <Cell col="3" style="align:left;" text="bind:roomcd" suppress="3" suppressalign="middle,over"/>
  90. <Cell col="4" style="align:left;" text="bind:stat"/>
  91. <Cell col="5" style="align:left;" text="bind:to_wardcd" wordwrap="word"/>
  92. <Cell col="6" text="bind:to_roomcd"/>
  93. <Cell col="7" style="align:left;" text="bind:serflag"/>
  94. <Cell col="8" style="align:left;" text="bind:pid"/>
  95. <Cell col="9" style="align:left;" text="bind:hngnm"/>
  96. <Cell col="10" style="align:left;" text="bind:sexage"/>
  97. <Cell col="11" style="align:left top;padding:4 2 2 2;" text="bind:diagnm" wordwrap="word"/>
  98. <Cell col="12" style="align:left;" text="bind:jatdoctnm"/>
  99. <Cell col="13" style="align:left;" text="bind:datdoctnm"/>
  100. <Cell col="14" style="align:left;" text="bind:hd"/>
  101. <Cell col="15" style="align:left;" text="bind:pod"/>
  102. <Cell col="16" displaytype="date" text="bind:indd" calendardisplaynulltype="none"/>
  103. <Cell col="17" text="bind:intm" mask="expr:utlf_isNull(intm) ? '' : '##:##'"/>
  104. <Cell col="18" displaytype="date" text="bind:roomindt" calendardisplaynulltype="none"/>
  105. <Cell col="19" text="bind:roomintm" mask="expr:utlf_isNull(roomintm) ? '' : '##:##'"/>
  106. <Cell col="20" edittype="none" style="align:left;" text="bind:opdd" wordwrap="char"/>
  107. <Cell col="21" displaytype="date" text="bind:dschdd" calendardisplaynulltype="none"/>
  108. <Cell col="22" text="bind:dschtm" mask="expr:utlf_isNull(dschtm) ? '' : '##:##'"/>
  109. <Cell col="23" style="align:left;" text="bind:dcrt"/>
  110. </Band>
  111. </Format>
  112. </Formats>
  113. </Grid>
  114. <CheckBox position="absolute 820 38 886 53" id="checkbox1" visible="false" text="완료제외" truevalue="Y" anchor="top right" onclick="group3_checkbox1_onclick"/>
  115. <CheckBox position="absolute 892 38 963 53" id="checkbox2" visible="false" text="취소제외" truevalue="Y" anchor="top right" onclick="group3_checkbox2_onclick"/>
  116. </Layout>
  117. </Layouts>
  118. </Div>
  119. </Layout>
  120. </Layouts>
  121. <Objects>
  122. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  123. <ColumnInfo>
  124. <Column id="comnrefflag" type="STRING" size="256"/>
  125. <Column id="flag" type="STRING" size="256"/>
  126. </ColumnInfo>
  127. <Rows>
  128. <Row/>
  129. </Rows>
  130. </Dataset>
  131. <Dataset id="ds_init_deptinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  132. <ColumnInfo>
  133. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  134. <Column id="depthngnm" type="STRING" size="256" sumtext="부서명"/>
  135. <Column id="deptflag" type="STRING" size="256" sumtext="부서구분"/>
  136. </ColumnInfo>
  137. </Dataset>
  138. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  139. <ColumnInfo>
  140. <Column id="fromdd" type="STRING" size="256" sumtext="기간FROM"/>
  141. <Column id="todd" type="STRING" size="256" sumtext="기간TO"/>
  142. <Column id="deptcd" type="STRING" size="256" sumtext="부서"/>
  143. <Column id="acptflag" type="STRING" size="256" sumtext="호출구분"/>
  144. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  145. <Column id="exceptflag" type="STRING" size="256" sumtext="완료제외"/>
  146. <Column id="exceptflag2" type="STRING" size="256" sumtext="취소제외"/>
  147. </ColumnInfo>
  148. </Dataset>
  149. <Dataset id="ds_main_trmsinfo_trmslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  150. <ColumnInfo>
  151. <Column id="basedd" type="STRING" size="256" sumtext="기준일자"/>
  152. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  153. <Column id="stat" type="STRING" size="256" sumtext="재원상태"/>
  154. <Column id="to_wardcd" type="STRING" size="256" sumtext="변경병동"/>
  155. <Column id="to_roomcd" type="STRING" size="256" sumtext="변경병실"/>
  156. <Column id="serflag" type="STRING" size="256" sumtext="중증"/>
  157. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  158. <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
  159. <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
  160. <Column id="diagnm" type="STRING" size="256" sumtext="성별나이"/>
  161. <Column id="jatdoctnm" type="STRING" size="256" sumtext="전문의"/>
  162. <Column id="datdoctnm" type="STRING" size="256" sumtext="담당의"/>
  163. <Column id="hd" type="STRING" size="256" sumtext="입원기간"/>
  164. <Column id="pod" type="STRING" size="256" sumtext="수술후기간"/>
  165. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  166. <Column id="intm" type="STRING" size="256" sumtext="입원시간"/>
  167. <Column id="opdd" type="STRING" size="256" sumtext="수술일자"/>
  168. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  169. <Column id="dschtm" type="STRING" size="256" sumtext="퇴원시간"/>
  170. <Column id="roomindt" type="STRING" size="256" sumtext="전실일자"/>
  171. <Column id="roomintm" type="STRING" size="256" sumtext="전실시간"/>
  172. <Column id="dcrt" type="STRING" size="256" sumtext="퇴원구분"/>
  173. </ColumnInfo>
  174. </Dataset>
  175. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  176. <ColumnInfo>
  177. <Column id="deptcd" type="STRING" size="256"/>
  178. <Column id="pid" type="STRING" size="256"/>
  179. <Column id="fromdd" type="STRING" size="256"/>
  180. <Column id="todd" type="STRING" size="256"/>
  181. <Column id="acptflag" type="STRING" size="256"/>
  182. <Column id="exceptflag" type="STRING" size="256"/>
  183. <Column id="multicheck" type="STRING" size="256"/>
  184. <Column id="exceptflag2" type="STRING" size="256"/>
  185. <Column id="deptnm" type="STRING" size="256"/>
  186. <Column id="name" type="STRING" size="256"/>
  187. </ColumnInfo>
  188. <Rows>
  189. <Row>
  190. <Col id="deptcd"/>
  191. <Col id="pid"/>
  192. <Col id="fromdd"/>
  193. <Col id="todd"/>
  194. <Col id="acptflag"/>
  195. <Col id="exceptflag">Y</Col>
  196. <Col id="multicheck"/>
  197. <Col id="exceptflag2">Y</Col>
  198. <Col id="deptnm"/>
  199. <Col id="name"/>
  200. </Row>
  201. </Rows>
  202. </Dataset>
  203. </Objects>
  204. <Bind>
  205. <BindItem id="item0" compid="group3.grp_sea.cmb_deptcd" propid="value" datasetid="ds_main_cond" columnid="deptcd"/>
  206. <BindItem id="item1" compid="group3.grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  207. <BindItem id="item2" compid="group3.grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  208. <BindItem id="item3" compid="group3.grp_sea.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  209. <BindItem id="item4" compid="group3.checkbox1" propid="value" datasetid="ds_main_cond" columnid="exceptflag"/>
  210. <BindItem id="item5" compid="group3.checkbox2" propid="value" datasetid="ds_main_cond" columnid="exceptflag2"/>
  211. </Bind>
  212. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  213. * System Name : 경대 의료정보시스템
  214. * Job Name : emr_wardcarexp -> SMMNW20000
  215. * Creator : yjh
  216. * Make Date : 2016-12-15
  217. * Description :
  218. *---------------------------------------------------------------------------------------
  219. * Modify Date Modifier Modify Description
  220. *---------------------------------------------------------------------------------------
  221. * 2016-12-15 yjh TF->XP
  222. *
  223. *---------------------------------------------------------------------------------------
  224. ****************************************************************************************/
  225. //=======================================================================================
  226. // Lib Include
  227. //---------------------------------------------------------------------------------------
  228. include "com_commonxp::comm_main.xjs";
  229. //=======================================================================================
  230. // Global Form Variable
  231. //---------------------------------------------------------------------------------------
  232. //=======================================================================================
  233. // Function
  234. //---------------------------------------------------------------------------------------
  235. function fSearch(){
  236. ds_send_reqdata.copyData(ds_main_cond);
  237. var oParam = {};
  238. oParam.id = "TRMNW20000";
  239. oParam.service = "wardcareapp.TranMngt";
  240. oParam.method = "reqGetTrmsPatInfoList";
  241. oParam.inds = "req=ds_send_reqdata";
  242. oParam.outds = "ds_main_trmsinfo_trmslist=trmslist";
  243. oParam.async = false;
  244. //oParam.callback = "cf_TRMNW20000";
  245. tranf_submit(oParam);
  246. ds_main_trmsinfo_trmslist.rowposition = -1;
  247. // var nodePath = grd_trmsinfo.nodeset;
  248. //
  249. // for(var i = grd_ivinfo.fixedRows; i < grd_ivinfo.rows; i++) {
  250. // if (model.getValue(nodePath + "["+i+"]/disp1") == "Y") {
  251. // grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp1img")) = "../../../com/hismainweb/images/btn_top_infection0.gif";
  252. // }else{
  253. // grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp1img")) = "";
  254. // }
  255. // if (model.getValue(nodePath + "["+i+"]/disp2") == "Y") {
  256. // grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp2img")) = "../../../com/hismainweb/images/btn_top_infection1.gif";
  257. // }else{
  258. // grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp2img")) = "";
  259. // }
  260. // if (model.getValue(nodePath + "["+i+"]/disp3") == "Y") {
  261. // grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "../../../com/hismainweb/images/btn_top_infection2.gif";
  262. // }else{
  263. // grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "";
  264. // }
  265. // }
  266. }
  267. //=======================================================================================
  268. // Event
  269. //---------------------------------------------------------------------------------------
  270. /****************************************************************************************
  271. * Components : Form
  272. * Components ID : SMMNW20000
  273. * Event : oninit
  274. * Argument : 01.obj : Object Event has occurred
  275. * : 02.e : Event Object
  276. * Description : 화면 처음 초기화시
  277. ****************************************************************************************/
  278. function SMMNW20000_oninit(obj:Form, e:InitEventInfo)
  279. {
  280. frmf_initForm(obj); //폼 초기화
  281. }
  282. /****************************************************************************************
  283. * Components : Form
  284. * Components ID : SMMNW20000
  285. * Event : onload
  286. * Argument : 01.obj : Object Event has occurred
  287. * : 02.e : Event Object
  288. * Description : 화면 로딩 완료시
  289. ****************************************************************************************/
  290. function SMMNW20000_onload(obj:Form, e:LoadEventInfo)
  291. {
  292. grdf_setGridSort(group3.grd_trmsinfo);
  293. grdf_setToolTipBind(group3.grd_trmsinfo);
  294. ds_main_cond.setColumn(0, "exceptflag", "Y");
  295. ds_main_cond.setColumn(0, "exceptflag2", "Y");
  296. var menuParameter = frmf_getMenuParam();
  297. var sWardcd = ""
  298. //alert("menupara :" + menuParameter);
  299. if(menuParameter == '708'){
  300. this.titletext = "외상병동 환자대장";
  301. group3.cpt_title.text = "외상병동 환자대장";
  302. ds_main_cond.setColumn(0, "name", "외상병동 환자대장");
  303. sWardcd = '3050162000'
  304. } else if(menuParameter == 'TICU') {
  305. this.titletext = "외상중환자실 환자대장";
  306. group3.cpt_title.text = "외상중환자실 환자대장";
  307. ds_main_cond.setColumn(0, "name", "외상중환자실 환자대장");
  308. sWardcd = '3063000000'
  309. }
  310. var instcd = sysf_getUserInfo("dutplceinstcd");
  311. var standard_yn = "orduseyn";
  312. var ord_deptflag = 'W';
  313. var rslt_ref = "/root/init/dept";
  314. var sort_field = "depthngnm";
  315. var sort_method = "asc";
  316. var dt = utlf_getCurrentDate();
  317. var oParam = {};
  318. oParam.id = "TRMNW11001";
  319. oParam.service = "wardorderapp.NursPrcpMngt";
  320. oParam.method = "reqGetDeptListInfo";
  321. oParam.inds = "req=ds_temp";
  322. oParam.outds = "ds_init_deptinfo_deptlist=deptlist";
  323. oParam.async = false;
  324. //oParam.callback = "cf_TRMNW11001";
  325. tranf_submit(oParam);
  326. frmf_addComboItem("group3.grp_sea.cmb_deptcd", "전 체", "", "above");
  327. ds_main_cond.setColumn(0, "fromdd", utlf_getCurrentDate());
  328. ds_main_cond.setColumn(0, "todd", utlf_getCurrentDate());
  329. ds_main_cond.setColumn(0, "deptcd", sWardcd);
  330. this.setTimer(0, 100);
  331. }
  332. /****************************************************************************************
  333. * Components : Button
  334. * Components ID : btn_ref
  335. * Event : onclick
  336. * Argument : 01.obj : Object Event has occurred
  337. * : 02.e : Event Object
  338. * Description : 조회버튼 클릭시
  339. ****************************************************************************************/
  340. function group3_grp_sea_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  341. {
  342. fSearch();
  343. }
  344. /****************************************************************************************
  345. * Components : Combo
  346. * Components ID : cmb_deptcd
  347. * Event : onitemchanged
  348. * Argument : 01.obj : Object Event has occurred
  349. * : 02.e : Event Object
  350. * Description : 콤보 값 변경시
  351. ****************************************************************************************/
  352. function group3_grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  353. {
  354. fSearch();
  355. }
  356. /****************************************************************************************
  357. * Components : Edit
  358. * Components ID : ipt_pid
  359. * Event : onkeyup
  360. * Argument : 01.obj : Object Event has occurred
  361. * : 02.e : Event Object
  362. * Description : 에디터 키 입력시
  363. ****************************************************************************************/
  364. function group3_grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  365. {
  366. if( e.keycode == 13 ){
  367. obj.updateToDataset();
  368. group3.grp_sea.btn_ref.click();
  369. }
  370. }
  371. /****************************************************************************************
  372. * Components : Button
  373. * Components ID : button2
  374. * Event : onclick
  375. * Argument : 01.obj : Object Event has occurred
  376. * : 02.e : Event Object
  377. * Description : 엑셀버튼 클릭시
  378. ****************************************************************************************/
  379. function group3_grp_sea_button2_onclick(obj:Button, e:ClickEventInfo)
  380. {
  381. if(frmf_getMenuParam() == '708'){
  382. var sTitle = "외상병동 환자대장";
  383. } else if(frmf_getMenuParam() == 'TICU') {
  384. var sTitle = "외상중환자실 환자대장";
  385. }
  386. if( group3.grd_trmsinfo.rowcount > 0 ){
  387. grdf_exportExcel(group3.grd_trmsinfo, sTitle, sTitle, false, "", "user", false);
  388. } else {
  389. sysf_messageBox("조회된 데이터가 ", "I004");
  390. return;
  391. }
  392. }
  393. /****************************************************************************************
  394. * Components : Button
  395. * Components ID : button7
  396. * Event : onclick
  397. * Argument : 01.obj : Object Event has occurred
  398. * : 02.e : Event Object
  399. * Description : 출력버튼 클릭시
  400. ****************************************************************************************/
  401. function group3_grp_sea_button7_onclick(obj:Button, e:ClickEventInfo)
  402. {
  403. ds_main_cond.setColumn(0, "deptnm", group3.grp_sea.cmb_deptcd.text);
  404. var objDOM = rptf_createDOM(); // DOM 객체 설정
  405. rptf_setNodeListToDOM(objDOM, "/root/temp/trmsinfo/trmslist", ds_main_trmsinfo_trmslist); // 데이터셋 1
  406. rptf_setNodeListToDOM(objDOM, "/root/temp/cond", ds_main_cond); // 데이터셋 1
  407. var objParam = new Object();
  408. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  409. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  410. rptf_exeReportPreview30(["RPMNW20000"],[objParam], option);
  411. }
  412. /****************************************************************************************
  413. * Components : CheckBox
  414. * Components ID : checkbox1
  415. * Event : onclick
  416. * Argument : 01.obj : Object Event has occurred
  417. * : 02.e : Event Object
  418. * Description : 체크박스 값 변경시
  419. ****************************************************************************************/
  420. function group3_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  421. {
  422. if( obj.value != "Y" ){
  423. ds_main_cond.setColumn(0, "exceptflag", "");
  424. }
  425. fSearch();
  426. }
  427. /****************************************************************************************
  428. * Components : CheckBox
  429. * Components ID : checkbox2
  430. * Event : onclick
  431. * Argument : 01.obj : Object Event has occurred
  432. * : 02.e : Event Object
  433. * Description : 체크박스 값 변경시
  434. ****************************************************************************************/
  435. function group3_checkbox2_onclick(obj:CheckBox, e:ClickEventInfo)
  436. {
  437. if( obj.value != "Y" ){
  438. ds_main_cond.setColumn(0, "exceptflag2", "");
  439. }
  440. fSearch();
  441. }
  442. function SMMNW20000_ontimer(obj:Form, e:TimerEventInfo)
  443. {
  444. if( e.timerid == 0 ){
  445. this.killTimer(0);
  446. fSearch();
  447. }
  448. }
  449. ]]></Script>
  450. </Form>
  451. </FDL>