SPMNP07430_PCA종류선택.xfdl 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNP07430" position="absolute 0 0 317 302" titletext="PCA종류선택" onload="SPMNP07430_onload" ontimer="SPMNP07430_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 26 315 302" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 0 0 155 275" id="grd_codelist" binddataset="ds_main_codeinfo_codelist" anchor="default" oncelldblclick="grp_biz_grd_codelist_oncelldblclick">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="0"/>
  15. <Column size="136"/>
  16. </Columns>
  17. <Rows>
  18. <Row size="24" band="head"/>
  19. <Row size="24"/>
  20. </Rows>
  21. <Band id="head">
  22. <Cell text="caption2"/>
  23. <Cell col="1" text="종류"/>
  24. </Band>
  25. <Band id="body">
  26. <Cell text="bind:cdid"/>
  27. <Cell col="1" text="bind:cdnm"/>
  28. </Band>
  29. </Format>
  30. </Formats>
  31. </Grid>
  32. <Grid position="absolute 160 0 315 275" id="grd_stdlist" binddataset="ds_main_stdinfo_stdlist" anchor="default" oncelldblclick="grp_biz_grd_stdlist_oncelldblclick">
  33. <Formats>
  34. <Format id="default">
  35. <Columns>
  36. <Column size="140"/>
  37. <Column size="0"/>
  38. </Columns>
  39. <Rows>
  40. <Row size="24" band="head"/>
  41. <Row size="24"/>
  42. </Rows>
  43. <Band id="head">
  44. <Cell text="PCA종류"/>
  45. <Cell col="1" text="caption2"/>
  46. </Band>
  47. <Band id="body">
  48. <Cell text="bind:cdnm"/>
  49. <Cell col="1" text="bind:cdid"/>
  50. </Band>
  51. </Format>
  52. </Formats>
  53. </Grid>
  54. </Layout>
  55. </Layouts>
  56. </Div>
  57. <Static id="cap_title" text="PCA종류선택" class="tit_1" position="absolute 0 0 120 25"/>
  58. </Layout>
  59. </Layouts>
  60. <Objects>
  61. <Dataset id="ds_main_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  62. <ColumnInfo>
  63. <Column id="cdid" type="STRING"/>
  64. <Column id="cdnm" type="STRING"/>
  65. </ColumnInfo>
  66. </Dataset>
  67. <Dataset id="ds_main_stdinfo_stdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  68. <ColumnInfo>
  69. <Column id="cdnm" type="STRING"/>
  70. <Column id="cdid" type="STRING"/>
  71. </ColumnInfo>
  72. </Dataset>
  73. </Objects>
  74. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  75. * System Name :
  76. * Job Name :
  77. * Creator :
  78. * Make Date : 2016-11-17
  79. * Description :
  80. *---------------------------------------------------------------------------------------
  81. * Modify Date Modifier Modify Description
  82. *---------------------------------------------------------------------------------------
  83. * 2016-11-17 Live Converter TF->XP
  84. *
  85. *---------------------------------------------------------------------------------------
  86. ****************************************************************************************/
  87. //=======================================================================================
  88. // Lib Include
  89. //---------------------------------------------------------------------------------------
  90. include "com_commonxp::comm_main.xjs";
  91. //=======================================================================================
  92. // Global Form Variable
  93. //---------------------------------------------------------------------------------------
  94. var arErrorCode = new HashArray();
  95. //=======================================================================================
  96. // Function
  97. //---------------------------------------------------------------------------------------
  98. /****************************************************************************************
  99. * Argument : N/A
  100. * Description :
  101. ****************************************************************************************/
  102. //=======================================================================================
  103. // Event
  104. //---------------------------------------------------------------------------------------
  105. /****************************************************************************************d
  106. * Components : Form
  107. * Description : 화면 처음 초기화시 폼초기화
  108. ****************************************************************************************/
  109. function SPMNP07430_onload(obj:Form, e:LoadEventInfo)
  110. {
  111. frmf_initForm(obj);
  112. this.setTimer(0,100);
  113. }
  114. function SPMNP07430_ontimer(obj:Form, e:TimerEventInfo)
  115. {
  116. if(e.timerid == 0) {
  117. this.killTimer(0);
  118. dsf_createDsRow("ds_send_reqdata", [
  119. {col:"cdgrupid", type:"STRING", size:256, val:"'U27'"}
  120. , {col:"srchdd", type:"STRING", size:256, val:utlf_getCurrentDate()}
  121. , {col:"flag", type:"STRING", size:256, val:""}
  122. , {col:"allflag", type:"STRING", size:256, val:""}
  123. ]);
  124. var oParam = {};
  125. oParam.id = "TRMNW00001";
  126. oParam.service = "wardcareapp.WardCareMngt";
  127. oParam.method = "reqGetNursHardCdInfo";
  128. oParam.inds = "req=ds_send_reqdata";
  129. oParam.outds = "ds_main_codeinfo_codelist=codelist";
  130. oParam.async = false;
  131. //oParam.callback = "cf_TRMNW00001";
  132. tranf_submit(oParam);
  133. }
  134. }
  135. function grp_biz_grd_codelist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  136. {
  137. dsf_createDsRow("ds_send_reqdata", [
  138. {col:"cdgrupid", type:"STRING", size:256, val:"004"}
  139. , {col:"lnkcd", type:"STRING", size:256, val:ds_main_codeinfo_codelist.getColumn(e.row,"cdid")}
  140. ]);
  141. var oParam = {};
  142. oParam.id = "TRMNP07410";
  143. oParam.service = "opanstapp.OpAnstRec";
  144. oParam.method = "reqGetStdInfo";
  145. oParam.inds = "req=ds_send_reqdata";
  146. oParam.outds = "ds_main_stdinfo_stdlist=stdlist";
  147. oParam.async = false;
  148. //oParam.callback = "cf_TRMNP07410";
  149. tranf_submit(oParam);
  150. }
  151. function grp_biz_grd_stdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  152. {
  153. sysf_setModelProperty("cdid",ds_main_stdinfo_stdlist.getColumn(e.row,"cdid"));
  154. sysf_setModelProperty("cdnm",ds_main_stdinfo_stdlist.getColumn(e.row,"cdnm"));
  155. sysf_setModelProperty("lnkcd",ds_main_codeinfo_codelist.getColumn(ds_main_codeinfo_codelist.rowposition,"cdid"));
  156. sysf_setModelProperty("lnknm",ds_main_codeinfo_codelist.getColumn(ds_main_codeinfo_codelist.rowposition,"cdnm"));
  157. sysf_setModelProperty("clickflag","Y");
  158. this.close();
  159. }
  160. ]]></Script>
  161. </Form>
  162. </FDL>