SPMMO33600_OnCall수당지급내역집계.xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO33600" position="absolute 0 0 1200 816" titletext="On Call 관리 (집계)" oninit="SPMMO33600_oninit" onload="SPMMO33600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="On Call 수당지급 내역" position="absolute 0 0 207 24" id="caption6" class="tit_1"/>
  8. <Div id="group2" taborder="1" position="absolute 0 24 1195 64" class="div_SA" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption3" text="조회월 :" class="search_name" position="absolute 10 12 90 29" anchor="default"/>
  12. <Calendar id="input3" taborder="1" position="absolute 80 10 175 29" mask="yyyy-mm" anchor="default" autoselect="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" style="align:center middle;" onchanged="group2_input3_onchanged"/>
  13. <Static id="caption5" text="구분 :" class="search_name" position="absolute 195 12 256 29" anchor="default"/>
  14. <Radio id="radio4" taborder="2" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 255 11 627 31" anchor="default">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">-</Col>
  23. <Col id="datacolumn">전체</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">E</Col>
  27. <Col id="datacolumn">응급</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">S</Col>
  31. <Col id="datacolumn">일반</Col>
  32. </Row>
  33. <Row>
  34. <Col id="codecolumn">T</Col>
  35. <Col id="datacolumn">외상</Col>
  36. </Row>
  37. <Row>
  38. <Col id="codecolumn">A</Col>
  39. <Col id="datacolumn">외상제외 전체보기</Col>
  40. </Row>
  41. </Rows>
  42. </Dataset>
  43. </Radio>
  44. <Shape id="line2" linetype="vertical" position="absolute 1115 10 1121 32" anchor="top right"/>
  45. <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 1130 10 1186 32" anchor="top right" onclick="group2_button1_onclick"/>
  46. </Layout>
  47. </Layouts>
  48. </Div>
  49. <Static id="caption15" text="On Call 수당지급 내역" class="tit_2" position="absolute 0 77 188 99"/>
  50. <Shape id="line9" linetype="horizontal" class="line_10" position="absolute 0 93 1195 99" anchor="left top right"/>
  51. <Grid id="grd_oncalllist" taborder="2" binddataset="ds_main_oncalllist_info" useinputpanel="false" position="absolute 0 98 1195 807" autoenter="select" cellsizingtype="col" anchor="all" onheadclick="grd_oncalllist_onheadclick">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="50"/>
  56. <Column size="0"/>
  57. <Column size="75"/>
  58. <Column size="55"/>
  59. <Column size="70"/>
  60. <Column size="30"/>
  61. <Column size="30"/>
  62. <Column size="30"/>
  63. <Column size="30"/>
  64. <Column size="30"/>
  65. <Column size="30"/>
  66. <Column size="30"/>
  67. <Column size="30"/>
  68. <Column size="30"/>
  69. <Column size="30"/>
  70. <Column size="30"/>
  71. <Column size="30"/>
  72. <Column size="30"/>
  73. <Column size="30"/>
  74. <Column size="30"/>
  75. <Column size="30"/>
  76. <Column size="30"/>
  77. <Column size="30"/>
  78. <Column size="30"/>
  79. <Column size="30"/>
  80. <Column size="30"/>
  81. <Column size="30"/>
  82. <Column size="30"/>
  83. <Column size="30"/>
  84. <Column size="30"/>
  85. <Column size="30"/>
  86. <Column size="30"/>
  87. <Column size="30"/>
  88. <Column size="30"/>
  89. <Column size="30"/>
  90. <Column size="30"/>
  91. </Columns>
  92. <Rows>
  93. <Row size="24" band="head"/>
  94. <Row size="24" band="head"/>
  95. <Row size="24"/>
  96. </Rows>
  97. <Band id="head">
  98. <Cell rowspan="2" text="구분" taborder="undefined"/>
  99. <Cell col="1" rowspan="2" text="calldeptcd" taborder="undefined"/>
  100. <Cell col="2" rowspan="2" text="진료과" taborder="undefined"/>
  101. <Cell col="3" rowspan="2" text="성명" taborder="undefined"/>
  102. <Cell col="4" rowspan="2" text="사번" taborder="undefined"/>
  103. <Cell col="5" text="01"/>
  104. <Cell col="6" text="02"/>
  105. <Cell col="7" text="03"/>
  106. <Cell col="8" text="04"/>
  107. <Cell col="9" text="05"/>
  108. <Cell col="10" text="06"/>
  109. <Cell col="11" text="07"/>
  110. <Cell col="12" text="08"/>
  111. <Cell col="13" text="09"/>
  112. <Cell col="14" text="10"/>
  113. <Cell col="15" text="11"/>
  114. <Cell col="16" text="12"/>
  115. <Cell col="17" text="13"/>
  116. <Cell col="18" text="14"/>
  117. <Cell col="19" text="15"/>
  118. <Cell col="20" text="16"/>
  119. <Cell col="21" text="17"/>
  120. <Cell col="22" text="18"/>
  121. <Cell col="23" text="19"/>
  122. <Cell col="24" text="20"/>
  123. <Cell col="25" text="21"/>
  124. <Cell col="26" text="22"/>
  125. <Cell col="27" text="23"/>
  126. <Cell col="28" text="24"/>
  127. <Cell col="29" text="25"/>
  128. <Cell col="30" text="26"/>
  129. <Cell col="31" text="27"/>
  130. <Cell col="32" text="28"/>
  131. <Cell col="33" text="29"/>
  132. <Cell col="34" text="30"/>
  133. <Cell col="35" text="31"/>
  134. <Cell row="1" col="5" taborder="undefined"/>
  135. <Cell row="1" col="6" taborder="undefined"/>
  136. <Cell row="1" col="7" taborder="undefined"/>
  137. <Cell row="1" col="8" taborder="undefined"/>
  138. <Cell row="1" col="9" taborder="undefined"/>
  139. <Cell row="1" col="10" taborder="undefined"/>
  140. <Cell row="1" col="11" taborder="undefined"/>
  141. <Cell row="1" col="12" taborder="undefined"/>
  142. <Cell row="1" col="13" taborder="undefined"/>
  143. <Cell row="1" col="14" taborder="undefined"/>
  144. <Cell row="1" col="15" taborder="undefined"/>
  145. <Cell row="1" col="16" taborder="undefined"/>
  146. <Cell row="1" col="17" taborder="undefined"/>
  147. <Cell row="1" col="18" taborder="undefined"/>
  148. <Cell row="1" col="19" taborder="undefined"/>
  149. <Cell row="1" col="20" taborder="undefined"/>
  150. <Cell row="1" col="21" taborder="undefined"/>
  151. <Cell row="1" col="22" taborder="undefined"/>
  152. <Cell row="1" col="23" taborder="undefined"/>
  153. <Cell row="1" col="24" taborder="undefined"/>
  154. <Cell row="1" col="25" taborder="undefined"/>
  155. <Cell row="1" col="26" taborder="undefined"/>
  156. <Cell row="1" col="27" taborder="undefined"/>
  157. <Cell row="1" col="28" taborder="undefined"/>
  158. <Cell row="1" col="29" taborder="undefined"/>
  159. <Cell row="1" col="30" taborder="undefined"/>
  160. <Cell row="1" col="31" taborder="undefined"/>
  161. <Cell row="1" col="32" taborder="undefined"/>
  162. <Cell row="1" col="33" taborder="undefined"/>
  163. <Cell row="1" col="34" taborder="undefined"/>
  164. <Cell row="1" col="35" taborder="undefined"/>
  165. </Band>
  166. <Band id="body">
  167. <Cell displaytype="combo" edittype="combo" style="align:center middle;" text="bind:patflagcd" combodataset="ds_cmb_patflagcd" combocodecol="value" combodatacol="label"/>
  168. <Cell col="1" text="bind:calldeptcd"/>
  169. <Cell col="2" style="align:center top;padding:3 2 3 2;" text="bind:calldeptnm" wordwrap="word"/>
  170. <Cell col="3" text="bind:calldrnm"/>
  171. <Cell col="4" text="bind:calldrid"/>
  172. <Cell col="5" text="bind:col01"/>
  173. <Cell col="6" text="bind:col02"/>
  174. <Cell col="7" text="bind:col03"/>
  175. <Cell col="8" text="bind:col04"/>
  176. <Cell col="9" text="bind:col05"/>
  177. <Cell col="10" text="bind:col06"/>
  178. <Cell col="11" text="bind:col07"/>
  179. <Cell col="12" text="bind:col08"/>
  180. <Cell col="13" text="bind:col09"/>
  181. <Cell col="14" text="bind:col10"/>
  182. <Cell col="15" text="bind:col11"/>
  183. <Cell col="16" text="bind:col12"/>
  184. <Cell col="17" text="bind:col13"/>
  185. <Cell col="18" text="bind:col14"/>
  186. <Cell col="19" text="bind:col15"/>
  187. <Cell col="20" text="bind:col16"/>
  188. <Cell col="21" text="bind:col17"/>
  189. <Cell col="22" text="bind:col18"/>
  190. <Cell col="23" text="bind:col19"/>
  191. <Cell col="24" text="bind:col20"/>
  192. <Cell col="25" text="bind:col21"/>
  193. <Cell col="26" text="bind:col22"/>
  194. <Cell col="27" text="bind:col23"/>
  195. <Cell col="28" text="bind:col24"/>
  196. <Cell col="29" text="bind:col25"/>
  197. <Cell col="30" text="bind:col26"/>
  198. <Cell col="31" text="bind:col27"/>
  199. <Cell col="32" text="bind:col28"/>
  200. <Cell col="33" text="bind:col29"/>
  201. <Cell col="34" text="bind:col30"/>
  202. <Cell col="35" text="bind:col31"/>
  203. </Band>
  204. </Format>
  205. </Formats>
  206. </Grid>
  207. <Button id="button3" taborder="3" text="집계" class="btn5" position="absolute 1050 74 1093 93" anchor="top right" onclick="button3_onclick"/>
  208. <Button id="button2" taborder="4" text="출력" class="btn6" position="absolute 1094 74 1144 93" anchor="top right" onclick="button2_onclick"/>
  209. <Button id="button4" taborder="5" text="엑셀" class="btn7" position="absolute 1145 74 1195 93" anchor="top right" onclick="button4_onclick"/>
  210. </Layout>
  211. </Layouts>
  212. <Objects>
  213. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  214. <ColumnInfo>
  215. <Column id="condflag" type="STRING" size="256"/>
  216. <Column id="basemm" type="STRING" size="256"/>
  217. <Column id="fromdd" type="STRING" size="256"/>
  218. <Column id="todd" type="STRING" size="256"/>
  219. <Column id="patflagcd" type="STRING" size="256"/>
  220. </ColumnInfo>
  221. <Rows>
  222. <Row>
  223. <Col id="condflag"/>
  224. <Col id="basemm"/>
  225. <Col id="fromdd"/>
  226. <Col id="todd"/>
  227. <Col id="patflagcd">-</Col>
  228. </Row>
  229. </Rows>
  230. </Dataset>
  231. <Dataset id="ds_main_oncalllist_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  232. <Dataset id="ds_cmb_patflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  233. <ColumnInfo>
  234. <Column id="label" type="STRING" size="256"/>
  235. <Column id="value" type="STRING" size="256"/>
  236. </ColumnInfo>
  237. <Rows>
  238. <Row>
  239. <Col id="label">응급</Col>
  240. <Col id="value">E</Col>
  241. </Row>
  242. <Row>
  243. <Col id="label">일반</Col>
  244. <Col id="value">S</Col>
  245. </Row>
  246. <Row>
  247. <Col id="label">외상</Col>
  248. <Col id="value">T</Col>
  249. </Row>
  250. <Row>
  251. <Col id="label">외상제외 전체</Col>
  252. <Col id="value">A</Col>
  253. </Row>
  254. </Rows>
  255. </Dataset>
  256. <Dataset id="ds_main_oncalllist_month" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  257. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  258. <ColumnInfo>
  259. <Column id="basemm" type="STRING" size="256"/>
  260. </ColumnInfo>
  261. <Rows>
  262. <Row/>
  263. </Rows>
  264. </Dataset>
  265. </Objects>
  266. <Bind>
  267. <BindItem id="item0" compid="group2.input3" propid="value" datasetid="ds_main_cond" columnid="basemm"/>
  268. <BindItem id="item1" compid="group2.radio4" propid="value" datasetid="ds_main_cond" columnid="patflagcd"/>
  269. </Bind>
  270. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  271. * System Name :
  272. * Job Name :
  273. * Creator :
  274. * Make Date : 2017-09-07
  275. * Description :
  276. *---------------------------------------------------------------------------------------
  277. * Modify Date Modifier Modify Description
  278. *---------------------------------------------------------------------------------------
  279. * 2017-09-07 Live Converter TF->XP
  280. *
  281. *---------------------------------------------------------------------------------------
  282. ****************************************************************************************/
  283. include "com_commonxp::comm_main.xjs";
  284. include "emr_prcpmngtxp::SPMMO33200.xjs";
  285. function SPMMO33600_oninit(obj:Form, e:InitEventInfo)
  286. {
  287. frmf_initForm(obj);
  288. }
  289. function SPMMO33600_onload(obj:Form, e:LoadEventInfo)
  290. {
  291. grdf_initGrid(grd_oncalllist);
  292. fInitOnCall("S");
  293. }
  294. function group2_input3_onchanged(obj:Calendar, e:ChangeEventInfo)
  295. {
  296. ds_main_cond.setColumn(0, "basemm", String(obj.value).substr(0,6));
  297. }
  298. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  299. {
  300. fGetSumOnCallList();
  301. }
  302. function button3_onclick(obj:Button, e:ClickEventInfo)
  303. {
  304. fSaveSumOnCall();
  305. }
  306. function button2_onclick(obj:Button, e:ClickEventInfo)
  307. {
  308. var basemm = ds_main_cond.getColumn(0, "basemm");
  309. ds_temp.setColumn(0, "basemm", basemm.substring(0, 4) + "/" + basemm.substring(5, 6) + " 수당지급내역");
  310. var objDOM = rptf_createDOM();
  311. rptf_setNodeListToDOM(objDOM, "/root/main/cond", ds_main_cond);
  312. rptf_setNodeListToDOM(objDOM, "/root/main/oncalllist/info", ds_main_oncalllist_info);
  313. rptf_setNodeListToDOM(objDOM, "/root/main/oncalllist/month", ds_main_oncalllist_month);
  314. var objParam = new Object();
  315. objParam.xml_data_XML1 = objDOM.documentElement.source;
  316. var option = "";
  317. rptf_exeReportPreview30(["RPMMO33600"],[objParam], option);
  318. }
  319. function button4_onclick(obj:Button, e:ClickEventInfo)
  320. {
  321. grdf_exportExcel(grd_oncalllist, "On Call 수당 지급 내역", "On Call 수당 지급 내역", "true", "", "");
  322. }
  323. ]]></Script>
  324. </Form>
  325. </FDL>