123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCVO01000_VOC내용팝업
- * Summary : VOC 내용 팝업
- * Programmer : 김준규
- * Date Written : 2007.10.21
- * History :
- * Remark :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>VOC 내용 팝업</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <vocpopup>
- <title/>
- <contents/>
- <inputmode/>
- <receive_path/>
- </vocpopup>
- </main>
- <temp/>
- <init/>
- </root>
- </instance>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var reTitle = model.getValue("/root/main/vocpopup/title")
- var reContents = model.getValue("/root/main/vocpopup/contents")
- var reInputmode = model.getValue("/root/main/vocpopup/inputmode")
-
- if (reInputmode == "i"){
- btn_input.disabled = false;
- tar_Cnts.attribute("editable") = "true";
- } else {
- btn_input.disabled = true;
- tar_Cnts.attribute("editable") = "false";
-
- if (( reTitle == "" || reTitle == null ) || ( reContents == "" || reContents == null )) {
- tar_Cnts.disabled = true;
- var rtn = messageBox("표시할 내용이 없거나 필요한 정보가 전달되지", "E007");
- if(rtn == 1){
- window.close();
- }
- } else {
- }
- }
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- }
- if (!checkAuth("x")) {
- }
- if (!checkAuth("p")) {
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="630" pageheight="310" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:132px; height:14px; ">VOC 내용 팝업</caption>
- </group>
- <group id="grp_cnts" style="left:0px; top:13px; width:610px; height:252px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:5px; x2:610px; y2:5px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:249px; x2:610px; y2:249px; "/>
- <caption id="caption10" ref="/root/main/vocpopup/title" class="cell_1" style="left:0px; top:10px; width:105px; height:240px; text-align:center; vertical-align:middle; "/>
- <textarea id="tar_Cnts" ref="/root/main/vocpopup/contents" scroll="vertical" style="left:108px; top:10px; width:500px; height:236px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:265px; width:610px; height:27px; ">
- <caption id="caption30" class="hand" style="left:100px; top:7px; width:332px; height:17px; ">보고서 출력시 현재 화면에 보이는 대로 출력됩니다.</caption>
- <button id="btn_input" class="btn4_letter2" disabled="true" style="left:492px; top:5px; width:56px; height:22px; ">
- <caption>입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var reContents = model.getValue("/root/main/vocpopup/contents")
- var receive_path = model.getValue("/root/main/vocpopup/receive_path");
-
- opener.model.setValue(receive_path, reContents);
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:550px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|