SMLPS01200_자문증례.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPS01200" position="absolute 0 0 1256 805" titletext="자문증례" oninit="SMLPS01200_oninit" onload="SMLPS01200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="button13" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1102 69 1194 91" onclick="button13_onclick" anchor="top right"/>
  8. <Static id="caption4" text="자문증례 목록" class="tit_2" position="absolute 4 89 112 103" anchor="left top"/>
  9. <Grid id="grd_cnstidxcaselist" class="datagrid2" taborder="2" binddataset="ds_grd_cnstidxcaselist" useinputpanel="false" position="absolute 0 109 1194 762" anchor="all" autofittype="col">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="40"/>
  14. <Column size="128"/>
  15. <Column size="32"/>
  16. <Column size="32"/>
  17. <Column size="32"/>
  18. <Column size="32"/>
  19. <Column size="32"/>
  20. <Column size="32"/>
  21. <Column size="32"/>
  22. <Column size="32"/>
  23. <Column size="32"/>
  24. <Column size="32"/>
  25. <Column size="32"/>
  26. <Column size="32"/>
  27. <Column size="32"/>
  28. <Column size="32"/>
  29. <Column size="32"/>
  30. <Column size="32"/>
  31. <Column size="32"/>
  32. <Column size="32"/>
  33. <Column size="32"/>
  34. <Column size="32"/>
  35. <Column size="32"/>
  36. <Column size="32"/>
  37. <Column size="32"/>
  38. <Column size="32"/>
  39. <Column size="32"/>
  40. <Column size="32"/>
  41. <Column size="32"/>
  42. <Column size="32"/>
  43. <Column size="32"/>
  44. <Column size="32"/>
  45. <Column size="32"/>
  46. <Column size="32"/>
  47. </Columns>
  48. <Rows>
  49. <Row size="24" band="head"/>
  50. <Row size="24"/>
  51. </Rows>
  52. <Band id="head">
  53. <Cell/>
  54. <Cell col="1" text="명칭"/>
  55. <Cell col="2" text="01"/>
  56. <Cell col="3" text="02"/>
  57. <Cell col="4" text="03"/>
  58. <Cell col="5" text="04"/>
  59. <Cell col="6" text="05"/>
  60. <Cell col="7" text="06"/>
  61. <Cell col="8" text="07"/>
  62. <Cell col="9" text="08"/>
  63. <Cell col="10" text="09"/>
  64. <Cell col="11" text="10"/>
  65. <Cell col="12" text="11"/>
  66. <Cell col="13" text="12"/>
  67. <Cell col="14" text="13"/>
  68. <Cell col="15" text="14"/>
  69. <Cell col="16" text="15"/>
  70. <Cell col="17" text="16"/>
  71. <Cell col="18" text="17"/>
  72. <Cell col="19" text="18"/>
  73. <Cell col="20" text="19"/>
  74. <Cell col="21" text="20"/>
  75. <Cell col="22" text="21"/>
  76. <Cell col="23" text="22"/>
  77. <Cell col="24" text="23"/>
  78. <Cell col="25" text="24"/>
  79. <Cell col="26" text="25"/>
  80. <Cell col="27" text="26"/>
  81. <Cell col="28" text="27"/>
  82. <Cell col="29" text="28"/>
  83. <Cell col="30" text="29"/>
  84. <Cell col="31" text="30"/>
  85. <Cell col="32" text="31"/>
  86. <Cell col="33" text="총계"/>
  87. </Band>
  88. <Band id="body">
  89. <Cell text="expr:currow +1"/>
  90. <Cell col="1" text="bind:reptnm"/>
  91. <Cell col="2" class="text_right" text="bind:day01"/>
  92. <Cell col="3" class="text_right" text="bind:day02"/>
  93. <Cell col="4" class="text_right" text="bind:day03"/>
  94. <Cell col="5" class="text_right" text="bind:day04"/>
  95. <Cell col="6" class="text_right" text="bind:day05"/>
  96. <Cell col="7" class="text_right" text="bind:day06"/>
  97. <Cell col="8" class="text_right" text="bind:day07"/>
  98. <Cell col="9" class="text_right" text="bind:day08"/>
  99. <Cell col="10" class="text_right" text="bind:day09"/>
  100. <Cell col="11" class="text_right" text="bind:day10"/>
  101. <Cell col="12" class="text_right" text="bind:day11"/>
  102. <Cell col="13" class="text_right" text="bind:day12"/>
  103. <Cell col="14" class="text_right" text="bind:day13"/>
  104. <Cell col="15" class="text_right" text="bind:day14"/>
  105. <Cell col="16" class="text_right" text="bind:day15"/>
  106. <Cell col="17" class="text_right" text="bind:day16"/>
  107. <Cell col="18" class="text_right" text="bind:day17"/>
  108. <Cell col="19" class="text_right" text="bind:day18"/>
  109. <Cell col="20" class="text_right" text="bind:day19"/>
  110. <Cell col="21" class="text_right" text="bind:day20"/>
  111. <Cell col="22" class="text_right" text="bind:day21"/>
  112. <Cell col="23" class="text_right" text="bind:day22"/>
  113. <Cell col="24" class="text_right" text="bind:day23"/>
  114. <Cell col="25" class="text_right" text="bind:day24"/>
  115. <Cell col="26" class="text_right" text="bind:day25"/>
  116. <Cell col="27" class="text_right" text="bind:day26"/>
  117. <Cell col="28" class="text_right" text="bind:day27"/>
  118. <Cell col="29" class="text_right" text="bind:day28"/>
  119. <Cell col="30" class="text_right" text="bind:day29"/>
  120. <Cell col="31" class="text_right" text="bind:day30"/>
  121. <Cell col="32" class="text_right" text="bind:day31"/>
  122. <Cell col="33" class="text_right" text="bind:daytot"/>
  123. </Band>
  124. </Format>
  125. </Formats>
  126. </Grid>
  127. <Div id="grp_sea" taborder="3" position="absolute 0 25 1195 60" class="div_SA">
  128. <Layouts>
  129. <Layout>
  130. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  131. <Static id="caption2" text="발송일자 :" class="search_name" position="absolute 15 9 101 26" anchor="left top"/>
  132. <Static id="caption5" text="~" class="search_no_b" position="absolute 207 8 219 25" anchor="left top"/>
  133. <Button id="btn_sea" taborder="4" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  134. <Calendar id="ipt_cnclfromdd" taborder="5" class="input_s_essential" position="absolute 104 8 204 27" mask="yyyy-mm-dd" anchor="left top"/>
  135. <Calendar id="ipt_cncltodd" taborder="6" class="input_s_essential" position="absolute 223 8 323 27" mask="yyyy-mm-dd" anchor="left top"/>
  136. <Static id="caption1" text="자문구분 :" class="search_name" position="absolute 912 9 998 26" anchor="top right"/>
  137. <Radio id="rdo_purcflag" taborder="7" columncount="2" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 1001 9 1093 29" anchor="top right">
  138. <Dataset id="innerdataset">
  139. <ColumnInfo>
  140. <Column id="codecolumn"/>
  141. <Column id="datacolumn"/>
  142. </ColumnInfo>
  143. <Rows>
  144. <Row>
  145. <Col id="codecolumn">0</Col>
  146. <Col id="datacolumn">원내</Col>
  147. </Row>
  148. <Row>
  149. <Col id="codecolumn">1</Col>
  150. <Col id="datacolumn">원외</Col>
  151. </Row>
  152. </Rows>
  153. </Dataset>
  154. </Radio>
  155. </Layout>
  156. </Layouts>
  157. </Div>
  158. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 105 1194 111" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  159. <Static id="caption6" text="자문증례" class="tit_1" position="absolute 0 0 85 25" anchor="left top"/>
  160. </Layout>
  161. </Layouts>
  162. <Objects>
  163. <Dataset id="ds_grd_cnstidxcaselist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  164. <ColumnInfo>
  165. <Column id="reptnm" type="STRING"/>
  166. <Column id="day01" type="STRING"/>
  167. <Column id="day02" type="STRING"/>
  168. <Column id="day03" type="STRING"/>
  169. <Column id="day04" type="STRING"/>
  170. <Column id="day05" type="STRING"/>
  171. <Column id="day06" type="STRING"/>
  172. <Column id="day07" type="STRING"/>
  173. <Column id="day08" type="STRING"/>
  174. <Column id="day09" type="STRING"/>
  175. <Column id="day10" type="STRING"/>
  176. <Column id="day11" type="STRING"/>
  177. <Column id="day12" type="STRING"/>
  178. <Column id="day13" type="STRING"/>
  179. <Column id="day14" type="STRING"/>
  180. <Column id="day15" type="STRING"/>
  181. <Column id="day16" type="STRING"/>
  182. <Column id="day17" type="STRING"/>
  183. <Column id="day18" type="STRING"/>
  184. <Column id="day19" type="STRING"/>
  185. <Column id="day20" type="STRING"/>
  186. <Column id="day21" type="STRING"/>
  187. <Column id="day22" type="STRING"/>
  188. <Column id="day23" type="STRING"/>
  189. <Column id="day24" type="STRING"/>
  190. <Column id="day25" type="STRING"/>
  191. <Column id="day26" type="STRING"/>
  192. <Column id="day27" type="STRING"/>
  193. <Column id="day28" type="STRING"/>
  194. <Column id="day29" type="STRING"/>
  195. <Column id="day30" type="STRING"/>
  196. <Column id="day31" type="STRING"/>
  197. <Column id="daytot" type="STRING"/>
  198. </ColumnInfo>
  199. </Dataset>
  200. <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  201. <ColumnInfo>
  202. <Column id="sysdd" type="STRING" size="256"/>
  203. <Column id="systm" type="STRING" size="256"/>
  204. </ColumnInfo>
  205. </Dataset>
  206. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  207. <ColumnInfo>
  208. <Column id="delivefromdd" type="STRING" size="256"/>
  209. <Column id="delivetodd" type="STRING" size="256"/>
  210. <Column id="cnstflag" type="STRING" size="256"/>
  211. </ColumnInfo>
  212. <Rows>
  213. <Row>
  214. <Col id="cnstflag">0</Col>
  215. </Row>
  216. </Rows>
  217. </Dataset>
  218. </Objects>
  219. <Bind>
  220. <BindItem id="item0" compid="grp_sea.ipt_cnclfromdd" propid="value" datasetid="ds_hidden" columnid="delivefromdd"/>
  221. <BindItem id="item1" compid="grp_sea.ipt_cncltodd" propid="value" datasetid="ds_hidden" columnid="delivetodd"/>
  222. <BindItem id="item2" compid="grp_sea.rdo_purcflag" propid="value" datasetid="ds_hidden" columnid="cnstflag"/>
  223. </Bind>
  224. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  225. * System Name :
  226. * Job Name :
  227. * Creator :
  228. * Make Date : 2015-11-13
  229. * Description :
  230. *---------------------------------------------------------------------------------------
  231. * Modify Date Modifier Modify Description
  232. *---------------------------------------------------------------------------------------
  233. * 2015-11-13 Live Converter TF->XP
  234. *
  235. *---------------------------------------------------------------------------------------
  236. ****************************************************************************************/
  237. include "com_commonxp::comm_main.xjs";
  238. function SMLPS01200_oninit(obj:Form, e:InitEventInfo)
  239. {
  240. frmf_initForm(obj);
  241. }
  242. function SMLPS01200_onload(obj:Form, e:LoadEventInfo)
  243. {
  244. grdf_initGrid(grd_cnstidxcaselist);
  245. fExeInitialize();
  246. }
  247. //초기화
  248. function fExeInitialize()
  249. {
  250. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
  251. var oParam = {};
  252. oParam.id = "TRLPZ00102";
  253. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  254. oParam.method = "reqGetSystemDateTimeInformation";
  255. oParam.inds = "refData=ds_send";
  256. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  257. oParam.async = false;
  258. //oParam.callback = "cf_TRLPZ00102";
  259. tranf_submit(oParam);
  260. ds_hidden.setColumn(0, "delivefromdd", utlf_getCurrentDate());
  261. ds_hidden.setColumn(0, "delivetodd", utlf_getCurrentDate());
  262. }
  263. //조회
  264. function fGetCnstIdxCaseList()
  265. {
  266. dsf_createDsRow("ds_send", [{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  267. ,{col: "delivefromdd", val : ds_hidden.getColumn(0, "delivefromdd")}
  268. ,{col: "delivetodd", val : ds_hidden.getColumn(0, "delivetodd")}
  269. ,{col: "cnstflag", val : ds_hidden.getColumn(0, "cnstflag")}]);
  270. var oParam = {};
  271. oParam.id = "TRLPS01201";
  272. oParam.service = "plgystatsmngtapp.StatsMngtRef";
  273. oParam.method = "reqGetCnstIdxCase";
  274. oParam.inds = "refData=ds_send";
  275. oParam.outds = "ds_grd_cnstidxcaselist=cnstidxcaselist";
  276. oParam.async = false;
  277. //oParam.callback = "cf_TRLPS01201";
  278. tranf_submit(oParam);
  279. }
  280. //조회
  281. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  282. {
  283. fGetCnstIdxCaseList();
  284. }
  285. function button13_onclick(obj:Button, e:ClickEventInfo)
  286. {
  287. grdf_exportExcel(grd_cnstidxcaselist, "", "sheet1", false);
  288. }
  289. ]]></Script>
  290. </Form>
  291. </FDL>