SPMNO09000_간호게시판.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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. </main>
  55. <send>
  56. <bbsno/>
  57. <bbscls/>
  58. <fromdd/>
  59. <todd/>
  60. <scrhgubun/>
  61. <scrhvalue/>
  62. <file/>
  63. <savedata/>
  64. </send>
  65. <hidden/>
  66. <init>
  67. <M0624/>
  68. </init>
  69. <codeinfo/>
  70. </root>
  71. </instance>
  72. <script type="javascript" ev:event="xforms-ready">
  73. <![CDATA[
  74. fInitialize() ;
  75. ]]>
  76. </script>
  77. <submission id="TRMNO09001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/bbsinfo/bbslist"/>
  78. <submission id="TXMNO09001" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  79. <submission id="TRMNO09002" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  80. <submission id="TXMNO09002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  81. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/codeinfo"/>
  82. </model>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  86. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  89. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  90. <script type="javascript" src="../../../emr/outcareweb/js/SPMNO09000.js"/>
  91. </xhtml:head>
  92. <xhtml:body pagewidth="800" pageheight="730" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  93. <group id="group1" style="left:0px; top:0px; width:775px; height:13px; ">
  94. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">간호게시판</caption>
  95. </group>
  96. <group id="group2" style="left:0px; top:19px; width:778px; height:51px; vertical-align:top; ">
  97. <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; "/>
  98. <caption id="caption2" class="search_name" style="left:225px; top:7px; width:86px; height:17px; ">등록기간 :</caption>
  99. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" inputtype="date" style="left:315px; top:7px; width:85px; height:19px; "/>
  100. <caption id="caption10" style="left:400px; top:7px; width:15px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
  101. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" inputtype="date" style="left:415px; top:7px; width:85px; height:19px; "/>
  102. <caption id="caption3" class="search_name" style="left:35px; top:29px; width:97px; height:17px; ">조회구분 :</caption>
  103. <select1 id="combo1" ref="/root/main/cond/scrhgubun" appearance="minimal" style="left:125px; top:28px; width:85px; height:19px; ">
  104. <choices>
  105. <item>
  106. <label>제목</label>
  107. <value>T</value>
  108. </item>
  109. <item>
  110. <label>내용</label>
  111. <value>C</value>
  112. </item>
  113. <item>
  114. <label>등록자</label>
  115. <value>U</value>
  116. </item>
  117. </choices>
  118. </select1>
  119. <input id="input1" ref="/root/main/cond/scrhvalue" style="left:225px; top:28px; width:275px; height:19px; ">
  120. <script type="javascript" ev:event="onkeypress">
  121. <![CDATA[
  122. if(event.keycode == "13"){
  123. model.setFocus("btn_search");
  124. fgetBbsList();
  125. }
  126. ]]>
  127. </script>
  128. </input>
  129. <line id="line1" class="line_4" style="x1:645px; y1:7px; x2:645px; y2:42px; border-color:#ffe4bb; border-left-style:solid; "/>
  130. <button id="btn_search" class="btn1_letter2" style="left:655px; top:14px; width:56px; height:22px; ">
  131. <caption>조회</caption>
  132. <script type="javascript" ev:event="DOMActivate">
  133. <![CDATA[
  134. fgetBbsList();
  135. ]]>
  136. </script>
  137. </button>
  138. <caption id="caption1" class="search_name" style="left:35px; top:7px; width:86px; height:17px; ">게시구분 :</caption>
  139. <select1 id="combo2" ref="/root/main/cond/bbscls" appearance="minimal" style="left:125px; top:5px; width:85px; height:19px; ">
  140. <choices>
  141. <itemset nodeset="/root/init/M0624/M0624">
  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. <button id="button1" class="btn1_letter2" style="left:715px; top:14px; width:56px; height:22px; ">
  154. <caption>출력</caption>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. fPrtBbs();
  158. ]]>
  159. </script>
  160. </button>
  161. </group>
  162. <datagrid id="grd_bbs" nodeset="/root/main/bbsinfo/bbslist" scroll="vertical" autoresize="true" caption="^글번호^게시구분^제목^내용^확인^첨부^첨부파일명^첨부파일패스^작성자^작성자ID^등록일시^수정자^수정자아이디^수정일시^조회수^삭제여부" colsep="^" colwidth="25, 50, 57, 356, 0, 30, 30, 0, 0, 64, 0, 105, 0, 0, 0, 44, 0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:76px; width:778px; height:325px; ">
  163. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  164. <col ref="bbsno" style="text-align:center; "/>
  165. <col disabled="true" ref="bbscls" type="combo" style="text-align:center; ">
  166. <choices>
  167. <itemset nodeset="/root/init/M0624/M0624">
  168. <label ref="cdnm"/>
  169. <value ref="cdid"/>
  170. </itemset>
  171. </choices>
  172. </col>
  173. <col ref="title"/>
  174. <col ref="content" visibility="hidden"/>
  175. <col ref="cnfmyn" style="text-align:center; "/>
  176. <col ref="attyn" style="text-align:center; "/>
  177. <col ref="attfilenm"/>
  178. <col ref="attfilepath"/>
  179. <col ref="fstrgstrnm" style="text-align:center; "/>
  180. <col ref="fstrgstrid"/>
  181. <col ref="fstrgstdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
  182. <col ref="lastupdtrnm"/>
  183. <col ref="lastupdtrid"/>
  184. <col ref="lastupdtdt" format="yyyy/mm/dd hh:nn"/>
  185. <col ref="hitcnt" style="text-align:center; "/>
  186. <col ref="delyn" visibility="hidden"/>
  187. <script type="javascript" ev:event="ondblclick">
  188. <![CDATA[
  189. if (isDataCell() == true) {
  190. fgetBbsDetail(grd_bbs.row);
  191. }
  192. ]]>
  193. </script>
  194. </datagrid>
  195. <line id="line2" class="line_1" style="x1:0px; y1:71px; x2:778px; y2:71px; "/>
  196. <line id="line20" class="line_2" style="x1:0px; y1:459px; x2:673px; y2:459px; "/>
  197. <line id="line3" class="line_2" style="x1:0px; y1:704px; x2:650px; y2:704px; "/>
  198. <line id="line4" class="line_3" style="x1:0px; y1:728px; x2:673px; y2:728px; "/>
  199. <button id="btn_cancel" class="btn2_letter4" navindex="5" visibility="hidden" style="left:542px; top:407px; width:64px; height:19px; ">
  200. <caption>작성취소</caption>
  201. <script type="javascript" ev:event="onclick">
  202. <![CDATA[
  203. btn_cancel.visible = false;
  204. btn_new.disabled = false;
  205. btn_mod.disabled = true;
  206. btn_save.disabled = true;
  207. btn_del.disabled = true;
  208. btn_fileadd.visible = false;
  209. btn_filedel.visible = false;
  210. btn_down.visible = false;
  211. btn_preview.visible = false;
  212. ipt_title.disabled = true;
  213. cmb_bbscls.disabled = true;
  214. ipt_attfilenm.disabled = true;
  215. model.makeValue("/root/main/iteminfo/status",'e');
  216. fNewBbs();
  217. ]]>
  218. </script>
  219. </button>
  220. <button id="btn_new" class="btn2_letter2" navindex="5" style="left:607px; top:407px; width:42px; height:19px; ">
  221. <caption>신규</caption>
  222. <script type="javascript" ev:event="onclick">
  223. <![CDATA[
  224. btn_cancel.visible = true;
  225. btn_new.disabled = true;
  226. btn_mod.disabled = true;
  227. btn_save.disabled = false;
  228. btn_del.disabled = true;
  229. btn_fileadd.visible = true;
  230. btn_filedel.visible = true;
  231. btn_down.visible = false;
  232. btn_preview.visible = false;
  233. ipt_title.disabled = false;
  234. cmb_bbscls.disabled = false;
  235. ipt_attfilenm.disabled = true;
  236. fNewBbs();
  237. model.makeValue("/root/main/iteminfo/status",'i');
  238. ]]>
  239. </script>
  240. </button>
  241. <button id="btn_mod" class="btn2_letter2" navindex="5" style="left:650px; top:407px; width:42px; height:19px; ">
  242. <caption>수정</caption>
  243. <script type="javascript" ev:event="onclick">
  244. <![CDATA[
  245. btn_new.disabled = true;
  246. btn_mod.disabled = true;
  247. btn_cancel.visible = true;
  248. btn_save.disabled = false;
  249. btn_del.disabled = true;
  250. btn_fileadd.visible = true;
  251. btn_filedel.visible = true;
  252. btn_down.visible = false;
  253. btn_preview.visible = false;
  254. ipt_title.disabled = false;
  255. cmb_bbscls.disabled = false;
  256. ipt_attfilenm.disabled = true;
  257. model.makeValue("/root/main/iteminfo/status","u");
  258. ]]>
  259. </script>
  260. </button>
  261. <button id="btn_save" class="btn5_letter2" disabled="true" navindex="5" style="left:693px; top:407px; width:42px; height:19px; ">
  262. <caption>저장</caption>
  263. <script type="javascript" ev:event="DOMActivate">
  264. <![CDATA[
  265. // 각 필드값을 체크한다.
  266. // 제목 체크
  267. if(model.getValue("/root/main/iteminfo/title").getTrim()=="")
  268. {
  269. messageBox("제목은 ", "I003");
  270. model.setFocus("ipt_title");
  271. return;
  272. }
  273. // 공지내용 체크
  274. if(model.getValue("/root/main/iteminfo/content").getTrim()=="")
  275. {
  276. messageBox("내용은 ", "I003");
  277. model.setFocus("ipt_content");
  278. return;
  279. }
  280. fExeSave();
  281. ]]>
  282. </script>
  283. </button>
  284. <button id="btn_del" class="btn5_letter2" disabled="true" style="left:736px; top:407px; width:42px; height:19px; ">
  285. <caption>삭제</caption>
  286. <script type="javascript" ev:event="DOMActivate">
  287. <![CDATA[
  288. fNoticeDel();
  289. ]]>
  290. </script>
  291. </button>
  292. <caption id="cap_cnts" class="cell_1" style="left:0px; top:461px; width:79px; height:244px; text-align:center; vertical-align:middle; ">내용</caption>
  293. <caption id="caption12" class="cell_1" style="left:0px; top:706px; width:79px; height:22px; text-align:center; vertical-align:middle; ">첨부</caption>
  294. <input id="ipt_attfilenm" ref="/root/main/iteminfo/attfilenm" maxlength="100" style="left:81px; top:707px; width:455px; height:19px; "/>
  295. <upload id="upload1" nodeset="/root/send/file/filename" ext="zip" filecount="5" filesize="10485760" validate="true" style="left:520px; top:710px; width:15px; height:15px; "/>
  296. <button id="btn_fileadd" class="btn2_letter2" visibility="hidden" style="left:585px; top:707px; width:42px; height:19px; ">
  297. <caption>첨부</caption>
  298. <script type="javascript" ev:event="DOMActivate">
  299. <![CDATA[
  300. fFileAdd();
  301. ]]>
  302. </script>
  303. </button>
  304. <button id="btn_filedel" class="btn2_letter2" visibility="hidden" style="left:630px; top:707px; width:42px; height:19px; ">
  305. <caption>삭제</caption>
  306. <script type="javascript" ev:event="DOMActivate">
  307. <![CDATA[
  308. fFileDel();
  309. ]]>
  310. </script>
  311. </button>
  312. <button id="btn_down" class="btn2_letter4" navindex="6" style="left:607px; top:707px; width:64px; height:19px; ">
  313. <caption>다운로드</caption>
  314. <script type="javascript" ev:event="DOMActivate">
  315. <![CDATA[
  316. fFileDown();
  317. ]]>
  318. </script>
  319. </button>
  320. <caption id="cap_titl" class="cell_1" style="left:0px; top:432px; width:79px; height:28px; text-align:center; vertical-align:middle; ">제목</caption>
  321. <line id="line9" class="line_1" style="x1:0px; y1:427px; x2:778px; y2:427px; "/>
  322. <caption id="caption7" class="tit_2" style="left:0px; top:413px; width:134px; height:13px; ">내용</caption>
  323. <textarea id="ipt_content" ref="/root/main/iteminfo/content" class="text_essential" scroll="autovscroll" maxlength="4000" style="left:81px; top:462px; width:697px; height:243px; font-family:돋움, Arial; font-size:14pt; "/>
  324. <button id="btn_preview" class="btn2_letter4" navindex="6" visibility="hidden" style="left:539px; top:707px; width:64px; height:19px; ">
  325. <caption>미리보기</caption>
  326. <script type="javascript" ev:event="DOMActivate">
  327. <![CDATA[
  328. fFilePreview();
  329. ]]>
  330. </script>
  331. </button>
  332. <select1 id="cmb_bbscls" ref="/root/main/iteminfo/bbscls" appearance="minimal" style="left:681px; top:436px; width:97px; height:19px; ">
  333. <choices>
  334. <itemset nodeset="/root/init/M0624/M0624">
  335. <label ref="cdnm"/>
  336. <value ref="cdid"/>
  337. </itemset>
  338. </choices>
  339. </select1>
  340. <caption id="caption5" class="cell_1" style="left:600px; top:432px; width:79px; height:28px; text-align:center; vertical-align:middle; ">게시구분</caption>
  341. <textarea id="ipt_title" ref="/root/main/iteminfo/title" class="text_essential" overflow="hidden" imemode="hangul" maxlength="300" style="left:81px; top:433px; width:516px; height:24px; font-family:돋움, Arial; font-size:14pt; "/>
  342. </xhtml:body>
  343. </xhtml:html>