123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCRB00300_의료협력OSS검색.xrw
- * Summary : 의료협력에서 관리되는 One Stop Service 검색
- * Programmer : 엄윤호
- * Date Written : 2007.10.17
- * History : 2007.10.17
- * 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>One Stop Service 검색</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <osslist/>
- </list>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- //if (!checkAuth("r")) {
- //}
- //if (!checkAuth("x")) {
- //}
- //if (!checkAuth("p")) {
- //}
- }
-
- function fSetOpenerData() {
- // 부모창에 값을 넘겨주고 창을 닫는다.
- var receive_osscd_path = opener.window.javascript.getParameter("receive_osscd_path");
- var receive_ossnm_path = opener.window.javascript.getParameter("receive_ossnm_path");
-
- var grid = grd_osslist;
- var osscd = grid.valueMatrix(grid.row, 1);
- var ossnm = grid.valueMatrix(grid.row, 2);
-
- if (receive_osscd_path != "") opener.model.setValue(receive_osscd_path, osscd);
- if (receive_ossnm_path != "") opener.model.setValue(receive_ossnm_path, ossnm);
- opener.model.refresh();
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="416" pageheight="273" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" scroll="auto" style="left:0px; top:0px; width:400px; height:230px; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:165px; height:13px; vertical-align:middle; ">One Stop Service 목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:400px; y2:25px; "/>
- <datagrid id="grd_osslist" nodeset="/root/main/list/osslist" allowselection="false" caption="One Stop Service 코드^One Stop Service 명" colwidth="150, 210" extendlastcol="scroll" rowheader="select" style="left:0px; top:30px; width:400px; height:200px; ">
- <col class="text_center" ref="cdid"/>
- <col ref="cdnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var grid = grd_osslist;
- if (grid.row > 0 && grid.isCell(event.target)) {
- fSetOpenerData();
- } else {
- messageBox("One Stop Service를","C002");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:230px; width:400px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:285px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var grid = grd_osslist;
- if (grid.row > 0) {
- fSetOpenerData();
- } else {
- messageBox("One Stop Service를","C002");
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:344px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|