SMMNP07500_회복실게시판.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>회복실게시판</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main_bbs>
  10. <iteminfo>
  11. <status/>
  12. <bbsno/>
  13. <bbscls/>
  14. <title/>
  15. <content/>
  16. <attyn/>
  17. <attfilenm/>
  18. <attfilepath/>
  19. <fstrgstrnm/>
  20. <fstrgstrid/>
  21. <fstrgstdt/>
  22. <lastupdtrnm/>
  23. <lastupdtrid/>
  24. <lastupdtdt/>
  25. <hitcnt/>
  26. <delyn/>
  27. <gubn/>
  28. </iteminfo>
  29. <bbsinfo>
  30. <bbslist>
  31. <bbsno/>
  32. <bbscls/>
  33. <title/>
  34. <content/>
  35. <attyn/>
  36. <attfilenm/>
  37. <attfilepath/>
  38. <fstrgstrnm/>
  39. <fstrgstrid/>
  40. <fstrgstdt/>
  41. <lastupdtrnm/>
  42. <lastupdtrid/>
  43. <lastupdtdt/>
  44. <hitcnt/>
  45. <delyn/>
  46. </bbslist>
  47. </bbsinfo>
  48. <cond>
  49. <bbscls>T</bbscls>
  50. <scrhvalue/>
  51. <scrhgubun>T</scrhgubun>
  52. <todd/>
  53. <fromdd/>
  54. </cond>
  55. <resinfo>
  56. <bbsno/>
  57. <reslist/>
  58. </resinfo>
  59. <cnfminfo>
  60. <cnfmlist>
  61. <cnfmnm/>
  62. </cnfmlist>
  63. </cnfminfo>
  64. </main_bbs>
  65. <send2>
  66. <bbsno/>
  67. <bbscls/>
  68. <fromdd/>
  69. <todd/>
  70. <scrhgubun/>
  71. <scrhvalue/>
  72. <file/>
  73. <savedata/>
  74. <gubn/>
  75. </send2>
  76. <hidden/>
  77. <init>
  78. <M0636/>
  79. </init>
  80. <codeinfo/>
  81. <subsend/>
  82. </root>
  83. </instance>
  84. <script type="javascript" ev:event="xforms-ready">
  85. <![CDATA[
  86. fInitialize() ;
  87. ]]>
  88. </script>
  89. <submission id="TRMNP00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send2" add="bottom" resultref="/root/main_bbs/bbsinfo/bbslist"/>
  90. <submission id="TXMNP00501" mediatype="multipart/form-data" method="form-data-post" ref="/root/send2" resultref="/root/hidden"/>
  91. <submission id="TRMNP00502" mediatype="multipart/form-data" method="form-data-post" ref="/root/send2" resultref="/root/hidden"/>
  92. <submission id="TXMNP00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send2" resultref="/root/main_bbs/resinfo"/>
  93. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send2/reqdata" resultref="/root/codeinfo"/>
  94. <submission id="TXMNP00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/subsend/addcomt" resultref="/root/main_bbs/resinfo"/>
  95. <submission id="TRMNP00504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send2" resultref="/root/main_bbs/cnfminfo"/>
  96. </model>
  97. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  100. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  101. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  102. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  103. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  104. <script type="javascript" src="../../../emr/opanstweb/js/SMMNP07500.js"/>
  105. </xhtml:head>
  106. <xhtml:body pagewidth="800" pageheight="670" guideline="1,776;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  107. <group id="group2" style="left:0px; top:4px; width:778px; height:51px; vertical-align:top; ">
  108. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:778px; height:50px; background-color:#fffbf2; border-color:#ffd799; "/>
  109. <caption id="caption2" class="search_name" style="left:35px; top:7px; width:86px; height:17px; ">등록기간 :</caption>
  110. <input id="ipt_fromdd" ref="/root/main_bbs/cond/fromdd" class="input_search" inputtype="date" style="left:125px; top:7px; width:85px; height:19px; "/>
  111. <caption id="caption10" style="left:210px; top:7px; width:15px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
  112. <input id="ipt_todd" ref="/root/main_bbs/cond/todd" class="input_search" inputtype="date" style="left:225px; top:7px; width:85px; height:19px; "/>
  113. <caption id="caption3" class="search_name" style="left:35px; top:29px; width:97px; height:17px; ">조회구분 :</caption>
  114. <select1 id="combo1" ref="/root/main_bbs/cond/scrhgubun" appearance="minimal" style="left:125px; top:28px; width:85px; height:19px; ">
  115. <choices>
  116. <item>
  117. <label>제목</label>
  118. <value>T</value>
  119. </item>
  120. <item>
  121. <label>내용</label>
  122. <value>C</value>
  123. </item>
  124. <item>
  125. <label>등록자</label>
  126. <value>U</value>
  127. </item>
  128. </choices>
  129. </select1>
  130. <line id="line1" class="line_4" style="x1:645px; y1:7px; x2:645px; y2:42px; border-color:#ffe4bb; border-left-style:solid; "/>
  131. <button id="btn_search" class="btn1_letter2" style="left:655px; top:14px; width:56px; height:22px; ">
  132. <caption>조회</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. fgetBbsList();
  136. ]]>
  137. </script>
  138. </button>
  139. <select1 id="combo2" ref="/root/main_bbs/cond/bbscls" disabled="false" visibility="hidden" appearance="minimal" style="left:520px; top:5px; width:85px; height:19px; ">
  140. <choices>
  141. <itemset nodeset="/root/init/M0636/M0636">
  142. <label ref="cdnm"/>
  143. <value ref="cdid"/>
  144. </itemset>
  145. </choices>
  146. <script type="javascript" ev:event="xforms-select">
  147. <![CDATA[
  148. model.setFocus("btn_search");
  149. fgetBbsList();
  150. ]]>
  151. </script>
  152. </select1>
  153. <caption id="caption1" class="search_name" visibility="hidden" style="left:430px; top:7px; width:86px; height:17px; ">게시구분 :</caption>
  154. <button id="button1" class="btn1_letter2" visibility="hidden" style="left:715px; top:14px; width:56px; height:22px; ">
  155. <caption>출력</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. fPrtBbs();
  159. ]]>
  160. </script>
  161. </button>
  162. <input id="ipt_scrhvalue" ref="/root/main_bbs/cond/scrhvalue" style="left:225px; top:28px; width:275px; height:19px; ">
  163. <script type="javascript" ev:event="onkeypress">
  164. <![CDATA[
  165. if(event.keycode == "13"){
  166. model.setFocus("btn_search");
  167. fgetBbsList();
  168. }
  169. ]]>
  170. </script>
  171. </input>
  172. </group>
  173. <shape id="rectangle1" appearance="rectangle" style="left:0px; top:490px; width:775px; height:145px; padding:0; background-color:#eaeaea; border-style:none; "/>
  174. <datagrid id="grd_bbs" nodeset="/root/main_bbs/bbsinfo/bbslist" scroll="vertical" autoresize="true" caption="^글번호^게시구분^제목^내용^확인^첨부^첨부파일명^첨부파일패스^작성자^작성자ID^등록일시^수정자^수정자아이디^수정일시^조회수^삭제여부" colsep="^" colwidth="25, 50, 0, 413, 0, 30, 30, 0, 0, 64, 0, 105, 0, 0, 0, 44, 0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:61px; width:778px; height:209px; ">
  175. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  176. <col ref="bbsno" style="text-align:center; "/>
  177. <col disabled="true" ref="bbscls" type="combo" visibility="hidden" style="text-align:center; ">
  178. <choices>
  179. <itemset nodeset="/root/init/M0636/M0636">
  180. <label ref="cdnm"/>
  181. <value ref="cdid"/>
  182. </itemset>
  183. </choices>
  184. </col>
  185. <col ref="title"/>
  186. <col ref="content" visibility="hidden"/>
  187. <col ref="cnfmyn" style="text-align:center; "/>
  188. <col ref="attyn" style="text-align:center; "/>
  189. <col ref="attfilenm"/>
  190. <col ref="attfilepath"/>
  191. <col ref="fstrgstrnm" style="text-align:center; "/>
  192. <col ref="fstrgstrid"/>
  193. <col ref="fstrgstdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
  194. <col ref="lastupdtrnm"/>
  195. <col ref="lastupdtrid"/>
  196. <col ref="lastupdtdt" format="yyyy/mm/dd hh:nn"/>
  197. <col ref="hitcnt" style="text-align:center; "/>
  198. <col ref="delyn" visibility="hidden"/>
  199. <script type="javascript" ev:event="ondblclick">
  200. <![CDATA[
  201. if (isDataCell() == true) {
  202. fgetBbsDetail(grd_bbs.row);
  203. }
  204. // 트리구조 구현하기 위한 소스
  205. //setTree(grd_reslist, grd_reslist.colRef("depth"), grd_reslist.colRef("resfact"));
  206. ]]>
  207. </script>
  208. </datagrid>
  209. <line id="line2" class="line_1" style="x1:0px; y1:56px; x2:778px; y2:56px; "/>
  210. <line id="line20" class="line_2" style="x1:0px; y1:329px; x2:673px; y2:329px; "/>
  211. <line id="line3" class="line_2" style="x1:0px; y1:464px; x2:650px; y2:464px; "/>
  212. <line id="line4" class="line_3" style="x1:0px; y1:488px; x2:778px; y2:488px; "/>
  213. <button id="btn_cancel" class="btn2_letter4" navindex="5" visibility="hidden" style="left:542px; top:277px; width:64px; height:19px; ">
  214. <caption>작성취소</caption>
  215. <script type="javascript" ev:event="onclick">
  216. <![CDATA[
  217. btn_cancel.visible = false;
  218. btn_new.disabled = false;
  219. btn_mod.disabled = true;
  220. btn_save.disabled = true;
  221. btn_del.disabled = true;
  222. btn_addcomt.disabled = true;
  223. btn_addcomtsave.disabled = true;
  224. btn_addcomtdel.disabled = true;
  225. btn_fileadd.visible = false;
  226. btn_filedel.visible = false;
  227. btn_down.visible = false;
  228. btn_preview.visible = false;
  229. ipt_title.disabled = true;
  230. cmb_bbscls.disabled = true;
  231. ipt_attfilenm.disabled = true;
  232. model.makeValue("/root/main_bbs/iteminfo/status",'e');
  233. fNewBbs();
  234. ]]>
  235. </script>
  236. </button>
  237. <button id="btn_new" class="btn2_letter2" navindex="5" style="left:607px; top:277px; width:42px; height:19px; ">
  238. <caption>신규</caption>
  239. <script type="javascript" ev:event="onclick">
  240. <![CDATA[
  241. btn_cancel.visible = true;
  242. btn_new.disabled = true;
  243. btn_mod.disabled = true;
  244. btn_save.disabled = false;
  245. btn_del.disabled = true;
  246. btn_fileadd.visible = true;
  247. btn_filedel.visible = true;
  248. btn_down.visible = false;
  249. btn_preview.visible = false;
  250. ipt_title.disabled = false;
  251. cmb_bbscls.disabled = false;
  252. ipt_attfilenm.disabled = true;
  253. fNewBbs();
  254. model.makeValue("/root/main_bbs/iteminfo/status",'i');
  255. ]]>
  256. </script>
  257. </button>
  258. <button id="btn_mod" class="btn2_letter2" navindex="5" style="left:650px; top:277px; width:42px; height:19px; ">
  259. <caption>수정</caption>
  260. <script type="javascript" ev:event="onclick">
  261. <![CDATA[
  262. btn_new.disabled = true;
  263. btn_mod.disabled = true;
  264. btn_cancel.visible = true;
  265. btn_save.disabled = false;
  266. btn_del.disabled = true;
  267. btn_fileadd.visible = true;
  268. btn_filedel.visible = true;
  269. btn_down.visible = false;
  270. btn_preview.visible = false;
  271. ipt_title.disabled = false;
  272. cmb_bbscls.disabled = false;
  273. ipt_attfilenm.disabled = true;
  274. model.makeValue("/root/main_bbs/iteminfo/status","u");
  275. ]]>
  276. </script>
  277. </button>
  278. <button id="btn_save" class="btn5_letter2" disabled="true" navindex="5" style="left:693px; top:277px; width:42px; height:19px; ">
  279. <caption>저장</caption>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. // 각 필드값을 체크한다.
  283. // 제목 체크
  284. if(model.getValue("/root/main_bbs/iteminfo/title").getTrim()=="")
  285. {
  286. messageBox("제목은 ", "I003");
  287. model.setFocus("ipt_title");
  288. return;
  289. }
  290. // 공지내용 체크
  291. if(model.getValue("/root/main_bbs/iteminfo/content").getTrim()=="")
  292. {
  293. messageBox("내용은 ", "I003");
  294. model.setFocus("ipt_content");
  295. return;
  296. }
  297. fExeSave();
  298. ]]>
  299. </script>
  300. </button>
  301. <button id="btn_del" class="btn5_letter2" disabled="true" style="left:736px; top:277px; width:42px; height:19px; ">
  302. <caption>삭제</caption>
  303. <script type="javascript" ev:event="DOMActivate">
  304. <![CDATA[
  305. fNoticeDel();
  306. ]]>
  307. </script>
  308. </button>
  309. <caption id="cap_cnts" class="cell_1" style="left:0px; top:331px; width:79px; height:134px; text-align:center; vertical-align:middle; ">내용</caption>
  310. <caption id="caption12" class="cell_1" style="left:0px; top:466px; width:79px; height:22px; text-align:center; vertical-align:middle; ">첨부</caption>
  311. <input id="ipt_attfilenm" ref="/root/main_bbs/iteminfo/attfilenm" maxlength="100" style="left:81px; top:467px; width:455px; height:19px; "/>
  312. <upload id="upload1" nodeset="/root/send2/file/filename" ext="zip" filecount="5" filesize="10485760" validate="true" style="left:520px; top:470px; width:15px; height:15px; "/>
  313. <button id="btn_fileadd" class="btn2_letter2" visibility="hidden" style="left:585px; top:467px; width:42px; height:19px; ">
  314. <caption>첨부</caption>
  315. <script type="javascript" ev:event="DOMActivate">
  316. <![CDATA[
  317. fFileAdd();
  318. ]]>
  319. </script>
  320. </button>
  321. <button id="btn_filedel" class="btn2_letter2" visibility="hidden" style="left:630px; top:467px; width:42px; height:19px; ">
  322. <caption>삭제</caption>
  323. <script type="javascript" ev:event="DOMActivate">
  324. <![CDATA[
  325. fFileDel();
  326. ]]>
  327. </script>
  328. </button>
  329. <button id="btn_down" class="btn2_letter4" navindex="6" style="left:627px; top:467px; width:64px; height:19px; ">
  330. <caption>다운로드</caption>
  331. <script type="javascript" ev:event="DOMActivate">
  332. <![CDATA[
  333. fFileDown();
  334. ]]>
  335. </script>
  336. </button>
  337. <caption id="cap_titl" class="cell_1" style="left:0px; top:302px; width:79px; height:28px; text-align:center; vertical-align:middle; ">제목</caption>
  338. <line id="line9" class="line_1" style="x1:0px; y1:297px; x2:778px; y2:297px; "/>
  339. <caption id="caption7" class="tit_2" style="left:0px; top:283px; width:134px; height:13px; ">내용</caption>
  340. <textarea id="ipt_content" ref="/root/main_bbs/iteminfo/content" class="text_essential" scroll="autovscroll" maxlength="4000" style="left:81px; top:332px; width:697px; height:133px; font-family:돋움, Arial; font-size:14pt; "/>
  341. <button id="btn_preview" class="btn2_letter4" navindex="6" visibility="hidden" style="left:539px; top:467px; width:64px; height:19px; ">
  342. <caption>미리보기</caption>
  343. <script type="javascript" ev:event="DOMActivate">
  344. <![CDATA[
  345. fFilePreview();
  346. ]]>
  347. </script>
  348. </button>
  349. <select1 id="cmb_bbscls" ref="/root/main_bbs/iteminfo/bbscls" disabled="false" visibility="visible" appearance="minimal" style="left:681px; top:306px; width:97px; height:19px; ">
  350. <choices>
  351. <itemset nodeset="/root/init/M0636/M0636">
  352. <label ref="cdnm"/>
  353. <value ref="cdid"/>
  354. </itemset>
  355. </choices>
  356. </select1>
  357. <caption id="caption5" class="cell_1" visibility="visible" style="left:600px; top:302px; width:79px; height:28px; text-align:center; vertical-align:middle; ">게시구분</caption>
  358. <textarea id="ipt_title" ref="/root/main_bbs/iteminfo/title" class="text_essential" overflow="hidden" imemode="hangul" maxlength="300" style="left:81px; top:303px; width:516px; height:24px; font-family:돋움, Arial; font-size:14pt; "/>
  359. <datagrid id="grd_reslist" nodeset="/root/main_bbs/resinfo/reslist" autoresize="true" caption="댓글^등록자^기록일자^gubn^bbsno^resno^supresno" colsep="^" colwidth="518, 70, 105, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:15px; top:515px; width:735px; height:115px; ">
  360. <col ref="resfact" type="input"/>
  361. <col ref="usernm" style="text-align:center; "/>
  362. <col ref="recdd" format="yyyy/mm/dd hh:nn"/>
  363. <col ref="gubn"/>
  364. <col ref="bbsno"/>
  365. <col ref="resno"/>
  366. <col ref="supresno"/>
  367. </datagrid>
  368. <button id="btn_addcomt" class="btn2_letter2" disabled="true" style="left:616px; top:494px; width:42px; height:19px; ">
  369. <caption>댓글</caption>
  370. <script type="javascript" ev:event="DOMActivate">
  371. <![CDATA[
  372. if (grd_reslist.rows > 1 ){
  373. grd_reslist.insertRow(1, "above");
  374. }else if (grd_reslist.rows == 1){
  375. grd_reslist.addRow(true, true);
  376. }
  377. grd_reslist.valueMatrix(grd_reslist.row, grd_reslist.colRef("bbsno")) = grd_bbs.valueMatrix(grd_bbs.row, grd_bbs.colRef("bbsno"));
  378. grd_reslist.valueMatrix(grd_reslist.row, grd_reslist.colRef("gubn")) = "A";
  379. ]]>
  380. </script>
  381. </button>
  382. <button id="btn_addcomtsave" class="btn2_letter2" disabled="true" style="left:660px; top:494px; width:42px; height:19px; ">
  383. <caption>저장</caption>
  384. <script type="javascript" ev:event="DOMActivate">
  385. <![CDATA[
  386. model.removenode("/root/subsend");
  387. model.makeValue("/root/subsend/addcomt ", grd_reslist.getUpdateData());
  388. submit("TXMNP00503");
  389. grd_reslist.clearStatus();
  390. ]]>
  391. </script>
  392. </button>
  393. <button id="btn_addcomtdel" class="btn2_letter2" style="left:705px; top:494px; width:42px; height:19px; ">
  394. <caption>삭제</caption>
  395. <script type="javascript" ev:event="DOMActivate">
  396. <![CDATA[
  397. var iRow = grd_reslist.row;
  398. var iCol = grd_reslist.col;
  399. grd_reslist.deleteRow(iRow);
  400. ]]>
  401. </script>
  402. </button>
  403. <caption id="caption4" class="cell_1" style="left:0px; top:637px; width:79px; height:32px; text-align:center; vertical-align:middle; ">확인자</caption>
  404. <textarea id="textarea1" ref="/root/main_bbs/cnfminfo/cnfmlist/cnfmnm" scroll="auto" editable="false" style="left:80px; top:637px; width:697px; height:32px; "/>
  405. </xhtml:body>
  406. </xhtml:html>