SPMNW09600_간호QNA.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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>
  6. <![CDATA[FAQ 게시판]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <main>
  12. <iteminfo>
  13. <status/>
  14. <bbsno/>
  15. <bbscls/>
  16. <title/>
  17. <content/>
  18. <attyn/>
  19. <attfilenm/>
  20. <attfilepath/>
  21. <fstrgstrnm/>
  22. <fstrgstrid/>
  23. <fstrgstdt/>
  24. <lastupdtrnm/>
  25. <lastupdtrid/>
  26. <lastupdtdt/>
  27. <hitcnt/>
  28. <delyn/>
  29. <lrgcd/>
  30. <mdlcd/>
  31. <smlcd/>
  32. </iteminfo>
  33. <bbsinfo>
  34. <bbslist>
  35. <bbsno/>
  36. <bbscls/>
  37. <title/>
  38. <content/>
  39. <attyn/>
  40. <attfilenm/>
  41. <attfilepath/>
  42. <fstrgstrnm/>
  43. <fstrgstrid/>
  44. <fstrgstdt/>
  45. <lastupdtrnm/>
  46. <lastupdtrid/>
  47. <lastupdtdt/>
  48. <hitcnt/>
  49. <delyn/>
  50. </bbslist>
  51. </bbsinfo>
  52. <cond>
  53. <bbscls>T</bbscls>
  54. <scrhvalue/>
  55. <scrhgubun/>
  56. <todd/>
  57. <fromdd/>
  58. <lrgcd/>
  59. <mdlcd/>
  60. <smlcd/>
  61. </cond>
  62. </main>
  63. <send>
  64. <bbsno/>
  65. <bbscls/>
  66. <fromdd/>
  67. <todd/>
  68. <scrhgubun/>
  69. <scrhvalue/>
  70. <file/>
  71. <savedata/>
  72. <lrgcd/>
  73. <mdlcd/>
  74. <smlcd/>
  75. </send>
  76. <hidden/>
  77. <init>
  78. <M0624/>
  79. <lrgcd/>
  80. <mdlcd/>
  81. <smlcd/>
  82. <code/>
  83. </init>
  84. <temp>
  85. <lrgcd/>
  86. <mdlcd/>
  87. <smlcd/>
  88. </temp>
  89. </root>
  90. </instance>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. fInitialize() ;
  94. ]]>
  95. </script>
  96. <submission id="TXMNW09601" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  97. <submission id="TRMNW09602" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  98. <submission id="TXMNW09602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  99. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  100. <submission id="TRMNW09601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/bbsinfo/bbslist"/>
  101. <submission id="TRMNW09603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/code"/>
  102. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  103. </model>
  104. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  106. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  109. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  110. <script type="javascript" src="../../../emr/wardcareweb/js/SPMNW09600.js"/>
  111. </xhtml:head>
  112. <xhtml:body pagewidth="820" pageheight="730" guideline="1,944;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  113. <group id="group1" style="left:0px; top:0px; width:795px; height:13px; ">
  114. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">FAQ 게시판</caption>
  115. </group>
  116. <group id="group2" style="left:0px; top:19px; width:797px; height:51px; vertical-align:top; ">
  117. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:797px; height:50px; background-color:#fffbf2; border-color:#ffd799; "/>
  118. <caption id="caption3" class="search_name" style="left:35px; top:29px; width:97px; height:17px; ">조회구분 :</caption>
  119. <select1 id="combo1" ref="/root/main/cond/scrhgubun" appearance="minimal" style="left:125px; top:27px; width:85px; height:19px; ">
  120. <choices>
  121. <item>
  122. <label>Question</label>
  123. <value>T</value>
  124. </item>
  125. <item>
  126. <label>Answer</label>
  127. <value>C</value>
  128. </item>
  129. </choices>
  130. </select1>
  131. <input id="input1" ref="/root/main/cond/scrhvalue" style="left:212px; top:27px; width:275px; height:19px; ">
  132. <script type="javascript" ev:event="onkeypress">
  133. <![CDATA[
  134. if(event.keycode == "13"){
  135. model.setFocus("btn_search");
  136. fgetBbsList();
  137. }
  138. ]]>
  139. </script>
  140. </input>
  141. <line id="line1" class="line_4" style="x1:660px; y1:8px; x2:660px; y2:43px; border-color:#ffe4bb; border-left-style:solid; "/>
  142. <button id="btn_search" class="btn1_letter2" style="left:670px; top:15px; width:56px; height:22px; ">
  143. <caption>조회</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. fgetBbsList();
  147. ]]>
  148. </script>
  149. </button>
  150. <caption id="caption1" class="search_name" style="left:35px; top:7px; width:86px; height:17px; ">업무분류 :</caption>
  151. <select1 id="cmb_lrgcd" ref="/root/main/cond/lrgcd" appearance="minimal" style="left:125px; top:5px; width:70px; height:19px; ">
  152. <choices>
  153. <itemset nodeset="/root/init/lrgcd/codeinfo">
  154. <label ref="setnm"/>
  155. <value ref="setno"/>
  156. </itemset>
  157. </choices>
  158. <script type="javascript" ev:event="xforms-value-changed">
  159. <![CDATA[
  160. fGetMdlCode("1");
  161. ]]>
  162. </script>
  163. </select1>
  164. <select1 id="cmb_mdlcd" ref="/root/main/cond/mdlcd" appearance="minimal" style="left:197px; top:5px; width:80px; height:19px; ">
  165. <choices>
  166. <itemset nodeset="/root/init/mdlcd/codeinfo">
  167. <label ref="setnm"/>
  168. <value ref="setno"/>
  169. </itemset>
  170. </choices>
  171. <script type="javascript" ev:event="xforms-value-changed">
  172. <![CDATA[
  173. fGetSmlCode("1");
  174. ]]>
  175. </script>
  176. </select1>
  177. <select1 id="cmb_smlcd" ref="/root/main/cond/smlcd" appearance="minimal" style="left:279px; top:5px; width:95px; height:19px; ">
  178. <choices>
  179. <itemset nodeset="/root/init/smlcd/codeinfo">
  180. <label ref="setnm"/>
  181. <value ref="setno"/>
  182. </itemset>
  183. </choices>
  184. </select1>
  185. <button id="button1" class="btn1_letter2" style="left:730px; top:15px; width:56px; height:22px; ">
  186. <caption>출력</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. fPrtBbs();
  190. ]]>
  191. </script>
  192. </button>
  193. </group>
  194. <datagrid id="grd_bbs" nodeset="/root/main/bbsinfo/bbslist" scroll="vertical" autoresize="true" caption="글번호^^대분류^중분류^소분류^Question^내용^첨부^첨부파일명^첨부파일패스^작성자^작성자ID^등록일시^수정자^수정자아이디^수정일시^조회수^삭제여부" colsep="^" colwidth="0, 25, 73, 80, 92, 434, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 44, 0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:77px; width:797px; height:325px; ">
  195. <col ref="bbsno" style="text-align:center; "/>
  196. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  197. <col disabled="true" ref="lrgcd" type="combo">
  198. <choices>
  199. <itemset nodeset="/root/init/code/codeinfo">
  200. <label ref="setnm"/>
  201. <value ref="setno"/>
  202. </itemset>
  203. </choices>
  204. </col>
  205. <col disabled="true" ref="mdlcd" type="combo">
  206. <choices>
  207. <itemset nodeset="/root/init/code/codeinfo">
  208. <label ref="setnm"/>
  209. <value ref="setno"/>
  210. </itemset>
  211. </choices>
  212. </col>
  213. <col disabled="true" ref="smlcd" type="combo">
  214. <choices>
  215. <itemset nodeset="/root/init/code/codeinfo">
  216. <label ref="setnm"/>
  217. <value ref="setno"/>
  218. </itemset>
  219. </choices>
  220. </col>
  221. <col ref="title"/>
  222. <col ref="content"/>
  223. <col ref="attyn" style="text-align:center; "/>
  224. <col ref="attfilenm"/>
  225. <col ref="attfilepath"/>
  226. <col ref="fstrgstrnm" style="text-align:center; "/>
  227. <col ref="fstrgstrid"/>
  228. <col ref="fstrgstdt" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
  229. <col ref="lastupdtrnm"/>
  230. <col ref="lastupdtrid"/>
  231. <col ref="lastupdtdt" format="yyyy/mm/dd hh:nn"/>
  232. <col ref="hitcnt" style="text-align:center; "/>
  233. <col ref="delyn" visibility="hidden"/>
  234. <script type="javascript" ev:event="ondblclick">
  235. <![CDATA[
  236. if (isDataCell() == true) {
  237. fgetBbsDetail(grd_bbs.row);
  238. }
  239. ]]>
  240. </script>
  241. <script type="javascript" ev:event="onaftersort">
  242. <![CDATA[
  243. grd_bbs.gridToInstance();
  244. ]]>
  245. </script>
  246. </datagrid>
  247. <line id="line2" class="line_1" style="x1:0px; y1:72px; x2:798px; y2:72px; "/>
  248. <line id="line20" class="line_2" style="x1:0px; y1:458px; x2:798px; y2:458px; "/>
  249. <line id="line3" class="line_2" style="x1:0px; y1:704px; x2:650px; y2:704px; "/>
  250. <line id="line4" class="line_2" style="x1:0px; y1:727px; x2:650px; y2:727px; "/>
  251. <button id="btn_cancel" class="btn2_letter4" navindex="5" visibility="hidden" style="left:561px; top:407px; width:64px; height:19px; ">
  252. <caption>작성취소</caption>
  253. <script type="javascript" ev:event="onclick">
  254. <![CDATA[
  255. btn_cancel.visible = false;
  256. btn_new.disabled = false;
  257. btn_mod.disabled = true;
  258. btn_save.disabled = true;
  259. btn_del.disabled = true;
  260. ipt_content.disabled = true;
  261. btn_fileadd.visible = false;
  262. btn_filedel.visible = false;
  263. btn_down.visible = false;
  264. btn_preview.visible = false;
  265. cmb_lrgcd2.disabled = true;
  266. cmb_mdlcd2.disabled = true;
  267. cmb_smlcd2.disabled = true;
  268. ipt_title.disabled = true;
  269. ipt_attfilenm.disabled = true;
  270. model.makeValue("/root/main/iteminfo/status",'e');
  271. fNewBbs();
  272. ]]>
  273. </script>
  274. </button>
  275. <button id="btn_new" class="btn2_letter2" navindex="5" style="left:626px; top:407px; width:42px; height:19px; ">
  276. <caption>신규</caption>
  277. <script type="javascript" ev:event="onclick">
  278. <![CDATA[
  279. btn_cancel.visible = true;
  280. btn_new.disabled = true;
  281. btn_mod.disabled = true;
  282. btn_save.disabled = false;
  283. btn_del.disabled = true;
  284. ipt_content.disabled = false;
  285. btn_fileadd.visible = true;
  286. btn_filedel.visible = true;
  287. btn_down.visible = false;
  288. btn_preview.visible = false;
  289. ipt_title.disabled = false;
  290. ipt_attfilenm.disabled = true;
  291. cmb_lrgcd2.disabled = false;
  292. cmb_mdlcd2.disabled = false;
  293. cmb_smlcd2.disabled = false;
  294. fNewBbs();
  295. model.makeValue("/root/main/iteminfo/status",'i');
  296. ]]>
  297. </script>
  298. </button>
  299. <button id="btn_mod" class="btn2_letter2" navindex="5" style="left:669px; top:407px; width:42px; height:19px; ">
  300. <caption>수정</caption>
  301. <script type="javascript" ev:event="onclick">
  302. <![CDATA[
  303. btn_new.disabled = true;
  304. btn_mod.disabled = true;
  305. btn_cancel.visible = true;
  306. btn_save.disabled = false;
  307. btn_del.disabled = true;
  308. cmb_lrgcd2.disabled=false;
  309. cmb_mdlcd2.disabled=false;
  310. cmb_smlcd2.disabled=false;
  311. btn_fileadd.visible = true;
  312. btn_filedel.visible = true;
  313. btn_down.visible = false;
  314. btn_preview.visible = false;
  315. ipt_title.disabled = false;
  316. ipt_attfilenm.disabled = true;
  317. ipt_content.disabled = false;
  318. model.makeValue("/root/main/iteminfo/status","u");
  319. fModAllCd();
  320. ]]>
  321. </script>
  322. </button>
  323. <button id="btn_save" class="btn5_letter2" disabled="true" navindex="5" style="left:712px; top:407px; width:42px; height:19px; ">
  324. <caption>저장</caption>
  325. <script type="javascript" ev:event="DOMActivate">
  326. <![CDATA[
  327. // 각 필드값을 체크한다.
  328. // 제목 체크
  329. if(model.getValue("/root/main/iteminfo/title").getTrim()=="")
  330. {
  331. messageBox("제목은 ", "I003");
  332. model.setFocus("ipt_title");
  333. return;
  334. }
  335. // 공지내용 체크
  336. if(model.getValue("/root/main/iteminfo/content").getTrim()=="")
  337. {
  338. messageBox("내용은 ", "I003");
  339. model.setFocus("ipt_content");
  340. return;
  341. }
  342. if(model.getValue(cmb_lrgcd2.attribute("ref")) == "") {
  343. messageBox("대분류는 ", "I003");
  344. model.setFocus("cmb_lrgcd2");
  345. return;
  346. }
  347. if(model.getValue(cmb_mdlcd2.attribute("ref")) == "") {
  348. messageBox("중분류는 ", "I003");
  349. model.setFocus("cmb_mdlcd2");
  350. return;
  351. }
  352. if(model.getValue(cmb_smlcd2.attribute("ref")) == "") {
  353. messageBox("소분류는 ", "I003");
  354. model.setFocus("cmb_smlcd2");
  355. return;
  356. }
  357. fExeSave();
  358. ]]>
  359. </script>
  360. </button>
  361. <button id="btn_del" class="btn5_letter2" disabled="true" style="left:755px; top:407px; width:42px; height:19px; ">
  362. <caption>삭제</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. fNoticeDel();
  366. ]]>
  367. </script>
  368. </button>
  369. <caption id="cap_cnts" class="cell_1" style="left:0px; top:460px; width:79px; height:245px; text-align:center; vertical-align:middle; ">답변</caption>
  370. <caption id="caption12" class="cell_1" style="left:0px; top:706px; width:79px; height:20px; text-align:center; vertical-align:middle; ">첨부</caption>
  371. <input id="ipt_attfilenm" ref="/root/main/iteminfo/attfilenm" maxlength="100" style="left:81px; top:707px; width:574px; height:19px; "/>
  372. <upload id="upload1" nodeset="/root/send/file/filename" ext="zip" filecount="5" filesize="10485760" validate="true" style="left:640px; top:710px; width:15px; height:15px; "/>
  373. <button id="btn_fileadd" class="btn2_letter2" visibility="hidden" style="left:705px; top:707px; width:42px; height:19px; ">
  374. <caption>첨부</caption>
  375. <script type="javascript" ev:event="DOMActivate">
  376. <![CDATA[
  377. fFileAdd();
  378. ]]>
  379. </script>
  380. </button>
  381. <button id="btn_filedel" class="btn2_letter2" visibility="hidden" style="left:750px; top:707px; width:42px; height:19px; ">
  382. <caption>삭제</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. fFileDel();
  386. ]]>
  387. </script>
  388. </button>
  389. <button id="btn_down" class="btn2_letter4" navindex="6" style="left:727px; top:707px; width:64px; height:19px; ">
  390. <caption>다운로드</caption>
  391. <script type="javascript" ev:event="DOMActivate">
  392. <![CDATA[
  393. fFileDown();
  394. ]]>
  395. </script>
  396. </button>
  397. <caption id="cap_titl" class="cell_1" style="left:0px; top:432px; width:79px; height:27px; text-align:center; vertical-align:middle; ">제목</caption>
  398. <line id="line9" class="line_1" style="x1:0px; y1:427px; x2:798px; y2:427px; "/>
  399. <caption id="caption7" class="tit_2" style="left:0px; top:412px; width:134px; height:13px; ">내용</caption>
  400. <textarea id="ipt_content" ref="/root/main/iteminfo/content" class="text_essential" disabled="true" navindex="2" scroll="auto" maxlength="4000" style="left:81px; top:461px; width:716px; height:245px; font-size:14pt; "/>
  401. <button id="btn_preview" class="btn2_letter4" navindex="6" visibility="hidden" style="left:659px; top:707px; width:64px; height:19px; ">
  402. <caption>미리보기</caption>
  403. <script type="javascript" ev:event="DOMActivate">
  404. <![CDATA[
  405. fFilePreview();
  406. ]]>
  407. </script>
  408. </button>
  409. <caption id="caption5" class="cell_1" style="left:465px; top:432px; width:79px; height:26px; text-align:center; vertical-align:middle; ">업무분류</caption>
  410. <select1 id="cmb_lrgcd2" ref="/root/main/iteminfo/lrgcd" disabled="true" appearance="minimal" style="left:546px; top:435px; width:70px; height:19px; ">
  411. <choices>
  412. <itemset nodeset="/root/temp/lrgcd/codeinfo">
  413. <label ref="setnm"/>
  414. <value ref="setno"/>
  415. </itemset>
  416. </choices>
  417. <script type="javascript" ev:event="xforms-value-changed">
  418. <![CDATA[
  419. fGetMdlCode("2");
  420. ]]>
  421. </script>
  422. </select1>
  423. <select1 id="cmb_smlcd2" ref="/root/main/iteminfo/smlcd" disabled="true" appearance="minimal" style="left:700px; top:435px; width:97px; height:19px; ">
  424. <choices>
  425. <itemset nodeset="/root/temp/smlcd/codeinfo">
  426. <label ref="setnm"/>
  427. <value ref="setno"/>
  428. </itemset>
  429. </choices>
  430. </select1>
  431. <select1 id="cmb_mdlcd2" ref="/root/main/iteminfo/mdlcd" disabled="true" appearance="minimal" style="left:618px; top:435px; width:80px; height:19px; ">
  432. <choices>
  433. <itemset nodeset="/root/temp/mdlcd/codeinfo">
  434. <label ref="setnm"/>
  435. <value ref="setno"/>
  436. </itemset>
  437. </choices>
  438. <script type="javascript" ev:event="xforms-value-changed">
  439. <![CDATA[
  440. fGetSmlCode("2");
  441. ]]>
  442. </script>
  443. </select1>
  444. <textarea id="ipt_title" ref="/root/main/iteminfo/title" class="text_essential" overflow="hidden" imemode="hangul" maxlength="300" style="left:81px; top:432px; width:380px; height:24px; font-family:돋움, Arial; font-size:14pt; "/>
  445. </xhtml:body>
  446. </xhtml:html>