123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>
- <![CDATA[프로그램 도움말 관리]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <iteminfo>
- <status/>
- <seqno/>
- <gubun/>
- <scrncd/>
- <content/>
- <attyn/>
- <attfilenm/>
- <attfilepath/>
- <fstrgstrnm/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrnm/>
- <lastupdtrid/>
- <lastupdtdt/>
- <delyn/>
- </iteminfo>
- <helpinfo/>
- <cond>
- <gubun>T</gubun>
- <todd/>
- <fromdd/>
- <scrncd/>
- </cond>
- </main>
- <send/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize() ;
- ]]>
- </script>
- <submission id="TXMNW17000" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRMNW17001" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRMNW17000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/helpinfo/helplist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/wardcareweb/js/SPMNW17000.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="820" pageheight="730" guideline="1,944;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:795px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:15px; ">프로그램 도움말 관리</caption>
- </group>
- <group id="group2" style="left:0px; top:19px; width:800px; height:46px; vertical-align:top; ">
- <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; "/>
- <caption id="caption3" class="search_name" style="left:10px; top:14px; width:97px; height:17px; ">조회구분 :</caption>
- <select1 id="cmb_gubun" ref="/root/main/cond/gubun" appearance="minimal" style="left:100px; top:12px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>사용Tip</label>
- <value>T</value>
- </item>
- <item>
- <label>
- <![CDATA[F&Q]]>
- </label>
- <value>F</value>
- </item>
- <item>
- <label>추가개발사항</label>
- <value>A</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_scrncd" ref="/root/main/cond/scrncd" style="left:205px; top:12px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keycode == "13"){
- model.setFocus("btn_search");
- fgetHelpList();
- }
- ]]>
- </script>
- </input>
- <line id="line1" class="line_4" style="x1:710px; y1:8px; x2:710px; y2:37px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:720px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fgetHelpList();
- ]]>
- </script>
- </button>
- <button id="btn_patSearch" class="icon_search" style="left:315px; top:15px; width:16px; height:16px; font-family:굴림; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fScrnCdSearch("scrncd1");
- ]]>
- </script>
- </button>
- </group>
- <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; ">
- <col disabled="true" ref="gubun" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>사용Tip</label>
- <value>T</value>
- </item>
- <item>
- <label>
- <![CDATA[F&Q]]>
- </label>
- <value>F</value>
- </item>
- <item>
- <label>추가개발사항</label>
- <value>A</value>
- </item>
- </choices>
- </col>
- <col ref="scrncd"/>
- <col ref="content"/>
- <col ref="attyn" style="text-align:center; "/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="attfilenm" visibility="hidden"/>
- <col ref="attfilepath" visibility="hidden"/>
- <col ref="fstrgstrnm" visibility="hidden" style="text-align:center; "/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
- <col ref="lastupdtrnm" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden" format="yyyy/mm/dd hh:nn"/>
- <col ref="delyn" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- fgetHelpDetail(grd_help.row);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_help.gridToInstance();
-
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:72px; x2:797px; y2:72px; "/>
- <line id="line20" class="line_2" style="x1:0px; y1:458px; x2:798px; y2:458px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:704px; x2:650px; y2:704px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:727px; x2:650px; y2:727px; "/>
- <button id="btn_cancel" class="btn2_letter4" navindex="5" visibility="hidden" style="left:561px; top:407px; width:64px; height:19px; ">
- <caption>작성취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_cancel.visible = false;
- btn_new.disabled = false;
- btn_mod.disabled = true;
- btn_save.disabled = true;
- btn_del.disabled = true;
-
- ipt_content.disabled = true;
-
- btn_fileadd.visible = false;
- btn_filedel.visible = false;
- btn_down.visible = false;
- btn_preview.visible = false;
-
- ipt_scrncd2.disabled = true;
- cmb_gubun2.disabled = true;
- //cmb_smlcd2.disabled = true;
-
- //ipt_title.disabled = true;
-
- ipt_attfilenm.disabled = true;
- model.makeValue("/root/main/iteminfo/status",'e');
- fNewHelp();
- ]]>
- </script>
- </button>
- <button id="btn_new" class="btn2_letter2" navindex="5" style="left:626px; top:407px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_cancel.visible = true;
- btn_new.disabled = true;
- btn_mod.disabled = true;
- btn_save.disabled = false;
- btn_del.disabled = true;
-
- ipt_content.disabled = false;
-
-
- btn_fileadd.visible = true;
- btn_filedel.visible = true;
- btn_down.visible = false;
- btn_preview.visible = false;
-
- ipt_scrncd2.disabled = false;
-
- ipt_attfilenm.disabled = true;
-
- cmb_gubun2.disabled = false;
- //cmb_mdlcd2.disabled = false;
- //cmb_smlcd2.disabled = false;
-
- fNewHelp();
-
- model.makeValue("/root/main/iteminfo/status",'i');
- ]]>
- </script>
- </button>
- <button id="btn_mod" class="btn2_letter2" navindex="5" style="left:669px; top:407px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_new.disabled = true;
- btn_mod.disabled = true;
- btn_cancel.visible = true;
- btn_save.disabled = false;
- btn_del.disabled = true;
-
- cmb_gubun2.disabled=false;
- //cmb_mdlcd2.disabled=false;
- //cmb_smlcd2.disabled=false;
-
- btn_fileadd.visible = true;
- btn_filedel.visible = true;
- btn_down.visible = false;
- btn_preview.visible = false;
-
- ipt_scrncd2.disabled = false;
-
- ipt_attfilenm.disabled = true;
-
- ipt_content.disabled = false;
-
- model.makeValue("/root/main/iteminfo/status","u");
-
- //fModAllCd();
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter2" disabled="true" navindex="5" style="left:712px; top:407px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 각 필드값을 체크한다.
- if(model.getValue("/root/main/iteminfo/scrncd").getTrim()=="")
- {
- messageBox("화면코드 ", "I003");
- model.setFocus("ipt_scrncd2");
- return;
- }
-
- if(model.getValue(cmb_gubun2.attribute("ref")) == "") {
- messageBox("구분은 ", "I003");
- model.setFocus("cmb_gubun2");
- return;
- }
-
- if(model.getValue("/root/main/iteminfo/content").getTrim()=="")
- {
- messageBox("도움말은 ", "I003");
- model.setFocus("ipt_content");
- return;
- }
- fExeSave();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn5_letter2" disabled="true" style="left:755px; top:407px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fNoticeDel();
- ]]>
- </script>
- </button>
- <caption id="cap_cnts" class="cell_1" style="left:0px; top:460px; width:79px; height:245px; text-align:center; vertical-align:middle; ">도움말</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:706px; width:79px; height:20px; text-align:center; vertical-align:middle; ">첨부</caption>
- <input id="ipt_attfilenm" ref="/root/main/iteminfo/attfilenm" maxlength="100" style="left:81px; top:707px; width:574px; height:19px; "/>
- <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; "/>
- <button id="btn_fileadd" class="btn2_letter2" visibility="hidden" style="left:705px; top:707px; width:42px; height:19px; ">
- <caption>첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFileAdd();
- ]]>
- </script>
- </button>
- <button id="btn_filedel" class="btn2_letter2" visibility="hidden" style="left:750px; top:707px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFileDel();
- ]]>
- </script>
- </button>
- <button id="btn_down" class="btn2_letter4" navindex="6" style="left:727px; top:707px; width:64px; height:19px; ">
- <caption>다운로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFileDown();
- ]]>
- </script>
- </button>
- <caption id="cap_titl" class="cell_1" style="left:0px; top:432px; width:79px; height:27px; text-align:center; vertical-align:middle; ">화면코드</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:427px; x2:798px; y2:427px; "/>
- <caption id="caption7" class="tit_2" style="left:0px; top:410px; width:135px; height:15px; ">내용</caption>
- <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; "/>
- <button id="btn_preview" class="btn2_letter4" navindex="6" visibility="hidden" style="left:659px; top:707px; width:64px; height:19px; ">
- <caption>미리보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fFilePreview();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="cell_1" style="left:465px; top:432px; width:79px; height:26px; text-align:center; vertical-align:middle; ">구분</caption>
- <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; "/>
- <button id="btn_patSearch2" class="icon_search" style="left:445px; top:435px; width:16px; height:16px; font-family:굴림; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fScrnCdSearch("scrncd2");
- ]]>
- </script>
- </button>
- <select1 id="cmb_gubun2" ref="/root/main/iteminfo/gubun" appearance="minimal" style="left:550px; top:435px; width:247px; height:19px; ">
- <choices>
- <item>
- <label>사용Tip</label>
- <value>T</value>
- </item>
- <item>
- <label>
- <![CDATA[F&Q]]>
- </label>
- <value>F</value>
- </item>
- <item>
- <label>추가개발사항</label>
- <value>A</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|