SPPIJ03600_의사면허번호조회.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIJ03600" position="absolute 0 0 668 647" titletext="의사 면허번호 조회" oninit="SPPIJ03600_oninit" onload="SPPIJ03600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 28 667 624" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 2 51 666 590" id="grd_diaggruplist" class="datagrid3" binddataset="ds_grd_diaggruplist" autofittype="col" anchor="all" cellsizingtype="col">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="25"/>
  15. <Column size="125"/>
  16. <Column size="62"/>
  17. <Column size="65"/>
  18. <Column size="75"/>
  19. <Column size="90"/>
  20. <Column size="80"/>
  21. <Column size="80"/>
  22. </Columns>
  23. <Rows>
  24. <Row size="34" band="head"/>
  25. <Row size="24"/>
  26. </Rows>
  27. <Band id="head">
  28. <Cell/>
  29. <Cell col="1" text="진료과"/>
  30. <Cell col="2" text="직종"/>
  31. <Cell col="3" text="선택진료&#10;유무"/>
  32. <Cell col="4" text="의사명"/>
  33. <Cell col="5" text="면허번호"/>
  34. <Cell col="6" text="근무시작일"/>
  35. <Cell col="7" text="근무종료일"/>
  36. </Band>
  37. <Band id="body">
  38. <Cell celltype="head"/>
  39. <Cell col="1" displaytype="combo" edittype="combo" text="bind:orddeptnm" combodataset="ds_init_cmb_orddeptcd" combocodecol="deptcd" combodatacol="depthngnm" enable="true"/>
  40. <Cell col="2" displaytype="normal" edittype="normal" style="align:left middle;" text="bind:jobposnm"/>
  41. <Cell col="3" displaytype="normal" edittype="normal" style="align:left middle;" text="bind:asspecordyn"/>
  42. <Cell col="4" displaytype="normal" edittype="normal" style="align:left middle;" text="bind:usernm"/>
  43. <Cell col="5" displaytype="normal" edittype="normal" style="align:left middle;" text="bind:licnsno"/>
  44. <Cell col="6" displaytype="date" edittype="date" style="align:left middle;" text="bind:fromdd" mask="yyyy-MM-dd"/>
  45. <Cell col="7" displaytype="date" edittype="date" style="align:left middle;" text="bind:todd" mask="yyyy-MM-dd"/>
  46. </Band>
  47. </Format>
  48. </Formats>
  49. </Grid>
  50. <Shape position="absolute 2 46 666 53" linetype="horizontal" id="line1" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;" onclick="grp_biz_line1_onclick"/>
  51. <Div position="absolute 1 0 666 40" align="align:center top;" id="group1" anchor="left top right" class="div_SA" onkeydown="grp_biz_group1_onkeydown" onlayoutchanged="grp_biz_group1_onlayoutchanged">
  52. <Layouts>
  53. <Layout width="665" height="40">
  54. <Button position="absolute 595 8 651 30" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
  55. <Shape position="absolute 582 5 588 38" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  56. <Static text="진료과 :" position="absolute 8 11 95 28" id="caption2" class="search_name" anchor="default"/>
  57. <Combo position="absolute 85 10 185 29" id="cmb_orddeptcd" innerdataset="ds_init_cmb_orddeptcd" datacolumn="depthngnm" codecolumn="deptcd" anchor="default" onitemchanged="grp_biz_group1_cmb_orddeptcd_onitemchanged"/>
  58. <Static text="의사명 :" position="absolute 205 11 292 28" id="caption1" class="search_name" anchor="default"/>
  59. <Edit position="absolute 280 10 350 29" id="ipt_orddrnm" anchor="default" onkeydown="grp_biz_group1_ipt_orddrnm_onkeydown" oneditclick="grp_biz_group1_ipt_orddrnm_oneditclick"/>
  60. <Static text="종료의사 :" position="absolute 365 11 452 28" id="caption3" class="search_name" anchor="default"/>
  61. <Radio position="absolute 450 8 563 28" id="rdo_toddyn" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemclick="grp_biz_group1_rdo_toddyn_onitemclick" index="-1">
  62. <Dataset id="innerdataset">
  63. <ColumnInfo>
  64. <Column id="codecolumn"/>
  65. <Column id="datacolumn"/>
  66. </ColumnInfo>
  67. <Rows>
  68. <Row>
  69. <Col id="codecolumn">Y</Col>
  70. <Col id="datacolumn">포함</Col>
  71. </Row>
  72. <Row>
  73. <Col id="codecolumn">N</Col>
  74. <Col id="datacolumn">미포함</Col>
  75. </Row>
  76. </Rows>
  77. </Dataset>
  78. </Radio>
  79. </Layout>
  80. </Layouts>
  81. </Div>
  82. <Grid position="absolute 500 45 550 75" id="datagrid1" visible="false" binddataset="ds_datagrid1" anchor="default">
  83. <Formats>
  84. <Format id="default">
  85. <Columns>
  86. <Column size="100"/>
  87. <Column size="100"/>
  88. <Column size="100"/>
  89. </Columns>
  90. <Rows>
  91. <Row size="24" band="head"/>
  92. <Row size="24"/>
  93. </Rows>
  94. <Band id="head">
  95. <Cell text="caption1"/>
  96. <Cell col="1" text="caption2"/>
  97. <Cell col="2" text="caption3"/>
  98. </Band>
  99. <Band id="body">
  100. <Cell text="bind:deptcd"/>
  101. <Cell col="1" text="bind:depthngnm"/>
  102. <Cell col="2" text="bind:deptengabbr"/>
  103. </Band>
  104. </Format>
  105. </Formats>
  106. </Grid>
  107. </Layout>
  108. </Layouts>
  109. </Div>
  110. <Button position="absolute 609 619 665 645" id="btn_cancel" class="btn4" text="종료" onclick="btn_cancel_onclick" anchor="right bottom"/>
  111. <Static id="cap_title" text="의사 면허번호 조회" class="tit_1" position="absolute 1 4 217 27"/>
  112. </Layout>
  113. </Layouts>
  114. <Objects>
  115. <Dataset id="ds_grd_diaggruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  116. <ColumnInfo>
  117. <Column id="orddeptnm" type="STRING"/>
  118. <Column id="jobposnm" type="STRING"/>
  119. <Column id="asspecordyn" type="STRING"/>
  120. <Column id="usernm" type="STRING"/>
  121. <Column id="licnsno" type="STRING"/>
  122. <Column id="fromdd" type="STRING"/>
  123. <Column id="todd" type="STRING"/>
  124. </ColumnInfo>
  125. </Dataset>
  126. <Dataset id="ds_init_cmb_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  127. <ColumnInfo>
  128. <Column id="depthngnm" type="STRING"/>
  129. <Column id="deptcd" type="STRING"/>
  130. </ColumnInfo>
  131. </Dataset>
  132. <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  133. <ColumnInfo>
  134. <Column id="deptcd" type="STRING"/>
  135. <Column id="depthngnm" type="STRING"/>
  136. <Column id="deptengabbr" type="STRING"/>
  137. </ColumnInfo>
  138. </Dataset>
  139. <Dataset id="ds_toddyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  140. <ColumnInfo>
  141. <Column id="lavel" type="STRING" size="256"/>
  142. <Column id="value" type="STRING" size="256"/>
  143. </ColumnInfo>
  144. <Rows>
  145. <Row>
  146. <Col id="lavel">포함</Col>
  147. <Col id="value">Y</Col>
  148. </Row>
  149. <Row>
  150. <Col id="lavel">미포함</Col>
  151. <Col id="value">N</Col>
  152. </Row>
  153. </Rows>
  154. </Dataset>
  155. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  156. <ColumnInfo>
  157. <Column id="orddeptcd" type="STRING" size="256"/>
  158. <Column id="orddrnm" type="STRING" size="256"/>
  159. <Column id="toddyn" type="STRING" size="256"/>
  160. </ColumnInfo>
  161. <Rows>
  162. <Row/>
  163. </Rows>
  164. </Dataset>
  165. </Objects>
  166. <Bind>
  167. <BindItem id="item1" compid="grp_biz.group1.rdo_toddyn" propid="value" datasetid="ds_send" columnid="toddyn"/>
  168. <BindItem id="item0" compid="grp_biz.group1.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
  169. <BindItem id="item2" compid="grp_biz.group1.ipt_orddrnm" propid="value" datasetid="ds_send" columnid="orddrnm"/>
  170. </Bind>
  171. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  172. * System Name :
  173. * Job Name :
  174. * Creator :
  175. * Make Date : 2016-05-24
  176. * Description :
  177. *---------------------------------------------------------------------------------------
  178. * Modify Date Modifier Modify Description
  179. *---------------------------------------------------------------------------------------
  180. * 2016-05-24 Live Converter TF->XP
  181. *
  182. *---------------------------------------------------------------------------------------
  183. ****************************************************************************************/
  184. include "com_commonxp::comm_main.xjs";
  185. include "pam_pamcomnxp::PAM001.xjs";
  186. function SPPIJ03600_oninit(obj:Form, e:InitEventInfo)
  187. {
  188. frmf_initForm(obj);
  189. }
  190. function SPPIJ03600_onload(obj:Form, e:LoadEventInfo)
  191. {
  192. grdf_initGrid(grp_biz.grd_diaggruplist);
  193. grdf_setRowTypeIcon(grp_biz.grd_diaggruplist, 0);
  194. fInitialize();
  195. }
  196. function fInitialize()
  197. {
  198. dsf_createDsRow("ds_temp", [{col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}
  199. , {col:"ordfildcd", type:"STRING", size:256 }
  200. , {col:"ordflag", type:"STRING", size:256 }]);
  201. var oParam = {};
  202. oParam.id = "TRPIJ00203";
  203. oParam.service = "bfjudgapp.InHospJudgTrgtMan";
  204. oParam.method = "reqGetDeptList";
  205. oParam.inds = "req=ds_temp";
  206. oParam.outds = "ds_init_cmb_orddeptcd=deptlist";
  207. oParam.async = false;
  208. //oParam.callback = "cf_TRPIJ00203";
  209. tranf_submit(oParam);
  210. ds_send.setColumn(0, "toddyn", "N");
  211. }
  212. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  213. {
  214. ds_send.setColumn(0, "orddeptcd", grp_biz.group1.cmb_orddeptcd.value);
  215. ds_send.setColumn(0, "orddrnm", grp_biz.group1.ipt_orddrnm.value);
  216. ds_send.setColumn(0, "toddyn", grp_biz.group1.rdo_toddyn.value);
  217. var oParam = {};
  218. oParam.id = "TRPIJ03600";
  219. oParam.service = "bfjudgapp.InHospJudg";
  220. oParam.method = "reqGetDrLicnsno";
  221. oParam.inds = "req=ds_send";
  222. oParam.outds = "ds_grd_diaggruplist=rslt";
  223. oParam.async = false;
  224. //oParam.callback = "cf_TRPIJ03600";
  225. tranf_submit(oParam);
  226. }
  227. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  228. {
  229. this.close();
  230. }
  231. function grp_biz_group1_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  232. {
  233. grp_biz_group1_btn_select_onclick();
  234. }
  235. function grp_biz_group1_ipt_orddrnm_onkeydown(obj:Edit, e:KeyEventInfo)
  236. {
  237. if(e.keycode == 13)
  238. {
  239. grp_biz_group1_btn_select_onclick();
  240. }
  241. }
  242. ]]></Script>
  243. </Form>
  244. </FDL>