SMMNN03100_분만실게시판.xrw 18 KB

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