SPMNW17100_프로그램 도움말 조회.xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNW17100" position="absolute 0 0 618 430" titletext="프로그램 도움말 조회" oninit="SPMNW17100_oninit" onload="SPMNW17100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 15 615 40" id="group1">
  8. <Layouts>
  9. <Layout>
  10. <Static text="프로그램 도움말 조회" position="absolute 0 0 164 25" id="caption6" class="tit_1" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Edit position="absolute 510 20 615 39" id="ipt_scrncd" visible="false"/>
  15. <Combo position="absolute 515 20 615 39" id="cmb_gubun" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="cmb_gubun_onitemchanged">
  16. <Dataset id="innerdataset">
  17. <ColumnInfo>
  18. <Column id="codecolumn"/>
  19. <Column id="datacolumn"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row>
  23. <Col id="codecolumn">T</Col>
  24. <Col id="datacolumn">사용Tip</Col>
  25. </Row>
  26. <Row>
  27. <Col id="codecolumn">F</Col>
  28. <Col id="datacolumn">F&amp;Q</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">A</Col>
  32. <Col id="datacolumn">추가개발사항</Col>
  33. </Row>
  34. </Rows>
  35. </Dataset>
  36. </Combo>
  37. <Grid position="absolute 0 45 615 425" id="grd_help" binddataset="ds_main_helpinfo_helplist" onexpanddown="grd_help_onexpanddown" autosizingtype="row" extendsizetype="row" scrollpixel="all" cellsizingtype="col" autoenter="select">
  38. <Formats>
  39. <Format id="default">
  40. <Columns>
  41. <Column size="24"/>
  42. <Column size="525"/>
  43. <Column size="50"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. </Columns>
  57. <Rows>
  58. <Row size="24" band="head"/>
  59. <Row size="24"/>
  60. </Rows>
  61. <Band id="head">
  62. <Cell/>
  63. <Cell col="1" text="도움말"/>
  64. <Cell col="2" text="첨부"/>
  65. <Cell col="3" text="seqno"/>
  66. <Cell col="4" text="화면코드"/>
  67. <Cell col="5" text="첨부파일명"/>
  68. <Cell col="6" text="첨부파일패스"/>
  69. <Cell col="7" text="작성자"/>
  70. <Cell col="8" text="작성자ID"/>
  71. <Cell col="9" text="등록일시"/>
  72. <Cell col="10" text="수정자"/>
  73. <Cell col="11" text="수정자아이디"/>
  74. <Cell col="12" text="수정일시"/>
  75. <Cell col="13" text="삭제여부"/>
  76. <Cell col="14" text="구분"/>
  77. </Band>
  78. <Band id="body">
  79. <Cell celltype="head" expr="expr:currow + 1"/>
  80. <Cell col="1" style="align:left top;padding:5 3 3 3;" text="bind:content" wordwrap="word" autosizerow="limitmin"/>
  81. <Cell col="2" displaytype="text" edittype="expand" style="align:center;" text="bind:attyn" expandshow="show"/>
  82. <Cell col="3" text="bind:seqno"/>
  83. <Cell col="4" text="bind:attfilenm"/>
  84. <Cell col="5" text="bind:attfilepath"/>
  85. <Cell col="6" text="bind:fstrgstrnm"/>
  86. <Cell col="7" text="bind:fstrgstrid"/>
  87. <Cell col="8" text="bind:fstrgstdt" mask="yyyy/mm/dd hh:nn"/>
  88. <Cell col="9" text="bind:lastupdtrnm"/>
  89. <Cell col="10" text="bind:lastupdtrid"/>
  90. <Cell col="11" text="bind:lastupdtdt" mask="yyyy/mm/dd hh:nn"/>
  91. <Cell col="12" text="bind:delyn"/>
  92. <Cell col="13" displaytype="combo" edittype="combo" text="bind:gubun" enable="false"/>
  93. <Cell col="14" text="bind:scrncd"/>
  94. </Band>
  95. </Format>
  96. </Formats>
  97. </Grid>
  98. <Div position="absolute 395 90 550 135" id="group2" visible="false" style="background:#ffcc00ff;">
  99. <Layouts>
  100. <Layout>
  101. <Button position="absolute 10 20 74 39" id="btn_preview" class="btn2" taborder="6" text="미리보기" onclick="group2_btn_preview_onclick"/>
  102. <Button position="absolute 80 20 144 39" id="button1" class="btn2" taborder="6" text="다운로드" onclick="group2_button1_onclick"/>
  103. <Button position="absolute 140 0 155 20" id="button5" text="X" onclick="group2_button5_onclick"/>
  104. </Layout>
  105. </Layouts>
  106. </Div>
  107. </Layout>
  108. </Layouts>
  109. <Objects>
  110. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  111. <ColumnInfo>
  112. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자(YYYYMMDD)"/>
  113. <Column id="todd" type="STRING" size="256" sumtext="종료일자(YYYYMMDD)"/>
  114. <Column id="gubun" type="STRING" size="256" sumtext="조회구분"/>
  115. <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
  116. <Column id="seqno" type="STRING" size="256"/>
  117. </ColumnInfo>
  118. <Rows>
  119. <Row/>
  120. </Rows>
  121. </Dataset>
  122. <Dataset id="ds_main_helpinfo_helplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  123. <ColumnInfo>
  124. <Column id="chkyn" type="STRING" size="256" sumtext="체크여부"/>
  125. <Column id="seqno" type="STRING" size="256" sumtext="게시글번호"/>
  126. <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
  127. <Column id="content" type="STRING" size="256" sumtext="내용"/>
  128. <Column id="attyn" type="STRING" size="256" sumtext="첨부파일유무"/>
  129. <Column id="attfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
  130. <Column id="attfilepath" type="STRING" size="256" sumtext="첨부파일패스"/>
  131. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="등록자명"/>
  132. <Column id="fstrgstrid" type="STRING" size="256" sumtext="등록자아이디"/>
  133. <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일시"/>
  134. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="수정자명"/>
  135. <Column id="lastupdtrid" type="STRING" size="256" sumtext="수정자아이디"/>
  136. <Column id="lastupdtdt" type="STRING" size="256" sumtext="수정일시"/>
  137. <Column id="delyn" type="STRING" size="256" sumtext="삭제유무"/>
  138. <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
  139. </ColumnInfo>
  140. </Dataset>
  141. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  142. <ColumnInfo>
  143. <Column id="status" type="STRING" size="256" sumtext="상태값"/>
  144. <Column id="seqno" type="STRING" size="256" sumtext="게시글번호"/>
  145. <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
  146. <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
  147. <Column id="content" type="STRING" size="256" sumtext="도움말"/>
  148. <Column id="attfilenm" type="STRING" size="256" sumtext="서버상의 첨부파일경로"/>
  149. <Column id="attfilepath" type="STRING" size="256" sumtext="서버상의 첨부파일경로"/>
  150. </ColumnInfo>
  151. <Rows>
  152. <Row/>
  153. </Rows>
  154. </Dataset>
  155. <Dataset id="ds_send_file" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  156. <ColumnInfo>
  157. <Column id="filenm" type="STRING" size="256" sumtext="파일명"/>
  158. <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
  159. <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
  160. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  161. </ColumnInfo>
  162. <Rows>
  163. <Row/>
  164. </Rows>
  165. </Dataset>
  166. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  167. <ColumnInfo>
  168. <Column id="gubun" type="STRING" size="256" sumtext="조회구분"/>
  169. <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
  170. <Column id="seqno" type="STRING" size="256"/>
  171. <Column id="fromdd" type="STRING" size="256"/>
  172. <Column id="todd" type="STRING" size="256"/>
  173. </ColumnInfo>
  174. <Rows>
  175. <Row/>
  176. </Rows>
  177. </Dataset>
  178. <Dataset id="ds_main_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="attfilenm" type="STRING" size="256"/>
  181. <Column id="gubun" type="STRING" size="256"/>
  182. <Column id="seqno" type="STRING" size="256"/>
  183. </ColumnInfo>
  184. <Rows>
  185. <Row/>
  186. </Rows>
  187. </Dataset>
  188. <Dataset id="ds_hidden_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  189. <ColumnInfo>
  190. <Column id="attfilecnts" type="STRING" size="256" sumtext="첨부파일내용"/>
  191. </ColumnInfo>
  192. </Dataset>
  193. </Objects>
  194. <Bind>
  195. <BindItem id="item0" compid="cmb_gubun" propid="value" datasetid="ds_main_cond" columnid="gubun"/>
  196. </Bind>
  197. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  198. * System Name : 경대 의료정보시스템
  199. * Job Name : emr_wardcarexp -> SPMNW17100
  200. * Creator : yjh
  201. * Make Date : 2016-02-18
  202. * Description :
  203. *---------------------------------------------------------------------------------------
  204. * Modify Date Modifier Modify Description
  205. *---------------------------------------------------------------------------------------
  206. * 2016-02-18 yjh TF->XP
  207. *
  208. *---------------------------------------------------------------------------------------
  209. ****************************************************************************************/
  210. //=======================================================================================
  211. // Lib Include
  212. //---------------------------------------------------------------------------------------
  213. include "com_commonxp::comm_main.xjs";
  214. include "emr_wardcarexp::SPMNW17000.xjs"; //yjh : 커밋
  215. //=======================================================================================
  216. // Global Form Variable
  217. //---------------------------------------------------------------------------------------
  218. //=======================================================================================
  219. // Function
  220. //---------------------------------------------------------------------------------------
  221. /****************************************************************************************
  222. * Argument : N/A
  223. * Description :
  224. ****************************************************************************************/
  225. //=======================================================================================
  226. // Event
  227. //---------------------------------------------------------------------------------------
  228. /****************************************************************************************
  229. * Components : Form
  230. * Components ID : SPMNW17100
  231. * Event : oninit
  232. * Argument : 01.obj : Object Event has occurred
  233. * : 02.e : Event Object
  234. * Description : 화면 처음 초기화시
  235. ****************************************************************************************/
  236. function SPMNW17100_oninit(obj:Form, e:InitEventInfo)
  237. {
  238. frmf_initForm(obj); //폼 초기화
  239. }
  240. /****************************************************************************************
  241. * Components : Form
  242. * Components ID : SPMNW17100
  243. * Event : onload
  244. * Argument : 01.obj : Object Event has occurred
  245. * : 02.e : Event Object
  246. * Description : 화면 로딩 완료시
  247. ****************************************************************************************/
  248. function SPMNW17100_onload(obj:Form, e:LoadEventInfo)
  249. {
  250. if(frmf_checkOpener() ) {
  251. var scrncd = opener.frmf_getParameter("SCRNCD");
  252. }
  253. ds_main_cond.setColumn(0, "scrncd", scrncd);
  254. cmb_gubun.index = 0;
  255. fgetHelpList2();
  256. }
  257. /****************************************************************************************
  258. * Components : Combo
  259. * Components ID : cmb_gubun
  260. * Event : onitemchanged
  261. * Argument : 01.obj : Object Event has occurred
  262. * : 02.e : Event Object
  263. * Description : 콤보 변경시
  264. ****************************************************************************************/
  265. function cmb_gubun_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  266. {
  267. fgetHelpList2();
  268. }
  269. /****************************************************************************************
  270. * Components : Grid
  271. * Components ID : grd_help
  272. * Event : onexpanddown
  273. * Argument : 01.obj : Object Event has occurred
  274. * : 02.e : Event Object
  275. * Description : 그리드 expand버튼 클릭시
  276. ****************************************************************************************/
  277. function grd_help_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  278. {
  279. var attyn = ds_main_helpinfo_helplist.getColumn(ds_main_helpinfo_helplist.rowposition, "attyn");
  280. if(attyn == "Y" ){
  281. ds_main_iteminfo.setColumn(0, "attfilenm", ds_main_helpinfo_helplist.getColumn(ds_main_helpinfo_helplist.rowposition, "attfilenm"));
  282. ds_main_iteminfo.setColumn(0, "gubun", ds_main_helpinfo_helplist.getColumn(ds_main_helpinfo_helplist.rowposition, "gubun"));
  283. ds_main_iteminfo.setColumn(0, "seqno", ds_main_helpinfo_helplist.getColumn(ds_main_helpinfo_helplist.rowposition, "seqno"));
  284. group2.visible = true;
  285. }else {
  286. sysf_messageBox("첨부파일이 없습니다.","E");
  287. return;
  288. }
  289. }
  290. /****************************************************************************************
  291. * Components : Button
  292. * Components ID : button5
  293. * Event : onclick
  294. * Argument : 01.obj : Object Event has occurred
  295. * : 02.e : Event Object
  296. * Description : X버튼 클릭시
  297. ****************************************************************************************/
  298. function group2_button5_onclick(obj:Button, e:ClickEventInfo)
  299. {
  300. group2.visible = false;
  301. }
  302. /****************************************************************************************
  303. * Components : Button
  304. * Components ID : btn_preview
  305. * Event : onclick
  306. * Argument : 01.obj : Object Event has occurred
  307. * : 02.e : Event Object
  308. * Description : 미리보기버튼 클릭시
  309. ****************************************************************************************/
  310. function group2_btn_preview_onclick(obj:Button, e:ClickEventInfo)
  311. {
  312. fFilePreview(); //yjh : 첨부파일 테스트 필요
  313. group2.visible = false;
  314. }
  315. /****************************************************************************************
  316. * Components : Button
  317. * Components ID : button1
  318. * Event : onclick
  319. * Argument : 01.obj : Object Event has occurred
  320. * : 02.e : Event Object
  321. * Description : 다운로드버튼 클릭시
  322. ****************************************************************************************/
  323. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  324. {
  325. fFileDown(); //yjh : 첨부파일 테스트 필요
  326. group2.visible = false;
  327. }
  328. ]]></Script>
  329. </Form>
  330. </FDL>