123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMABC02000" position="absolute 0 0 1256 805" titletext="공통마감" oninit="model1_oninit" onload="SMABC02000_onload">
- <Layouts>
- <Layout>
- <Div id="group3" taborder="4" position="absolute 0 29 1256 71" class="div_SA" anchor="left top right" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="caption2" text="일자" class="search_name" position="absolute 8 10 50 30" anchor="default" positiontype="position"/>
- <Static id="caption3" text="Acting부서" class="search_name" position="absolute 182 10 265 30" anchor="default" positiontype="position"/>
- <Calendar id="ipt_execdd" taborder="1" class="input_default" position="absolute 58 10 158 30" dateformat="yyyy-MM-dd" value="null" ontextchanged="group3_ipt_execdd_ontextchanged" anchor="default" positiontype="position"/>
- <Radio id="radio1" taborder="2" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 421 10 531 30" value="Y" index="0" onitemchanged="group3_radio1_onitemchanged" anchor="default" positiontype="position">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">실행</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">미실행</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="combo1" taborder="3" class="combo_search" position="absolute 273 10 418 30" innerdataset="@ds_init_combo1" codecolumn="prcpexecdeptcdid" datacolumn="prcpexecdeptcdnm" enable="true" onitemchanged="group3_combo1_onitemchanged" anchor="default" positiontype="position"/>
- <Combo id="combo2" taborder="4" class="combo_search" position="absolute 605 10 695 30" innerdataset="@ds_init_combo2" codecolumn="id" datacolumn="name" onitemchanged="group3_combo2_onitemchanged" anchor="default" positiontype="position"/>
- <Static id="caption4" text="구분" class="search_name" position="absolute 555 10 597 30" anchor="default" positiontype="position"/>
- <Button id="button7" taborder="5" text="초기화" onlbuttonup="button7_onlbuttonup" class="btn4" position="absolute 1175 10 1244 30" anchor="top right" onclick="button7_onclick" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line20" class="line_1" position="absolute 0 105 1194 105" linetype="horizontal" positiontype="position"/>
- <Static id="caption8" text="액팅리스트" class="tit_2" position="absolute 0 77 165 97" positiontype="position"/>
- <Grid id="grd_projlist" taborder="3" useinputpanel="false" position="absolute 0 97 1256 805" anchor="all" binddataset="ds_grid_grd_projlist" positiontype="position" oncellclick="grd_projlist_oncellclick" onheadclick="grd_projlist_onheadclick" cellsizingtype="col" autosizingtype="row" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26" band="left"/>
- <Column size="140"/>
- <Column size="87"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="250"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="99"/>
- <Column size="71"/>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="150"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" text="수행시간"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="Sex/Age"/>
- <Cell col="5" text="처방코드"/>
- <Cell col="6" text="처방명"/>
- <Cell col="7" text="상태"/>
- <Cell col="8" text="Acting"/>
- <Cell col="9" text="수행자"/>
- <Cell col="10" text="병실"/>
- <Cell col="11" text="마감일시"/>
- <Cell col="12" text="Action"/>
- <Cell col="13" text="caption1"/>
- <Cell col="14" text="caption2"/>
- <Cell col="15" text="caption3"/>
- <Cell col="16" text="caption4"/>
- <Cell col="17" text="caption5"/>
- <Cell col="18" text="caption6"/>
- <Cell col="19" text="caption7"/>
- <Cell col="20" text="Note"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="expr:check=="Y"?"1":"0""/>
- <Cell col="1" style="align:left middle;" text="bind:execddtm" mask="@@@@-@@-@@ 99:99"/>
- <Cell col="2" style="align:left middle;" text="bind:pid"/>
- <Cell col="3" style="align:left middle;" text="bind:hngnm" wordwrap="word"/>
- <Cell col="4" style="align:left middle;" text="bind:sexage"/>
- <Cell col="5" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="6" style="align:left middle;" text="bind:prcpnm" wordwrap="word"/>
- <Cell col="7" style="align:left middle;" text="bind:cdnm"/>
- <Cell col="8" style="align:left middle;" text="bind:acting"/>
- <Cell col="9" style="align:left middle;" text="bind:execrid"/>
- <Cell col="10" style="align:left middle;" text="bind:roomcd"/>
- <Cell col="11" style="align:left middle;" text="bind:enddd" mask="expr:utlf_isNull(enddd)?"":'@@@@-@@-@@ 99:99:99'"/>
- <Cell col="12" style="align:left middle;" text="bind:action"/>
- <Cell col="13" style="align:left middle;" text="bind:prcpdd"/>
- <Cell col="14" style="align:left middle;" text="bind:prcpno"/>
- <Cell col="15" style="align:left middle;" text="bind:prcphistno"/>
- <Cell col="16" style="align:left middle;" text="bind:execprcpno"/>
- <Cell col="17" style="align:left middle;" text="bind:instcd"/>
- <Cell col="18" style="align:left middle;" text="bind:execdeptcd"/>
- <Cell col="19" style="align:left middle;" text="bind:oiflag"/>
- <Cell col="20" style="align:left middle;" text="bind:note"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button6" taborder="5" text="마감" onlbuttonup="button6_onlbuttonup" class="btn2" position="absolute 1212 74 1256 94" anchor="top right" positiontype="position" onclick="button6_onclick"/>
- <Static id="caption1" text="공통마감" class="tit_1" position="absolute 0 3 196 28" positiontype="position"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_projlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="execddtm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- <Column id="acting" type="STRING"/>
- <Column id="execrid" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="enddd" type="STRING"/>
- <Column id="action" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="execprcpno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="execdeptcd" type="STRING"/>
- <Column id="oiflag" type="STRING"/>
- <Column id="note" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpexecdeptcdid" type="STRING" size="256"/>
- <Column id="prcpexecdeptcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_endlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="execprcpno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="oiflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_endflagvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="endflag" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="execdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="exeflag" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="id" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="id">before</Col>
- <Col id="name">마감전</Col>
- </Row>
- <Row>
- <Col id="id">after</Col>
- <Col id="name">마감후</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="exeflag" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cond_reqdata1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="drid" type="STRING" size="256"/>
- <Column id="execrid1cdid" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="deptgubun" type="STRING" size="256"/>
- <Column id="term" type="STRING" size="256"/>
- <Column id="savedeptcd" type="STRING" size="256"/>
- <Column id="tmplcd" type="STRING" size="256"/>
- <Column id="cnfmman1cdid" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="initflag" type="STRING" size="256"/>
- <Column id="rbasecdflag" type="STRING" size="256"/>
- <Column id="ebasecdflag" type="STRING" size="256"/>
- <Column id="instance1" type="STRING" size="256"/>
- <Column id="alladdyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="deptcd"/>
- <Col id="drid"/>
- <Col id="execrid1cdid"/>
- <Col id="basesuppdeptcd"/>
- <Col id="userid"/>
- <Col id="deptgubun"/>
- <Col id="term">90</Col>
- <Col id="savedeptcd"/>
- <Col id="tmplcd"/>
- <Col id="cnfmman1cdid"/>
- <Col id="suppdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name :
- * Creator :
- * Make Date :
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //include "com_departmentcodexp::ZSD001.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //Acting부서 콤보
- function fn_initSearch()
- {
- ds_cond_reqdata1.setColumn(0, "initflag", "1");
- ds_cond_reqdata1.setColumn(0, "suppdeptcd", suppdeptcd);
- ds_cond_reqdata1.setColumn(0, "userid", sysf_getUserInfo("dutplcecd"));
- ds_cond_reqdata1.setColumn(0, "deptcd", suppdeptcd);
- ds_cond_reqdata1.setColumn(0, "basesuppdeptcd", suppdeptcd);
- ds_cond_reqdata1.setColumn(0, "rbasecdflag", "R");
- ds_cond_reqdata1.setColumn(0, "ebasecdflag", "E");
- ds_cond_reqdata1.setColumn(0, "instance1", suppdeptcd);
- ds_cond_reqdata1.setColumn(0, "alladdyn", "Y");
-
- var objParam = new Object();
- objParam.id = "TRAER00824";
- objParam.service = "examcureresultrefapp.RsltRef";
- objParam.method = "reqGetInitRsltRefTotalList";
- objParam.inds = "reqparam=ds_cond_reqdata1";
- objParam.outds = "ds_init_combo1=item2";
- tranf_submit(objParam);
- }
- // 마감
- function submit_TRABC02003(){
- var objParam = new Object();
- objParam.id = "TRABC02003";
- objParam.service = "actingendapp.ActingEnd";
- objParam.method = "reqExeActingEnd";
- objParam.inds = "req=ds_endlist flag=ds_endflagvalue";
- objParam.outds ="ds_results=ret";
- objParam.callback = "cbf_TRABC02003";
-
- tranf_submit(objParam);
- }
- function cbf_TRABC02003(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- sysf_messageBox("마감이 완료되었습니다.","I999");
- }else{
- }
- }
- // 액팅리스트 grid
- function submit_TRABC02002(){
- dsf_createDsRow("ds_send_cond",
- [{col:"deptcd", val:group3.combo1.value}
- ,{col:"execdd", val:group3.ipt_execdd.value}
- ,{col:"exeflag", val:group3.radio1.value}
- ,{col:"flag", val:group3.combo2.value}
- ]);
- var objParam = new Object();
- objParam.id = "TRABC02002";
- objParam.service = "actingendapp.ActingEnd";
- objParam.method = "reqGetActingEndList";
- objParam.inds = "req=ds_send_cond";
- objParam.outds ="ds_grid_grd_projlist=proj";
- objParam.callback = "cbf_TRABC02002";
-
- tranf_submit(objParam);
-
- }
- function cbf_TRABC02002(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- for(var i = 0; i < ds_grid_grd_projlist.rowcount ; i++){
- ds_grid_grd_projlist.setColumn(i, "check", "N");
- }
- }else{
- }
- }
- function fInitialize(){
-
- var sdate = utlf_getCurrentDate();
- group3.ipt_execdd.value = sdate;
-
- fn_initSearch();
- // 세션에서 부서 코드를 받아온다.
- var userid = sysf_getUserId();
-
- group3.combo2.index = 0;
-
- if(userid == "ASTBC" || userid == "AST"){
- frmf_addComboItem("group3.combo1", "- 전 체 -", "-", "");
- group3.combo1.index = 0;
- }
-
- var combo1Index = 0;
-
- // AST 로 로그인 안했을 경우, 콤보박스에 해당 부서이름만 나오게 한다. (AST 로그인 시에는 콤보박스에서 부서 선택 가능)
- if(userid != "ASTBC" && userid != "AST"){
- for(var i = 0; i < ds_init_combo1.rowcount; i++){
- if(ds_init_combo1.getColumn(i, "prcpexecdeptcdid") == dutplcecd){
- combo1Index = i;
- break;
- }
- }
- group3.combo1.index = combo1Index;
- group3.combo1.enable = false;
- grd_projlist.setFormatColProperty(0, "size", 30);
- }else{
- button6.visible = false;
- grd_projlist.setFormatColProperty(0, "size", 0);
- }
-
- submit_TRABC02002();
-
- group3.combo2.index = 0;
- grd_projlist.updateToDataset();
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMABC02000
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMABC02000_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
-
- lf_aezfSetSuppDeptcd(); //suppdeptcd가져옴.
- ds_endlist.clearData();
- fInitialize();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button6
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 마감
- ****************************************************************************************/
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
-
- ds_endlist.clearData();
- var endListRow = 0;
-
- for(var i = 0; i < ds_grid_grd_projlist.rowcount; i++){
- if(ds_grid_grd_projlist.getColumn(i, "check") == "Y"){
- ds_endlist.addRow();
- ds_endlist.setColumn(endListRow, "prcpdd", ds_grid_grd_projlist.getColumn(i, "prcpdd"));
- ds_endlist.setColumn(endListRow, "prcpno", ds_grid_grd_projlist.getColumn(i, "prcpno"));
- ds_endlist.setColumn(endListRow, "prcphistno", ds_grid_grd_projlist.getColumn(i, "prcphistno"));
- ds_endlist.setColumn(endListRow, "execprcpno", ds_grid_grd_projlist.getColumn(i, "execprcpno"));
- ds_endlist.setColumn(endListRow, "instcd", ds_grid_grd_projlist.getColumn(i, "instcd"));
- ds_endlist.setColumn(endListRow, "oiflag", ds_grid_grd_projlist.getColumn(i, "oiflag"));
-
- endListRow++;
- }
- }
-
- // 체크된 행이 있으면 마감실행
- if(endListRow != 0){
- ds_endflagvalue.setColumn(0, "endflag", "A12");
- ds_endflagvalue.setColumn(0, "execdd", group3.ipt_execdd.value);
- ds_endflagvalue.setColumn(0, "execdeptcd", group3.combo1.value);
- submit_TRABC02003();
- submit_TRABC02002();
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button7
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화
- ****************************************************************************************/
- function button7_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.radio1.index = 0;
- fInitialize();
-
- }
- //구분 콤보 ontextchanged
- function group3_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if (group3.combo1.value != '-' && group3.radio1.value == "Y" && group3.combo2.value == "before"){
- button6.visible = true;
- grd_projlist.setFormatColProperty(0, "size", 30);
- }else{
- button6.visible = false;
- grd_projlist.setFormatColProperty(0, "size", 0);
- }
- submit_TRABC02002();
- }
- //일자 ontextchanged
- function group3_ipt_execdd_ontextchanged(obj:Calendar, e:TextChangedEventInfo)
- {
- group3.ipt_execdd.updateToDataset();
- submit_TRABC02002();
- }
- //라디오 버튼(실행/미실행) ontextchanged
- function group3_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if (group3.combo1.value != '-' && group3.radio1.value == "Y" && group3.combo2.value == "before"){
- button6.visible = true;
- grd_projlist.setFormatColProperty(0, "size", 30);
- }else{
- button6.visible = false;
- grd_projlist.setFormatColProperty(0, "size", 0);
- }
- submit_TRABC02002();
- }
- //그리드 체크박스 YN설정
- function grd_projlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.cell==0){
- if(ds_grid_grd_projlist.getColumn(e.row,"check")=="N"){
- ds_grid_grd_projlist.setColumn(e.row,"check","Y");
- }else{
- ds_grid_grd_projlist.setColumn(e.row,"check","N");
- }
- }
- }
- //Acting부서 콤보 ontextchanged
- function group3_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if (group3.combo1.value != '-' && group3.radio1.value == "Y" && group3.combo2.value == "before"){
- button6.visible = true;
- grd_projlist.setFormatColProperty(0, "size", 30);
- }else{
- button6.visible = false;
- grd_projlist.setFormatColProperty(0, "size", 0);
- }
- submit_TRABC02002();
- }
- function grd_projlist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.cell==0){
- if(grd_projlist.getCellProperty('Head', 0, 'text')==0){
- for (var i = 0 ; i < ds_grid_grd_projlist.rowcount; i++ ){
- ds_grid_grd_projlist.setColumn(i, "check", "Y");
- grd_projlist.setCellProperty('Head', 0, 'text', 1);
- }
- } else {
- for (var i = 0 ; i < ds_grid_grd_projlist.rowcount; i++ ){
- ds_grid_grd_projlist.setColumn(i, "check", "N");
- grd_projlist.setCellProperty('Head', 0, 'text', 0);
- }
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|