SPZSN00400_팝업공지조회.xfdl 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPZSN00400_팝업공지조회" classname="SPZSN00400_팝업공지조회" inheritanceid="" position="absolute 0 0 1225 800" titletext="팝업공지조회" oninit="SPZSN00400_oninit" onload="SPZSN00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group" taborder="0" class="div_SA" position="absolute 0 24 1225 57" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" text="조회일" class="search_name" position="absolute 21 8 80 28" anchor="default"/>
  11. <Calendar id="Calendar_fromdd" taborder="11" position="absolute 82 8 186 28" anchor="default"/>
  12. <Calendar id="Calendar_todd" taborder="12" position="absolute 212 8 316 28" anchor="default"/>
  13. <Static id="Static00" text="~" position="absolute 191 9 206 29" style="align:center middle;" anchor="default"/>
  14. <Button id="btn_search" taborder="13" text="조회" onclick="div_search_btn_search_onclick" class="btn1" position="absolute 1161 7 1216 27" anchor="top right"/>
  15. </Layout>
  16. </Layouts>
  17. </Div>
  18. <Static id="caption6" text="로그인시 팝업 공지 조회" class="tit_1" position="absolute 0 0 174 25"/>
  19. <Static id="caption00" text="팝업 공지 목록" onclick="&quot;caption6_onclick&quot;" class="tit_2" position="absolute 0 63 169 83"/>
  20. <Grid id="Grid00" taborder="1" useinputpanel="false" position="absolute 0 81 1225 800" autofittype="col" binddataset="ds_result" anchor="all" oncelldblclick="Grid00_oncelldblclick">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="100"/>
  25. <Column size="70"/>
  26. <Column size="100"/>
  27. <Column size="100"/>
  28. <Column size="700"/>
  29. <Column size="60"/>
  30. <Column size="70"/>
  31. <Column size="70"/>
  32. </Columns>
  33. <Rows>
  34. <Row size="24" band="head"/>
  35. <Row size="24"/>
  36. </Rows>
  37. <Band id="head">
  38. <Cell text="생성일자"/>
  39. <Cell col="1" text="활성화여부"/>
  40. <Cell col="2" text="시작일"/>
  41. <Cell col="3" text="종료일"/>
  42. <Cell col="4" text="제목"/>
  43. <Cell col="5" text="공지직종"/>
  44. <Cell col="6" text="가로크기"/>
  45. <Cell col="7" text="세로크기"/>
  46. </Band>
  47. <Band id="body">
  48. <Cell displaytype="date" edittype="date" text="bind:genrdd"/>
  49. <Cell col="1" text="bind:histstat"/>
  50. <Cell col="2" displaytype="date" edittype="date" text="bind:fromdd"/>
  51. <Cell col="3" displaytype="date" edittype="date" text="bind:todd"/>
  52. <Cell col="4" style="align:left;" text="bind:ntcsubject"/>
  53. <Cell col="5" displaytype="combo" style="align:center;" text="bind:jobkindcd" combodataset="ds_jobkind" combocodecol="cdid" combodatacol="cdnm" combodisplay="edit"/>
  54. <Cell col="6" text="bind:width"/>
  55. <Cell col="7" text="bind:height"/>
  56. </Band>
  57. </Format>
  58. </Formats>
  59. </Grid>
  60. <Button id="bt_newinput" taborder="2" text="신규입력" class="btn2" position="absolute 1156 59 1224 79" anchor="top right" style=":disabled {font:Dotum,9;}" onclick="bt_newinput_onclick"/>
  61. </Layout>
  62. </Layouts>
  63. <Objects>
  64. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  65. <ColumnInfo>
  66. <Column id="fromdd" type="STRING" size="256"/>
  67. <Column id="todd" type="STRING" size="256"/>
  68. </ColumnInfo>
  69. <Rows>
  70. <Row/>
  71. </Rows>
  72. </Dataset>
  73. <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  74. <ColumnInfo>
  75. <Column id="genrdd" type="STRING" size="256"/>
  76. <Column id="genrno" type="STRING" size="256"/>
  77. <Column id="seqno" type="STRING" size="256"/>
  78. <Column id="histstat" type="STRING" size="256"/>
  79. <Column id="userinstcd" type="STRING" size="256"/>
  80. <Column id="jobkindcd" type="STRING" size="256"/>
  81. <Column id="ntcsubject" type="STRING" size="256"/>
  82. <Column id="ntccnts" type="STRING" size="256"/>
  83. <Column id="ntccnttype" type="STRING" size="256"/>
  84. <Column id="fromdd" type="STRING" size="256"/>
  85. <Column id="todd" type="STRING" size="256"/>
  86. <Column id="width" type="STRING" size="256"/>
  87. <Column id="height" type="STRING" size="256"/>
  88. </ColumnInfo>
  89. </Dataset>
  90. <Dataset id="ds_jobkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  91. <ColumnInfo>
  92. <Column id="cdid" type="STRING" size="256"/>
  93. <Column id="cdnm" type="STRING" size="256"/>
  94. </ColumnInfo>
  95. <Rows>
  96. <Row>
  97. <Col id="cdnm">전체</Col>
  98. <Col id="cdid"> </Col>
  99. </Row>
  100. <Row>
  101. <Col id="cdid">0330</Col>
  102. <Col id="cdnm">의사</Col>
  103. </Row>
  104. <Row>
  105. <Col id="cdid">1140</Col>
  106. <Col id="cdnm">간호사</Col>
  107. </Row>
  108. </Rows>
  109. </Dataset>
  110. </Objects>
  111. <Bind/>
  112. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"; // 전체공통 스크립트
  113. function SPZSN00400_oninit(obj:Form, e:InitEventInfo)
  114. {
  115. frmf_initForm(obj);
  116. }
  117. function SPZSN00400_onload(obj:Form, e:LoadEventInfo)
  118. {
  119. var fromdd = utlf_getCurrentDate();
  120. group.Calendar_fromdd.value = utlf_addMonth(fromdd, -1);
  121. group.Calendar_todd.value = utlf_getCurrentDate();
  122. group.btn_search.click();
  123. }
  124. function div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
  125. {
  126. ds_req.setColumn(0, "fromdd", group.Calendar_fromdd.value);
  127. ds_req.setColumn(0, "todd", group.Calendar_todd.value);
  128. var oParam = {};
  129. oParam.id = "SPZSN00001";
  130. oParam.service = "noticeinfoapp.noticeinfo";
  131. oParam.method = "reqGetPopupNoticeList";
  132. oParam.inds = "req=ds_req";
  133. oParam.outds = "ds_result=Noticelist";
  134. oParam.async = true;
  135. tranf_submit(oParam);
  136. }
  137. function bt_newinput_onclick(obj:Button, e:ClickEventInfo)
  138. {
  139. var objParam = new Object();
  140. objParam.plgv_new = true;//신규입력
  141. frmf_modal("SPZSN00300", "SPZSN00300", objParam, null, null, null, null, null, null, null, null, null, "M");
  142. if(frmf_getParameter("SPZSN00300_popupendflag") == "close")
  143. {
  144. group.btn_search.click();
  145. }
  146. }
  147. function Grid00_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  148. {
  149. var objParam = new Object();
  150. objParam.plgv_new = false;//기존수정
  151. objParam.plgv_genrdd = ds_result.getColumn(e.row, "genrdd");
  152. objParam.plgv_genrno = ds_result.getColumn(e.row, "genrno");
  153. objParam.plgv_histstat = ds_result.getColumn(e.row, "histstat");
  154. objParam.plgv_jobkindcd = ds_result.getColumn(e.row, "jobkindcd");
  155. objParam.plgv_ntcsubject = ds_result.getColumn(e.row, "ntcsubject");
  156. objParam.plgv_ntccnts = ds_result.getColumn(e.row, "ntccnts");
  157. objParam.plgv_fromdd = ds_result.getColumn(e.row, "fromdd");
  158. objParam.plgv_todd = ds_result.getColumn(e.row, "todd");
  159. objParam.plgv_width = ds_result.getColumn(e.row, "width");
  160. objParam.plgv_height = ds_result.getColumn(e.row, "height");
  161. frmf_modal("SPZSN00300", "SPZSN00300", objParam, null, null, null, null, null, null, null, null, null, "M");
  162. if(frmf_getParameter("SPZSN00300_popupendflag") == "close")
  163. {
  164. group.btn_search.click();
  165. }
  166. }]]></Script>
  167. </Form>
  168. </FDL>