SPMNW17000_프로그램 도움말 관리.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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[프로그램 도움말 관리]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <main>
  12. <iteminfo>
  13. <status/>
  14. <seqno/>
  15. <gubun/>
  16. <scrncd/>
  17. <content/>
  18. <attyn/>
  19. <attfilenm/>
  20. <attfilepath/>
  21. <fstrgstrnm/>
  22. <fstrgstrid/>
  23. <fstrgstdt/>
  24. <lastupdtrnm/>
  25. <lastupdtrid/>
  26. <lastupdtdt/>
  27. <delyn/>
  28. </iteminfo>
  29. <helpinfo/>
  30. <cond>
  31. <gubun>T</gubun>
  32. <todd/>
  33. <fromdd/>
  34. <scrncd/>
  35. </cond>
  36. </main>
  37. <send/>
  38. <hidden/>
  39. </root>
  40. </instance>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. fInitialize() ;
  44. ]]>
  45. </script>
  46. <submission id="TXMNW17000" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  47. <submission id="TRMNW17001" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  48. <submission id="TRMNW17000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/helpinfo/helplist"/>
  49. </model>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  55. <script type="javascript" src="../../../emr/wardcareweb/js/SPMNW17000.js"/>
  56. </xhtml:head>
  57. <xhtml:body pagewidth="820" pageheight="730" guideline="1,944;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  58. <group id="group1" style="left:0px; top:0px; width:795px; height:13px; ">
  59. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:15px; ">프로그램 도움말 관리</caption>
  60. </group>
  61. <group id="group2" style="left:0px; top:19px; width:800px; height:46px; vertical-align:top; ">
  62. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:797px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
  63. <caption id="caption3" class="search_name" style="left:10px; top:14px; width:97px; height:17px; ">조회구분 :</caption>
  64. <select1 id="cmb_gubun" ref="/root/main/cond/gubun" appearance="minimal" style="left:100px; top:12px; width:100px; height:19px; ">
  65. <choices>
  66. <item>
  67. <label>사용Tip</label>
  68. <value>T</value>
  69. </item>
  70. <item>
  71. <label>
  72. <![CDATA[F&Q]]>
  73. </label>
  74. <value>F</value>
  75. </item>
  76. <item>
  77. <label>추가개발사항</label>
  78. <value>A</value>
  79. </item>
  80. </choices>
  81. </select1>
  82. <input id="ipt_scrncd" ref="/root/main/cond/scrncd" style="left:205px; top:12px; width:105px; height:19px; ">
  83. <script type="javascript" ev:event="onkeypress">
  84. <![CDATA[
  85. if(event.keycode == "13"){
  86. model.setFocus("btn_search");
  87. fgetHelpList();
  88. }
  89. ]]>
  90. </script>
  91. </input>
  92. <line id="line1" class="line_4" style="x1:710px; y1:8px; x2:710px; y2:37px; border-color:#ffe4bb; border-left-style:solid; "/>
  93. <button id="btn_search" class="btn1_letter2" style="left:720px; top:12px; width:56px; height:22px; ">
  94. <caption>조회</caption>
  95. <script type="javascript" ev:event="DOMActivate">
  96. <![CDATA[
  97. fgetHelpList();
  98. ]]>
  99. </script>
  100. </button>
  101. <button id="btn_patSearch" class="icon_search" style="left:315px; top:15px; width:16px; height:16px; font-family:굴림; ">
  102. <caption/>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. fScrnCdSearch("scrncd1");
  106. ]]>
  107. </script>
  108. </button>
  109. </group>
  110. <datagrid id="grd_help" nodeset="/root/main/helpinfo/helplist" autoresize="true" caption="구분^화면코드^도움말^첨부^seqno^화면코드^첨부파일명^첨부파일패스^작성자^작성자ID^등록일시^수정자^수정자아이디^수정일시^삭제여부" colsep="^" colwidth="80, 100, 540, 30, 0, 0, 0,0, 0, 0, 0, 0, 0, 0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:77px; width:797px; height:325px; ">
  111. <col disabled="true" ref="gubun" type="combo" style="text-align:center; ">
  112. <choices>
  113. <item>
  114. <label>사용Tip</label>
  115. <value>T</value>
  116. </item>
  117. <item>
  118. <label>
  119. <![CDATA[F&Q]]>
  120. </label>
  121. <value>F</value>
  122. </item>
  123. <item>
  124. <label>추가개발사항</label>
  125. <value>A</value>
  126. </item>
  127. </choices>
  128. </col>
  129. <col ref="scrncd"/>
  130. <col ref="content"/>
  131. <col ref="attyn" style="text-align:center; "/>
  132. <col ref="seqno" visibility="hidden"/>
  133. <col ref="attfilenm" visibility="hidden"/>
  134. <col ref="attfilepath" visibility="hidden"/>
  135. <col ref="fstrgstrnm" visibility="hidden" style="text-align:center; "/>
  136. <col ref="fstrgstrid" visibility="hidden"/>
  137. <col ref="fstrgstdt" visibility="hidden" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
  138. <col ref="lastupdtrnm" visibility="hidden"/>
  139. <col ref="lastupdtrid" visibility="hidden"/>
  140. <col ref="lastupdtdt" visibility="hidden" format="yyyy/mm/dd hh:nn"/>
  141. <col ref="delyn" visibility="hidden"/>
  142. <script type="javascript" ev:event="ondblclick">
  143. <![CDATA[
  144. if (isDataCell() == true) {
  145. fgetHelpDetail(grd_help.row);
  146. }
  147. ]]>
  148. </script>
  149. <script type="javascript" ev:event="onaftersort">
  150. <![CDATA[
  151. grd_help.gridToInstance();
  152. ]]>
  153. </script>
  154. </datagrid>
  155. <line id="line2" class="line_1" style="x1:0px; y1:72px; x2:797px; y2:72px; "/>
  156. <line id="line20" class="line_2" style="x1:0px; y1:458px; x2:798px; y2:458px; "/>
  157. <line id="line3" class="line_2" style="x1:0px; y1:704px; x2:650px; y2:704px; "/>
  158. <line id="line4" class="line_2" style="x1:0px; y1:727px; x2:650px; y2:727px; "/>
  159. <button id="btn_cancel" class="btn2_letter4" navindex="5" visibility="hidden" style="left:561px; top:407px; width:64px; height:19px; ">
  160. <caption>작성취소</caption>
  161. <script type="javascript" ev:event="onclick">
  162. <![CDATA[
  163. btn_cancel.visible = false;
  164. btn_new.disabled = false;
  165. btn_mod.disabled = true;
  166. btn_save.disabled = true;
  167. btn_del.disabled = true;
  168. ipt_content.disabled = true;
  169. btn_fileadd.visible = false;
  170. btn_filedel.visible = false;
  171. btn_down.visible = false;
  172. btn_preview.visible = false;
  173. ipt_scrncd2.disabled = true;
  174. cmb_gubun2.disabled = true;
  175. //cmb_smlcd2.disabled = true;
  176. //ipt_title.disabled = true;
  177. ipt_attfilenm.disabled = true;
  178. model.makeValue("/root/main/iteminfo/status",'e');
  179. fNewHelp();
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="btn_new" class="btn2_letter2" navindex="5" style="left:626px; top:407px; width:42px; height:19px; ">
  184. <caption>신규</caption>
  185. <script type="javascript" ev:event="onclick">
  186. <![CDATA[
  187. btn_cancel.visible = true;
  188. btn_new.disabled = true;
  189. btn_mod.disabled = true;
  190. btn_save.disabled = false;
  191. btn_del.disabled = true;
  192. ipt_content.disabled = false;
  193. btn_fileadd.visible = true;
  194. btn_filedel.visible = true;
  195. btn_down.visible = false;
  196. btn_preview.visible = false;
  197. ipt_scrncd2.disabled = false;
  198. ipt_attfilenm.disabled = true;
  199. cmb_gubun2.disabled = false;
  200. //cmb_mdlcd2.disabled = false;
  201. //cmb_smlcd2.disabled = false;
  202. fNewHelp();
  203. model.makeValue("/root/main/iteminfo/status",'i');
  204. ]]>
  205. </script>
  206. </button>
  207. <button id="btn_mod" class="btn2_letter2" navindex="5" style="left:669px; top:407px; width:42px; height:19px; ">
  208. <caption>수정</caption>
  209. <script type="javascript" ev:event="onclick">
  210. <![CDATA[
  211. btn_new.disabled = true;
  212. btn_mod.disabled = true;
  213. btn_cancel.visible = true;
  214. btn_save.disabled = false;
  215. btn_del.disabled = true;
  216. cmb_gubun2.disabled=false;
  217. //cmb_mdlcd2.disabled=false;
  218. //cmb_smlcd2.disabled=false;
  219. btn_fileadd.visible = true;
  220. btn_filedel.visible = true;
  221. btn_down.visible = false;
  222. btn_preview.visible = false;
  223. ipt_scrncd2.disabled = false;
  224. ipt_attfilenm.disabled = true;
  225. ipt_content.disabled = false;
  226. model.makeValue("/root/main/iteminfo/status","u");
  227. //fModAllCd();
  228. ]]>
  229. </script>
  230. </button>
  231. <button id="btn_save" class="btn5_letter2" disabled="true" navindex="5" style="left:712px; top:407px; width:42px; height:19px; ">
  232. <caption>저장</caption>
  233. <script type="javascript" ev:event="DOMActivate">
  234. <![CDATA[
  235. // 각 필드값을 체크한다.
  236. if(model.getValue("/root/main/iteminfo/scrncd").getTrim()=="")
  237. {
  238. messageBox("화면코드 ", "I003");
  239. model.setFocus("ipt_scrncd2");
  240. return;
  241. }
  242. if(model.getValue(cmb_gubun2.attribute("ref")) == "") {
  243. messageBox("구분은 ", "I003");
  244. model.setFocus("cmb_gubun2");
  245. return;
  246. }
  247. if(model.getValue("/root/main/iteminfo/content").getTrim()=="")
  248. {
  249. messageBox("도움말은 ", "I003");
  250. model.setFocus("ipt_content");
  251. return;
  252. }
  253. fExeSave();
  254. ]]>
  255. </script>
  256. </button>
  257. <button id="btn_del" class="btn5_letter2" disabled="true" style="left:755px; top:407px; width:42px; height:19px; ">
  258. <caption>삭제</caption>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. fNoticeDel();
  262. ]]>
  263. </script>
  264. </button>
  265. <caption id="cap_cnts" class="cell_1" style="left:0px; top:460px; width:79px; height:245px; text-align:center; vertical-align:middle; ">도움말</caption>
  266. <caption id="caption12" class="cell_1" style="left:0px; top:706px; width:79px; height:20px; text-align:center; vertical-align:middle; ">첨부</caption>
  267. <input id="ipt_attfilenm" ref="/root/main/iteminfo/attfilenm" maxlength="100" style="left:81px; top:707px; width:574px; height:19px; "/>
  268. <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; "/>
  269. <button id="btn_fileadd" class="btn2_letter2" visibility="hidden" style="left:705px; top:707px; width:42px; height:19px; ">
  270. <caption>첨부</caption>
  271. <script type="javascript" ev:event="DOMActivate">
  272. <![CDATA[
  273. fFileAdd();
  274. ]]>
  275. </script>
  276. </button>
  277. <button id="btn_filedel" class="btn2_letter2" visibility="hidden" style="left:750px; top:707px; width:42px; height:19px; ">
  278. <caption>삭제</caption>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. fFileDel();
  282. ]]>
  283. </script>
  284. </button>
  285. <button id="btn_down" class="btn2_letter4" navindex="6" style="left:727px; top:707px; width:64px; height:19px; ">
  286. <caption>다운로드</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. fFileDown();
  290. ]]>
  291. </script>
  292. </button>
  293. <caption id="cap_titl" class="cell_1" style="left:0px; top:432px; width:79px; height:27px; text-align:center; vertical-align:middle; ">화면코드</caption>
  294. <line id="line9" class="line_1" style="x1:0px; y1:427px; x2:798px; y2:427px; "/>
  295. <caption id="caption7" class="tit_2" style="left:0px; top:410px; width:135px; height:15px; ">내용</caption>
  296. <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; "/>
  297. <button id="btn_preview" class="btn2_letter4" navindex="6" visibility="hidden" style="left:659px; top:707px; width:64px; height:19px; ">
  298. <caption>미리보기</caption>
  299. <script type="javascript" ev:event="DOMActivate">
  300. <![CDATA[
  301. fFilePreview();
  302. ]]>
  303. </script>
  304. </button>
  305. <caption id="caption5" class="cell_1" style="left:465px; top:432px; width:79px; height:26px; text-align:center; vertical-align:middle; ">구분</caption>
  306. <input id="ipt_scrncd2" ref="/root/main/iteminfo/scrncd" class="text_essential" editable="false" imemode="hangul" maxlength="300" overflow="hidden" style="left:81px; top:435px; width:359px; height:19px; font-family:돋움, Arial; "/>
  307. <button id="btn_patSearch2" class="icon_search" style="left:445px; top:435px; width:16px; height:16px; font-family:굴림; ">
  308. <caption/>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. fScrnCdSearch("scrncd2");
  312. ]]>
  313. </script>
  314. </button>
  315. <select1 id="cmb_gubun2" ref="/root/main/iteminfo/gubun" appearance="minimal" style="left:550px; top:435px; width:247px; height:19px; ">
  316. <choices>
  317. <item>
  318. <label>사용Tip</label>
  319. <value>T</value>
  320. </item>
  321. <item>
  322. <label>
  323. <![CDATA[F&Q]]>
  324. </label>
  325. <value>F</value>
  326. </item>
  327. <item>
  328. <label>추가개발사항</label>
  329. <value>A</value>
  330. </item>
  331. </choices>
  332. </select1>
  333. </xhtml:body>
  334. </xhtml:html>