SMMNE05600_응급당직전문의변경이력조회.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNE05600" position="absolute 0 0 780 850" titletext="응급실 당직 전문의 스케줄 변경 이력 조회" onload="SMMNE05600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" scrollbars="autoboth" position="absolute 0 16 745 790" style="align:center ;">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 1 42 723 45" style="" anchor="default"/>
  11. <Div id="group4" position="absolute 1 0 724 40" style="align: top;">
  12. <Layouts>
  13. <Layout>
  14. <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 7 723 39" style=""/>
  15. <Button id="btn_search" class="btn1" taborder="3" position="absolute 645 12 701 34" style="" text="조회" onclick="group3_group4_btn_search_onclick"/>
  16. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 638 9 641 34" style="" anchor="default"/>
  17. <Static id="caption4" class="search_name" position="absolute 5 14 56 31" style="" text="기 간:"/>
  18. <Static id="caption1" class="search_name" position="absolute 309 15 400 32" style="" text="진료과:"/>
  19. <Combo innerdataset="@ds_init_orddeptinfo" datacolumn="deptnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_orddeptcd" taborder="2" position="absolute 380 13 560 32" style="align:left ;" onitemchanged="group3_group4_cmb_orddeptcd_onitemchanged"/>
  20. <Calendar id="input1" class="input_search" position="absolute 79 14 166 33" style="align:center ;" anchor="default"/>
  21. <Calendar id="input2" class="input_search" position="absolute 188 14 274 33" style="align:center ;" anchor="default"/>
  22. <Static id="caption2" position="absolute 171 14 186 34" style="align:center ;" text="~"/>
  23. </Layout>
  24. </Layouts>
  25. </Div>
  26. <Grid id="grd_workerlist" binddataset="ds_main_workerinfo" position="absolute 1 48 724 755" style="">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="120"/>
  31. <Column size="50"/>
  32. <Column size="150"/>
  33. <Column size="100"/>
  34. <Column size="160"/>
  35. <Column size="100"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="24" band="head"/>
  39. <Row size="24"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell text="일자"/>
  43. <Cell col="1" text="요일"/>
  44. <Cell col="2" text="진료과"/>
  45. <Cell col="3" text="의사"/>
  46. <Cell col="4" text="수정일자"/>
  47. <Cell col="5" text="수정자"/>
  48. </Band>
  49. <Band id="body">
  50. <Cell displaytype="date" text="bind:workdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  51. <Cell col="1" text="bind:datenm"/>
  52. <Cell col="2" text="bind:orddeptnm"/>
  53. <Cell col="3" text="bind:drnm"/>
  54. <Cell col="4" text="bind:lastupdtdt"/>
  55. <Cell col="5" text="bind:lastupdtrnm"/>
  56. </Band>
  57. </Format>
  58. </Formats>
  59. </Grid>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. <Static id="caption6" class="tit_1" position="absolute 0 0 273 21" style="" text="응급실 당직 전문의 스케줄 변경이력 조회"/>
  64. </Layout>
  65. </Layouts>
  66. <Objects>
  67. <Dataset id="ds_main_drinfo_drinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  68. <ColumnInfo>
  69. <Column id="drnm" type="STRING" size="256"/>
  70. <Column id="drid" type="STRING" size="256"/>
  71. <Column id="deptcd" type="STRING" size="256"/>
  72. <Column id="phone" type="STRING" size="256"/>
  73. <Column id="bbtel" type="STRING" size="256"/>
  74. </ColumnInfo>
  75. <Rows>
  76. <Row>
  77. <Col id="drnm"/>
  78. <Col id="drid"/>
  79. <Col id="deptcd"/>
  80. <Col id="phone"/>
  81. <Col id="bbtel"/>
  82. </Row>
  83. </Rows>
  84. </Dataset>
  85. <Dataset id="ds_init_orddeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  86. <ColumnInfo/>
  87. </Dataset>
  88. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  89. <ColumnInfo>
  90. <Column id="sdate" type="STRING" size="256"/>
  91. <Column id="edate" type="STRING" size="256"/>
  92. <Column id="orddeptcd" type="STRING" size="256"/>
  93. </ColumnInfo>
  94. <Rows>
  95. <Row>
  96. <Col id="sdate"/>
  97. <Col id="edate"/>
  98. <Col id="orddeptcd"/>
  99. </Row>
  100. </Rows>
  101. </Dataset>
  102. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  103. <ColumnInfo/>
  104. </Dataset>
  105. <Dataset id="ds_main_grpmasterinfo_grpmasterinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  106. <ColumnInfo>
  107. <Column id="shownm" type="STRING" size="256"/>
  108. <Column id="grtype" type="STRING" size="256"/>
  109. <Column id="staffid" type="STRING" size="256"/>
  110. <Column id="orddeptcd" type="STRING" size="256"/>
  111. </ColumnInfo>
  112. <Rows>
  113. <Row>
  114. <Col id="shownm"/>
  115. <Col id="grtype"/>
  116. <Col id="staffid"/>
  117. <Col id="orddeptcd"/>
  118. </Row>
  119. </Rows>
  120. </Dataset>
  121. <Dataset id="ds_main_drinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  122. <ColumnInfo/>
  123. </Dataset>
  124. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  125. <ColumnInfo/>
  126. </Dataset>
  127. <Dataset id="ds_main_drdetlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  128. <ColumnInfo>
  129. <Column id="drnm" type="STRING" size="256"/>
  130. <Column id="drid" type="STRING" size="256"/>
  131. <Column id="deptcd" type="STRING" size="256"/>
  132. <Column id="phone" type="STRING" size="256"/>
  133. <Column id="bbtel" type="STRING" size="256"/>
  134. </ColumnInfo>
  135. <Rows>
  136. <Row>
  137. <Col id="drnm"/>
  138. <Col id="drid"/>
  139. <Col id="deptcd"/>
  140. <Col id="phone"/>
  141. <Col id="bbtel"/>
  142. </Row>
  143. </Rows>
  144. </Dataset>
  145. <Dataset id="ds_main_workerinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  146. <ColumnInfo>
  147. <Column id="workerinfolist" type="STRING" size="256"/>
  148. </ColumnInfo>
  149. <Rows>
  150. <Row>
  151. <Col id="workerinfolist"/>
  152. </Row>
  153. </Rows>
  154. </Dataset>
  155. <Dataset id="ds_main_grpmasterinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  156. <ColumnInfo/>
  157. </Dataset>
  158. <Dataset id="ds_main_titleinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  159. <ColumnInfo>
  160. <Column id="worktitle" type="STRING" size="256"/>
  161. <Column id="grpmtitle" type="STRING" size="256"/>
  162. <Column id="staffnm" type="STRING" size="256"/>
  163. <Column id="staffid" type="STRING" size="256"/>
  164. <Column id="fromtm" type="STRING" size="256"/>
  165. <Column id="totm" type="STRING" size="256"/>
  166. </ColumnInfo>
  167. <Rows>
  168. <Row>
  169. <Col id="worktitle"/>
  170. <Col id="grpmtitle"/>
  171. <Col id="staffnm"/>
  172. <Col id="staffid"/>
  173. <Col id="fromtm"/>
  174. <Col id="totm"/>
  175. </Row>
  176. </Rows>
  177. </Dataset>
  178. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  179. <ColumnInfo>
  180. <Column id="send" type="STRING" size="256"/>
  181. </ColumnInfo>
  182. </Dataset>
  183. </Objects>
  184. <Bind>
  185. <BindItem id="item0" compid="group3.group4.cmb_orddeptcd" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
  186. <BindItem id="item1" compid="group3.group4.input1" propid="value" datasetid="ds_cond" columnid="sdate"/>
  187. <BindItem id="item2" compid="group3.group4.input2" propid="value" datasetid="ds_cond" columnid="edate"/>
  188. </Bind>
  189. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  190. * System Name :
  191. * Job Name :
  192. * Creator :
  193. * Make Date : 2015-11-13
  194. * Description :
  195. *---------------------------------------------------------------------------------------
  196. * Modify Date Modifier Modify Description
  197. *---------------------------------------------------------------------------------------
  198. * 2015-11-13 Live Converter TF->XP
  199. *
  200. *---------------------------------------------------------------------------------------
  201. ****************************************************************************************/
  202. include "com_commonxp::comm_main.xjs";
  203. include "emr_carecomxp::CareCom.xjs";
  204. var col = 0;
  205. var row = 0;
  206. function SMMNE05600_onload(obj:Form, e:LoadEventInfo) {
  207. frmf_initForm(obj);
  208. //grdf_initGrid(grd_XXX);
  209. //grdf_setGridSort(grd_XXX);
  210. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  211. var curdt = utlf_getCurrentDate().substring(0, 8);
  212. dsf_makeValue( ds_cond, "sdate", "string", curdt);
  213. dsf_makeValue( ds_cond, "edate", "string", curdt);
  214. var curym = utlf_getCurrentDate().substring(0, 6);
  215. ds_send.clearData();
  216. dsf_makeValue( ds_send, "srchym", "string", curym);
  217. dsf_makeValue( ds_send, "gbn", "string", 'E');
  218. // 당직 기준 진료과 가져오기
  219. // submit("TRMNE05401");
  220. var oParam = {};
  221. oParam.id = "TRMNE05401";
  222. oParam.service = "ercareapp.ERPatMngt";
  223. oParam.method = "reqGetErProfscheDeptInfo";
  224. oParam.inds = "req=ds_send";
  225. oParam.outds = "ds_init_orddeptinfo=orddeptinfolist";
  226. oParam.async = false;
  227. //oParam.callback = "cf_TRMNE05401";
  228. tranf_submit(oParam);
  229. /*
  230. function cf_TRMNE05401(sSvcId, nErrorCode, sErrorMsg) {
  231. if(nErrorCode < 0) return;
  232. }
  233. function cf_TRMNE05401(sSvcId, nErrorCode, sErrorMsg) {
  234. arErrorCode.push(sSvcId, nErrorCode);
  235. }
  236. arErrorCode.pop("TRMNE05401") > -1
  237. arErrorCode.pop("TRMNE05401") < 0
  238. */
  239. }
  240. function group3_group4_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  241. //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
  242. var orddeptcd = ds_cond.getColumn(0, "orddeptcd");
  243. if(orddeptcd == null || orddeptcd == ''){
  244. sysf_messageBox("선택된 진료과가 없습니다.", "E999");
  245. return;
  246. }
  247. ds_send.clearData();
  248. dsf_makeValue( ds_send, "orddeptcd", "string", ds_cond.getColumn(0, "orddeptcd"));
  249. dsf_makeValue( ds_send, "sdate", "string", ds_cond.getColumn(0, "sdate"));
  250. dsf_makeValue( ds_send, "edate", "string", ds_cond.getColumn(0, "edate"));
  251. dsf_makeValue( ds_send, "gbn", "string", 'E');
  252. // submit("TRMNE05601");
  253. var oParam = {};
  254. oParam.id = "TRMNE05601";
  255. oParam.service = "ercareapp.ERPatMngt";
  256. oParam.method = "reqGetErProfscheLogList";
  257. oParam.inds = "req=ds_send";
  258. oParam.outds = "ds_main_workerinfo=workerinfolist";
  259. oParam.async = false;
  260. //oParam.callback = "cf_TRMNE05601";
  261. tranf_submit(oParam);
  262. // function cf_TRMNE05601(sSvcId, nErrorCode, sErrorMsg) {
  263. // if(nErrorCode < 0) return;
  264. // }
  265. }
  266. function group3_group4_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  267. group3.group4.btn_search.click();
  268. }
  269. ]]></Script>
  270. </Form>
  271. </FDL>