SMLQF10500_핵의학QC물질레벨관리.xfdl 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLQF10500" position="absolute 0 0 1200 763" titletext="QC Standard 및 Coltrol수" oninit="SMLQF10500_oninit" onload="SMLQF10500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="Standard 및 Control수" class="tit_1" position="absolute 0 0 304 23"/>
  8. <Shape id="line2" class="line_2" position="absolute 0 42 1194 48" anchor="left top right"/>
  9. <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1068 20 1124 42" anchor="top right" onclick="btn_save_onclick"/>
  10. <Button id="btn_init" taborder="2" text="초기화" class="btn4" position="absolute 1127 20 1195 42" anchor="top right" onclick="btn_init_onclick"/>
  11. <Shape id="line1" class="line_10" position="absolute 0 108 1194 114" anchor="left top right"/>
  12. <Static id="caption1" text="Standard 및 Control수" class="tit_2" position="absolute 0 92 195 113"/>
  13. <Div id="group2" taborder="3" class="div_SA" position="absolute 0 48 1195 83" anchor="left top right">
  14. <Layouts>
  15. <Layout>
  16. <Button id="button3" taborder="1" text="조회" class="btn1" position="absolute 1123 7 1180 29" anchor="top right" onclick="group2_button3_onclick"/>
  17. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 6 1111 28" anchor="top right"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Grid id="grd_levllist" taborder="4" binddataset="ds_main_levllist" useinputpanel="false" position="absolute 0 113 1194 757" cellsizingtype="col" anchor="all">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="21"/>
  26. <Column size="200"/>
  27. <Column size="300"/>
  28. <Column size="0"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell/>
  36. <Cell col="1" text="Standard 및 Control수 코드"/>
  37. <Cell col="2" text="Standard 및 Control수"/>
  38. <Cell col="3" text="OnCall레벨코드"/>
  39. </Band>
  40. <Band id="body">
  41. <Cell celltype="head"/>
  42. <Cell col="1" displaytype="text" edittype="text" text="bind:levlcd"/>
  43. <Cell col="2" displaytype="text" edittype="text" text="bind:levlnm"/>
  44. <Cell col="3" displaytype="text" edittype="text" text="bind:oclevlcd"/>
  45. </Band>
  46. </Format>
  47. <Format id="format_copy"/>
  48. </Formats>
  49. </Grid>
  50. <Button id="btn_addrow" taborder="5" text="행추가" class="btn2" position="absolute 1141 89 1194 108" anchor="top right" onclick="btn_addrow_onclick"/>
  51. </Layout>
  52. </Layouts>
  53. <Objects>
  54. <Dataset id="ds_main_levllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  55. <ColumnInfo>
  56. <Column id="levlcd" type="STRING"/>
  57. <Column id="levlnm" type="STRING"/>
  58. <Column id="oclevlcd" type="STRING"/>
  59. </ColumnInfo>
  60. </Dataset>
  61. <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  62. <ColumnInfo>
  63. <Column id="cd" type="STRING" size="256"/>
  64. <Column id="nm" type="STRING" size="256"/>
  65. </ColumnInfo>
  66. </Dataset>
  67. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  68. <ColumnInfo>
  69. <Column id="userdeptcd" type="STRING" size="256"/>
  70. </ColumnInfo>
  71. <Rows>
  72. <Row/>
  73. </Rows>
  74. </Dataset>
  75. </Objects>
  76. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  77. * System Name :
  78. * Job Name :
  79. * Creator :
  80. * Make Date : 2015-11-13
  81. * Description :
  82. *---------------------------------------------------------------------------------------
  83. * Modify Date Modifier Modify Description
  84. *---------------------------------------------------------------------------------------
  85. * 2015-11-13 Live Converter TF->XP
  86. *
  87. *---------------------------------------------------------------------------------------
  88. ****************************************************************************************/
  89. include "com_commonxp::comm_main.xjs";
  90. include "lis_commonxp::LLZ001.xjs";
  91. function SMLQF10500_oninit(obj:Form, e:InitEventInfo)
  92. {
  93. frmf_initForm(obj);
  94. }
  95. function SMLQF10500_onload(obj:Form, e:LoadEventInfo)
  96. {
  97. grdf_initGrid(grd_levllist);
  98. grdf_setRowTypeIcon(grd_levllist, 0);
  99. fSetInit();
  100. }
  101. function fSetInit()
  102. {
  103. lf_getDbDeptcd("0000|", "")
  104. ds_main_levllist.clearData();
  105. fGetLevel();
  106. }
  107. function fGetLevel()
  108. {
  109. ds_send.setColumn(0, "userdeptcd", ds_init_lb0000.getColumn(0, "nm"));
  110. var oParam = {};
  111. oParam.id = "TRLQF00501";
  112. oParam.service = "grademngtbasemngtapp.LevelMngt";
  113. oParam.method = "reqGetLevel";
  114. oParam.inds = "cond=ds_send";
  115. oParam.outds = "ds_main_levllist=getLevel";
  116. oParam.async = false;
  117. //oParam.callback = "cf_TRLQF00501";
  118. tranf_submit(oParam);
  119. }
  120. function btn_addrow_onclick(obj:Button, e:ClickEventInfo)
  121. {
  122. ds_main_levllist.addRow();
  123. }
  124. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  125. {
  126. fInsLevel();
  127. }
  128. function fInsLevel()
  129. {
  130. var oParam = {};
  131. oParam.id = "TXLQF00501";
  132. oParam.service = "grademngtbasemngtapp.LevelMngt";
  133. oParam.method = "reqExeLevel";
  134. oParam.inds = "grid=ds_main_levllist:U cond=ds_send";
  135. oParam.async = false;
  136. //oParam.callback = "cf_TXLQF00501";
  137. tranf_submit(oParam);
  138. fGetLevel();
  139. }
  140. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  141. {
  142. this.reload();
  143. }
  144. function group2_button3_onclick(obj:Button, e:ClickEventInfo)
  145. {
  146. fGetLevel();
  147. }
  148. ]]></Script>
  149. </Form>
  150. </FDL>