SMMNE09002_진료과별당직변경이력조회.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNE09002" position="absolute 0 0 977 807" titletext="당직 스케줄 변경 이력 조회" oninit="SMMNE09002_oninit" onload="SMMNE09002_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="당직 스케줄 변경이력 조회" position="absolute 0 0 273 25" id="caption6" class="tit_1"/>
  8. <Grid position="absolute 0 81 970 801" id="grd_workerlist" binddataset="ds_main_workerinfo_workerinfolist" autoenter="select" autofittype="col" cellsizingtype="col">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="24"/>
  13. <Column size="145"/>
  14. <Column size="70"/>
  15. <Column size="45"/>
  16. <Column size="45"/>
  17. <Column size="120"/>
  18. <Column size="65"/>
  19. <Column size="120"/>
  20. <Column size="65"/>
  21. <Column size="65"/>
  22. <Column size="125"/>
  23. <Column size="65"/>
  24. </Columns>
  25. <Rows>
  26. <Row size="24" band="head"/>
  27. <Row size="24" band="head"/>
  28. <Row size="24"/>
  29. </Rows>
  30. <Band id="head">
  31. <Cell rowspan="2" taborder="undefined"/>
  32. <Cell col="1" rowspan="2" text="위치" taborder="undefined"/>
  33. <Cell col="2" rowspan="2" text="일자" taborder="undefined"/>
  34. <Cell col="3" rowspan="2" text="요일" taborder="undefined"/>
  35. <Cell col="4" rowspan="2" text="duty" taborder="undefined"/>
  36. <Cell col="5" colspan="2" text="변경정보" taborder="undefined"/>
  37. <Cell col="7" colspan="2" text="과거정보" taborder="undefined"/>
  38. <Cell col="9" rowspan="2" text="상태" taborder="undefined"/>
  39. <Cell col="10" rowspan="2" text="수정일자" taborder="undefined"/>
  40. <Cell col="11" rowspan="2" text="수정자" taborder="undefined"/>
  41. <Cell row="1" col="5" text="진료과"/>
  42. <Cell row="1" col="6" text="의사"/>
  43. <Cell row="1" col="7" text="진료과"/>
  44. <Cell row="1" col="8" text="의사"/>
  45. </Band>
  46. <Band id="body">
  47. <Cell celltype="head"/>
  48. <Cell col="1" text="bind:placenm" editautoselect="true" suppress="1" suppressalign="middle,over"/>
  49. <Cell col="2" displaytype="date" text="bind:workdd" editautoselect="true" suppress="2" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
  50. <Cell col="3" text="bind:datenm" editautoselect="true" suppress="3" suppressalign="middle,over"/>
  51. <Cell col="4" text="bind:duty" editautoselect="true" suppress="4" suppressalign="middle,over"/>
  52. <Cell col="5" text="bind:orddeptnm" editautoselect="true" suppress="5" suppressalign="middle,over"/>
  53. <Cell col="6" text="bind:drnm" editautoselect="true" suppress="6" suppressalign="middle,over"/>
  54. <Cell col="7" text="bind:preorddeptnm" editautoselect="true" suppress="7" suppressalign="middle,over"/>
  55. <Cell col="8" text="bind:predrnm" editautoselect="true" suppress="8" suppressalign="middle,over"/>
  56. <Cell col="9" text="bind:stats" editautoselect="true" suppress="9" suppressalign="middle,over"/>
  57. <Cell col="10" text="bind:updtdt" editautoselect="true"/>
  58. <Cell col="11" text="bind:updtrnm" editautoselect="true"/>
  59. </Band>
  60. </Format>
  61. </Formats>
  62. </Grid>
  63. <Div position="absolute 0 25 970 65" align="align:center top;" id="group4" class="div_SA">
  64. <Layouts>
  65. <Layout>
  66. <Button position="absolute 892 10 948 32" id="btn_search" class="btn1" taborder="3" text="조회" anchor="default" onclick="group4_btn_search_onclick"/>
  67. <Shape position="absolute 882 9 888 34" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  68. <Static text="기 간:" position="absolute 5 13 96 30" id="caption4" class="search_name" anchor="default"/>
  69. <Calendar position="absolute 66 12 169 31" align="align:center middle;" id="input1" class="input_search" anchor="default" autoselect="true" autoskip="true"/>
  70. <Calendar position="absolute 187 12 290 31" align="align:center middle;" id="input2" class="input_search" anchor="default" autoselect="true" autoskip="true"/>
  71. <Static text="~" position="absolute 171 13 186 33" align="align:center middle;" id="caption2" anchor="default"/>
  72. <Combo position="absolute 395 12 545 31" align="align:left middle;" id="cmb_icu" taborder="2" innerdataset="@ds_init_icuinfo_iculist" datacolumn="icunm" codecolumn="icucd" anchor="default" onitemchanged="group4_cmb_icu_onitemchanged"/>
  73. <Static text="중환자실:" position="absolute 305 13 387 30" id="caption1" class="search_name" anchor="default"/>
  74. </Layout>
  75. </Layouts>
  76. </Div>
  77. <Shape position="absolute 0 76 969 82" linetype="horizontal" id="line2" class="line_10"/>
  78. </Layout>
  79. </Layouts>
  80. <Objects>
  81. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  82. <ColumnInfo>
  83. <Column id="sdate" type="STRING" size="256"/>
  84. <Column id="edate" type="STRING" size="256"/>
  85. <Column id="icucd" type="STRING" size="256"/>
  86. <Column id="gbn" type="STRING" size="256"/>
  87. </ColumnInfo>
  88. <Rows>
  89. <Row>
  90. <Col id="sdate"/>
  91. <Col id="edate"/>
  92. <Col id="icucd"/>
  93. <Col id="gbn">I</Col>
  94. </Row>
  95. </Rows>
  96. </Dataset>
  97. <Dataset id="ds_main_workerinfo_workerinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  98. <ColumnInfo>
  99. <Column id="stats" type="STRING" size="256" sumtext="상태"/>
  100. <Column id="gbn" type="STRING" size="256" sumtext="구분"/>
  101. <Column id="workdd" type="STRING" size="256" sumtext="당직일자"/>
  102. <Column id="datenm" type="STRING" size="256" sumtext="요일"/>
  103. <Column id="placecd" type="STRING" size="256" sumtext="당직장소"/>
  104. <Column id="placenm" type="STRING" size="256" sumtext="당직장소"/>
  105. <Column id="duty" type="STRING" size="256" sumtext="duty"/>
  106. <Column id="orddeptcd" type="STRING" size="256" sumtext="당직진료과"/>
  107. <Column id="orddeptnm" type="STRING" size="256" sumtext="당직진료과"/>
  108. <Column id="drid" type="STRING" size="256" sumtext="당직의"/>
  109. <Column id="drnm" type="STRING" size="256" sumtext="당직의"/>
  110. <Column id="preorddeptcd" type="STRING" size="256" sumtext="당직진료과"/>
  111. <Column id="preorddeptnm" type="STRING" size="256" sumtext="당직진료과"/>
  112. <Column id="predrid" type="STRING" size="256" sumtext="당직의"/>
  113. <Column id="predrnm" type="STRING" size="256" sumtext="당직의"/>
  114. <Column id="updtdt" type="STRING" size="256" sumtext="수정일자"/>
  115. <Column id="updtrnm" type="STRING" size="256" sumtext="수정자"/>
  116. </ColumnInfo>
  117. </Dataset>
  118. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  119. <Dataset id="ds_init_icuinfo_iculist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  120. <ColumnInfo>
  121. <Column id="icucd" type="STRING" size="256" sumtext="icucd"/>
  122. <Column id="icunm" type="STRING" size="256" sumtext="icunm"/>
  123. </ColumnInfo>
  124. </Dataset>
  125. </Objects>
  126. <Bind>
  127. <BindItem id="item0" compid="group4.input1" propid="value" datasetid="ds_cond" columnid="sdate"/>
  128. <BindItem id="item1" compid="group4.input2" propid="value" datasetid="ds_cond" columnid="edate"/>
  129. <BindItem id="item2" compid="group4.cmb_icu" propid="value" datasetid="ds_cond" columnid="icucd"/>
  130. </Bind>
  131. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  132. * System Name :
  133. * Job Name :
  134. * Creator :
  135. * Make Date : 2016-10-10
  136. * Description :
  137. *---------------------------------------------------------------------------------------
  138. * Modify Date Modifier Modify Description
  139. *---------------------------------------------------------------------------------------
  140. * 2016-10-10 Live Converter TF->XP
  141. *
  142. *---------------------------------------------------------------------------------------
  143. ****************************************************************************************/
  144. include "com_commonxp::comm_main.xjs";
  145. function SMMNE09002_oninit(obj:Form, e:InitEventInfo)
  146. {
  147. frmf_initForm(obj);
  148. }
  149. function SMMNE09002_onload(obj:Form, e:LoadEventInfo)
  150. {
  151. grdf_initGrid(grd_workerlist);
  152. grdf_setRowTypeIcon(grd_workerlist, 0);
  153. var curdt = utlf_getCurrentDate().toString().substr(0, 8);
  154. ds_cond.setColumn(0, "sdate", curdt);
  155. ds_cond.setColumn(0, "edate", curdt);
  156. var curym = utlf_getCurrentDate().toString().substr(0, 6);
  157. dsf_makeValue(ds_send, "srchym", "string", curym, 0);
  158. var oParam = {};
  159. oParam.id = "TRMNE09003";
  160. oParam.service = "ercareapp.ERPatMngt";
  161. oParam.method = "reqGetDrScheIcuList";
  162. oParam.inds = "req=ds_send";
  163. oParam.outds = "ds_init_icuinfo_iculist=iculist ds_=moddeptlist";
  164. oParam.async = false;
  165. //oParam.callback = "cf_TRMNE09003";
  166. tranf_submit(oParam);
  167. }
  168. function group4_cmb_icu_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  169. {
  170. group4.btn_search.click();
  171. }
  172. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  173. {
  174. ds_send.clearData();
  175. dsf_makeValue(ds_send, "icucd", "string", ds_cond.getColumn(0, "icucd").toString().substr(0,10), 0);
  176. dsf_makeValue(ds_send, "csflag", "string", ds_cond.getColumn(0, "icucd").toString().substr(10,1), 0);
  177. dsf_makeValue(ds_send, "gbn", "string", ds_cond.getColumn(0, "gbn"), 0);
  178. dsf_makeValue(ds_send, "sdate", "string", ds_cond.getColumn(0, "sdate"), 0);
  179. dsf_makeValue(ds_send, "edate", "string", ds_cond.getColumn(0, "edate"), 0);
  180. var oParam = {};
  181. oParam.id = "TRMNE09021";
  182. oParam.service = "ercareapp.ERPatMngt";
  183. oParam.method = "reqGetDrScheLog2";
  184. oParam.inds = "req=ds_send";
  185. oParam.outds = "ds_main_workerinfo_workerinfolist=workerinfolist";
  186. oParam.async = false;
  187. //oParam.callback = "cf_TRMNE09021";
  188. tranf_submit(oParam);
  189. }
  190. ]]></Script>
  191. </Form>
  192. </FDL>