SPZUM90400_메세지확인.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPZUM90400" position="absolute 0 0 700 300" titletext="확인 리스트" oninit="SPZUM90400_oninit" onload="SPZUM90400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button position="absolute 536 274 616 296" id="button1" class="btn4" text="계속진행" onclick="button1_onclick"/>
  8. <Static text="확인 리스트" position="absolute 0 0 171 20" id="caption1" class="tit_2"/>
  9. <Grid position="absolute 0 20 700 270" id="grd_sysmsglist" binddataset="ds_msglist" cellsizingtype="col" selecttype="row" autosizingtype="row" extendsizetype="row" autofittype="col">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="40"/>
  14. <Column size="50"/>
  15. <Column size="120"/>
  16. <Column size="490"/>
  17. </Columns>
  18. <Rows>
  19. <Row size="24" band="head"/>
  20. <Row size="24"/>
  21. </Rows>
  22. <Band id="head">
  23. <Cell text="업무"/>
  24. <Cell col="1" text="확인코드"/>
  25. <Cell col="2" text="요약"/>
  26. <Cell col="3" text="상세내용"/>
  27. </Band>
  28. <Band id="body">
  29. <Cell style="align:center middle;" text="bind:bizflag" suppress="1" suppressalign="middle,over"/>
  30. <Cell col="1" displaytype="text" style="align:center;padding:3 3 3 3;linespace:3;" text="bind:msgcode" wordwrap="word" suppress="1" suppressalign="middle,over"/>
  31. <Cell col="2" displaytype="text" style="align:left middle;" text="bind:msgnm" wordwrap="word" suppress="1" suppressalign="middle,over" autosizerow="limitmin"/>
  32. <Cell col="3" displaytype="text" edittype="none" style="align:left middle;padding:3 3 3 3;linespace:2;" text="bind:msgcnts" wordwrap="word" autosizerow="limitmin"/>
  33. </Band>
  34. </Format>
  35. </Formats>
  36. </Grid>
  37. <Static text="* 진행 전 확인 리스트가 있습니다. 진행 하시겠습니까 ?" position="absolute 212 276 531 296" id="caption2"/>
  38. <Button position="absolute 620 274 700 296" id="button2" class="btn4" text="진행취소" onclick="button2_onclick"/>
  39. </Layout>
  40. </Layouts>
  41. <Objects>
  42. <Dataset id="ds_arg_sys" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  43. <ColumnInfo>
  44. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  45. <Column id="msgdd" type="STRING" size="256" sumtext="메세지일자"/>
  46. <Column id="msgno" type="STRING" size="256" sumtext="메세지번호"/>
  47. <Column id="histno" type="STRING" size="256" sumtext="메세지이력번호"/>
  48. <Column id="msgcls" type="STRING" size="256" sumtext="메세지 구분(b:before open, f:after open, x:exception e:error r:reason, i:infomation)"/>
  49. <Column id="retranyn" type="STRING" size="256" sumtext="submit recall여부 (y/n)"/>
  50. <Column id="excpcnt" type="STRING" size="256" sumtext="예외 카운트"/>
  51. <Column id="errocnt" type="STRING" size="256" sumtext="오류 카운트"/>
  52. <Column id="resncnt" type="STRING" size="256" sumtext="사유 카운트"/>
  53. <Column id="infocnt" type="STRING" size="256" sumtext="정보 카운트"/>
  54. <Column id="bfopcnt" type="STRING" size="256" sumtext="전 오픈 카운트"/>
  55. <Column id="afopcnt" type="STRING" size="256" sumtext="후 오픈 카운트"/>
  56. <Column id="service" type="STRING" size="256" sumtext="호출 서비스"/>
  57. <Column id="method" type="STRING" size="256" sumtext="호출 메서드"/>
  58. <Column id="screenid" type="STRING" size="256" sumtext="호출 화면"/>
  59. <Column id="submitid" type="STRING" size="256" sumtext="submit 아이디"/>
  60. <Column id="async" type="STRING" size="256" sumtext="비동기여부"/>
  61. <Column id="transact" type="STRING" size="256" sumtext="DB transaction사용여부"/>
  62. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  63. <Column id="userid" type="STRING" size="256" sumtext="사용자id"/>
  64. <Column id="ipaddr" type="STRING" size="256" sumtext="호출 ip"/>
  65. <Column id="macaddr" type="STRING" size="256" sumtext="호출 mac"/>
  66. <Column id="param01" type="STRING" size="256" sumtext="사용자 설정 변수값01"/>
  67. <Column id="param02" type="STRING" size="256" sumtext="사용자 설정 변수값02"/>
  68. <Column id="param03" type="STRING" size="256" sumtext="사용자 설정 변수값03"/>
  69. <Column id="param04" type="STRING" size="256" sumtext="사용자 설정 변수값04"/>
  70. <Column id="param05" type="STRING" size="256" sumtext="사용자 설정 변수값05"/>
  71. <Column id="param06" type="STRING" size="256" sumtext="사용자 설정 변수값06"/>
  72. <Column id="param07" type="STRING" size="256" sumtext="사용자 설정 변수값07"/>
  73. <Column id="param08" type="STRING" size="256" sumtext="사용자 설정 변수값08"/>
  74. <Column id="param09" type="STRING" size="256" sumtext="사용자 설정 변수값09"/>
  75. <Column id="param10" type="STRING" size="256" sumtext="사용자 설정 변수값10"/>
  76. <Column id="param11" type="STRING" size="256" sumtext="사용자 설정 변수값11"/>
  77. <Column id="param12" type="STRING" size="256" sumtext="사용자 설정 변수값12"/>
  78. <Column id="param13" type="STRING" size="256" sumtext="사용자 설정 변수값13"/>
  79. <Column id="param14" type="STRING" size="256" sumtext="사용자 설정 변수값14"/>
  80. <Column id="param15" type="STRING" size="256" sumtext="사용자 설정 변수값15"/>
  81. <Column id="param16" type="STRING" size="256" sumtext="사용자 설정 변수값16"/>
  82. <Column id="param17" type="STRING" size="256" sumtext="사용자 설정 변수값17"/>
  83. <Column id="param18" type="STRING" size="256" sumtext="사용자 설정 변수값18"/>
  84. <Column id="param19" type="STRING" size="256" sumtext="사용자 설정 변수값19"/>
  85. <Column id="param20" type="STRING" size="256" sumtext="사용자 설정 변수값20"/>
  86. </ColumnInfo>
  87. </Dataset>
  88. <Dataset id="ds_msglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  89. <ColumnInfo>
  90. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  91. <Column id="msgdd" type="STRING" size="256" sumtext="메세지일자"/>
  92. <Column id="msgno" type="STRING" size="256" sumtext="메세지번호"/>
  93. <Column id="histno" type="STRING" size="256" sumtext="메세지이력번호"/>
  94. <Column id="msgseq" type="STRING" size="256" sumtext="메세지상세번호"/>
  95. <Column id="bizflag" type="STRING" size="256" sumtext="업무구분 ast, com, emr, enr, lis, pam"/>
  96. <Column id="msgcls" type="STRING" size="256" sumtext="메세지 구분(b:before open, f:after open, x:exception e:error r:reason, i:infomation)"/>
  97. <Column id="msgcd" type="STRING" size="256" sumtext="메세지코드"/>
  98. <Column id="msgcode" type="STRING" size="256" sumtext="메세지 코드(cls+cd)"/>
  99. <Column id="msgnm" type="STRING" size="256" sumtext="메세지명"/>
  100. <Column id="msgcnts" type="STRING" size="256" sumtext="메세지 내용"/>
  101. <Column id="resngrupid" type="STRING" size="256" sumtext="사유그룹코드 com.zbcmcode 참조"/>
  102. <Column id="multiyn" type="STRING" size="256" sumtext="사유 멀티선택여부"/>
  103. <Column id="openscreen" type="STRING" size="256" sumtext="오픈화면코드"/>
  104. <Column id="openargnm" type="STRING" size="256" sumtext="오픈화면코드"/>
  105. <Column id="openargtxt" type="STRING" size="256" sumtext="오픈화면코드"/>
  106. <Column id="openargval" type="STRING" size="256" sumtext="오픈화면코드"/>
  107. <Column id="openprmtxt" type="STRING" size="256" sumtext="오픈화면코드"/>
  108. <Column id="openprmval" type="STRING" size="256" sumtext="오픈화면코드"/>
  109. <Column id="cnfcd" type="STRING" size="256" sumtext="사유/확인 코드"/>
  110. <Column id="cnfmsg" type="STRING" size="256" sumtext="사유/상세 내용"/>
  111. <Column id="param01" type="STRING" size="256" sumtext="사용자 설정 변수값01"/>
  112. <Column id="param02" type="STRING" size="256" sumtext="사용자 설정 변수값02"/>
  113. <Column id="param03" type="STRING" size="256" sumtext="사용자 설정 변수값03"/>
  114. <Column id="param04" type="STRING" size="256" sumtext="사용자 설정 변수값04"/>
  115. <Column id="param05" type="STRING" size="256" sumtext="사용자 설정 변수값05"/>
  116. <Column id="param06" type="STRING" size="256" sumtext="사용자 설정 변수값06"/>
  117. <Column id="param07" type="STRING" size="256" sumtext="사용자 설정 변수값07"/>
  118. <Column id="param08" type="STRING" size="256" sumtext="사용자 설정 변수값08"/>
  119. <Column id="param09" type="STRING" size="256" sumtext="사용자 설정 변수값09"/>
  120. <Column id="param10" type="STRING" size="256" sumtext="사용자 설정 변수값10"/>
  121. <Column id="param11" type="STRING" size="256" sumtext="사용자 설정 변수값11"/>
  122. <Column id="param12" type="STRING" size="256" sumtext="사용자 설정 변수값12"/>
  123. <Column id="param13" type="STRING" size="256" sumtext="사용자 설정 변수값13"/>
  124. <Column id="param14" type="STRING" size="256" sumtext="사용자 설정 변수값14"/>
  125. <Column id="param15" type="STRING" size="256" sumtext="사용자 설정 변수값15"/>
  126. <Column id="param16" type="STRING" size="256" sumtext="사용자 설정 변수값16"/>
  127. <Column id="param17" type="STRING" size="256" sumtext="사용자 설정 변수값17"/>
  128. <Column id="param18" type="STRING" size="256" sumtext="사용자 설정 변수값18"/>
  129. <Column id="param19" type="STRING" size="256" sumtext="사용자 설정 변수값19"/>
  130. <Column id="param20" type="STRING" size="256" sumtext="사용자 설정 변수값20"/>
  131. </ColumnInfo>
  132. </Dataset>
  133. </Objects>
  134. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  135. * System Name :
  136. * Job Name :
  137. * Creator :
  138. * Make Date : 2014-08-29
  139. * Description :
  140. *---------------------------------------------------------------------------------------
  141. * Modify Date Modifier Modify Description
  142. *---------------------------------------------------------------------------------------
  143. * 2014-08-29 Live Converter TF->XP
  144. *
  145. *---------------------------------------------------------------------------------------
  146. ****************************************************************************************/
  147. include "com_commonxp::comm_main.xjs";
  148. function SPZUM90400_oninit(obj:Form, e:InitEventInfo)
  149. {
  150. frmf_initForm(obj);
  151. }
  152. function SPZUM90400_onload(obj:Form, e:LoadEventInfo)
  153. {
  154. ds_arg_sys.copyData(arg_sys);
  155. var msgno = ds_arg_sys.getColumn(0, "msgno");
  156. if(msgno == "0"){
  157. sysf_messageBox("메세지 정보가 정확하지 않습니다.", "E999");
  158. return;
  159. }
  160. ds_arg_sys.setColumn(0, "msgcls", "I");
  161. var oParam = {};
  162. oParam.id = "TRZUM90401";
  163. oParam.service = "hismainapp.HisMain";
  164. oParam.method = "reqTranMsgList";
  165. oParam.inds = "req=ds_arg_sys";
  166. oParam.outds = "ds_msglist=msglist";
  167. oParam.async = false;
  168. tranf_submit(oParam);
  169. }
  170. function button1_onclick(obj:Button, e:ClickEventInfo) {
  171. ds_arg_sys.addColumn("cnfcd", "string");
  172. ds_arg_sys.setColumn(0, "cnfcd", "Y"); // 확인 코드를 'Y' 로 설정
  173. dsf_setDefaultVal(ds_arg_sys, "cnfcd:-,cnfmsg:-,cnfrmk:-");
  174. var oParam = {};
  175. oParam.id = "TXZUM90401";
  176. oParam.service = "hismainapp.HisMain";
  177. oParam.method = "reqSetTranMsgDetail";
  178. oParam.inds = "req=ds_arg_sys";
  179. oParam.async = false;
  180. oParam.callback = "cf_TXZUM90401";
  181. tranf_submit(oParam);
  182. this.close();
  183. }
  184. function cf_TXZUM90401(sSvcId, nErrorCode, sErrorMsg) {
  185. if(nErrorCode < 0) return;
  186. opener.frmf_setParameter("SPZUM90400_rtn", "Y");
  187. }
  188. function button2_onclick(obj:Button, e:ClickEventInfo) {
  189. this.close();
  190. }
  191. ]]></Script>
  192. </Form>
  193. </FDL>