SPSTP00400_의료정보통계집계.xfdl 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPSTP00400" position="absolute 0 0 1280 1024" titletext="통계집계" oninit="SPSTP00400_oninit" onload="SPSTP00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption00" text="의료정보 통계집계" class="tit_1" position="absolute 0 0 189 25"/>
  8. <Div id="group4" taborder="2" position="absolute 0 27 361 235" class="div_SA2"/>
  9. <Static id="caption1" position="absolute 25 170 259 187" style="" text="※ 현재일이후 통계는 집계 할 수 없습니다."/>
  10. <Static id="caption2" class="search_name" position="absolute 22 70 107 87" style="background:_gradation URL(../../.._com_commonweb_images_search_bullet1.gif) ;" text="기준일자"/>
  11. <Button id="btn_execute" class="btn4" position="absolute 266 129 322 151" text="실행" onclick="btn_execute_onclick"/>
  12. <Calendar id="in_dschdd" class="input_search" taborder="1" mask="yyyy-mm-dd" position="absolute 98 69 200 88" style="align:center;" anchor="default"/>
  13. <Calendar id="to_dschdd" class="input_search" taborder="1" mask="yyyy-mm-dd" position="absolute 219 69 321 88" style="align:center;" anchor="default"/>
  14. <Static id="caption3" position="absolute 204 69 219 89" style="" text="~"/>
  15. </Layout>
  16. </Layouts>
  17. <Objects>
  18. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  19. <ColumnInfo>
  20. <Column id="in_dschdd" type="STRING" size="256"/>
  21. <Column id="to_dschdd" type="STRING" size="256"/>
  22. </ColumnInfo>
  23. <Rows>
  24. <Row>
  25. <Col id="in_dschdd"/>
  26. <Col id="to_dschdd"/>
  27. </Row>
  28. </Rows>
  29. </Dataset>
  30. </Objects>
  31. <Bind>
  32. <BindItem id="item0" compid="in_dschdd" propid="value" datasetid="ds_send" columnid="in_dschdd"/>
  33. <BindItem id="item1" compid="to_dschdd" propid="value" datasetid="ds_send" columnid="to_dschdd"/>
  34. </Bind>
  35. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  36. * System Name :
  37. * Job Name :
  38. * Creator :
  39. * Make Date : 2015-11-13
  40. * Description :
  41. *---------------------------------------------------------------------------------------
  42. * Modify Date Modifier Modify Description
  43. *---------------------------------------------------------------------------------------
  44. * 2015-11-13 Live Converter TF->XP
  45. *
  46. *---------------------------------------------------------------------------------------
  47. ****************************************************************************************/
  48. include "com_commonxp::comm_main.xjs";
  49. function SPSTP00400_oninit(obj:Form, e:InitEventInfo)
  50. {
  51. frmf_initForm(obj);
  52. }
  53. function SPSTP00400_onload(obj:Form, e:LoadEventInfo)
  54. {
  55. ds_send.setColumn(0, "in_dschdd", utlf_getCurrentDate());
  56. ds_send.setColumn(0, "to_dschdd", utlf_getCurrentDate());
  57. }
  58. function btn_execute_onclick(obj:Button, e:ClickEventInfo)
  59. {
  60. var fDschdd = ds_send.getColumn(0, "in_dschdd");
  61. var tDschdd = ds_send.getColumn(0, "to_dschdd");
  62. if(fDschdd > tDschdd)
  63. {
  64. alert("기간이 잘못되었습니다!");
  65. in_dschdd.setFocus();
  66. return;
  67. }
  68. if ( !utlf_isNull(fDschdd) && !utlf_isNull(tDschdd))
  69. {
  70. var oParam = {};
  71. oParam.id = "TXSTP00400";
  72. oParam.service = "stspamapp.StsRecord";
  73. oParam.method = "reqExeRecordBatch";
  74. oParam.inds = "req=ds_send";
  75. oParam.outds = "";
  76. oParam.async = false;
  77. oParam.callback = "cf_TXSTP00400";
  78. tranf_submit(oParam);
  79. }
  80. else
  81. {
  82. alert("집계일자를 입력하세요");
  83. in_dschdd.setFocus();
  84. return;
  85. }
  86. }
  87. function cf_TXSTP00400(sSvcId, nErrorCode, sErrorMsg)
  88. {
  89. if(nErrorCode < 0)
  90. {
  91. alert("비정상적으로 배치를 수행 했습니다.");
  92. return;
  93. }
  94. else
  95. {
  96. alert("정상적으로 배치를 수행 했습니다.");
  97. }
  98. }
  99. ]]></Script>
  100. </Form>
  101. </FDL>