SPATR00500_시험자조회.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPATR00500" position="absolute 0 0 503 392" titletext="시험책임자 조회" oninit="SPATR00500_oninit" onload="SPATR00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 79 501 353" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 0 0 500 6" linetype="horizontal" id="line1" class="line_1" anchor="default"/>
  11. <Grid position="absolute 0 5 500 274" align="align:center middle;" id="grd_drlist" binddataset="ds_main_orddrinfo_info" anchor="default" cellsizingtype="col" autofittype="col" oncelldblclick="grp_biz_grd_drlist_oncelldblclick">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="115"/>
  16. <Column size="104"/>
  17. <Column size="0"/>
  18. <Column size="268"/>
  19. <Column size="0"/>
  20. <Column size="0"/>
  21. <Column size="0"/>
  22. <Column size="0"/>
  23. </Columns>
  24. <Rows>
  25. <Row size="24" band="head"/>
  26. <Row size="24"/>
  27. </Rows>
  28. <Band id="head">
  29. <Cell text="시험자ID"/>
  30. <Cell col="1" text="시험자명"/>
  31. <Cell col="2" text="구분"/>
  32. <Cell col="3" text="진료과"/>
  33. <Cell col="4" text="진료과코드"/>
  34. <Cell col="5" text="과제번호"/>
  35. <Cell col="6" text="과제ID"/>
  36. <Cell col="7" text="연구번호"/>
  37. </Band>
  38. <Band id="body">
  39. <Cell text="bind:empid"/>
  40. <Cell col="1" text="bind:empnm"/>
  41. <Cell col="2" displaytype="combo" edittype="combo" text="bind:empflag" combodataset="ds_cmb_empflag" combocodecol="value" combodatacol="label" enable="false"/>
  42. <Cell col="3" text="bind:deptnm"/>
  43. <Cell col="4" text="bind:deptcd"/>
  44. <Cell col="5" text="bind:subjno" mask="yyyy-mm-dd hh:dd:ss"/>
  45. <Cell col="6" text="bind:subjid"/>
  46. <Cell col="7" text="bind:stdyno"/>
  47. </Band>
  48. </Format>
  49. </Formats>
  50. </Grid>
  51. <Shape id="line00" class="line_1" position="absolute 0 -1 500 5"/>
  52. <Shape id="line02" class="line_1" position="absolute 0 1 500 7"/>
  53. </Layout>
  54. </Layouts>
  55. </Div>
  56. <Div position="absolute 1 355 501 382" id="grp_btn" scrollbars="autoboth">
  57. <Layouts>
  58. <Layout>
  59. <Button position="absolute 444 5 500 27" id="btn_cls" class="btn4" text="닫기" anchor="default" onclick="grp_btn_btn_cls_onclick"/>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. <Div id="div_srch" taborder="1" text="Div00" position="absolute 1 19 501 79" class="div_SA2">
  64. <Layouts>
  65. <Layout>
  66. <Static id="caption2" text="시험자ID :" class="search_name" position="absolute 15 9 114 26" anchor="default"/>
  67. <Static id="caption3" text="시험자명 :" class="search_name" position="absolute 15 34 114 51" anchor="default"/>
  68. <Edit id="input1" taborder="1" position="absolute 105 8 190 27" anchor="default"/>
  69. <Edit id="input2" taborder="2" position="absolute 105 33 190 52" anchor="default"/>
  70. <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 432 19 488 41" anchor="default" onclick="div_srch_button1_onclick"/>
  71. <Static id="caption4" text="과제번호 :" class="search_name" position="absolute 210 9 309 26" anchor="default"/>
  72. <Static id="caption5" text="연구코드 :" class="search_name" position="absolute 210 34 309 51" anchor="default"/>
  73. <Edit id="input3" taborder="4" position="absolute 300 8 395 27" anchor="default"/>
  74. <Edit id="input4" taborder="5" position="absolute 300 33 395 52" anchor="default"/>
  75. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 417 8 423 53" anchor="default"/>
  76. </Layout>
  77. </Layouts>
  78. </Div>
  79. <Static id="caption1" text="시험자 조회" class="tit_2" position="absolute 1 1 112 22"/>
  80. </Layout>
  81. </Layouts>
  82. <Objects>
  83. <Dataset id="ds_main_orddrinfo_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  84. <ColumnInfo>
  85. <Column id="ordrid" type="STRING" size="256"/>
  86. <Column id="ordrnm" type="STRING" size="256"/>
  87. <Column id="empflag" type="STRING" size="256"/>
  88. <Column id="orddeptnm" type="STRING" size="256"/>
  89. <Column id="orddeptcd" type="STRING" size="256"/>
  90. <Column id="subjno" type="STRING" size="256"/>
  91. <Column id="subjid" type="STRING" size="256"/>
  92. <Column id="stdyno" type="STRING" size="256"/>
  93. </ColumnInfo>
  94. </Dataset>
  95. <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  96. <ColumnInfo>
  97. <Column id="orddrid" type="STRING" size="256"/>
  98. <Column id="orddrnm" type="STRING" size="256"/>
  99. <Column id="subjno" type="STRING" size="256"/>
  100. <Column id="stdyno" type="STRING" size="256"/>
  101. </ColumnInfo>
  102. <Rows>
  103. <Row>
  104. <Col id="orddrid"/>
  105. <Col id="orddrnm"/>
  106. <Col id="subjno"/>
  107. <Col id="stdyno"/>
  108. </Row>
  109. </Rows>
  110. </Dataset>
  111. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  112. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  113. <Dataset id="ds_cmb_empflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  114. <ColumnInfo>
  115. <Column id="label" type="STRING" size="256"/>
  116. <Column id="value" type="STRING" size="256"/>
  117. </ColumnInfo>
  118. <Rows>
  119. <Row>
  120. <Col id="label">입원</Col>
  121. <Col id="value">F</Col>
  122. </Row>
  123. <Row>
  124. <Col id="label">외래</Col>
  125. <Col id="value">G</Col>
  126. </Row>
  127. </Rows>
  128. </Dataset>
  129. </Objects>
  130. <Bind>
  131. <BindItem id="item0" compid="div_srch.input1" propid="value" datasetid="ds_send_srchinfo" columnid="orddrid"/>
  132. <BindItem id="item1" compid="div_srch.input2" propid="value" datasetid="ds_send_srchinfo" columnid="orddrnm"/>
  133. <BindItem id="item2" compid="div_srch.input4" propid="value" datasetid="ds_send_srchinfo" columnid="stdyno"/>
  134. <BindItem id="item3" compid="div_srch.input3" propid="value" datasetid="ds_send_srchinfo" columnid="subjno"/>
  135. </Bind>
  136. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  137. * System Name :
  138. * Job Name :
  139. * Creator :
  140. * Make Date : 2015-11-13
  141. * Description :
  142. *---------------------------------------------------------------------------------------
  143. * Modify Date Modifier Modify Description
  144. *---------------------------------------------------------------------------------------
  145. * 2015-11-13 Live Converter TF->XP
  146. *
  147. *---------------------------------------------------------------------------------------
  148. ****************************************************************************************/
  149. //=======================================================================================
  150. // Lib Include
  151. //---------------------------------------------------------------------------------------
  152. include "com_commonxp::comm_main.xjs"
  153. include "ast_commonxp::AST.xjs"
  154. //=======================================================================================
  155. // Global Form Variable
  156. //---------------------------------------------------------------------------------------
  157. var arErrorCode = new HashArray();
  158. //=======================================================================================
  159. // Function
  160. //---------------------------------------------------------------------------------------
  161. /****************************************************************************************
  162. * Argument : N/A
  163. * Description :
  164. ****************************************************************************************/
  165. function call_TRATR00501() {
  166. var oParam = {};
  167. oParam.id = "TRATR00501";
  168. oParam.service = "crccbaseapp.CrccBase";
  169. oParam.method = "reqGetOrdDrList";
  170. oParam.inds = "req=ds_send_srchinfo";
  171. oParam.outds = "ds_main_orddrinfo_info=info";
  172. oParam.async = false;
  173. //oParam.callback = "cf_TRATR00501";
  174. tranf_submit(oParam);
  175. }
  176. //=======================================================================================
  177. // Event
  178. //---------------------------------------------------------------------------------------
  179. /****************************************************************************************
  180. * Components : Form
  181. * Components ID : SPATR00500
  182. * Event : oninit
  183. * Argument : 01.obj : Object Event has occurred
  184. * : 02.e : Event Object
  185. * Description : 화면 처음 초기화시 폼초기화
  186. ****************************************************************************************/
  187. function SPATR00500_oninit(obj:Form, e:InitEventInfo)
  188. {
  189. frmf_initForm(obj); // 폼 초기화
  190. }
  191. /****************************************************************************************
  192. * Components : Form
  193. * Components ID : SPATR00500
  194. * Event : onload
  195. * Argument : 01.obj : Object Event has occurred
  196. * : 02.e : Event Object
  197. * Description : 화면 처음 초기화시 폼초기화
  198. ****************************************************************************************/
  199. function SPATR00500_onload(obj:Form, e:LoadEventInfo)
  200. {
  201. var srchNm = opener.frmf_getParameter("SMATR00500_srchnm");
  202. var srchNo = opener.frmf_getParameter("SMATR00500_srchno");
  203. var srchCd = opener.frmf_getParameter("SMATR00500_srchcd");
  204. if( !utlf_isNull(srchNm) || !utlf_isNull(srchNo) || !utlf_isNull(srchCd) ){
  205. ds_send_srchinfo.setColumn(0,"orddrnm", srchNm);
  206. ds_send_srchinfo.setColumn(0,"subjno" , srchNo);
  207. ds_send_srchinfo.setColumn(0,"stdyno" , srchCd);
  208. call_TRATR00501();
  209. }
  210. }
  211. /****************************************************************************************
  212. * Components : Button
  213. * Components ID : div_srch.button1
  214. * Event : onclick
  215. * Argument : 01.obj : Object Event has occurred
  216. * : 02.e : Event Object
  217. * Description :
  218. ****************************************************************************************/
  219. function div_srch_button1_onclick(obj:Button, e:ClickEventInfo)
  220. {
  221. call_TRATR00501();
  222. }
  223. /****************************************************************************************
  224. * Components : Grid
  225. * Components ID : grp_biz.grd_drlist
  226. * Event : oncelldblclick
  227. * Argument : 01.obj : Object Event has occurred
  228. * : 02.e : Event Object
  229. * Description : 그리드 더블클릭하여 내용 전달
  230. ****************************************************************************************/
  231. function grp_biz_grd_drlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  232. {
  233. if( e.row > -1 ){
  234. var id = ds_main_orddrinfo_info.getColumn(e.row,"empid");
  235. var nm = ds_main_orddrinfo_info.getColumn(e.row,"empnm");
  236. opener.frmf_setParameter("SMATR00500_rtnid", id);
  237. opener.frmf_setParameter("SMATR00500_rtnnm", nm);
  238. this.close();
  239. }
  240. }
  241. /****************************************************************************************
  242. * Components : Button
  243. * Components ID : div_srch.button1
  244. * Event : onclick
  245. * Argument : 01.obj : Object Event has occurred
  246. * : 02.e : Event Object
  247. * Description : 닫기
  248. ****************************************************************************************/
  249. function grp_btn_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  250. {
  251. this.close();
  252. }
  253. ]]></Script>
  254. </Form>
  255. </FDL>