SPAHR00500_문진조회.xfdl 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPAHR00500" position="absolute 0 0 721 736" titletext="문진조회" oninit="SPAHR00500_oninit" onload="SPAHR00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line1" class="line_10" position="absolute 0 16 717 22"/>
  8. <Grid id="grd_inqrlst" taborder="1" binddataset="ds_main_inqrlst_item" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 21 717 711">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="22"/>
  13. <Column size="83"/>
  14. <Column size="337"/>
  15. <Column size="63"/>
  16. <Column size="87"/>
  17. <Column size="108"/>
  18. <Column size="0"/>
  19. <Column size="0"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell/>
  27. <Cell col="1" text="문진코드"/>
  28. <Cell col="2" text="문진내용"/>
  29. <Cell col="3" text="답안선택"/>
  30. <Cell col="4" text="답안내역"/>
  31. <Cell col="5" text="비고"/>
  32. <Cell col="6" text="anstype"/>
  33. <Cell col="7" text="문진구분"/>
  34. </Band>
  35. <Band id="body">
  36. <Cell celltype="head"/>
  37. <Cell col="1" text="bind:inqrcd"/>
  38. <Cell col="2" text="bind:inqrnm"/>
  39. <Cell col="3" text="bind:answcd"/>
  40. <Cell col="4" text="bind:answcnts"/>
  41. <Cell col="5" displaytype="text" edittype="text" class="gridinput" text="bind:remcnts" expandshow="show" expandimage="URL('D:\KNUProject\application\xpapps\IMAGES\ast\ICON\icon_input.png')"/>
  42. <Cell col="6" displaytype="combo" edittype="combo" text="bind:answflag" enable="false"/>
  43. <Cell col="7" displaytype="combo" edittype="combo" text="bind:inptflag" enable="false"/>
  44. </Band>
  45. </Format>
  46. </Formats>
  47. </Grid>
  48. <Static id="caption19" text="문진조회" class="tit_2" position="absolute 0 0 167 22"/>
  49. <Button id="btn_confirm" taborder="2" text="확인" class="btn4" position="absolute 661 712 717 734" onclick="btn_confirm_onclick"/>
  50. </Layout>
  51. </Layouts>
  52. <Objects>
  53. <Dataset id="ds_main_inqrlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  54. <ColumnInfo>
  55. <Column id="inqrflag" type="STRING" size="256" sumtext="문진구분"/>
  56. <Column id="inqrcd" type="STRING" size="256" sumtext="문진코드"/>
  57. <Column id="inqrnm" type="STRING" size="256" sumtext="문진명"/>
  58. <Column id="answcd" type="STRING" size="256" sumtext="답안코드"/>
  59. <Column id="answcnts" type="STRING" size="256" sumtext="답안명"/>
  60. <Column id="inptflag" type="STRING" size="256" sumtext="입력구분"/>
  61. <Column id="answflag" type="STRING" size="256" sumtext="답군분류구분"/>
  62. <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
  63. </ColumnInfo>
  64. </Dataset>
  65. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  66. <ColumnInfo>
  67. <Column id="srchinstcd" type="STRING" size="256"/>
  68. <Column id="srchhealexamflag" type="STRING" size="256"/>
  69. <Column id="srchorddd" type="STRING" size="256"/>
  70. <Column id="srchrsrvdd" type="STRING" size="256"/>
  71. <Column id="srchrsrvno" type="STRING" size="256"/>
  72. <Column id="srchpid" type="STRING" size="256"/>
  73. <Column id="srchinqrflag" type="STRING" size="256"/>
  74. </ColumnInfo>
  75. <Rows>
  76. <Row>
  77. <Col id="srchinstcd"/>
  78. <Col id="srchhealexamflag"/>
  79. <Col id="srchorddd"/>
  80. <Col id="srchrsrvdd"/>
  81. <Col id="srchrsrvno"/>
  82. <Col id="srchpid"/>
  83. <Col id="srchinqrflag"/>
  84. </Row>
  85. </Rows>
  86. </Dataset>
  87. </Objects>
  88. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  89. * System Name :
  90. * Job Name :
  91. * Creator :
  92. * Make Date : 2015-11-13
  93. * Description :
  94. *---------------------------------------------------------------------------------------
  95. * Modify Date Modifier Modify Description
  96. *---------------------------------------------------------------------------------------
  97. * 2015-11-13 Live Converter TF->XP
  98. *
  99. *---------------------------------------------------------------------------------------
  100. ****************************************************************************************/
  101. include "com_commonxp::comm_main.xjs";
  102. function SPAHR00500_oninit(obj:Form, e:InitEventInfo)
  103. {
  104. frmf_initForm(obj);
  105. }
  106. function SPAHR00500_onload(obj:Form, e:LoadEventInfo)
  107. {
  108. grdf_initGrid(grd_inqrlst);
  109. grdf_setRowTypeIcon(grd_inqrlst, 0);
  110. fInit();
  111. }
  112. function fInit()
  113. {
  114. ds_main_inqrlst_item.clearData();
  115. fGetInqrCdList();
  116. }
  117. function fGetInqrCdList()
  118. {
  119. var healExamFlag = opener.frmf_getParameter("SPAHR00500_PARAM1");
  120. var pid = opener.frmf_getParameter("SPAHR00500_PARAM2");
  121. var orddd = opener.frmf_getParameter("SPAHR00500_PARAM3");
  122. var rsrvdd = opener.frmf_getParameter("SPAHR00500_PARAM4");
  123. var rsrvno = opener.frmf_getParameter("SPAHR00500_PARAM5");
  124. var instcd = opener.frmf_getParameter("SPAHR00500_PARAM6");
  125. var inqrFlag = opener.frmf_getParameter("SPAHR00500_PARAM7");
  126. ds_main_inqrlst_item.clearData();
  127. if(utlf_isNull(healExamFlag) || utlf_isNull(pid) || utlf_isNull(orddd) || utlf_isNull(rsrvdd) || utlf_isNull(rsrvno))
  128. {
  129. sysf_messageBox("건진자 정보가 존재하지","E007");
  130. }
  131. if(utlf_isNull(instcd))
  132. {
  133. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd") );
  134. }
  135. if(utlf_isNull(inqrFlag))
  136. {
  137. ds_send.setColumn(0, "srchinqrflag","T");
  138. }
  139. ds_send.setColumn(0, "srchhealexamflag", healExamFlag);
  140. ds_send.setColumn(0, "srchpid", pid);
  141. ds_send.setColumn(0, "srchorddd", orddd);
  142. ds_send.setColumn(0, "srchrsrvdd", rsrvdd);
  143. ds_send.setColumn(0, "srchrsrvno", rsrvno);
  144. ds_send.setColumn(0, "srchinstcd", instcd);
  145. ds_send.setColumn(0, "srchinqrflag", inqrFlag);
  146. var oParam = {};
  147. oParam.id = "TRAHR01003";
  148. oParam.service = "healexamrsltjudgapp.RsltInpt";
  149. oParam.method = "reqGetInqrList";
  150. oParam.inds = "req=ds_send";
  151. oParam.outds = "ds_main_inqrlst_item=item ds_=answitem";
  152. oParam.async = false;
  153. //oParam.callback = "cf_TRAHR01003";
  154. tranf_submit(oParam);
  155. }
  156. function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  157. {
  158. this.close();
  159. }
  160. ]]></Script>
  161. </Form>
  162. </FDL>