SMMNN03100_분만실게시판.xfdl 34 KB

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