123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982 |
- <?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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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>예방점검 접수 및 상세등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <rfchprvnlist/>
- <control>
- <rfchprvnlist/>
- </control>
- <prtprvnlist/>
- </main>
- <send>
- <instcd/>
- <prvnchkfrdd/>
- <tempmngtdeptcd/>
- <tempmngtdeptnm/>
- <save/>
- <prvnchktodd/>
- <prvnchkprcsstat_search/>
- <mngtdeptcd/>
- <mngtdeptnm/>
- <fixasetcode/>
- <installplcecd/>
- <installplcenm/>
- <fixasetcd_search/>
- <fixasetnm/>
- <fileupcolumn>
- <instcd/>
- <goodflag/>
- <reqdd/>
- <reqno/>
- <reqseqno/>
- <fileseqno/>
- <attfilenm/>
- <attfilepathnm/>
- <purccondd/>
- <purcconno/>
- <fileupload>
- <file>
- <filename/>
- </file>
- </fileupload>
- </fileupcolumn>
- <id>SMRFE02100</id>
- </send>
- <init>
- <prvnchkprcsstat>
- <label>점검중</label>
- <value>1</value>
- <label>점검완료</label>
- <value>2</value>
- </prvnchkprcsstat>
- <prvnchkprcsstat_grid>
- <label>점검중</label>
- <value>1</value>
- <label>점검완료</label>
- <value>2</value>
- <label>결제완료</label>
- <value>3</value>
- <label>부서결재</label>
- <value>4</value>
- </prvnchkprcsstat_grid>
- <prvnchkprcsstat_search>
- <label>전체</label>
- <value/>
- <label>점검중</label>
- <value>1</value>
- <label>점검완료</label>
- <value>2</value>
- <label>결재완료</label>
- <value>3</value>
- <label>부서결재</label>
- <value>4</value>
- </prvnchkprcsstat_search>
- <fixtrseqmflag>
- <label>의료장비</label>
- <value>EQ</value>
- <label>의료비품</label>
- <value>GE</value>
- </fixtrseqmflag>
- <check>
- <label>GOOD</label>
- <value>G</value>
- <label>BAD</label>
- <value>B</value>
- </check>
- <itslfchkyn>
- <label>자체점검</label>
- <value>1</value>
- <label>외부점검</label>
- <value>2</value>
- </itslfchkyn>
- <rpircvrtyn>
- <label>Yes</label>
- <value>Y</value>
- <label>No</label>
- <value>N</value>
- </rpircvrtyn>
- </init>
- <temp/>
- <barcode>
- <code/>
- </barcode>
- <print>
- <rfchprvnlist/>
- </print>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var mainObj = getMainViewer();
- var scrnID = mainObj.javascript.getScreenID();
- if(model.getValue("/root/barcode/code") != "") autochk = "1";
- misfMsterDetailSet(grd_rfchprvnlist, null, "TRRFE02001", "Y");
- fInitialize();
- // 공통코드 설정
- //misfComboComCdListMulti("Z0007,030R0033","cmb_instcd,grd_rfchprvnlist.mngtgrade");
- //model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
- if(autochk == "1"){
- grd_rfchprvnlist.dispatch("onrowchanged");
- }else{
- if (isPopup() && scrnID == "SMRFE00400") // 수리신청등록
- {
- if (opener.window.javascript.getParameter("paraminstcd") == ""){
- cmb_instcd.value = getUserInfo("dutplceinstcd");
- }else{
- model.setValue(cmb_instcd.attribute("ref") , opener.window.javascript.getParameter("paraminstcd"));
- }
- model.setValue(ipt_tempmngtdeptcd.attribute("ref") , opener.window.javascript.getParameter("paratempmngtdeptcd"));
- model.setValue(ipt_tempmngtdeptnm.attribute("ref") , opener.window.javascript.getParameter("paratempmngtdeptnm"));
- model.setValue(ipt_prvnchkfrdd.attribute("ref") , opener.window.javascript.getParameter("paramreqdd"));
- model.setValue(ipt_prvnchktodd.attribute("ref") , opener.window.javascript.getParameter("paramreqdd"));
- btn_search.dispatch("DOMActivate");
- model.setFocus("grd_rfchprvnlist");
- for (var i = grd_rfchprvnlist.fixedRows; i <= grd_rfchprvnlist.rows; i++){
- if (grd_rfchprvnlist.valueMatrix(i, grd_rfchprvnlist.colRef("fixasetcd")) == opener.window.javascript.getParameter("paramfixasetcd")){
- grd_rfchprvnlist.row = i;
- break;
- }
- }
- grd_rfchprvnlist.dispatch("onrowchanged");
- }
- }
- ]]>
- </script>
- <submission id="TRRFE02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfchprvnlist"/>
- <submission id="TRRFE02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prtprvnlist"/>
- <submission id="TXRFE02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- <submission id="TXRFE02101" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/fileupcolumn" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript">
- <![CDATA[
- var autochk = "";
- function fInitialize()
- {
- var mainObj = getMainViewer();
- var scrnID = mainObj.javascript.getScreenID();
-
- //조회 컴포넌트 초기화.
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main");
-
- // 그리드 초기화
- misfGridInit(grd_rfchprvnlist);
-
- // 공통코드 설정
- misfComboComCdListMulti("Z0007,030R0033","cmb_instcd,grd_rfchprvnlist.mngtgrade");
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
-
- if(autochk == "1"){
- model.setValue("/root/send/fixasetcode",model.getValue("/root/barcode/code"));
- grp_sea.disabled = true;
- }
- // 사용자 기관코드 설정.
- model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd"));
-
- // 현재 날짜 기본 입력(6개월 간격 설정)
- var acptdate = getCurrentDate().toDate("YYYYMMDD");
- model.setValue(ipt_prvnchkfrdd.attribute("ref"), getCurrentDate());
- model.setValue(ipt_prvnchktodd.attribute("ref"), getCurrentDate());
-
- if (isPopup() && scrnID == "SMRFE02000") // 수리신청등록
- {
- model.setValue(ipt_tempmngtdeptcd.attribute("ref") , opener.window.javascript.getParameter("paramtempmngtdeptcd"));
- model.setValue(ipt_tempmngtdeptnm.attribute("ref") , opener.window.javascript.getParameter("paramtempmngtdeptnm"));
- model.setValue(ipt_prvnchkfrdd.attribute("ref") , opener.window.javascript.getParameter("paramprvnchkdd"));
- model.setValue(ipt_prvnchktodd.attribute("ref") , opener.window.javascript.getParameter("paramprvnchkdd"));
- model.setValue(cmb_prvnchkprcsstat_search.attribute("ref") , opener.window.javascript.getParameter("paramprvnchkprcsstat"));
- btn_search.dispatch("DOMActivate");
- }
- model.refresh();
- model.setFocus("ipt_fixasetcd_search");
- }
-
- function fAfterRetr()
- {
- for(var fRow = grd_rfchprvnlist.fixedRows; fRow < grd_rfchprvnlist.rows ; fRow++ )
- {
- if(grd_rfchprvnlist.valueMatrix(fRow, grd_rfchprvnlist.colRef("prvnchkprcsstat")) != "1")
- {
- grd_rfchprvnlist.isReadOnly(fRow, grd_rfchprvnlist.fixedCols-1, fRow, grd_rfchprvnlist.cols-1) = true;
- }
- }
- }
-
- /*--------------------------------------------------------------------------------*/
- /* 화면 open시 disable ..행추가시 또는 조회후 값 존재시 enable */
- /*--------------------------------------------------------------------------------*/
- function fAllControlDisabled(pDisable)
- {
- rdo_vischk.disabled=pDisable;
- txt_viscmt.disabled=pDisable;
- rdo_pwrchk.disabled=pDisable;
- txt_pwrcmt.disabled=pDisable;
- rdo_syschk.disabled=pDisable;
- txt_syscmt.disabled=pDisable;
- rdo_itslfchkyn.disabled=pDisable;
- cmb_prvnchkprcsstat.disabled=pDisable;
- ipt_todd.disabled=pDisable;
- ipt_chkpsnid.disabled=pDisable;
- ipt_chkpsnnm.disabled=pDisable;
- btn_chrgpsnid.disabled=pDisable;
- rdo_rpircvrtyn.disabled=pDisable;
- opt_reqdd.disabled=pDisable;
- opt_reqno.disabled=pDisable;
- //ipt_bugtyy.disabled=pDisable;
- //cmb_bugtcd.disabled=pDisable;
- //ipt_stdysubjno.disabled=pDisable;
- //ipt_stdysubjnm.disabled=pDisable;
- //btn_stdysubjnm.disabled=pDisable;
- }
- //파일 다운로드 하는 기능
- function fAttfileAdd(){
- var maxsize = upd_uploadfile.attribute("filesize");
-
- model.makeValue("/root/send/fileupcolumn/instcd" , model.getValue(cmb_instcd.attribute("ref")) );
- model.makeValue("/root/send/fileupcolumn/goodflag" , "EQ" );
- model.makeValue("/root/send/fileupcolumn/prvnchkdd" , grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("prvnchkdd")));
- model.makeValue("/root/send/fileupcolumn/acptno" , grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("acptno")));
- model.makeValue("/root/send/fileupcolumn/attfilenm" , model.getValue(ipt_attfilenm.attribute("ref")));
- model.makeValue("/root/send/fileupcolumn/attfilepathnm" , model.getValue("/root/send/fileupcolumn/fileupload/file") );
-
- submit("TXRFE02101");
- if (model.getValue(gvErrorMsgPath + "/type") != "error" ){
- var focus = grd_rfchprvnlist.row;
- messageBox("첨부파일이 업로드" , "I002");
- btn_search.dispatch("DOMActivate");
-
- model.setFocus("grd_rfchprvnlist");
- grd_rfchprvnlist.row = focus;
- grd_rfchprvnlist.dispatch("onrowchanged");
- }
- //파일 업로드 후 첨부파일 팝업창을 띄워서 해당 파일이 잘 올라갔는지 확인할수 있도록 해준다.?????
- }
- function fAttfileDown(){ //첨부파일 다운로드
- model.makeValue("/root/send/fileupcolumn/instcd" , model.getValue(cmb_instcd.attribute("ref")));
- model.makeValue("/root/send/fileupcolumn/reqdd" , grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("prvnchkdd")));
- model.makeValue("/root/send/fileupcolumn/fileseqno" , model.getValue("root/main/control/rfchprvnlist/attfilepathnm"));
- model.makeValue("/root/send/fileupcolumn/goodflag" , "EQ" );
- model.makeValue("/root/send/fileupcolumn/reqno" , grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("acptno")));
- model.makeValue("/root/send/fileupcolumn/reqseqno" , "-" );
- model.makeValue("/root/send/fileupcolumn/attfilenm" , model.getValue(ipt_attfilenm.attribute("ref")));
- model.makeValue("/root/send/fileupcolumn/attfilepathnm" , model.getValue("/root/send/fileupcolumn/fileupload/file") );
- model.removenode("/root/copynode");
- model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
- model.makeNode("/root/copynode");
- setParameter("para_instcd" , model.getValue(cmb_instcd.attribute("ref")));
- setParameter("para_reqdd" , grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("prvnchkdd")));
- setParameter("para_fileseqno" , model.getValue("root/main/control/rfchprvnlist/attfilepathnm") );
- setParameter("para_goodflag" , "EQ" );
- setParameter("para_reqno" , grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("acptno")));
- setParameter("para_reqseqno" , "-" );
- setParameter("para_attfilenm" , model.getValue(ipt_attfilenm.attribute("ref")));
- setParameter("para_attfilepathnm" , model.getValue("/root/send/fileupcolumn/fileupload/file") );
-
- modal("SPRFE02500");
- //grd_rfchprvnlist.dispatch("onrowchanged");
- var focus = grd_rfchprvnlist.row;
- btn_search.dispatch("DOMActivate");
-
- model.setFocus("grd_rfchprvnlist");
- grd_rfchprvnlist.row = focus;
- grd_rfchprvnlist.dispatch("onrowchanged");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:207px; height:14px; ">예방점검 접수 및 상세등록</caption>
- </group>
- <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter9" style="left:0px; top:3px; width:128px; height:22px; ">
- <caption>예방점검내용출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( instance1.selectNodes("/root/main/rfchprvnlist[select = 'Y']").length > 0 ){
-
- model.removeNodeset("/root/print/rfchprvnlist");
- model.makeNode("/root/print/rfchprvnlist");
- copyNodesetType("/root/print/rfchprvnlist","/root/main/rfchprvnlist[select = 'Y']","replace");
- if(instance1.selectNodes("/root/print/rfchprvnlist").length > 0)
- exeReportPreview("RPRFE01405", "XMLSTR");
- }
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="17" style="left:1126px; top:3; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(getGridUpdateData(grd_rfchprvnlist) != "")
- {
- if(messageBox("변경된 데이터가 있습니다. \n초기화 작업을", "Q003") == 7)
- return;
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" navindex="16" style="left:1066px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( instance1.selectNodes("/root/main/rfchprvnlist[select = 'Y']").length > 0 ){
- btn_save_grid.dispatch("DOMActivate");
- return;
- }
-
- //if(fCheckSaveData() == false)return;
-
- //model.copyNode("/root/main/rfchprvnlist["+ grd_rfchprvnlist.row +"]","/root/main/com_rfchprvnlist");
-
- // ** 예방점검시 결과등록하여 변경된 값들을 다시 grid에 적용시킨다.(/root/main/control/rfchprvnlist --> /root/main/rfchprvnlist ********
- //alert(grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("acptpsnid")) );
- //grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("acptpsnid")) = ipt_chkpsnid.value;
- //alert(grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("acptpsnid")) );
- ipt_acptpsnid.value = ipt_chkpsnid.value;
- misfGridRowStatusChange(grd_rfchprvnlist,"/root/main","/root/main/control");
-
- model.refresh();
-
- //이현민
- for (var i=grd_rfchprvnlist.fixedRows; i< grd_rfchprvnlist.rows; i++){
- grd_rfchprvnlist.valueMatrix(i, grd_rfchprvnlist.colRef("bizscrnid")) = "SMRFE02100_예방점검 접수 및 상세등록.xrw";
- }
-
- misfSave("TXRFE02001");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- var focus = grd_rfchprvnlist.row;
-
- btn_search.dispatch("DOMActivate");
-
- model.setFocus("grd_rfchprvnlist");
- grd_rfchprvnlist.row = focus;
- grd_rfchprvnlist.dispatch("onrowchanged");
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn6_letter9" visibility="hidden" style="left:144px; top:3px; width:140px; height:22px; ">
- <caption>예방점검이력출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var instcdtmp = model.getValue("/root/send/instcd");
- if (instcdtmp == "031"){
- var mngtdeptcd = model.getValue("/root/send/mngtdeptcd");
- if(mngtdeptcd != ""){
- submit("TRRFE02002");
- exeReportPreview("RPRFE01406","XMLSTR");
- }else{
- messageBox("사용부서를 " ,"C001");
- }
- }else{
- var installplcecd = model.getValue("/root/send/installplcecd");
- if(installplcecd != ""){
- submit("TRRFE02002");
- exeReportPreview("RPRFE01406","XMLSTR");
- }else{
- messageBox("설치장소를 " ,"C001");
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:740; ">
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1189px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_instcd" class="search_name" style="left:10px; top:14px; width:86px; height:17px; ">기관코드 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="15" style="left:1120px; top:24px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("cmb_instcd")) return;
- //if(!isRequiredControls("ipt_prvnchkfrdd")) return;
- //if(!isRequiredControls("ipt_prvnchktodd")) return;
-
- //그리드 초기화.
- misfGridInit(grd_rfchprvnlist);
- model.resetInstanceNode("/root/main/control/rfchprvnlist");
-
- // 자산마스터 조회
- if(submit("TRRFE02001",false)) {
- fAfterRetr();
-
- grd_rfchprvnlist.refresh();
-
- if(autochk == "1"){
- for(i = 1 ; i < grd_rfchprvnlist.rows ; i++){
- if(grd_rfchprvnlist.valueMatrix(i, grd_rfchprvnlist.colRef("prvnchkdd")) == getCurrentDate().substr(0,8))
- grd_rfchprvnlist.row = i;
- }
- grd_rfchprvnlist.dispatch("onrowchanged");
- }
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" disabled="true" navindex="2" appearance="minimal" style="left:94px; top:14px; width:141px; height:19px; text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line13" class="line_4" style="x1:1107px; y1:6px; x2:1107px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_tempmngtdeptcd" ref="/root/send/tempmngtdeptcd" class="input_default" navindex="12" visibility="hidden" style="left:90px; top:40px; width:34px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_tempmngtdeptnm);
- ]]>
- </script>
- </input>
- <button id="btn_tempmngtdeptcd" class="icon_search" navindex="13" visibility="hidden" style="left:124px; top:40px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_tempmngtdeptcd,"","tempmngtdeptcd,tempmngtdeptnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_tempmngtdeptcd" class="search_name" visibility="hidden" style="left:9px; top:40px; width:85px; height:17px; ">관리부서:</caption>
- <input id="ipt_tempmngtdeptnm" ref="/root/send/tempmngtdeptnm" class="output_fix" navindex="14" visibility="hidden" editable="false" appearance="input" style="left:145px; top:40px; width:49px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:815px; top:15px; width:117px; height:17px; ">계획일자 :</caption>
- <input id="ipt_prvnchkfrdd" ref="/root/send/prvnchkfrdd" class="input_default" navindex="9" inputtype="date" style="left:905px; top:15px; width:89px; height:19px; text-align:center; "/>
- <input id="ipt_prvnchktodd" ref="/root/send/prvnchktodd" class="input_default" navindex="10" inputtype="date" style="left:1009px; top:15px; width:89px; height:19px; text-align:center; "/>
- <caption id="caption13" style="left:995px; top:15px; width:20px; height:20px; font-weight:bold; ">~</caption>
- <caption id="caption19" class="search_name" style="left:815px; top:41px; width:92px; height:17px; ">상 태 :</caption>
- <select1 id="cmb_prvnchkprcsstat_search" ref="/root/send/prvnchkprcsstat_search" navindex="11" appearance="minimal" style="left:904px; top:41px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkprcsstat_search">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_mngtdeptcd" class="icon_search" navindex="4" style="left:423px; top:14px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mngtdeptcd,"","mngtdeptcd,mngtdeptnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptnm" ref="/root/send/mngtdeptnm" class="output_fix" navindex="5" editable="false" appearance="input" style="left:442px; top:14px; width:135px; height:19px; "/>
- <caption id="cap_mngtdeptcd" class="search_name" style="left:250px; top:14px; width:95px; height:17px; ">사용부서 :</caption>
- <input id="ipt_mngtdeptcd" ref="/root/send/mngtdeptcd" class="input_default" navindex="3" style="left:340px; top:14px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_mngtdeptnm);
- ]]>
- </script>
- </input>
- <button id="btn_installplcecd_search" class="icon_search" navindex="-1" visibility="visible" style="left:423px; top:40px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("19", ipt_installplcecd,"", "installplcecd,installplcenm") ;
- ipt_installplcecd.refresh();
- ipt_installplcenm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_installplcenm" ref="/root/send/installplcenm" class="output_fix" navindex="-1" visibility="visible" editable="false" appearance="input" style="left:442px; top:40px; width:135px; height:19px; "/>
- <input id="ipt_installplcecd" ref="/root/send/installplcecd" class="input_default" navindex="6" visibility="visible" style="left:340px; top:40px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcecd.value.length == 0)
- ipt_installplcenm.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + ipt_installplcecd.value, "", "installplcecd,installplcenm",
- ipt_installplcecd, "PPRAC00700", "","");
- ipt_installplcecd.refresh();
- ipt_installplcenm.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption21" class="search_name" style="left:250px; top:40px; width:95px; height:17px; ">설치장소 :</caption>
- <caption id="cap_fixasetcd_search" class="search_name" style="left:600px; top:15px; width:89px; height:17px; ">자산코드 :</caption>
- <input id="ipt_fixasetcd_search" ref="/root/send/fixasetcd_search" class="input_search" navindex="7" visibility="visible" imemode="disabled" _chartype="upper" style="left:685px; top:15px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- if(event.keyCode == "13") {
- model.setFocus("ipt_fixasetcd_search");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_name_search" ref="/root/send/fixasetnm" class="input_search" navindex="8" style="left:685px; top:41px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="cap_goodflagnm_search" class="search_name" style="left:600px; top:41px; width:110px; height:17px; ">
- <![CDATA[자 산 명 :]]>
- <hint>
- <![CDATA[자산명(한글), 모델]]>
- </hint>
- </caption>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:99px; width:95px; height:13px; ">예방점검목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:116px; x2:780px; y2:115px; "/>
- <button id="btn_save_grid" class="btn2_letter4" navindex="18" visibility="hidden" style="left:585px; top:90px; width:64px; height:19px; ">
- <caption>일괄저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var target = "/root/main/rfchprvnlist";
- var origin = "/root/main/control/rfchprvnlist";
-
- if( messageBox(" 선택하신 자산의 점검 결과가 일괄적으로 적용 됩니다.\n","Q002") != "6" )return;
-
- for(var cnt = grd_rfchprvnlist.fixedRows; cnt < grd_rfchprvnlist.rows; cnt++){
- if(model.getValue(target + "[" + cnt + "]/select") == "Y"){
- model.setValue(target + "[" + cnt + "]/vischk", model.getValue(origin + "/vischk"));
- model.setValue(target + "[" + cnt + "]/viscmt", model.getValue(origin + "/viscmt"));
- model.setValue(target + "[" + cnt + "]/pwrchk", model.getValue(origin + "/pwrchk"));
- model.setValue(target + "[" + cnt + "]/pwrcmt", model.getValue(origin + "/pwrcmt"));
- model.setValue(target + "[" + cnt + "]/syschk", model.getValue(origin + "/syschk"));
- model.setValue(target + "[" + cnt + "]/syscmt", model.getValue(origin + "/syscmt"));
- model.setValue(target + "[" + cnt + "]/clnchk", model.getValue(origin + "/clnchk"));
- model.setValue(target + "[" + cnt + "]/clncmt", model.getValue(origin + "/clncmt"));
- model.setValue(target + "[" + cnt + "]/itslfchkyn", model.getValue(origin + "/itslfchkyn"));
- model.setValue(target + "[" + cnt + "]/prvnchkprcsstat",model.getValue(origin + "/prvnchkprcsstat"));
- model.setValue(target + "[" + cnt + "]/todd", model.getValue(origin + "/todd"));
- model.setValue(target + "[" + cnt + "]/chkpsnid", model.getValue(origin + "/chkpsnid"));
- model.setValue(target + "[" + cnt + "]/acptpsnid", model.getValue(origin + "/chkpsnid"));
- model.setValue(target + "[" + cnt + "]/chkpsnnm", model.getValue(origin + "/chkpsnnm"));
- model.setValue(target + "[" + cnt + "]/rpircvrtyn", model.getValue(origin + "/rpircvrtyn"));
- }
- }
- grd_rfchprvnlist.refresh();
-
- misfSave("TXRFE02001");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- var focus = grd_rfchprvnlist.row;
- btn_search.dispatch("DOMActivate");
- model.setFocus("grd_rfchprvnlist");
- grd_rfchprvnlist.row = focus;
- grd_rfchprvnlist.dispatch("onrowchanged");
- }
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn5_letter3" navindex="19" style="left:725px; top:94px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "예방점검목록", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_rfchprvnlist.saveExcel(fileName, "예방점검목록List",true,true, "");
- }
-
- ]]>
- </script>
- </button>
- <group id="grp_detail" style="left:785px; top:95px; width:407px; height:635px; ">
- <output id="opt_mngtno" ref="/root/main/control/rfchprvnlist/mngtno" class="output_fix" style="left:92px; top:26px; width:312px; height:19px; "/>
- <caption id="caption60" class="cell_1" style="left:0px; top:609px; width:95px; height:23px; vertical-align:middle; ">첨부파일</caption>
- <output id="opt_reqdd" ref="/root/main/control/rfchprvnlist/reqdd" class="output_fix" format="yyyy-mm-dd" style="left:97px; top:586px; width:116px; height:19px; text-align:center; "/>
- <output id="opt_installplcenm" ref="/root/main/control/rfchprvnlist/installplcenm" class="output_fix" style="left:92px; top:101px; width:312px; height:19px; "/>
- <output id="opt_reqno" ref="/root/main/control/rfchprvnlist/reqno" class="output_fix" style="left:216px; top:586px; width:60px; height:19px; text-align:center; "/>
- <select1 id="rdo_vischk" ref="/root/main/control/rfchprvnlist/vischk" class="input_fix" navindex="21" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:97px; top:154px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/check">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_attfilenm" ref="/root/main/control/rfchprvnlist/attfilenm" class="input_default" disabled="true" navindex="39" style="left:97px; top:611px; width:223px; height:19px; "/>
- <select1 id="rdo_itslfchkyn" ref="/root/main/control/rfchprvnlist/itslfchkyn" class="input_fix" navindex="29" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:97px; top:490px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/itslfchkyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_syschk" ref="/root/main/control/rfchprvnlist/syschk" class="input_fix" navindex="25" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:97px; top:322px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/check">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <textarea id="txt_clncmt" ref="/root/main/control/rfchprvnlist/clncmt" navindex="28" scroll="vertical" style="left:96px; top:427px; width:310px; height:60px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:405px; width:95px; height:83px; vertical-align:middle; ">
- <![CDATA[ CLEANING
- CHECK]]>
- </caption>
- <input id="ipt_chkpsnid" ref="/root/main/control/rfchprvnlist/chkpsnid" class="input_search" navindex="33" style="left:97px; top:538px; width:85px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xfroms-value-changed">
- <![CDATA[
- if(ipt_chkpsnid.value.length == 0)
- {
- chkpsnnm.value = "";
- }else{
- misfValidationCheck("01-1", "", "chkpsnid,chkpsnnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="rdo_pwrchk" ref="/root/main/control/rfchprvnlist/pwrchk" class="input_fix" navindex="23" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:97px; top:237px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/check">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:0px; top:75px; width:90px; height:23px; vertical-align:middle; ">제조회사</caption>
- <input id="ipt_acptpsnid" ref="/root/main/control/rfchprvnlist/acptpsnid" class="input_search" disabled="true" navindex="30" visibility="hidden" style="left:310px; top:490px; width:75px; height:19px; text-align:center; "/>
- <button id="btn_chrgpsnid" class="icon_search" disabled="false" navindex="34" style="left:185px; top:538px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // misfOpenPopUpList("01", ipt_chrgpsnid, "", "chrgpsnid,chrgpsnnm");
- // model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- misfOpenPopUpList("01", ipt_chkpsnid, "", "chkpsnid,chkpsnnm");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="cell_1" style="left:0px; top:100px; width:90px; height:23px; vertical-align:middle; ">설치장소</caption>
- <caption id="caption12" class="tit_2" style="left:5px; top:130px; width:95px; height:13px; ">예방결과등록</caption>
- <caption id="caption3" class="tit_2" style="left:5px; top:4px; width:95px; height:13px; ">상세</caption>
- <button id="btn_addfile" class="btn2_letter5" navindex="40" style="left:323px; top:611px; width:75px; height:19px; ">
- <caption>파일업로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //첨부파일이 이미 있다면 파일 업로드 가 안되도록 막아버리자.
- if ( model.getValue( ipt_attfilenm.attribute("ref")).length > 0) {
- messageBox( "이미 첨부파일이 존재하여 첨부파일을 저장할수" , "I004" );
- return;
- }
-
- //행추가를 통한 비품신규청구일경우 파일 업로드막기(저장후에 업로드가능해짐)
- var files = window.fileDialog("open", "|", false);
- var replacepath = "";
-
- if ( files.length <= 0 ) return;
-
- model.setValue(ipt_uploadfile.attribute("ref") , files); //전체파일경로와이름을 셋팅
- var filename = files.substring(files.lastIndexOf('\\')+1 , files.length ); //파일이름만 나오게 문자정리
- model.setValue(ipt_attfilenm.attribute("ref") , filename);
-
- if (model.getValue( ipt_uploadfile.attribute("ref") ).length >0 && model.getValue( ipt_attfilenm.attribute("ref") ).length>0 ) {
- fAttfileAdd(); //첨부파일 서버로 저장하는 메소드 호출
- }
- //btn_search.dispatch("DOMActivate");
- model.refresh();
-
-
- ]]>
- </script>
- </button>
- <button id="btn_downfile" class="btn2_letter8" navindex="38" style="left:290px; top:586px; width:108px; height:19px; ">
- <caption>파일수정/다운로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //첨부파일이 있는 경우에만 파일 다운로드하는 기능
-
- // if ( ipt_attfilenm.value != '')
- // {
- //첨부파일 다운로드함수 호출
- fAttfileDown();
- // }else{
- // messageBox("첨부된 파일이 없어서 다운로드 할수" , "I004");
- // }
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:0px; top:489px; width:95px; height:23px; vertical-align:middle; ">점검구분</caption>
- <input id="ipt_todd" ref="/root/main/control/rfchprvnlist/todd" class="input_search" navindex="32" inputtype="date" style="left:187px; top:515px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xfroms-value-changed">
- <![CDATA[
- if(ipt_chkpsnid.value.length == 0)
- {
- chkpsnnm.value = "";
- }else{
- misfValidationCheck("01-1", "", "chkpsnid,chkpsnnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_chkpsnnm" ref="/root/main/control/rfchprvnlist/chkpsnnm" class="input_search" navindex="35" appearance="output" style="left:205px; top:538px; width:175px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_chkpsnnm.value.length == 0)
- {
- ipt_chkpsnnm.value = "";
- }else {
- misfValidationCheck("01-2", "", "chkpsnid,chkpsnnm");
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption5" class="cell_1" style="left:0px; top:513px; width:95px; height:23px; vertical-align:middle; ">점검상태/일자</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:153px; width:95px; height:83px; vertical-align:middle; ">
- <![CDATA[ VISUAL
- CHECK]]>
- </caption>
- <select1 id="rdo_rpircvrtyn" ref="/root/main/control/rfchprvnlist/rpircvrtyn" class="input_fix" navindex="36" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:97px; top:562px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/rpircvrtyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if (rdo_rpircvrtyn.value== "N" && opt_reqdd.value.length > 0 )
- //if (rdo_rpircvrtyn.value== "N")
- {
- /* 실행취소*/
- if(messageBox("수리전환 취소입니다.! ", "Q003") == "6") model.setValue(rdo_rpircvrtyn.attribute("ref"),"N");
- else model.setValue(rdo_rpircvrtyn.attribute("ref"),"Y");
-
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption15" class="cell_1" style="left:0px; top:237px; width:95px; height:83px; vertical-align:middle; ">
- <![CDATA[ FUNCTION
- CHECK]]>
- </caption>
- <textarea id="txt_viscmt" ref="/root/main/control/rfchprvnlist/viscmt" navindex="22" scroll="vertical" style="left:96px; top:175px; width:310px; height:60px; "/>
- <output id="opt_suplplcenm" ref="/root/main/control/rfchprvnlist/suplplcenm" class="output_fix" style="left:92px; top:51px; width:312px; height:19px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:400px; y2:21px; "/>
- <select1 id="rdo_clnchk" ref="/root/main/control/rfchprvnlist/clnchk" class="input_fix" navindex="27" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:97px; top:406px; width:210px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/check">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="cell_1" style="left:0px; top:561px; width:95px; height:23px; vertical-align:middle; ">수리전환</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:321px; width:95px; height:83px; vertical-align:middle; ">
- <![CDATA[ SYSTEM
- CHECK]]>
- </caption>
- <line id="line3" class="line_1" style="x1:0px; y1:148px; x2:400px; y2:149px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:585px; width:95px; height:23px; vertical-align:middle; ">수리의뢰번호</caption>
- <textarea id="txt_syscmt" ref="/root/main/control/rfchprvnlist/syscmt" navindex="26" scroll="vertical" style="left:96px; top:343px; width:310px; height:60px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:25px; width:90px; height:23px; vertical-align:middle; ">SERIAL_NO</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:537px; width:95px; height:23px; vertical-align:middle; ">점검자</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:50px; width:90px; height:23px; vertical-align:middle; ">거래처</caption>
- <input id="ipt_uploadfile" ref="/root/send/fileupcolumn/fileupload/file" navindex="37" visibility="hidden" style="left:335px; top:562px; width:60px; height:19px; "/>
- <upload id="upd_uploadfile" nodeset="/root/send/fileupcolumn/fileupload/file" filecount="5" validate="true" style="left:315px; top:560px; width:25px; height:20px; "/>
- <select1 id="cmb_prvnchkprcsstat" ref="/root/main/control/rfchprvnlist/prvnchkprcsstat" navindex="31" appearance="minimal" style="left:97px; top:515px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkprcsstat">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(cmb_prvnchkprcsstat.value=="2")
- {
- model.setValue(ipt_todd.attribute("ref"),getCurrentDate());
- model.setValue(ipt_chkpsnid.attribute("ref"),getUserInfo("userid"));
- model.setValue(ipt_chkpsnnm.attribute("ref"),getUserInfo("usernm"));
-
- model.setValue(rdo_rpircvrtyn.attribute("ref"),"N");
- }
- else if(cmb_prvnchkprcsstat.value=="1")
- {
- model.setValue(ipt_todd.attribute("ref"),"");
- model.setValue(ipt_chkpsnid.attribute("ref"),"");
- model.setValue(ipt_chkpsnnm.attribute("ref"),"");
-
- model.setValue(rdo_rpircvrtyn.attribute("ref"),"N");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <textarea id="txt_pwrcmt" ref="/root/main/control/rfchprvnlist/pwrcmt" navindex="24" scroll="vertical" style="left:96px; top:258px; width:310px; height:60px; "/>
- <output id="opt_prodcmpynm" ref="/root/main/control/rfchprvnlist/prodcmpynm" class="output_fix" style="left:92px; top:76px; width:312px; height:19px; "/>
- </group>
- <button id="btn_grdsize" class="btn2_letter4" navindex="33" style="left:660px; top:94px; width:64px; height:19px; ">
- <caption>펼치기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( btn_grdsize.attribute("text") == "펼치기"){
-
- btn_grdsize.attribute("text") = "줄이기";
- grd_rfchprvnlist.attribute("width") =1190 ;
- }
- else {
- btn_grdsize.attribute("text") ="펼치기";
- grd_rfchprvnlist.attribute("width") =780 ;
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_rfchprvnlist" nodeset="/root/main/rfchprvnlist" caption="선택^점검상태^계획일자^계획일자^관리등급^자산코드^자산명칭^규격^사용부서^설치장소^관리부서^모델^담당자^medelectacptyn^medelectacptpsnid^사용부서장확인^수리전환여부^수리접수일자^수리접수번호^예방점검진행상태^결재여부^결재일자^기관코드^visualcheck^visualcheckcomment^powercheck^powercomment^systemcheck^systemcomment^cleaningcheck^cleaningcomment^자체점검여부^부품활용여부^종료일자^점검자ID^설치장소명^공급처명^제조회사명^serialno^old수리전환여부^물품구분^사용부서^점검자명^담당자ID^예산년도^예산계정^연구과제^연구과제명^caption1^caption2^caption3^4^R1^R2^R3^주기" colsep="^" colwidth="30, 68, 70, 35, 60, 100, 198, 95, 100, 100,100, 100, 100, 100, 111, 100, 100, 100, 100, 109, 100, 100, 100, 100, 138, 100, 100, 100, 100, 100, 116, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="20" style="left:0px; top:120px; width:780px; height:610px; ">
- <col checkvalue="Y,N" ref="select" type="checkbox"/>
- <col disabled="true" ref="prvnchkprcsstat" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/prvnchkprcsstat_grid">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="prvnchkdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="acptno" visibility="visible" style="text-align:center; "/>
- <col disabled="true" ref="mngtgrade" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="fixasetcd" style="text-align:left; "/>
- <col ref="goodflagengnm"/>
- <col ref="goodspec"/>
- <col ref="mngtdeptnm"/>
- <col ref="installplcenm"/>
- <col ref="tempmngtdeptnm"/>
- <col ref="goodmodel" visibility="hidden"/>
- <col ref="acptpsnnm" style="text-align:center; "/>
- <col ref="medelectacptyn" visibility="hidden"/>
- <col ref="medelectacptpsnid" visibility="hidden"/>
- <col ref="usedeprtmangrcnfm" visibility="hidden"/>
- <col ref="rpircvrtyn" visibility="hidden"/>
- <col ref="reqdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="reqno" visibility="hidden"/>
- <col ref="prvnchkprcsstat" visibility="hidden"/>
- <col ref="sanctyn" visibility="hidden"/>
- <col ref="sanctdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="vischk" visibility="hidden"/>
- <col ref="viscmt" visibility="hidden"/>
- <col ref="pwrchk" visibility="hidden"/>
- <col ref="pwrcmt" visibility="hidden"/>
- <col ref="syschk" visibility="hidden"/>
- <col ref="syscmt" visibility="hidden"/>
- <col ref="clnchk" visibility="hidden"/>
- <col ref="clncmt" visibility="hidden"/>
- <col ref="itslfchkyn" visibility="hidden"/>
- <col ref="acsrsuseyn" visibility="hidden"/>
- <col ref="todd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="chkpsnid" visibility="hidden"/>
- <col ref="installplcenm" visibility="hidden"/>
- <col ref="suplplcenm" visibility="hidden"/>
- <col ref="prodcmpynm" visibility="hidden"/>
- <col ref="mngtno" visibility="hidden"/>
- <col ref="prerpircvrtyn" visibility="hidden"/>
- <col ref="goodflag" visibility="hidden"/>
- <col ref="mngtdeptcd" visibility="hidden"/>
- <col ref="chkpsnnm" visibility="hidden"/>
- <col ref="acptpsnid" visibility="hidden"/>
- <col ref="bugtyy" visibility="hidden"/>
- <col ref="bugtcd" visibility="hidden"/>
- <col ref="stdysubjno" visibility="hidden"/>
- <col ref="stdysubjnm" visibility="hidden"/>
- <col ref="bizscrnid" visibility="hidden"/>
- <col ref="attfilenm" visibility="hidden"/>
- <col ref="attfilepathnm" visibility="hidden"/>
- <col ref="tempmngtdeptcd" visibility="hidden"/>
- <col ref="r1"/>
- <col ref="r2"/>
- <col ref="r3"/>
- <col ref="chkprid"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rfchprvnlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- var setValue = true;
-
- if( grd_rfchprvnlist.rows >= grd_rfchprvnlist.fixedRows )
- {
- model.resetInstanceNode("/root/main/control/rfchprvnlist");
-
- // *********** 조회된 grid에서 한건을 선택하면 그 선택한 row의 컬럼값들을 root/main/contro/rfchprvnlist 쪽으로 옮겨놓는다 ********
- model.copyNode("/root/main/control/rfchprvnlist" ,grd_rfchprvnlist.nodeset + "["+ (grd_rfchprvnlist.row-grd_rfchprvnlist.fixedrows+1) + "]");
-
-
- if(grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("prvnchkprcsstat"))=="1"
- || grd_rfchprvnlist.valueMatrix(grd_rfchprvnlist.row, grd_rfchprvnlist.colRef("prvnchkprcsstat"))=="2" )
- {
- setValue = false;
- }
- }
- fAllControlDisabled(setValue);
- grp_detail.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_rfchprvnlist.col == grd_rfchprvnlist.colRef("select"))
- {
-
- }
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|