123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLF01300_사용자기능관리.xrw
- * 설 명 : 사용자기능관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2006.12.21
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <usercmtlist>
- <autcmtcd/>
- <judgrank/>
- <tclsnm/>
- <cmtjudgmthd/>
- <judgrslt/>
- <readcmttitl/>
- <tclscd/>
- <readcmtcd/>
- </usercmtlist>
- <tclslist>
- <tclsnm/>
- <tclscd/>
- </tclslist>
- <readcmtlist>
- <readcmttitl/>
- <readcmtcd/>
- </readcmtlist>
- </main>
- <send>
- <codeflag/>
- <testlrgcd/>
- <testmdlcd/>
- <userid/>
- <data1/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <testlrgcd>00</testlrgcd>
- <testmdlcd>00</testmdlcd>
- </ref>
- <userid/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/userid", getUserId());
- model.setValue("/root/send/codeflag", "0104|0102|"); //0104 대분류 0102 중분류
- model.removeNodeset("/root/main/tclslist");
- submit("TRLZZ00101");
- submit("TRLVF00301");
- fuserlist();
-
-
- ]]>
- </script>
- <submission id="TRLZZ00101" ref="/root/send/codeflag" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/LB"/>
- <submission id="TRLVF00301" ref="/root/send/codeflag" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/readcmtlist"/>
- <submission id="TRLVF00302" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/tclslist"/>
- <submission id="TRLVF00303" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/usercmtlist"/>
- <submission id="TXLVF00301" ref="/root/send/data1" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fuserlist(){
- submit("TRLVF00303");
- checkKeyColumn("usercmtlist");
- }
-
- function ftestcombo(){
- var CD = model.getValue("/root/hidden/ref/testlrgcd");
- if(CD == "00"){
- testmdlcd.choices.itemset.attribute("nodeset") = "/root/init/LB0102";
- model.setvalue("/root/hidden/ref/testmdlcd" , "00");
- testmdlcd.disabled = true;
- }
- else{
- testmdlcd.choices.itemset.attribute("nodeset") = "/root/init/LB0102[cd= '00' or etc01='"+ CD +"']";
- model.setvalue("/root/hidden/ref/testmdlcd" , "00");
- testmdlcd.disabled = false;
- }
- testmdlcd.refresh();
- }
-
- function fGettclstlist() {
-
- model.removenodeset("/root/main/tclslist");
- model.setValue("/root/send/testlrgcd", model.getValue("/root/hidden/ref/testlrgcd"));
- model.setValue("/root/send/testmdlcd", model.getValue("/root/hidden/ref/testmdlcd"));
- submit("TRLVF00302");
-
- }
-
- function fdatemove() {
- if(tclslist.row != -1 && readcmtlist.row != -1){
- if(usercmtlist.row == -1){
- faddrow();
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/tclscd" ,model.getValue("/root/main/tclslist["+tclslist.row+"]/tclscd"));
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/tclsnm" ,model.getValue("/root/main/tclslist["+tclslist.row+"]/tclsnm"));
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/readcmttitl" ,model.getValue("/root/main/readcmtlist["+readcmtlist.row+"]/readcmttitl"));
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/readcmtcd" ,model.getValue("/root/main/readcmtlist["+readcmtlist.row+"]/readcmtcd"));
-
- }else{
- if(model.getValue("/root/main/usercmtlist["+usercmtlist.row+"]/tclscd") != model.getValue("/root/main/tclslist["+tclslist.row+"]/tclscd") &&
- (usercmtlist.rowStatus(usercmtlist.row) == 0||usercmtlist.rowStatus(usercmtlist.row) == 2||usercmtlist.rowStatus(usercmtlist.row) == 4)){
- alert("검사코드는 수정할수 없습니다");
- //alert(usercmtlist.rowStatus(usercmtlist.row));
- tclslist.rebuild();
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/readcmttitl" ,model.getValue("/root/main/readcmtlist["+readcmtlist.row+"]/readcmttitl"));
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/readcmtcd" ,model.getValue("/root/main/readcmtlist["+readcmtlist.row+"]/readcmtcd"));
- usercmtlist.rowStatus(usercmtlist.row) = 2;
- } else{
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/tclscd" ,model.getValue("/root/main/tclslist["+tclslist.row+"]/tclscd"));
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/tclsnm" ,model.getValue("/root/main/tclslist["+tclslist.row+"]/tclsnm"));
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/readcmttitl" ,model.getValue("/root/main/readcmtlist["+readcmtlist.row+"]/readcmttitl"));
- model.setValue("/root/main/usercmtlist["+usercmtlist.row+"]/readcmtcd" ,model.getValue("/root/main/readcmtlist["+readcmtlist.row+"]/readcmtcd"));
- }
- }
- } else {
- alert("검사항목과 판독소견을 선택해 주십시오");
- }
- model.refresh();
- }
-
- function faddrow() {
- usercmtlist.addRow();
- }
-
- function fdelrow() {
- usercmtlist.rowStatus(usercmtlist.row) = 4;
- }
-
- function fExeEqmtSave() {
- model.setValue("/root/send/data1", usercmtlist.getUpdateData());
- submit("TXLVF00301");
- submit("TRLVF00303");
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:700px; y2:70px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">자동소견목록</caption>
- <caption id="caption3" class="tit_2" style="left:760px; top:55px; width:131px; height:13px; ">검사항목</caption>
- <line id="line2" class="line_1" style="x1:760px; y1:70px; x2:975px; y2:70px; "/>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <select1 id="testlrgcd" ref="/root/hidden/ref/testlrgcd" appearance="minimal" itemcount="10" style="left:846px; top:8px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0104">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ftestcombo();
-
- ]]>
- </script>
- </select1>
- <select1 id="testmdlcd" ref="/root/hidden/ref/testmdlcd" disabled="true" appearance="minimal" itemcount="10" style="left:974px; top:8px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0102">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:755px; top:9px; width:89px; height:17px; ">검사분류 :</caption>
- <button id="button3" class="btn1_letter2" style="left:1123px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGettclstlist();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1111px; y1:7px; x2:1111px; y2:29px; "/>
- </group>
- <button id="button1" class="btn2_letter3" style="left:647px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fdelrow();
- ]]>
- </script>
- </button>
- <button id="button102" class="icon_left" style="left:717px; top:380px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fdatemove();
- ]]>
- </script>
- </button>
- <datagrid id="usercmtlist" nodeset="/root/main/usercmtlist" caption="자동소견코드^판정순위^검사명^판정방법^판정결과^판정소견명^tclscd^readcmtcd" colwidth="90, 80, 200, 90, 80, 130,80" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:700px; height:669px; ">
- <col ref="autcmtcd" type="input" _key="true"/>
- <col ref="judgrank" type="input"/>
- <col ref="tclsnm"/>
- <col ref="cmtjudgmthd" type="combo">
- <choices>
- <item>
- <label>증가</label>
- <value>1</value>
- </item>
- <item>
- <label>감소</label>
- <value>2</value>
- </item>
- <item>
- <label>결과패턴</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="judgrslt" type="input"/>
- <col ref="readcmttitl"/>
- <col ref="tclscd" visibility="hidden"/>
- <col ref="readcmtcd" visibility="hidden"/>
- </datagrid>
- <datagrid id="tclslist" nodeset="/root/main/tclslist" caption="검사명^검사코드" colwidth="175, 50" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:760px; top:75px; width:215px; height:669px; ">
- <col ref="tclsnm"/>
- <col ref="tclscd" visibility="hidden"/>
- </datagrid>
- <datagrid id="readcmtlist" nodeset="/root/main/readcmtlist" caption="판독소견명^판독코드" colwidth="191, 50" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:980px; top:75px; width:214px; height:669px; ">
- <col ref="readcmttitl"/>
- <col ref="readcmtcd" visibility="hidden"/>
- </datagrid>
- <line id="line4" class="line_1" style="x1:980px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption4" class="tit_2" style="left:980px; top:55px; width:131px; height:13px; ">판독소견명</caption>
- <button id="button2" class="btn2_letter3" style="left:592px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- faddrow();
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.reset();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeEqmtSave();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">검증자동소견관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|