SMMNP07500_회복실게시판.xfdl 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNP07500" position="absolute 0 0 780 680" titletext="회복실게시판" onload="SMMNP07500_onload" ontimer="SMMNP07500_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 778 60" align="align:center top;" id="group2" class="div_SA2">
  8. <Layouts>
  9. <Layout>
  10. <Static text="등록기간 :" position="absolute 15 10 93 27" id="caption2" class="search_name" anchor="default"/>
  11. <Calendar position="absolute 101 9 186 28" id="ipt_fromdd" class="input_search" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
  12. <Static text="~" position="absolute 186 9 201 28" align="align:center middle;" id="caption10" anchor="default"/>
  13. <Calendar position="absolute 201 9 286 28" id="ipt_todd" class="input_search" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
  14. <Static text="조회구분 :" position="absolute 15 36 96 53" id="caption3" class="search_name" anchor="default"/>
  15. <Combo position="absolute 101 34 186 53" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  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">제목</Col>
  25. </Row>
  26. <Row>
  27. <Col id="codecolumn">C</Col>
  28. <Col id="datacolumn">내용</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">U</Col>
  32. <Col id="datacolumn">등록자</Col>
  33. </Row>
  34. </Rows>
  35. </Dataset>
  36. </Combo>
  37. <Shape position="absolute 642 7 648 53" linetype="vertical" id="line1" class="line_4" anchor="default"/>
  38. <Button position="absolute 654 19 710 41" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group2_btn_search_onclick"/>
  39. <Combo position="absolute 520 9 605 28" id="combo2" enable="true" visible="false" innerdataset="ds_init_M0636" datacolumn="cdnm" codecolumn="cdid" anchor="default" onitemchanged="group2_combo2_onitemchanged"/>
  40. <Static text="게시구분 :" position="absolute 434 11 520 28" id="caption1" class="search_name" visible="false" anchor="default"/>
  41. <Button position="absolute 714 19 770 41" id="button1" class="btn6" visible="false" text="출력" anchor="default" onclick="group2_button1_onclick"/>
  42. <Edit position="absolute 201 34 476 53" id="ipt_scrhvalue" anchor="default" onkeydown="group2_ipt_scrhvalue_onkeydown" autoselect="true"/>
  43. </Layout>
  44. </Layouts>
  45. </Div>
  46. <Shape position="absolute 0 498 778 643" id="rectangle1" type="rectangle"/>
  47. <Grid position="absolute 0 65 778 274" id="grd_bbs" scrollbars="fixedvert" binddataset="ds_main_bbs_bbsinfo_bbslist" oncelldblclick="grd_bbs_oncelldblclick" selecttype="multirow">
  48. <Formats>
  49. <Format id="default">
  50. <Columns>
  51. <Column size="25"/>
  52. <Column size="50"/>
  53. <Column size="0"/>
  54. <Column size="413"/>
  55. <Column size="0"/>
  56. <Column size="30"/>
  57. <Column size="30"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="64"/>
  61. <Column size="0"/>
  62. <Column size="105"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="44"/>
  67. <Column size="0"/>
  68. </Columns>
  69. <Rows>
  70. <Row size="24" band="head"/>
  71. <Row size="24"/>
  72. </Rows>
  73. <Band id="head">
  74. <Cell/>
  75. <Cell col="1" text="글번호"/>
  76. <Cell col="2" text="게시구분"/>
  77. <Cell col="3" text="제목"/>
  78. <Cell col="4" text="내용"/>
  79. <Cell col="5" text="확인"/>
  80. <Cell col="6" text="첨부"/>
  81. <Cell col="7" text="첨부파일명"/>
  82. <Cell col="8" text="첨부파일패스"/>
  83. <Cell col="9" text="작성자"/>
  84. <Cell col="10" text="작성자ID"/>
  85. <Cell col="11" text="등록일시"/>
  86. <Cell col="12" text="수정자"/>
  87. <Cell col="13" text="수정자아이디"/>
  88. <Cell col="14" text="수정일시"/>
  89. <Cell col="15" text="조회수"/>
  90. <Cell col="16" text="삭제여부"/>
  91. </Band>
  92. <Band id="body">
  93. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn==&quot;Y&quot;||chkyn==1)?1:0"/>
  94. <Cell col="1" text="bind:bbsno"/>
  95. <Cell col="2" displaytype="combo" edittype="combo" text="bind:bbscls" enable="false"/>
  96. <Cell col="3" displaytype="text" text="bind:title"/>
  97. <Cell col="4" text="bind:content"/>
  98. <Cell col="5" text="bind:cnfmyn"/>
  99. <Cell col="6" text="bind:attyn"/>
  100. <Cell col="7" text="bind:attfilenm"/>
  101. <Cell col="8" text="bind:attfilepath"/>
  102. <Cell col="9" text="bind:fstrgstrnm"/>
  103. <Cell col="10" text="bind:fstrgstrid"/>
  104. <Cell col="11" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? '' : '####/##/## ##:##'"/>
  105. <Cell col="12" text="bind:lastupdtrnm"/>
  106. <Cell col="13" text="bind:lastupdtrid"/>
  107. <Cell col="14" text="bind:lastupdtdt" mask="yyyy/mm/dd hh:nn"/>
  108. <Cell col="15" text="bind:hitcnt"/>
  109. <Cell col="16" text="bind:delyn"/>
  110. </Band>
  111. </Format>
  112. </Formats>
  113. </Grid>
  114. <Shape position="absolute 0 60 778 66" id="line2" class="line_10"/>
  115. <Shape position="absolute 0 332 778 338" linetype="horizontal" id="line20" class="line_2"/>
  116. <Shape position="absolute 0 469 778 475" linetype="horizontal" id="line3" class="line_2"/>
  117. <Shape position="absolute 0 494 778 500" linetype="horizontal" id="line4" class="line_3"/>
  118. <Button position="absolute 542 282 606 302" id="btn_cancel" class="btn2" taborder="5" visible="false" text="작성취소" onclick="btn_cancel_onclick"/>
  119. <Button position="absolute 607 282 649 302" id="btn_new" class="btn2" taborder="5" text="신규" onclick="btn_new_onclick"/>
  120. <Button position="absolute 650 282 692 302" id="btn_mod" class="btn2" taborder="5" text="수정" onclick="btn_mod_onclick"/>
  121. <Button position="absolute 693 282 735 302" id="btn_save" class="btn5" enable="false" taborder="5" text="저장" onclick="btn_save_onclick"/>
  122. <Button position="absolute 736 282 778 302" id="btn_del" class="btn5" enable="false" text="삭제" onclick="btn_del_onclick"/>
  123. <Static text="내용" position="absolute 0 336 79 470" align="align:center middle;" id="cap_cnts" class="cell_1"/>
  124. <Static text="첨부" position="absolute 0 473 79 495" align="align:center middle;" id="caption12" class="cell_1"/>
  125. <Edit position="absolute 81 474 536 495" id="ipt_attfilenm"/>
  126. <Button position="absolute 585 475 627 495" id="btn_fileadd" class="btn2" visible="false" text="첨부" onclick="btn_fileadd_onclick"/>
  127. <Button position="absolute 630 475 672 495" id="btn_filedel" class="btn2" visible="false" text="삭제" onclick="btn_filedel_onclick"/>
  128. <Button position="absolute 627 475 691 495" id="btn_down" class="btn2" taborder="6" text="다운로드" onclick="btn_down_onclick"/>
  129. <Static text="제목" position="absolute 0 307 79 335" align="align:center middle;" id="cap_titl" class="cell_1"/>
  130. <Shape position="absolute 0 302 778 308" id="line9" class="line_10"/>
  131. <Static text="내용" position="absolute 0 286 134 302" id="caption7" class="tit_2"/>
  132. <Button position="absolute 539 475 603 495" id="btn_preview" class="btn2" taborder="6" visible="false" text="미리보기" onclick="btn_preview_onclick"/>
  133. <Combo position="absolute 681 311 778 330" id="cmb_bbscls" enable="true" visible="true" innerdataset="@ds_init_M0636" datacolumn="cdnm" codecolumn="cdid"/>
  134. <Static text="게시구분" position="absolute 600 307 679 335" align="align:center middle;" id="caption5" class="cell_1" visible="true"/>
  135. <Grid position="absolute 7 523 772 637" id="grd_reslist" binddataset="ds_main_bbs_resinfo_reslist" cellsizingtype="both" cellsizebandtype="allband" extendsizetype="row" selecttype="multirow" oncelldblclick="grd_reslist_oncelldblclick">
  136. <Formats>
  137. <Format id="default">
  138. <Columns>
  139. <Column size="20" band="left"/>
  140. <Column size="518"/>
  141. <Column size="70"/>
  142. <Column size="105"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. </Columns>
  148. <Rows>
  149. <Row size="24" band="head"/>
  150. <Row size="24"/>
  151. </Rows>
  152. <Band id="head">
  153. <Cell/>
  154. <Cell col="1" text="댓글"/>
  155. <Cell col="2" text="등록자"/>
  156. <Cell col="3" text="기록일자"/>
  157. <Cell col="4" text="gubn"/>
  158. <Cell col="5" text="bbsno"/>
  159. <Cell col="6" text="resno"/>
  160. <Cell col="7" text="supresno"/>
  161. </Band>
  162. <Band id="body">
  163. <Cell celltype="head"/>
  164. <Cell col="1" displaytype="text" edittype="textarea" text="bind:resfact" editautoselect="true"/>
  165. <Cell col="2" text="bind:usernm"/>
  166. <Cell col="3" text="bind:recdd" mask="expr:utlf_isNull(recdd) ? '' : '####/##/## ##:##'"/>
  167. <Cell col="4" text="bind:gubn"/>
  168. <Cell col="5" text="bind:bbsno"/>
  169. <Cell col="6" text="bind:resno"/>
  170. <Cell col="7" text="bind:supresno"/>
  171. </Band>
  172. </Format>
  173. </Formats>
  174. </Grid>
  175. <Button position="absolute 642 502 684 522" id="btn_addcomt" class="btn2" enable="false" text="댓글" onclick="btn_addcomt_onclick"/>
  176. <Button position="absolute 686 502 728 522" id="btn_addcomtsave" class="btn2" enable="false" text="저장" onclick="btn_addcomtsave_onclick"/>
  177. <Button position="absolute 730 502 772 522" id="btn_addcomtdel" class="btn2" text="삭제" onclick="btn_addcomtdel_onclick"/>
  178. <Static text="확인자" position="absolute 0 645 79 677" align="align:center middle;" id="caption4" class="cell_1"/>
  179. <TextArea id="ipt_title" taborder="7" scrollbars="alwaysvert" wordwrap="char" class="text_essential" position="absolute 81 307 597 333" style="padding:4 5 1 5;font:Dotum,14;"/>
  180. <TextArea id="ipt_content" taborder="8" wordwrap="char" maxlength="4000" class="text_essential" position="absolute 81 336 778 470" style="font:Dotum,14;"/>
  181. <TextArea id="textarea1" taborder="9" readonly="true" position="absolute 80 645 778 677"/>
  182. </Layout>
  183. </Layouts>
  184. <Objects>
  185. <Dataset id="ds_main_bbs_bbsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  186. <ColumnInfo/>
  187. </Dataset>
  188. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  189. <ColumnInfo>
  190. <Column id="hidden" type="STRING" size="256"/>
  191. </ColumnInfo>
  192. <Rows>
  193. <Row>
  194. <Col id="hidden"/>
  195. </Row>
  196. </Rows>
  197. </Dataset>
  198. <Dataset id="ds_main_bbs_resinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  199. <ColumnInfo>
  200. <Column id="bbsno" type="STRING" size="256"/>
  201. </ColumnInfo>
  202. <Rows>
  203. <Row>
  204. <Col id="bbsno"/>
  205. </Row>
  206. </Rows>
  207. </Dataset>
  208. <Dataset id="ds_main_bbs_resinfo_reslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  209. <Dataset id="ds_codeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  210. <ColumnInfo>
  211. <Column id="codeinfo" type="STRING" size="256"/>
  212. </ColumnInfo>
  213. <Rows>
  214. <Row>
  215. <Col id="codeinfo"/>
  216. </Row>
  217. </Rows>
  218. </Dataset>
  219. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  220. <ColumnInfo>
  221. <Column id="M0636" type="STRING" size="256"/>
  222. </ColumnInfo>
  223. <Rows>
  224. <Row>
  225. <Col id="M0636"/>
  226. </Row>
  227. </Rows>
  228. </Dataset>
  229. <Dataset id="ds_main_bbs_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  230. <ColumnInfo>
  231. <Column id="bbscls" type="STRING" size="256"/>
  232. <Column id="scrhvalue" type="STRING" size="256"/>
  233. <Column id="scrhgubun" type="STRING" size="256"/>
  234. <Column id="todd" type="STRING" size="256"/>
  235. <Column id="fromdd" type="STRING" size="256"/>
  236. </ColumnInfo>
  237. <Rows>
  238. <Row>
  239. <Col id="bbscls">T</Col>
  240. <Col id="scrhvalue"/>
  241. <Col id="scrhgubun">T</Col>
  242. <Col id="todd"/>
  243. <Col id="fromdd"/>
  244. </Row>
  245. </Rows>
  246. </Dataset>
  247. <Dataset id="ds_main_bbs_bbsinfo_bbslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_bbs_bbsinfo_bbslist_oncolumnchanged">
  248. <ColumnInfo>
  249. <Column id="bbsno" type="STRING" size="256"/>
  250. <Column id="bbscls" type="STRING" size="256"/>
  251. <Column id="title" type="STRING" size="256"/>
  252. <Column id="content" type="STRING" size="256"/>
  253. <Column id="attyn" type="STRING" size="256"/>
  254. <Column id="attfilenm" type="STRING" size="256"/>
  255. <Column id="attfilepath" type="STRING" size="256"/>
  256. <Column id="fstrgstrnm" type="STRING" size="256"/>
  257. <Column id="fstrgstrid" type="STRING" size="256"/>
  258. <Column id="fstrgstdt" type="STRING" size="256"/>
  259. <Column id="lastupdtrnm" type="STRING" size="256"/>
  260. <Column id="lastupdtrid" type="STRING" size="256"/>
  261. <Column id="lastupdtdt" type="STRING" size="256"/>
  262. <Column id="hitcnt" type="STRING" size="256"/>
  263. <Column id="delyn" type="STRING" size="256"/>
  264. </ColumnInfo>
  265. <Rows>
  266. <Row>
  267. <Col id="bbsno"/>
  268. <Col id="bbscls"/>
  269. <Col id="title"/>
  270. <Col id="content"/>
  271. <Col id="attyn"/>
  272. <Col id="attfilenm"/>
  273. <Col id="attfilepath"/>
  274. <Col id="fstrgstrnm"/>
  275. <Col id="fstrgstrid"/>
  276. <Col id="fstrgstdt"/>
  277. <Col id="lastupdtrnm"/>
  278. <Col id="lastupdtrid"/>
  279. <Col id="lastupdtdt"/>
  280. <Col id="hitcnt"/>
  281. <Col id="delyn"/>
  282. </Row>
  283. </Rows>
  284. </Dataset>
  285. <Dataset id="ds_main_bbs_cnfminfo_cnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  286. <ColumnInfo>
  287. <Column id="cnfmnm" type="STRING" size="256"/>
  288. </ColumnInfo>
  289. <Rows>
  290. <Row>
  291. <Col id="cnfmnm"/>
  292. </Row>
  293. </Rows>
  294. </Dataset>
  295. <Dataset id="ds_main_bbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  296. <ColumnInfo/>
  297. </Dataset>
  298. <Dataset id="ds_send2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  299. <ColumnInfo>
  300. <Column id="bbsno" type="STRING" size="256"/>
  301. <Column id="bbscls" type="STRING" size="256"/>
  302. <Column id="fromdd" type="STRING" size="256"/>
  303. <Column id="todd" type="STRING" size="256"/>
  304. <Column id="scrhgubun" type="STRING" size="256"/>
  305. <Column id="scrhvalue" type="STRING" size="256"/>
  306. <Column id="file" type="STRING" size="256"/>
  307. <Column id="savedata" type="STRING" size="256"/>
  308. <Column id="gubn" type="STRING" size="256"/>
  309. </ColumnInfo>
  310. <Rows>
  311. <Row>
  312. <Col id="bbsno"/>
  313. <Col id="bbscls"/>
  314. <Col id="fromdd"/>
  315. <Col id="todd"/>
  316. <Col id="scrhgubun"/>
  317. <Col id="scrhvalue"/>
  318. <Col id="file"/>
  319. <Col id="savedata"/>
  320. <Col id="gubn"/>
  321. </Row>
  322. </Rows>
  323. </Dataset>
  324. <Dataset id="ds_main_bbs_cnfminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  325. <ColumnInfo/>
  326. </Dataset>
  327. <Dataset id="ds_subsend" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  328. <ColumnInfo>
  329. <Column id="subsend" type="STRING" size="256"/>
  330. </ColumnInfo>
  331. </Dataset>
  332. <Dataset id="ds_main_bbs_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  333. <ColumnInfo>
  334. <Column id="status" type="STRING" size="256"/>
  335. <Column id="bbsno" type="STRING" size="256"/>
  336. <Column id="bbscls" type="STRING" size="256"/>
  337. <Column id="title" type="STRING" size="256"/>
  338. <Column id="content" type="STRING" size="256"/>
  339. <Column id="attyn" type="STRING" size="256"/>
  340. <Column id="attfilenm" type="STRING" size="256"/>
  341. <Column id="attfilepath" type="STRING" size="256"/>
  342. <Column id="fstrgstrnm" type="STRING" size="256"/>
  343. <Column id="fstrgstrid" type="STRING" size="256"/>
  344. <Column id="fstrgstdt" type="STRING" size="256"/>
  345. <Column id="lastupdtrnm" type="STRING" size="256"/>
  346. <Column id="lastupdtrid" type="STRING" size="256"/>
  347. <Column id="lastupdtdt" type="STRING" size="256"/>
  348. <Column id="hitcnt" type="STRING" size="256"/>
  349. <Column id="delyn" type="STRING" size="256"/>
  350. <Column id="gubn" type="STRING" size="256"/>
  351. </ColumnInfo>
  352. <Rows>
  353. <Row>
  354. <Col id="status"/>
  355. <Col id="bbsno"/>
  356. <Col id="bbscls"/>
  357. <Col id="title"/>
  358. <Col id="content"/>
  359. <Col id="attyn"/>
  360. <Col id="attfilenm"/>
  361. <Col id="attfilepath"/>
  362. <Col id="fstrgstrnm"/>
  363. <Col id="fstrgstrid"/>
  364. <Col id="fstrgstdt"/>
  365. <Col id="lastupdtrnm"/>
  366. <Col id="lastupdtrid"/>
  367. <Col id="lastupdtdt"/>
  368. <Col id="hitcnt"/>
  369. <Col id="delyn"/>
  370. <Col id="gubn"/>
  371. </Row>
  372. </Rows>
  373. </Dataset>
  374. <Dataset id="ds_init_M0636" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  375. <ColumnInfo>
  376. <Column id="cdid" type="STRING" size="256"/>
  377. <Column id="cdnm" type="STRING" size="256"/>
  378. </ColumnInfo>
  379. </Dataset>
  380. <Dataset id="ds_send2_filename" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  381. <ColumnInfo>
  382. <Column id="name" type="STRING" size="256"/>
  383. <Column id="size" type="STRING" size="256"/>
  384. <Column id="data" type="BLOB" size="256"/>
  385. <Column id="type" type="STRING" size="256"/>
  386. </ColumnInfo>
  387. </Dataset>
  388. <Dataset id="ds_main_bbs_resinfo_cnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  389. <Dataset id="ds_hidden_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  390. <ColumnInfo>
  391. <Column id="attfilepath" type="STRING" size="255"/>
  392. <Column id="attfilecnts" type="BLOB" size="255" encript="base64"/>
  393. </ColumnInfo>
  394. </Dataset>
  395. </Objects>
  396. <Bind>
  397. <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_main_bbs_cond" columnid="fromdd"/>
  398. <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_main_bbs_cond" columnid="todd"/>
  399. <BindItem id="item2" compid="group2.combo1" propid="value" datasetid="ds_main_bbs_cond" columnid="scrhgubun"/>
  400. <BindItem id="item3" compid="group2.combo2" propid="value" datasetid="ds_main_bbs_cond" columnid="bbscls"/>
  401. <BindItem id="item4" compid="group2.ipt_scrhvalue" propid="value" datasetid="ds_main_bbs_cond" columnid="scrhvalue"/>
  402. <BindItem id="item5" compid="ipt_attfilenm" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="attfilenm"/>
  403. <BindItem id="item7" compid="cmb_bbscls" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="bbscls"/>
  404. <BindItem id="item8" compid="ipt_title" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="title"/>
  405. <BindItem id="item6" compid="ipt_content" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="content"/>
  406. <BindItem id="item9" compid="textarea1" propid="value" datasetid="ds_main_bbs_cnfminfo_cnfmlist" columnid="cnfmnm"/>
  407. </Bind>
  408. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  409. * System Name :
  410. * Job Name :
  411. * Creator :
  412. * Make Date : 2016-11-17
  413. * Description :
  414. *---------------------------------------------------------------------------------------
  415. * Modify Date Modifier Modify Description
  416. *---------------------------------------------------------------------------------------
  417. * 2016-11-17 Live Converter TF->XP
  418. *
  419. *---------------------------------------------------------------------------------------
  420. ****************************************************************************************/
  421. //=======================================================================================
  422. // Lib Include
  423. //---------------------------------------------------------------------------------------
  424. include "com_commonxp::comm_main.xjs";
  425. include "emr_carecomxp::CareCom.xjs";
  426. include "emr_opanstxp::SMMNP07500.xjs";
  427. //=======================================================================================
  428. // Event
  429. //---------------------------------------------------------------------------------------
  430. /****************************************************************************************
  431. * Components : Form
  432. * Description : 화면 처음 초기화시 폼초기화
  433. ****************************************************************************************/
  434. function SMMNP07500_onload(obj:Form, e:LoadEventInfo)
  435. {
  436. frmf_initForm(obj); // 폼 초기화
  437. grdf_setRowTypeIcon(grd_reslist, 0);
  438. fInitialize() ;
  439. }
  440. /****************************************************************************************
  441. * Components : Dataset
  442. * Description : 체크박스 설정
  443. ****************************************************************************************/
  444. function ds_main_bbs_bbsinfo_bbslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  445. {
  446. if(e.columnid=="chkyn") {
  447. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  448. }
  449. }
  450. /****************************************************************************************
  451. * Components : Button
  452. * Description : 조회
  453. ****************************************************************************************/
  454. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  455. {
  456. fgetBbsList();
  457. }
  458. /****************************************************************************************
  459. * Components : Button
  460. * Description : 출력
  461. ****************************************************************************************/
  462. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  463. {
  464. fPrtBbs();
  465. }
  466. /****************************************************************************************
  467. * Components : Edit
  468. * Description : 조회조건 변경
  469. ****************************************************************************************/
  470. function group2_ipt_scrhvalue_onkeydown(obj:Edit, e:KeyEventInfo)
  471. {
  472. if(e.keycode == 13) {
  473. group2.btn_search.setFocus();
  474. fgetBbsList();
  475. }
  476. }
  477. /****************************************************************************************
  478. * Components : Combo
  479. * Description : 게시구분 변경
  480. ****************************************************************************************/
  481. function group2_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  482. {
  483. group2.btn_search.setFocus();
  484. fgetBbsList();
  485. }
  486. /****************************************************************************************
  487. * Components : Grid
  488. * Description : 게시판 선택
  489. ****************************************************************************************/
  490. function grd_bbs_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  491. {
  492. if (e.row > -1) {
  493. fgetBbsDetail(e.row);
  494. }
  495. }
  496. /****************************************************************************************
  497. * Components : Button
  498. * Description : 작성취소
  499. ****************************************************************************************/
  500. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  501. {
  502. btn_cancel.visible = false;
  503. btn_new.enable = true;
  504. btn_mod.enable = false;
  505. btn_save.enable = false;
  506. btn_del.enable = false;
  507. btn_addcomt.enable = false;
  508. btn_addcomtsave.enable = false;
  509. btn_addcomtdel.enable = false;
  510. btn_fileadd.visible = false;
  511. btn_filedel.visible = false;
  512. btn_down.visible = false;
  513. btn_preview.visible = false;
  514. ipt_title.enable = false;
  515. cmb_bbscls.enable = false;
  516. ipt_attfilenm.enable = false;
  517. dsf_makeValue(ds_main_bbs_iteminfo,"status","string","e");
  518. fNewBbs();
  519. }
  520. /****************************************************************************************
  521. * Components : Button
  522. * Description : 신규
  523. ****************************************************************************************/
  524. function btn_new_onclick(obj:Button, e:ClickEventInfo)
  525. {
  526. btn_cancel.visible = true;
  527. btn_new.enable = false;
  528. btn_mod.enable = false;
  529. btn_save.enable = true;
  530. btn_del.enable = false;
  531. btn_fileadd.visible = true;
  532. btn_filedel.visible = true;
  533. btn_down.visible = false;
  534. btn_preview.visible = false;
  535. ipt_title.enable = true;
  536. cmb_bbscls.enable = true;
  537. ipt_attfilenm.enable = false;
  538. fNewBbs();
  539. dsf_makeValue(ds_main_bbs_iteminfo,"status","string","i");
  540. }
  541. /****************************************************************************************
  542. * Components : Button
  543. * Description : 수정
  544. ****************************************************************************************/
  545. function btn_mod_onclick(obj:Button, e:ClickEventInfo)
  546. {
  547. btn_new.enable = false;
  548. btn_mod.enable = false;
  549. btn_cancel.visible = true;
  550. btn_save.enable = true;
  551. btn_del.enable = false;
  552. btn_fileadd.visible = true;
  553. btn_filedel.visible = true;
  554. btn_down.visible = false;
  555. btn_preview.visible = false;
  556. ipt_title.enable = true;
  557. cmb_bbscls.enable = true;
  558. ipt_attfilenm.enable = false;
  559. dsf_makeValue(ds_main_bbs_iteminfo,"status","string","u");
  560. }
  561. /****************************************************************************************
  562. * Components : Button
  563. * Description : 저장
  564. ****************************************************************************************/
  565. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  566. {
  567. // 각 필드값을 체크한다.
  568. // 제목 체크
  569. if(utlf_isNull(ds_main_bbs_iteminfo.getColumn(0,"title").getTrim()))
  570. {
  571. sysf_messageBox("제목은 ", "I003");
  572. ipt_title.setFocus();
  573. return;
  574. }
  575. // 공지내용 체크
  576. if(utlf_isNull(ds_main_bbs_iteminfo.getColumn(0,"content").getTrim()))
  577. {
  578. sysf_messageBox("내용은 ", "I003");
  579. ipt_content.setFocus();
  580. return;
  581. }
  582. fExeSave();
  583. }
  584. /****************************************************************************************
  585. * Components : Button
  586. * Description : 삭제
  587. ****************************************************************************************/
  588. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  589. {
  590. fNoticeDel();
  591. }
  592. /****************************************************************************************
  593. * Components : Button
  594. * Description : 미리보기
  595. ****************************************************************************************/
  596. function btn_preview_onclick(obj:Button, e:ClickEventInfo)
  597. {
  598. fFilePreview();
  599. }
  600. /****************************************************************************************
  601. * Components : Button
  602. * Description : 파일추가
  603. ****************************************************************************************/
  604. function btn_fileadd_onclick(obj:Button, e:ClickEventInfo)
  605. {
  606. fFileAdd();
  607. }
  608. /****************************************************************************************
  609. * Components : Button
  610. * Description : 파일다운
  611. ****************************************************************************************/
  612. function btn_down_onclick(obj:Button, e:ClickEventInfo)
  613. {
  614. fFileDown();
  615. }
  616. /****************************************************************************************
  617. * Components : Button
  618. * Description : 파일삭제
  619. ****************************************************************************************/
  620. function btn_filedel_onclick(obj:Button, e:ClickEventInfo)
  621. {
  622. fFileDel();
  623. }
  624. /****************************************************************************************
  625. * Components : Button
  626. * Description : 댓글달기
  627. ****************************************************************************************/
  628. function btn_addcomt_onclick(obj:Button, e:ClickEventInfo)
  629. {
  630. var nRow = 0;
  631. if (ds_main_bbs_resinfo_reslist.rowcount > 0 ){
  632. nRow = ds_main_bbs_resinfo_reslist.insertRow(0);
  633. }else if (ds_main_bbs_resinfo_reslist.rowcount == 0){
  634. nRow = ds_main_bbs_resinfo_reslist.addRow();
  635. }
  636. ds_main_bbs_resinfo_reslist.setColumn(nRow,"bbsno",ds_main_bbs_bbsinfo_bbslist.getColumn(ds_main_bbs_bbsinfo_bbslist.rowposition,"bbsno"));
  637. ds_main_bbs_resinfo_reslist.setColumn(nRow,"gubn","A");
  638. }
  639. /****************************************************************************************
  640. * Components : Button
  641. * Description : 댓글저장
  642. ****************************************************************************************/
  643. function btn_addcomtsave_onclick(obj:Button, e:ClickEventInfo)
  644. {
  645. var dsUpdate = grdf_getGridUpdateData(grd_reslist, "all");
  646. grdf_setStatusColumn(dsUpdate, "status");
  647. dsf_createDs("ds_subsend_addcomt");
  648. ds_subsend_addcomt.copyData(dsUpdate,true);
  649. var oParam = {};
  650. oParam.id = "TXMNP00503";
  651. oParam.service = "opanstapp.OpAnstRec";
  652. oParam.method = "reqSetOpNrBbsAddComt";
  653. oParam.inds = "addcomt=ds_subsend_addcomt";
  654. oParam.outds = "ds_main_bbs_resinfo_cnfmlist=cnfmlist ds_main_bbs_resinfo_reslist=reslist";
  655. oParam.async = false;
  656. oParam.callback = "cf_TXMNP00503";
  657. tranf_submit(oParam);
  658. ds_main_bbs_resinfo_reslist.applyChange();
  659. }
  660. /****************************************************************************************
  661. * Components : Button
  662. * Description : 댓글삭제
  663. ****************************************************************************************/
  664. function btn_addcomtdel_onclick(obj:Button, e:ClickEventInfo)
  665. {
  666. ds_main_bbs_resinfo_reslist.deleteRow(ds_main_bbs_resinfo_reslist.rowposition);
  667. }
  668. function grd_reslist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  669. {
  670. obj.showEditor(true);
  671. }
  672. ]]></Script>
  673. </Form>
  674. </FDL>