SMAEB00303_특수검사예문관리.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEB00303" position="absolute 0 0 1000 620" titletext="특수검사예문관리" oninit="SMAEB00303_oninit" onload="SMAEB00303_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="특수검사예문관리(판독)" position="absolute 0 0 217 25" align="align:center middle;" id="caption2" class="tit_1"/>
  8. <Div position="absolute 0 25 1000 60" id="grp_sea" class="div_SA">
  9. <Layouts>
  10. <Layout>
  11. <Button position="absolute 923 7 979 29" id="button1" class="btn1" text="조회" anchor="default" onclick="grp_sea_button1_onclick"/>
  12. <Shape position="absolute 904 7 910 29" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  13. <Radio id="rdo_comprod" taborder="1" columncount="0" rowcount="0" innerdataset="@ds_init_A0434" codecolumn="cdid" datacolumn="cdnm" onitemchanged="rdo_comprod_onitemchanged" class="radio_search" position="absolute 706 5 900 30" visible="false"/>
  14. <cp_radioList id="rdo_m_comprod" titletext="Radio List" taborder="2" scrollbars="none" position="absolute 9 8 109 28" style="background:transparent; " col="1" row="1"/>
  15. </Layout>
  16. </Layouts>
  17. </Div>
  18. <Div position="absolute 0 60 995 575" id="group1">
  19. <Layouts>
  20. <Layout>
  21. <Button position="absolute 326 16 379 35" id="button4" class="btn2" text="행삭제" onclick="group1_button4_onclick"/>
  22. <Button position="absolute 270 16 323 35" id="button5" class="btn2" text="행추가" onclick="group1_button5_onclick"/>
  23. <Static text="예문 현황" position="absolute 1 20 151 36" id="caption3" class="tit_2"/>
  24. <Grid position="absolute 0 41 381 512" id="grd_exmptmpl" binddataset="ds_main_exmptmpllist" onlbuttonup="group1_grd_exmptmpl_onlbuttonup" onlbuttondown="group1_grd_exmptmpl_onlbuttondown" cellsizingtype="both" extendsizetype="row" autoenter="key">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="25" band="left"/>
  29. <Column size="53"/>
  30. <Column size="251"/>
  31. <Column size="50"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="24" band="head"/>
  39. <Row size="24"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell/>
  43. <Cell col="1" text="코드"/>
  44. <Cell col="2" text="내용"/>
  45. <Cell col="3" text="순번"/>
  46. <Cell col="4" text="basecdflagdesc"/>
  47. <Cell col="5" text="basesuppdeptcd"/>
  48. <Cell col="6" text="basecdflag"/>
  49. <Cell col="7" text="seq"/>
  50. </Band>
  51. <Band id="body">
  52. <Cell celltype="head" displaytype="image"/>
  53. <Cell col="1" displaytype="text" edittype="text" style="align:left top;padding:5 2 0 2;" text="bind:basecd" wordwrap="char"/>
  54. <Cell col="2" displaytype="text" edittype="text" style="align:left top;padding:5 2 0 2;" text="bind:basecdcnts" wordwrap="char" editautoselect="true"/>
  55. <Cell col="3" displaytype="text" edittype="text" text="bind:sortno"/>
  56. <Cell col="4" text="bind:basecdflagdesc"/>
  57. <Cell col="5" text="bind:basesuppdeptcd"/>
  58. <Cell col="6" text="bind:basecdflag"/>
  59. <Cell col="7" text="bind:seq"/>
  60. </Band>
  61. </Format>
  62. </Formats>
  63. </Grid>
  64. <Shape position="absolute 0 36 381 42" linetype="horizontal" id="line2" class="line_1"/>
  65. <Button position="absolute 117 10 217 30" id="button6" visible="false" text="button6" onclick="group1_button6_onclick"/>
  66. <Button position="absolute 225 16 267 35" id="button17" class="btn2" visible="true" text="엑셀" onclick="group1_button17_onclick"/>
  67. </Layout>
  68. </Layouts>
  69. </Div>
  70. <Static text="예문내용" position="absolute 390 80 536 97" id="caption1" class="tit_2"/>
  71. <Shape position="absolute 388 96 1000 102" linetype="horizontal" id="line1" class="line_1"/>
  72. <TextArea position="absolute 388 101 1000 572" id="textarea1" wordwrap="char"/>
  73. <Div position="absolute 0 580 999 615" id="group2">
  74. <Layouts>
  75. <Layout>
  76. <Button position="absolute 264 5 320 27" id="button2" class="btn4" text="저장" anchor="default" onclick="group2_button2_onclick"/>
  77. <Button position="absolute 323 5 379 27" id="btn_cls" class="btn4" text="닫기" anchor="default" onclick="group2_btn_cls_onclick"/>
  78. <Button position="absolute 205 5 261 27" id="button3" class="btn4" text="선택" anchor="default" onclick="group2_button3_onclick"/>
  79. </Layout>
  80. </Layouts>
  81. </Div>
  82. </Layout>
  83. </Layouts>
  84. <Objects>
  85. <Dataset id="ds_init_A0434" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  86. <ColumnInfo>
  87. <Column id="cdnm" type="STRING"/>
  88. <Column id="cdid" type="STRING"/>
  89. </ColumnInfo>
  90. </Dataset>
  91. <Dataset id="ds_main_exmptmpllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  92. <ColumnInfo>
  93. <Column id="basecd" type="STRING" size="256"/>
  94. <Column id="basecdcnts" type="STRING" size="256"/>
  95. <Column id="sortno" type="STRING" size="256"/>
  96. <Column id="basecdflagdesc" type="STRING" size="256"/>
  97. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  98. <Column id="basecdflag" type="STRING" size="256"/>
  99. <Column id="seq" type="STRING" size="256"/>
  100. </ColumnInfo>
  101. <Rows>
  102. <Row>
  103. <Col id="basecd"/>
  104. <Col id="basecdcnts"/>
  105. <Col id="sortno"/>
  106. <Col id="basecdflagdesc"/>
  107. <Col id="basesuppdeptcd"/>
  108. <Col id="basecdflag">X</Col>
  109. <Col id="seq"/>
  110. </Row>
  111. </Rows>
  112. </Dataset>
  113. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  114. <ColumnInfo>
  115. <Column id="sendcontens" type="STRING" size="256"/>
  116. </ColumnInfo>
  117. <Rows>
  118. <Row/>
  119. </Rows>
  120. </Dataset>
  121. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  122. <ColumnInfo>
  123. <Column id="instance1" type="STRING" size="256"/>
  124. </ColumnInfo>
  125. <Rows>
  126. <Row/>
  127. </Rows>
  128. </Dataset>
  129. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  130. <ColumnInfo>
  131. <Column id="basecdflagdesc" type="STRING" size="256"/>
  132. <Column id="basecdflag" type="STRING" size="256"/>
  133. </ColumnInfo>
  134. <Rows>
  135. <Row>
  136. <Col id="basecdflagdesc"/>
  137. <Col id="basecdflag">X</Col>
  138. </Row>
  139. </Rows>
  140. </Dataset>
  141. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  142. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  143. <ColumnInfo>
  144. <Column id="comprod" type="STRING" size="256"/>
  145. </ColumnInfo>
  146. <Rows>
  147. <Row>
  148. <Col id="comprod">1000008513</Col>
  149. </Row>
  150. </Rows>
  151. </Dataset>
  152. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  153. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  154. </Objects>
  155. <Bind>
  156. <BindItem id="item0" compid="textarea1" propid="value" datasetid="ds_main" columnid="sendcontens"/>
  157. </Bind>
  158. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  159. * System Name :
  160. * Job Name :
  161. * Creator :
  162. * Make Date : 2015-11-10
  163. * Description :
  164. *---------------------------------------------------------------------------------------
  165. * Modify Date Modifier Modify Description
  166. *---------------------------------------------------------------------------------------
  167. * 2015-11-10 Live Converter TF->XP
  168. *
  169. *---------------------------------------------------------------------------------------
  170. ****************************************************************************************/
  171. //=======================================================================================
  172. // Lib Include
  173. //---------------------------------------------------------------------------------------
  174. include "com_commonxp::comm_main.xjs"
  175. include "ast_examcurexp::AEZ0001.xjs"
  176. include "emr_commonxp::EMRCommon.xjs"
  177. include "emr_medirecxp::MMRCommon.xjs"
  178. include "emr_prcpmngtxp::MMO001.xjs"
  179. //=======================================================================================
  180. // Global Form Variable
  181. //---------------------------------------------------------------------------------------
  182. var arErrorCode = new HashArray();
  183. //=======================================================================================
  184. // Function
  185. //---------------------------------------------------------------------------------------
  186. /****************************************************************************************
  187. * Argument : N/A
  188. * Description : 특수검사예문관리 초기화 Function
  189. ****************************************************************************************/
  190. function fSetInit() {
  191. fGetComProd();
  192. }
  193. /****************************************************************************************
  194. * Argument : N/A
  195. * Description : 특수검사예문관리 초기화-내시경코드 Function
  196. ****************************************************************************************/
  197. function fGetComProd() {
  198. // zbcfGetCodeList( new Array("A0434"), new Array("/root/hidden/comprod") );
  199. var arrParam = [{dsNm: "ds_init_A0434", cdGrpId: "A0434"} ////root/hidden/comprod
  200. ]
  201. appf_getCodeList(arrParam);
  202. ds_init_A0434.deleteRow(0);
  203. var sProp_12_1 = "col=12,row=1,cellspacing=20,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  204. grp_sea.rdo_m_comprod.setInitComp(sProp_12_1,ds_init_A0434,"cdid","cdnm","fRdoComprodEvnt");
  205. grp_sea.rdo_m_comprod.setData(ds_hidden.getColumn(0,"comprod"));
  206. // submit("TRZBC00101", false);
  207. // grp_sea.rdo_comprod.columncount = 12;
  208. }
  209. function fRdoComprodEvnt() {
  210. ds_hidden.setColumn(0,"comprod",String(grp_sea.rdo_m_comprod.getData()).replace(","," "));
  211. fGetTmplList();
  212. }
  213. /****************************************************************************************
  214. * Argument : N/A
  215. * Description : 선택하여 opener에 전달
  216. ****************************************************************************************/
  217. function fSendContents() {
  218. if(frmf_checkOpener()) { //opener 검사
  219. var itemVal = new ITEMVAL();
  220. itemVal.reccnts = ds_main_exmptmpllist.getColumn(ds_main_exmptmpllist.rowposition,"basecdcnts");
  221. opener.group3.ivw_loader.ivw_base.lf_setFormItemValue("0001114", itemVal, true);
  222. } else {
  223. sysf_messageBox("Parent 창[결과관리]이 변경되었습니다.","I999");
  224. return;
  225. }
  226. this.close();
  227. }
  228. /****************************************************************************************
  229. * Argument : N/A
  230. * Description : 예문 조회를 위한 Function
  231. ****************************************************************************************/
  232. function fGetInitList() {
  233. ds_main_exmptmpllist.clearData();
  234. // var index = grp_sea.rdo_comprod.index; //+1?
  235. ds_send_data.setColumn(0,"basecdflagdesc",ds_hidden.getColumn(0,"comprod"));
  236. call_TRAEB00302(); //조회실행
  237. }
  238. /****************************************************************************************
  239. * Argument : N/A
  240. * Description : 조회실행
  241. ****************************************************************************************/
  242. function fGetTmplList() {
  243. // for ( var i = 0 ; i < ds_main_exmptmpllist.rowcount ; i++) {
  244. // grdf_setStatus(group1.grd_exmptmpl, "", i)
  245. // }
  246. ds_main_exmptmpllist.clearData();
  247. ds_main.clearData();
  248. ds_main.addRow();
  249. // var index = grp_sea.rdo_comprod.index;
  250. ds_send_data.setColumn(0,"basecdflagdesc",ds_hidden.getColumn(0,"comprod"));
  251. call_TRAEB00302(); //조회실행
  252. }
  253. /****************************************************************************************
  254. * Argument : N/A
  255. * Description : 조회함수
  256. ****************************************************************************************/
  257. function call_TRAEB00302() {
  258. dsf_createDsRow("ds_send_reqdata",[{col:"basecdflagdesc", val:ds_send_data.getColumn(0,"basecdflagdesc")}
  259. ,{col:"basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"instance1")}
  260. ,{col:"udbasecdflag" , val:ds_send_data.getColumn(0,"basecdflag")}
  261. ,{col:"checkflag" , val:"1"}
  262. ]);
  263. var oParam = {};
  264. oParam.id = "TRAEB00302";
  265. oParam.service = "examcurebaseapp.ExmpTmpl";
  266. oParam.method = "reqGetExmpTmplList";
  267. oParam.inds = "req=ds_send_reqdata";
  268. oParam.outds = "ds_main_exmptmpllist=exmptmpl";
  269. oParam.async = false;
  270. oParam.callback = "cf_TRAEB00302";
  271. tranf_submit(oParam);
  272. }
  273. function cf_TRAEB00302(sSvcId, nErrorCode, sErrorMsg) {
  274. if(nErrorCode < 0) return;
  275. ds_main_exmptmpllist.updatecontrol = false;
  276. for(var i = 0 ; i < ds_main_exmptmpllist.rowcount ; i++) {
  277. ds_main_exmptmpllist.setColumn(i,"basecdcnts",utlf_transNullToEmpty(ds_main_exmptmpllist.getColumn(i,"basecdcnts")).getTrim());
  278. }
  279. ds_main_exmptmpllist.updatecontrol = true;
  280. ds_main_exmptmpllist.rowposition = -1;
  281. }
  282. /****************************************************************************************
  283. * Argument : N/A
  284. * Description : 예문 저장/수정/삭제를 위한 Function
  285. ****************************************************************************************/
  286. function fExeTmpl() {
  287. var row = ds_main_exmptmpllist.rowposition;
  288. if ( utlf_isNull(ds_main.getColumn(0,"sendcontens")) ) {
  289. sysf_messageBox("특수검사예문 내용이 존재하지 않습니다.","I999");
  290. return true;
  291. }
  292. ds_main_exmptmpllist.setColumn(row,"basecdcnts",ds_main.getColumn(0,"sendcontens"));
  293. // grdf_setStatus(group1.grd_exmptmpl, "U", row);
  294. if ( sysf_messageBox("","Q002")==6 ) {
  295. var dsUpdate = grdf_getGridUpdateData(group1.grd_exmptmpl, "all");
  296. grdf_setStatusColumn(dsUpdate, "m");
  297. if(dsUpdate.rowcount == 0){
  298. sysf_messageBox("업데이트 정보가 없습니다.", "I");
  299. return;
  300. } else {
  301. ds_send_savedata.clear();
  302. ds_send_savedata.copyData(dsUpdate, true);
  303. ds_send_savedata.updateColID("basecdflag","ubasecdflag");
  304. //submit("TXAEB00302");
  305. var oParam = {};
  306. oParam.id = "TXAEB00302";
  307. oParam.service = "examcurebaseapp.ExmpTmpl";
  308. oParam.method = "reqExeExmpTmplList";
  309. oParam.inds = "req=ds_send_savedata";
  310. oParam.outds = "ds_temp=item";
  311. oParam.async = true;
  312. //oParam.callback = "cf_TXAEB00302";
  313. tranf_submit(oParam);
  314. }
  315. }
  316. fGetTmplList();
  317. }
  318. //=======================================================================================
  319. // Event
  320. //---------------------------------------------------------------------------------------
  321. /****************************************************************************************
  322. * Components : Form
  323. * Components ID : SMAEB00303
  324. * Event : oninit
  325. * Argument : 01.obj : Object Event has occurred
  326. * : 02.e : Event Object
  327. * Description : 화면 처음 초기화시 폼초기화
  328. ****************************************************************************************/
  329. function SMAEB00303_oninit(obj:Form, e:InitEventInfo)
  330. {
  331. frmf_initForm(obj); // 폼 초기화
  332. }
  333. /****************************************************************************************
  334. * Components : Form
  335. * Components ID : SMAEB00303
  336. * Event : onload
  337. * Argument : 01.obj : Object Event has occurred
  338. * : 02.e : Event Object
  339. * Description : 화면 처음 초기화시 폼초기화
  340. ****************************************************************************************/
  341. function SMAEB00303_onload(obj:Form, e:LoadEventInfo)
  342. {
  343. lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
  344. ds_send_globalinstance.setColumn(0,"instance1",frmf_getParameter("AST_DEPTCD"));
  345. fSetInit();
  346. fGetInitList();
  347. grdf_setRowTypeIcon(group1.grd_exmptmpl, 0);
  348. }
  349. /****************************************************************************************
  350. * Components : Radio
  351. * Components ID : rdo_comprod
  352. * Event : onitemchanged
  353. * Argument : 01.obj : Object Event has occurred
  354. * : 02.e : Event Object
  355. * Description : 조회조건변경
  356. ****************************************************************************************/
  357. function rdo_comprod_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  358. {
  359. fGetTmplList();
  360. }
  361. /****************************************************************************************
  362. * Components : Button
  363. * Components ID : grp_sea.button1
  364. * Event : onclick
  365. * Argument : 01.obj : Object Event has occurred
  366. * : 02.e : Event Object
  367. * Description : 조회버튼
  368. ****************************************************************************************/
  369. function grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  370. {
  371. fGetTmplList();
  372. }
  373. /****************************************************************************************
  374. * Components : Button
  375. * Components ID : group1.button17
  376. * Event : onclick
  377. * Argument : 01.obj : Object Event has occurred
  378. * : 02.e : Event Object
  379. * Description : 엑셀저장
  380. ****************************************************************************************/
  381. function group1_button17_onclick(obj:Button, e:ClickEventInfo)
  382. {
  383. grdf_exportExcel(group1.grd_exmptmpl,"excel","sheet1");
  384. }
  385. /****************************************************************************************
  386. * Components : Button
  387. * Components ID : group1.button5
  388. * Event : onclick
  389. * Argument : 01.obj : Object Event has occurred
  390. * : 02.e : Event Object
  391. * Description : 행추가
  392. ****************************************************************************************/
  393. function group1_button5_onclick(obj:Button, e:ClickEventInfo)
  394. {
  395. var nRow = ds_main_exmptmpllist.addRow();
  396. // 행추가 시 bottomRow 사용하지 마세요!! 꼭
  397. // grd_exmptmpl.topRow = grd_exmptmpl.row;
  398. group1.grd_exmptmpl.setCellPos(nRow);
  399. ds_main_exmptmpllist.setColumn(nRow,"basesuppdeptcd",ds_send_globalinstance.getColumn(0,"instance1"));
  400. // var index = grp_sea.rdo_comprod.index;
  401. ds_main_exmptmpllist.setColumn(nRow,"basecdflagdesc",ds_hidden.getColumn(0,"comprod"));
  402. ds_main_exmptmpllist.setColumn(nRow,"basecdflag" ,ds_send_data.getColumn(0,"basecdflag"));
  403. }
  404. /****************************************************************************************
  405. * Components : Button
  406. * Components ID : group1.button4
  407. * Event : onclick
  408. * Argument : 01.obj : Object Event has occurred
  409. * : 02.e : Event Object
  410. * Description : 행삭제
  411. ****************************************************************************************/
  412. function group1_button4_onclick(obj:Button, e:ClickEventInfo)
  413. {
  414. //dsf_deleteSelectedRows(group1.grd_exmptmpl, true);
  415. var arrRow = new Array();
  416. arrRow[0] = ds_main_exmptmpllist.rowposition;
  417. grdf_setStatus(group1.grd_exmptmpl, "D", arrRow);
  418. }
  419. /****************************************************************************************
  420. * Components : Grid
  421. * Components ID : group1.grd_exmptmpl
  422. * Event : onlbuttonup
  423. * Argument : 01.obj : Object Event has occurred
  424. * : 02.e : Event Object
  425. * Description : 예문선택시
  426. ****************************************************************************************/
  427. function group1_grd_exmptmpl_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  428. {
  429. var row = ds_main_exmptmpllist.rowposition;
  430. ds_main.setColumn(0,"sendcontens", ds_main_exmptmpllist.getColumn(row,"basecdcnts"));
  431. }
  432. /****************************************************************************************
  433. * Components : Button
  434. * Components ID : group2.button3
  435. * Event : onclick
  436. * Argument : 01.obj : Object Event has occurred
  437. * : 02.e : Event Object
  438. * Description : 선택
  439. ****************************************************************************************/
  440. function group2_button3_onclick(obj:Button, e:ClickEventInfo)
  441. {
  442. if ( ds_main_exmptmpllist.rowposition < 0 ) return;
  443. fSendContents();
  444. }
  445. /****************************************************************************************
  446. * Components : Button
  447. * Components ID : group2.button2
  448. * Event : onclick
  449. * Argument : 01.obj : Object Event has occurred
  450. * : 02.e : Event Object
  451. * Description : 저장
  452. ****************************************************************************************/
  453. function group2_button2_onclick(obj:Button, e:ClickEventInfo)
  454. {
  455. fExeTmpl();
  456. }
  457. /****************************************************************************************
  458. * Components : Button
  459. * Components ID : group2.btn_cls
  460. * Event : onclick
  461. * Argument : 01.obj : Object Event has occurred
  462. * : 02.e : Event Object
  463. * Description : 닫기
  464. ****************************************************************************************/
  465. function group2_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  466. {
  467. this.close();
  468. }
  469. function group1_grd_exmptmpl_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
  470. {
  471. if(ds_main_exmptmpllist.rowposition != e.row) {
  472. textarea1.updateToDataset();
  473. ds_main_exmptmpllist.setColumn(ds_main_exmptmpllist.rowposition,"basecdcnts",utlf_transNullToEmpty(ds_main.getColumn(0,"sendcontens")));
  474. }
  475. }
  476. ]]></Script>
  477. </Form>
  478. </FDL>