SPARC02200_협력의뢰환자리스트.xfdl 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPARC02200" position="absolute 0 0 876 900" titletext="의뢰환자조희" oninit="SPARC02200_oninit" onload="SPARC02200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_search" taborder="0" text="조회" class="btn1" position="absolute 400 5 456 27" onclick="btn_search_onclick"/>
  8. <Static id="caption3" text="의뢰등록일 :" class="search_name" position="absolute 10 6 109 23"/>
  9. <Calendar id="input2" taborder="1" class="input_search" position="absolute 115 5 215 24" mask="yyyy-mm-dd" autoselect="true" autoskip="true"/>
  10. <Shape id="line1" class="line_10" position="absolute 0 26 860 37"/>
  11. <Grid id="grd_list" taborder="3" binddataset="ds_main_reqlist" useinputpanel="false" position="absolute 0 33 860 885" autoenter="select" cellsizingtype="col">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="342"/>
  16. <Column size="181"/>
  17. <Column size="90"/>
  18. </Columns>
  19. <Rows>
  20. <Row size="25" band="head"/>
  21. <Row size="25"/>
  22. <Row size="24" band="summ"/>
  23. </Rows>
  24. <Band id="head">
  25. <Cell text="의뢰병원"/>
  26. <Cell col="1" text="전화번호"/>
  27. <Cell col="2" text="건수"/>
  28. </Band>
  29. <Band id="body">
  30. <Cell style="align:left middle;padding:2 2 2 2;" text="bind:coophospnm"/>
  31. <Cell col="1" style="align:left middle;padding:2 2 2 2;" text="bind:telno"/>
  32. <Cell col="2" displaytype="number" style="align:center middle;" text="bind:cnt"/>
  33. </Band>
  34. <Band id="summary">
  35. <Cell style="align:left middle;padding:2 2 2 2;" text="합계"/>
  36. <Cell col="1"/>
  37. <Cell col="2" displaytype="number" style="align:center middle;" text="expr:getSum('cnt')"/>
  38. </Band>
  39. </Format>
  40. </Formats>
  41. </Grid>
  42. <Calendar id="input1" taborder="2" class="input_search" position="absolute 240 5 340 24" mask="yyyy-mm-dd" autoselect="true"/>
  43. <Static id="caption1" text="~" position="absolute 220 5 237 27"/>
  44. </Layout>
  45. </Layouts>
  46. <Objects>
  47. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  48. <ColumnInfo>
  49. <Column id="rgstdd" type="STRING" size="256"/>
  50. <Column id="todd" type="STRING" size="256"/>
  51. </ColumnInfo>
  52. <Rows>
  53. <Row/>
  54. </Rows>
  55. </Dataset>
  56. <Dataset id="ds_main_reqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  57. <ColumnInfo>
  58. <Column id="coophospnm" type="STRING" size="256" sumtext=""/>
  59. <Column id="telno" type="STRING" size="256" sumtext=""/>
  60. <Column id="cnt" type="STRING" size="256" sumtext=""/>
  61. </ColumnInfo>
  62. </Dataset>
  63. </Objects>
  64. <Bind>
  65. <BindItem id="item0" compid="input2" propid="value" datasetid="ds_send_search" columnid="rgstdd"/>
  66. <BindItem id="item1" compid="input1" propid="value" datasetid="ds_send_search" columnid="todd"/>
  67. </Bind>
  68. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  69. * System Name :
  70. * Job Name : KUN2.0 Project
  71. * Creator :
  72. * Make Date :
  73. * Description :
  74. *---------------------------------------------------------------------------------------
  75. * Modify Date Modifier Modify Description
  76. *---------------------------------------------------------------------------------------
  77. * 2015-11-13 Live Converter TF->XP
  78. *---------------------------------------------------------------------------------------
  79. ****************************************************************************************/
  80. include "com_commonxp::comm_main.xjs";
  81. function SPARC02200_oninit(obj:Form, e:InitEventInfo)
  82. {
  83. frmf_initForm(obj);
  84. }
  85. function SPARC02200_onload(obj:Form, e:LoadEventInfo)
  86. {
  87. grdf_initGrid(grd_list);
  88. fInit();
  89. }
  90. function fInit()
  91. {
  92. var rgstdd = opener.frmf_getParameter("SPARC02200_param_rgstdd");
  93. var todd = opener.frmf_getParameter("SPARC02200_param_todd");
  94. ds_send_search.setColumn(0, "rgstdd",rgstdd);
  95. ds_send_search.setColumn(0, "todd",todd);
  96. if (!utlf_isNull(ds_send_search.getColumn(0, "rgstdd")))
  97. {
  98. fSearch();
  99. }
  100. }
  101. function fSearch()
  102. {
  103. var oParam = {};
  104. oParam.id = "TRARC02201";
  105. oParam.service = "healcarecoopapp.ReqMngt";
  106. oParam.method = "reqGetReqList";
  107. oParam.inds = "req=ds_send_search";
  108. oParam.outds = "ds_main_reqlist=reqlist";
  109. oParam.async = false;
  110. oParam.callback = "cf_TRARC02201";
  111. tranf_submit(oParam);
  112. }
  113. function cf_TRARC02201(sSvcId, nErrorCode, sErrorMsg)
  114. {
  115. if(nErrorCode < 0)
  116. {
  117. sysf_messageBox("조회를", "E009");
  118. return;
  119. }
  120. }
  121. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  122. {
  123. fSearch();
  124. }
  125. ]]></Script>
  126. </Form>
  127. </FDL>