123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>검진사후관리대상자</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <exceldata>
- <chasu/>
- <ilja/>
- <gubun/>
- <yuhaeinja/>
- <userid/>
- <chestrslt/>
- <panjeonga/>
- <panjeongb/>
- <panjeongc/>
- <panjeongd1/>
- <panjeongd2/>
- <panjeongd/>
- <panjeongopi/>
- <sbp/>
- <dbp/>
- <hb/>
- <fbs/>
- <tc/>
- <tg/>
- <hdl/>
- <ldl/>
- <sgot/>
- <sgpt/>
- <rgtp/>
- <cr/>
- <urin/>
- </exceldata>
- <savedata>
- <status/>
- <cnstyn/>
- <chasu/>
- <ilja/>
- <gubun/>
- <yuhaeinja/>
- <userid/>
- <hngnm/>
- <pid/>
- <sex/>
- <age/>
- <depthngnm/>
- <jobkind/>
- <chestrslt/>
- <panjeonga/>
- <panjeongb/>
- <panjeongc/>
- <panjeongd1/>
- <panjeongd2/>
- <panjeongd/>
- <panjeongopi/>
- <sbp/>
- <dbp/>
- <hb/>
- <fbs/>
- <tc/>
- <tg/>
- <hdl/>
- <ldl/>
- <sgot/>
- <sgpt/>
- <rgtp/>
- <cr/>
- <urin/>
- <endyn/>
- <hospital/>
- <panjeongr2/>
- <g_gubun/>
- <g_opi/>
- <g_after/>
- <g_afteropi/>
- <g_work/>
- <s_gubun/>
- <s_opi/>
- <s_after/>
- <s_afteropi/>
- <s_work/>
- </savedata>
- <cnstlist>
- <chk/>
- <userid/>
- <ilja/>
- <chasu/>
- <seq/>
- <hngnm/>
- <depthngnm/>
- <cnstdd/>
- <cnstplace/>
- <cnstcnt/>
- <cnstrslt/>
- <chasedd/>
- <prcpdd/>
- <sage/>
- <telno/>
- <panjeong/>
- <yujilhwan/>
- <yuhaeinja/>
- <chaserslt/>
- <pid/>
- <g_gubun/>
- <g_opi/>
- <g_after/>
- <s_gubun/>
- <s_opi/>
- <s_after/>
- </cnstlist>
- </main>
- <send>
- <reqdata>
- <fromdd/>
- <todd/>
- <chasu/>
- <userid/>
- <hngnm/>
- <gubun/>
- <panjeongsrch/>
- </reqdata>
- <reqdata2>
- <fromdd/>
- <todd/>
- <cnstfromdd/>
- <cnsttodd/>
- <userid/>
- <hngnm/>
- <gubun/>
- <chasefromdd/>
- <chasetodd/>
- </reqdata2>
- </send>
- <init>
- <baseinfo>
- <A9000list/>
- </baseinfo>
- </init>
- <temp/>
- </root>
- </instance>
- <submission id="TRAHA00001"/>
- <submission id="TRAHA00002"/>
- <submission id="TXAHA05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
- <submission id="TRAHA05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main"/>
- <submission id="TRAHA05003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata2" resultref="/root/main"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("A9000"), new Array("/root/init/baseinfo/A9000list")); //판정구분 기준자료 조회
- //healGetCodeList(new Array("S900") , new Array("/root/init/baseinfo/yearlist")); //검진년도 기준자료 조회
-
- //model.makeValue("/root/send/reqdata/gunjinyear", getCurrentDate().substr(0, 4));
- model.makeValue("/root/send/reqdata/fromdd", getDateTime(getCurrentDate().toDate().getAddDate(-1, "Y"), "D")); // 검색 시작일자를 1년전으로 세팅
- model.makeValue("/root/send/reqdata/todd", getCurrentDate());
- model.makeValue("/root/send/reqdata/chasu", "ALL");
- model.makeValue("/root/send/reqdata/gubun", "ALL");
-
- model.makeValue("/root/send/reqdata2/fromdd", getDateTime(getCurrentDate().toDate().getAddDate(-1, "Y"), "D")); // 검색 시작일자를 1년전으로 세팅
- model.makeValue("/root/send/reqdata2/todd", getCurrentDate());
- model.makeValue("/root/send/reqdata2/gubun", "ALL");
-
-
- grd_sahulist.deleteRow(grd_sahulist.rows-grd_sahulist.fixedRows);
-
- model.toggle("case_rgst");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fFileUpload(){
- grd_upload_list.visible=true;
- var fileName = window.fileDialog("open", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|Dat Files(*.dat)|*.dat|All Files (*.*)|*.*");
- if(fileName != ""){
- grd_upload_list.loadExcel(fileName);
- for(var i=1; i<grd_upload_list.rows+1; i++){
- grd_upload_list.addStatus(i, "insert");
- }
- }else{
- messageBox("파일을 선택하지 않으셨습니다.", "E");
- grd_upload_list.visible=false;
- return ;
- }
- var uploadlist = getGridUpdateData(grd_upload_list);
- model.makeValue("/root/send/savedata", uploadlist);
-
- if(submit("TXAHA05001")){
- messageBox("데이터 등록이 완료되었습니다.", "I");
- grd_upload_list.visible=false;
- btn_search.dispatch("DOMActivate");
- }else{
- grd_upload_list.visible=false;
- model.resetInstanceNode("/root/main/exceldata");
- model.refresh();
- }
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1192;">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">검진사후관리대상자</caption>
- <switch id="switch1" style="left:0px; top:35px; width:1190px; height:720px; ">
- <case id="case_rgst" style="left:0px; top:0px; width:1188px; height:718px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1186px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line10" class="line_1" style="x1:0px; y1:38px; x2:1186px; y2:37px; "/>
- <datagrid id="grd_sahulist" nodeset="/root/main/savedata" caption="상태^상담여부^완료여부^검진차수^수검병원^검진일자^검진구분^유해인자^사번^이름^등록번호^성별^나이^부서^직종^흉부촬영결과^(일반)건강구분^건진소견^사후관리 구분^사후관리 소견^업무수행적합여부^(특수)건강구분^건진소견^사후관리 구분^사후관리 소견^업무수행적합여부^판정결과(A)^판정결과(B)^판정결과(C/R1)^판정결과(R2)^판정결과(D1)^판정결과(D2/DN)^유질환(D)^판정소견^SBP^DBP^혈색소^혈당^총콜레스테롤^중성지방^HDL^LDL^SGOT^SGPT^GTP^CR^URINE" colsep="^" colwidth="18, 59, 70, 60, 115, 93, 63, 150, 55, 60, 62, 43, 47, 132, 66, 100, 100, 100, 100, 100, 105, 100, 100, 100, 100, 105, 100, 100, 100, 100, 100, 100, 100, 100, 50, 50, 50, 50, 87, 56, 50, 50, 50, 50, 50, 50, 50" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:61px; width:1186px; height:654px; ">
- <col ref="status" visibility="hidden"/>
- <col ref="cnstyn" style="text-align:center; "/>
- <col ref="endyn" type="input" maxlength="1" style="text-align:center; "/>
- <col disabled="true" ref="chasu" type="input" visibility="hidden" style="text-align:center; "/>
- <col ref="hospital" type="input" maxbyte="30"/>
- <col disabled="true" ref="ilja" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="gubun" type="input" style="text-align:center; "/>
- <col ref="yuhaeinja" type="input"/>
- <col disabled="true" ref="userid" type="input" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="pid" type="input" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="depthngnm" style="text-align:left; "/>
- <col ref="jobkind" style="text-align:center; "/>
- <col ref="chestrslt" type="input"/>
- <col ref="g_gubun" type="input" maxbyte="10"/>
- <col ref="g_opi" type="input" maxbyte="30"/>
- <col ref="g_after" type="input" maxbyte="10"/>
- <col ref="g_afteropi" type="input" maxbyte="30"/>
- <col ref="g_work" type="input" maxbyte="10"/>
- <col ref="s_gubun" type="input" maxbyte="10"/>
- <col ref="s_opi" type="input" maxbyte="30"/>
- <col ref="s_after" type="input" maxbyte="10"/>
- <col ref="s_afteropi" type="input" maxbyte="30"/>
- <col ref="s_work" type="input" maxbyte="10"/>
- <col ref="panjeonga" type="input"/>
- <col ref="panjeongb" type="input"/>
- <col ref="panjeongc" type="input"/>
- <col ref="panjeongr2" type="input"/>
- <col ref="panjeongd1" type="input"/>
- <col ref="panjeongd2" type="input"/>
- <col ref="panjeongd" type="input"/>
- <col ref="panjeongopi" type="input"/>
- <col ref="sbp" type="input"/>
- <col ref="dbp" type="input"/>
- <col ref="hb" type="input"/>
- <col ref="fbs" type="input"/>
- <col ref="tc" type="input"/>
- <col ref="tg" type="input"/>
- <col ref="hdl" type="input"/>
- <col ref="ldl" type="input"/>
- <col ref="sgot" type="input"/>
- <col ref="sgpt" type="input"/>
- <col ref="rgtp" type="input"/>
- <col ref="cr" type="input"/>
- <col ref="urin" type="input"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_sahulist.addStatus(grd_sahulist.row, "insert");
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_sahulist.col == grd_sahulist.colRef("userid")){
- if(grd_sahulist.row>=grd_sahulist.fixedRows){
- setParameter("userid", grd_sahulist.valueMatrix(grd_sahulist.row, grd_sahulist.colRef("userid")));
- setParameter("chasu", grd_sahulist.valueMatrix(grd_sahulist.row, grd_sahulist.colRef("chasu")));
- setParameter("ilja", grd_sahulist.valueMatrix(grd_sahulist.row, grd_sahulist.colRef("ilja")));
- setParameter("seq", "");
- modal("SMAHA04096");
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="search_name" style="left:5px; top:10px; width:90px; height:17px; ">검진일자 :</caption>
- <caption id="caption2" class="search_name" style="left:290px; top:10px; width:90px; height:17px; ">검진차수 :</caption>
- <select1 id="combo3" ref="/root/send/reqdata/chasu" appearance="minimal" style="left:375px; top:10px; width:55px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- <item>
- <label>4</label>
- <value>4</value>
- </item>
- <item>
- <label>5</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:440px; top:10px; width:60px; height:17px; ">사번 :</caption>
- <input id="input1" ref="/root/send/reqdata/userid" style="left:500px; top:10px; width:45px; height:19px; text-align:center; "/>
- <caption id="caption4" class="search_name" style="left:550px; top:10px; width:60px; height:17px; ">이름 :</caption>
- <input id="input2" ref="/root/send/reqdata/hngnm" style="left:610px; top:10px; width:70px; height:19px; text-align:center; "/>
- <line id="line7" style="x1:1110px; y1:6px; x2:1110px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1120px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAHA05001");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="combo5" ref="/root/send/reqdata/gubun" appearance="minimal" style="left:775px; top:10px; width:55px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>일반</label>
- <value>일반</value>
- </item>
- <item>
- <label>특수</label>
- <value>특수</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:690px; top:10px; width:90px; height:17px; ">검진구분 :</caption>
- <caption id="caption8" class="search_name" style="left:840px; top:10px; width:90px; height:17px; ">판정구분 :</caption>
- <input id="input3" ref="/root/send/reqdata/fromdd" inputtype="date" style="left:90px; top:10px; width:90px; height:19px; text-align:center; "/>
- <select id="checkbox1" ref="/root/send/reqdata/panjeongsrch" overflow="visible" appearance="full" cols="6" rows="1" style="left:925px; top:10px; width:20px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/A9000list/A9000">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption9" style="left:182px; top:11px; width:15px; height:20px; ">~</caption>
- <input id="input4" ref="/root/send/reqdata/todd" inputtype="date" style="left:195px; top:10px; width:90px; height:19px; text-align:center; "/>
- <button id="button3" class="btn2_letter2" disabled="false" style="left:1144px; top:41px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_sahulist.deleteRow(grd_sahulist.row);
- grd_sahulist.addStatus(grd_sahulist.row, "delete");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter6" style="left:938px; top:41px; width:86px; height:19px; ">
- <caption>파일다운로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "사후관리대상자", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_sahulist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;rowhiddenextend:false;");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" disabled="false" style="left:895px; top:41px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var uploadlist = getGridUpdateData(grd_sahulist);
- model.makeValue("/root/send/savedata", uploadlist);
-
- if(submit("TXAHA05001")){
- messageBox("데이터 등록이 완료되었습니다.", "I");
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="btn_upload" class="btn2_letter5" style="left:1025px; top:41px; width:75px; height:19px; ">
- <caption>파일업로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- openLoadingBar("파일 업로드");
- fFileUpload();
- closeLoadingBar();
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter2" disabled="false" style="left:1101px; top:41px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_sahulist.addRow();
- grd_sahulist.addStatus(grd_sahulist.row, "insert");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter4" disabled="false" visibility="hidden" style="left:620px; top:40px; width:64px; height:19px; ">
- <caption>목록삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_sahulist.addStatus(grd_sahulist.row, "delete");
- ]]>
- </script>
- </button>
- <datagrid id="grd_upload_list" nodeset="/root/main/exceldata" visibility="hidden" caption="검진차수^검진일자^검진구분^유해인자^사번^흉부촬영결과^판정결과(A)^판정결과(B)^판정결과(C/R1)^판정결과(D1)^판정결과(D2/DN)^유질환(D)^판정소견^SBP^DBP^혈색소^혈당^총콜레스테롤^중성지방^HDL^LDL^SGOT^SGPT^GTP^CR^URINE" colsep="^" colwidth="70, 80, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:110px; top:140px; width:800px; height:385px; text-align:center; ">
- <col ref="chasu"/>
- <col ref="ilja" format="yyyy-mm-dd"/>
- <col ref="gubun"/>
- <col ref="yuhaeinja"/>
- <col ref="userid"/>
- <col ref="chestrslt"/>
- <col ref="panjeonga"/>
- <col ref="panjeongb"/>
- <col ref="panjeongc"/>
- <col ref="panjeongd1"/>
- <col ref="panjeongd2"/>
- <col ref="panjeongd"/>
- <col ref="panjeongopi"/>
- <col ref="sbp"/>
- <col ref="dbp"/>
- <col ref="hb"/>
- <col ref="fbs"/>
- <col ref="tc"/>
- <col ref="tg"/>
- <col ref="hdl"/>
- <col ref="ldl"/>
- <col ref="sgot"/>
- <col ref="sgpt"/>
- <col ref="rgtp"/>
- <col ref="cr"/>
- <col ref="urin"/>
- </datagrid>
- </case>
- <case id="case_manage" selected="true">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1186px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:1186px; y2:62px; "/>
- <caption id="caption5" class="search_name" style="left:5px; top:10px; width:90px; height:17px; ">검진일자 :</caption>
- <input id="input5" ref="/root/send/reqdata2/fromdd" inputtype="date" style="left:90px; top:10px; width:90px; height:19px; text-align:center; "/>
- <input id="input6" ref="/root/send/reqdata2/todd" inputtype="date" style="left:195px; top:10px; width:90px; height:19px; text-align:center; "/>
- <caption id="caption10" style="left:182px; top:11px; width:15px; height:20px; ">~</caption>
- <caption id="caption11" style="left:497px; top:11px; width:15px; height:20px; ">~</caption>
- <caption id="caption12" class="search_name" style="left:320px; top:10px; width:90px; height:17px; ">상담일자 :</caption>
- <input id="input7" ref="/root/send/reqdata2/cnstfromdd" inputtype="date" style="left:405px; top:10px; width:90px; height:19px; text-align:center; "/>
- <input id="input8" ref="/root/send/reqdata2/cnsttodd" inputtype="date" style="left:510px; top:10px; width:90px; height:19px; text-align:center; "/>
- <input id="input9" ref="/root/send/reqdata2/chasefromdd" inputtype="date" style="left:120px; top:35px; width:90px; height:19px; text-align:center; "/>
- <input id="input10" ref="/root/send/reqdata2/chasetodd" inputtype="date" style="left:225px; top:35px; width:90px; height:19px; text-align:center; "/>
- <caption id="caption13" style="left:212px; top:36px; width:15px; height:20px; ">~</caption>
- <caption id="caption14" class="search_name" style="left:5px; top:35px; width:115px; height:17px; ">추적검사일자 :</caption>
- <caption id="caption15" class="search_name" style="left:615px; top:10px; width:75px; height:17px; ">사 번 :</caption>
- <caption id="caption16" class="search_name" style="left:775px; top:10px; width:80px; height:17px; ">이 름 :</caption>
- <caption id="caption17" class="search_name" style="left:935px; top:10px; width:90px; height:17px; ">검진구분 :</caption>
- <button id="button7" class="btn1_letter2" style="left:1120px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAHA05003");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line2" style="x1:1110px; y1:6px; x2:1110px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="input11" ref="/root/send/reqdata2/userid" style="left:685px; top:10px; width:75px; height:19px; "/>
- <input id="input12" ref="/root/send/reqdata2/hngnm" style="left:845px; top:10px; width:75px; height:19px; "/>
- <select1 id="combo1" ref="/root/send/reqdata2/gubun" appearance="minimal" style="left:1025px; top:10px; width:55px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>일반</label>
- <value>일반</value>
- </item>
- <item>
- <label>특수</label>
- <value>특수</value>
- </item>
- </choices>
- </select1>
- <datagrid id="grd_sahucnst" nodeset="/root/main/cnstlist" caption="^검진일자^검진차수^상담이력^사번^이름^등록번호^(일반)건강구분^건진소견^사후관리 구분^(특수)건강구분^건진소견^사후관리 구분^근무부서^상담일자^상담장소^상담내용^상담결과^추적검사일^처방일자^sage^telno^panjeong^yujilhwan^yuhaeinja^rslt" colsep="^" colwidth="22, 80, 23, 60, 50, 70, 70, 100, 100, 100, 100, 100, 100, 124, 80, 100, 425, 146, 80, 80, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:90px; width:1185px; height:625px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="ilja" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="chasu" visibility="hidden" style="text-align:center; "/>
- <col ref="seq" style="text-align:center; "/>
- <col ref="userid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="g_gubun"/>
- <col ref="g_opi"/>
- <col ref="g_after"/>
- <col ref="s_gubun"/>
- <col ref="s_opi"/>
- <col ref="s_after"/>
- <col ref="depthngnm"/>
- <col ref="cnstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnstplace"/>
- <col ref="cnstcnt"/>
- <col ref="cnstrslt"/>
- <col ref="chasedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="sage" visibility="hidden"/>
- <col ref="telno" visibility="hidden"/>
- <col ref="panjeong" visibility="hidden"/>
- <col ref="yujilhwan" visibility="hidden"/>
- <col ref="yuhaeinja" visibility="hidden"/>
- <col ref="chaserslt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_sahucnst.col == grd_sahucnst.colRef("userid")){
- if(grd_sahucnst.row>=grd_sahucnst.fixedRows){
- setParameter("userid", grd_sahucnst.valueMatrix(grd_sahucnst.row, grd_sahucnst.colRef("userid")));
- setParameter("chasu", grd_sahucnst.valueMatrix(grd_sahucnst.row, grd_sahucnst.colRef("chasu")));
- setParameter("ilja", grd_sahucnst.valueMatrix(grd_sahucnst.row, grd_sahucnst.colRef("ilja")));
- setParameter("seq", grd_sahucnst.valueMatrix(grd_sahucnst.row, grd_sahucnst.colRef("seq")));
- modal("SMAHA04096");
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="button8" class="btn2_letter6" style="left:1097px; top:68px; width:86px; height:19px; ">
- <caption>파일다운로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "상담내역리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_sahucnst.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;rowhiddenextend:false;");
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter2" disabled="false" style="left:1054px; top:68px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = getNodesetCount("/root/main/cnstlist[chk='Y']");
- if(parseInt(cnt)>0){
- for(var i=0; i<grd_sahucnst.rows; i++){
- if(grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("chk"))=='Y'){
- model.makeNode("/root/send/prnt");
- model.makeValue("/root/send/prnt/userid", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("userid")));
- model.makeValue("/root/send/prnt/hngnm", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("hngnm")));
- model.makeValue("/root/send/prnt/sage", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("sage")));
- model.makeValue("/root/send/prnt/telno", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("telno")));
- model.makeValue("/root/send/prnt/ilja", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("ilja")));
- model.makeValue("/root/send/prnt/depthngnm", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("depthngnm")));
- model.makeValue("/root/send/prnt/yuhaeinja", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("yuhaeinja")));
- model.makeValue("/root/send/prnt/panjeong", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("panjeong")));
- model.makeValue("/root/send/prnt/yujilhwan", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("yujilhwan")));
- model.makeValue("/root/send/prnt/cnstdd", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("cnstdd")));
- model.makeValue("/root/send/prnt/cnstplace", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("cnstplace")));
- model.makeValue("/root/send/prnt/cnstcnt", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("cnstcnt")));
- model.makeValue("/root/send/prnt/cnstrslt", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("cnstrslt")));
- model.makeValue("/root/send/prnt/chaserslt", grd_sahucnst.valueMatrix(i, grd_sahucnst.colRef("chaserslt")));
- model.makeValue("/root/send/prnt/managernm", getUserInfo("usernm"));
- exeReportPreview("RPAHA04096", "XMLSTR", "", "", "false", "", "", "", "", "false");
- }
- }
- }
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:15px; width:90px; height:22px; ">
- <caption>대상자등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_rgst");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn_sw" group="tab" style="left:90px; top:15px; width:90px; height:22px; ">
- <caption>상담내역관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_manage");
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|