SMMNP00500_수술실 간호게시판.xrw 17 KB

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