123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMZHA20003" position="absolute 0 0 1213 738" titletext="프로그램 개발관리 조회" oninit="SMZHA20003_oninit" onload="SMZHA20003_onload">
- <Layouts>
- <Layout>
- <Static text="전산의뢰 처리결과 확인 및 결재" position="absolute 0 0 235 25" id="caption6" class="tit_1"/>
- <Tab position="absolute 0 20 1205 728" id="switch1" class="tab_Normal" anchor="all">
- <Tabpages>
- <Tabpage text="" position="absolute 0 0 1203 738" id="case1">
- <Layouts>
- <Layout>
- <Div position="absolute 0 1 1200 61" id="grp_dev" class="div_SA2" anchor="left top right"/>
- <Static text="요청제목" position="absolute 245 37 345 54" id="caption20" class="search_name"/>
- <Static text="요청자" position="absolute 828 37 928 54" id="caption21" class="search_name"/>
- <Edit position="absolute 900 37 975 56" id="input9" taborder="3" autoselect="true" autoskip="true"/>
- <Edit position="absolute 335 37 495 56" id="input10" taborder="2" autoselect="true" autoskip="true"/>
- <Button position="absolute 1120 8 1176 30" id="button5" class="btn1" taborder="5" text="조회" anchor="top right" onclick="switch1_case1_button5_onclick"/>
- <Static text="요청일자" position="absolute 510 37 610 54" id="caption22" class="search_name"/>
- <Calendar position="absolute 597 37 697 56" id="input11" taborder="4" autoselect="true" autoskip="true"/>
- <Calendar position="absolute 712 37 812 56" id="input15" taborder="4" autoselect="true" autoskip="true"/>
- <Static text="~" position="absolute 700 37 715 57" id="caption26"/>
- <Edit position="absolute 525 9 680 28" id="ipt_reqdeptnm" visible="false" autoselect="true" autoskip="true"/>
- <Button position="absolute 507 9 523 25" id="btn_reqdept" class="icon_search" visible="false" text="" onclick="switch1_case1_btn_reqdept_onclick"/>
- <Grid position="absolute 5 85 1195 690" id="grd_reqprgm" binddataset="ds_main_reqprgmlist" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all" oncelldblclick="switch1_case1_grd_reqprgm_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="19"/>
- <Column size="74"/>
- <Column size="73"/>
- <Column size="98"/>
- <Column size="69"/>
- <Column size="220"/>
- <Column size="32"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="20"/>
- <Column size="48"/>
- <Column size="68"/>
- <Column size="84"/>
- <Column size="47"/>
- <Column size="70"/>
- <Column size="95"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" colspan="2" text="결재종류" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="요청번호" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="요청일자" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="요청제목" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="기관" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="요청부서" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="요청자" taborder="undefined"/>
- <Cell col="10" rowspan="2" colspan="2" text="부서장승인" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="승인일자" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="진행상태" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="통보자" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="통보일자" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="통보상태" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == true ? 1 : 0"/>
- <Cell col="2" displaytype="none" edittype="none" text="bind:aprvdesc"/>
- <Cell col="3" text="bind:reqno"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:kind" combodataset="ds_cmb_kind" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="5" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
- <Cell col="6" text="bind:reqtitle"/>
- <Cell col="7" text="bind:instnm"/>
- <Cell col="8" text="bind:reqdeptnm"/>
- <Cell col="9" text="bind:reqmannm"/>
- <Cell col="10" text="bind:deptmngraprvyn"/>
- <Cell col="11" text="bind:deptmngrnm"/>
- <Cell col="12" displaytype="date" text="bind:deptmngrdt" calendardisplaynulltype="nulltext"/>
- <Cell col="13" displaytype="combo" edittype="combo" text="bind:status" combodataset="ds_init_cmb_status_hidden" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="14" text="bind:notinm"/>
- <Cell col="15" displaytype="date" text="bind:notidd" calendardisplaynulltype="nulltext"/>
- <Cell col="16" displaytype="combo" edittype="combo" text="bind:notistatus" combodataset="ds_hidden_notistatus_item" combocodecol="cdid" combodatacol="cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="부서조회조건" position="absolute 25 9 127 26" id="caption1" class="search_name"/>
- <Static text="요청번호" position="absolute 25 37 125 54" id="caption3" class="search_name"/>
- <Edit position="absolute 410 9 505 28" id="ipt_reqdeptcd" taborder="2" visible="false" autoselect="true" autoskip="true"/>
- <Edit position="absolute 130 37 230 56" id="input1" autoselect="true" autoskip="true"/>
- <Combo position="absolute 130 9 220 28" id="cmb_deptflag" innerdataset="ds_init_flag_item" datacolumn="label" codecolumn="value" onitemchanged="switch1_case1_cmb_deptflag_onitemchanged"/>
- <Edit position="absolute 900 9 1000 28" id="ipt_jobkindnm" autoselect="true" autoskip="true"/>
- <Button position="absolute 1005 9 1021 25" id="btn_jobkindcd" class="icon_search" text="" onclick="switch1_case1_btn_jobkindcd_onclick"/>
- <Static text="직종" position="absolute 828 9 888 26" id="cpt_jobkind" class="search_name"/>
- <CheckBox position="absolute 686 8 786 28" id="chk_subdeptyn" visible="false" text="하위부서포함" truevalue="Y" onclick="switch1_case1_chk_subdeptyn_onclick"/>
- <Combo position="absolute 1008 41 1108 60" id="cmb_status_hidden" visible="false" innerdataset="ds_temp" datacolumn="cdnm" codecolumn="cdid"/>
- <Button position="absolute 230 9 316 28" id="btn_fav" class="btn5" visible="false" text="즐겨찾기관리" onclick="switch1_case1_btn_fav_onclick"/>
- <Combo position="absolute 335 9 400 28" id="cmb_instcd" taborder="3" visible="false" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">031</Col>
- <Col id="datacolumn">본원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">032</Col>
- <Col id="datacolumn">칠곡</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="기관/부서" position="absolute 250 11 334 28" id="cpt_dept" class="search_name"/>
- <Button position="absolute 1120 33 1176 55" id="button1" class="btn4" text="결재" anchor="top right" onclick="switch1_case1_button1_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_reqprgmdesc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_reqprgmdesc_oncolumnchanged">
- <ColumnInfo>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="gubundev" type="STRING" size="256"/>
- <Column id="gubundata" type="STRING" size="256"/>
- <Column id="reqgbdev" type="STRING" size="256"/>
- <Column id="reqgbdata" type="STRING" size="256"/>
- <Column id="reqno" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="reqtitle" type="STRING" size="256"/>
- <Column id="reqmannm" type="STRING" size="256"/>
- <Column id="reqddfrom" type="STRING" size="256"/>
- <Column id="aprv2" type="STRING" size="256"/>
- <Column id="aprv3" type="STRING" size="256"/>
- <Column id="aprv4" type="STRING" size="256"/>
- <Column id="aprv5" type="STRING" size="256"/>
- <Column id="chrgid" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="progress" type="STRING" size="256"/>
- <Column id="prgmr" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="estendddfrom" type="STRING" size="256"/>
- <Column id="inst031" type="STRING" size="256"/>
- <Column id="inst032" type="STRING" size="256"/>
- <Column id="worknm1" type="STRING" size="256"/>
- <Column id="jobkindcd" type="STRING" size="256"/>
- <Column id="reqddto" type="STRING" size="256"/>
- <Column id="estendddto" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="excldflag" type="STRING" size="256"/>
- <Column id="deptgb" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="jobkindnm" type="STRING" size="256"/>
- <Column id="subdeptyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="gubun"/>
- <Col id="gubundev"/>
- <Col id="gubundata"/>
- <Col id="reqgbdev"/>
- <Col id="reqgbdata"/>
- <Col id="reqno"/>
- <Col id="reqdeptnm"/>
- <Col id="reqtitle"/>
- <Col id="reqmannm"/>
- <Col id="reqddfrom"/>
- <Col id="aprv2"/>
- <Col id="aprv3"/>
- <Col id="aprv4"/>
- <Col id="aprv5"/>
- <Col id="chrgid"/>
- <Col id="status"/>
- <Col id="progress"/>
- <Col id="prgmr"/>
- <Col id="instcd"/>
- <Col id="estendddfrom"/>
- <Col id="inst031"/>
- <Col id="inst032"/>
- <Col id="worknm1"/>
- <Col id="jobkindcd"/>
- <Col id="reqddto"/>
- <Col id="estendddto"/>
- <Col id="reqdeptcd"/>
- <Col id="excldflag"/>
- <Col id="deptgb"/>
- <Col id="deptflag"/>
- <Col id="jobkindnm"/>
- <Col id="subdeptyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_flag_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">즐겨찾기</Col>
- <Col id="value">fav</Col>
- </Row>
- <Row>
- <Col id="label">부서별</Col>
- <Col id="value">dept</Col>
- </Row>
- <Row>
- <Col id="label">직종별</Col>
- <Col id="value">jobkind</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_kind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">프로그램/통계</Col>
- <Col id="value">01</Col>
- </Row>
- <Row>
- <Col id="label">전산장비/통신</Col>
- <Col id="value">02</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_status_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_notistatus_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_reqprgmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_reqprgmlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="kind" type="STRING" size="256" sumtext="종류"/>
- <Column id="chk" type="STRING" size="256" sumtext="체크"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="reqno" type="STRING" size="256" sumtext="요청번호"/>
- <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
- <Column id="reqgb" type="STRING" size="256" sumtext="통계업무구분"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="요청일자"/>
- <Column id="reqtitle" type="STRING" size="256" sumtext="요청제목"/>
- <Column id="instnm" type="STRING" size="256" sumtext="기관명"/>
- <Column id="reqdeptnm" type="STRING" size="256" sumtext="요청부서"/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="요청부서CD"/>
- <Column id="reqmannm" type="STRING" size="256" sumtext="요청자"/>
- <Column id="reqmanid" type="STRING" size="256" sumtext="요청자ID"/>
- <Column id="deptmngraprvyn" type="STRING" size="256" sumtext="부서장승인여부"/>
- <Column id="deptmngrdt" type="STRING" size="256" sumtext="부서장승인일시"/>
- <Column id="deptmngrnm" type="STRING" size="256" sumtext="부서장"/>
- <Column id="status" type="STRING" size="256" sumtext="진행상태"/>
- <Column id="progress" type="STRING" size="256" sumtext="진척율"/>
- <Column id="fileyn" type="STRING" size="256" sumtext="파일여부"/>
- <Column id="eststartdd" type="STRING" size="256" sumtext="착수예정일"/>
- <Column id="estenddd" type="STRING" size="256" sumtext="완료예정일"/>
- <Column id="startdd" type="STRING" size="256" sumtext="최초시작일"/>
- <Column id="enddd" type="STRING" size="256" sumtext="최종완료일"/>
- <Column id="chrgnm" type="STRING" size="256" sumtext="담당자명"/>
- <Column id="prgmr" type="STRING" size="256" sumtext="개발자명"/>
- <Column id="aprv2" type="STRING" size="256" sumtext="현대PL결재"/>
- <Column id="aprv3" type="STRING" size="256" sumtext="현대PM결재"/>
- <Column id="aprv4" type="STRING" size="256" sumtext="총괄결재"/>
- <Column id="aprv5" type="STRING" size="256" sumtext="파트장결재"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="입력자"/>
- <Column id="privyn" type="STRING" size="256" sumtext="비공개구분"/>
- <Column id="notistatus" type="STRING" size="256" sumtext="통보상태"/>
- <Column id="chk_chrg_ok" type="STRING" size="256" sumtext="통보확인자결재가능여부(Y,N)"/>
- <Column id="chk_mngr_ok" type="STRING" size="256" sumtext="통보부서장결재가능여부(Y,N)"/>
- <Column id="notiid" type="STRING" size="256" sumtext="통보자ID"/>
- <Column id="notidd" type="STRING" size="256" sumtext="통보일자"/>
- <Column id="notinm" type="STRING" size="256" sumtext="통보자명"/>
- <Column id="aprvdesc" type="STRING" size="256" sumtext="결재타입설명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_saveaprv_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch1.case1.cmb_deptflag" propid="value" datasetid="ds_send_reqprgmdesc" columnid="deptflag"/>
- <BindItem id="item1" compid="switch1.case1.cmb_instcd" propid="value" datasetid="ds_send_reqprgmdesc" columnid="instcd"/>
- <BindItem id="item2" compid="switch1.case1.ipt_reqdeptcd" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqdeptcd"/>
- <BindItem id="item3" compid="switch1.case1.ipt_reqdeptnm" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqdeptnm"/>
- <BindItem id="item4" compid="switch1.case1.chk_subdeptyn" propid="value" datasetid="ds_send_reqprgmdesc" columnid="subdeptyn"/>
- <BindItem id="item5" compid="switch1.case1.ipt_jobkindnm" propid="value" datasetid="ds_send_reqprgmdesc" columnid="jobkindnm"/>
- <BindItem id="item6" compid="switch1.case1.input1" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqno"/>
- <BindItem id="item7" compid="switch1.case1.input10" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqtitle"/>
- <BindItem id="item8" compid="switch1.case1.input11" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqddfrom"/>
- <BindItem id="item9" compid="switch1.case1.input15" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqddto"/>
- <BindItem id="item10" compid="switch1.case1.input9" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqmannm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-01-07
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-01-07 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "com_reqprgmxp::SMZHA20003.xjs";
- include "mis_miscommonxp::MIS.xjs";
- function SMZHA20003_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMZHA20003_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_reqprgm);
-
- fInit();
- }
- function switch1_case1_cmb_deptflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fReqPrgmInit();
- switch1.case1.button5.click();
- }
- function switch1_case1_btn_fav_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPZHA20700", "SPZHA20700", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function ds_send_reqprgmdesc_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "reqdeptcd")
- {
- if(utlf_isNull(e.newvalue))
- {
- switch1.case1.ipt_reqdeptnm.value = "";
- }
- }
-
- if(e.columnid == "jobkindnm")
- {
- if(utlf_isNull(e.newvalue))
- {
- ds_send_reqprgmdesc.setColumn(0, "jobkindcd", "");
- }
- }
- }
- function switch1_case1_btn_reqdept_onclick(obj:Button, e:ClickEventInfo)
- {
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ds_send_reqprgmdesc, "", recv_list, ds_send_reqprgmdesc.getColumn(0, "instcd"), "instcd");
- }
- function switch1_case1_chk_subdeptyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == "Y")
- {
- }
- else
- {
- ds_send_reqprgmdesc.setColumn(0, "subdeptyn", "");
- }
- }
- function switch1_case1_btn_jobkindcd_onclick(obj:Button, e:ClickEventInfo)
- {
- var recv_list = "jobkindcd,jobkindnm";
- misfOpenPopUpList("03", ds_send_reqprgmdesc,"R0061", recv_list) ;
- }
- function switch1_case1_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var deptflag = ds_send_reqprgmdesc.getColumn(0, "deptflag");
-
- if(deptflag == "dept")
- {
- if(utlf_isNull(ds_send_reqprgmdesc.getColumn(0, "reqdeptcd")))
- {
- sysf_messageBox("부서별 조회 시 부서 입력은 ", "I003");
- return;
- }
-
- }
- else if(deptflag == "jobkind")
- {
- if(utlf_isNull(ds_send_reqprgmdesc.getColumn(0, "jobkindcd")))
- {
- sysf_messageBox("직종별 조회 시 직종 입력은 ", "I003");
- return;
- }
- }
-
- fSearch();
- }
- function switch1_case1_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveAprv();
- fSearch();
- }
- function switch1_case1_grd_reqprgm_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if (utlf_isNull(ds_main_reqprgmlist.getColumn(e.row, "reqno")))
- {
- return;
- }
-
- var kind = ds_main_reqprgmlist.getColumn(e.row, "kind");
-
- if(kind == "01")
- {
- frmf_setParameter("SPZHA20001_PARM_reqno", ds_main_reqprgmlist.getColumn(e.row, "reqno"));
- frmf_setParameter("SPZHA20001_PARM_gubun", ds_main_reqprgmlist.getColumn(e.row, "gubun"));
- frmf_setParameter("SPZHA20001_PARM_title", obj.getCellText(e.row, obj.getBindCellIndex("Body", "gubun"))+" 요청");
- frmf_setParameter("SPZHA20001_PARM_dgubun", "x");
-
- frmf_modal("SPZHA20001", "SPZHA20001", "", "", "", "", "", "", "", "", "", "", "M");
- }
- else if(kind == "02")
- {
- frmf_setParameter("SPZHA20601_PARM_reqno", ds_main_reqprgmlist.getColumn(e.row, "reqno"));
-
- frmf_modal("SPZHA20601", "SPZHA20601", "", "", "", "", "", "", "", "", "", "", "M");
- }
- }
- function ds_main_reqprgmlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chk")
- {
- obj.setColumn(e.row, "chk", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|