123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPCHT00300" position="absolute 0 0 651 460" titletext="건진데이터마이닝 그룹관리" oninit="SPCHT00300_oninit" onload="SPCHT00300_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="건진데이터마이닝 그룹관리" class="tit_1" position="absolute 0 0 214 21"/>
- <Button id="btn_add_healexamdtmnlrg" taborder="1" text="행추가" class="btn2" position="absolute 59 29 112 48" onclick="btn_add_healexamdtmnlrg_onclick"/>
- <Button id="btn_delete_healexamdtmnlrg" taborder="2" text="행삭제" class="btn2" position="absolute 115 29 168 48" onclick="btn_delete_healexamdtmnlrg_onclick"/>
- <Button id="btn_save_healexamdtmnlrg" taborder="3" text="저장" class="btn5" position="absolute 171 29 213 48" onclick="btn_save_healexamdtmnlrg_onclick"/>
- <Shape id="line12" class="line_10" position="absolute 0 48 213 54"/>
- <Grid id="grd_healexamdtmnlrglist" taborder="4" binddataset="ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup" useinputpanel="false" position="absolute 0 53 213 431" autoenter="select" autofittype="col" cellsizingtype="col" onselectchanged="grd_healexamdtmnlrglist_onselectchanged" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="191"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="대그룹 제목"/>
- <Cell col="2" text="대그룹코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:healexamdtmnlrgtitl"/>
- <Cell col="2" text="bind:healexamdtmnlrgcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_10" position="absolute 216 48 429 54"/>
- <Grid id="grd_healexamdtmnmdllist" taborder="5" binddataset="ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup" useinputpanel="false" position="absolute 216 53 429 431" autoenter="select" autofittype="col" cellsizingtype="col" onselectchanged="grd_healexamdtmnmdllist_onselectchanged" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="191"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="중그룹 제목"/>
- <Cell col="2" text="중그룹 코드"/>
- <Cell col="3"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:healexamdtmnmdltitl"/>
- <Cell col="2" text="bind:healexamdtmnmdlcd"/>
- <Cell col="3" text="bind:healexamdtmnlrgcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_add_healexamdtmnmdl" taborder="6" text="행추가" class="btn2" position="absolute 275 29 328 48" onclick="btn_add_healexamdtmnmdl_onclick"/>
- <Button id="btn_delete_healexamdtmnmdl" taborder="7" text="행삭제" class="btn2" position="absolute 331 29 384 48" onclick="btn_delete_healexamdtmnmdl_onclick"/>
- <Button id="btn_save_healexamdtmnmdl" taborder="8" text="저장" class="btn5" position="absolute 387 29 429 48" onclick="btn_save_healexamdtmnmdl_onclick"/>
- <Grid id="grd_healexamdtmnsmllist" taborder="9" binddataset="ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup" useinputpanel="false" position="absolute 432 53 645 431" autoenter="select" autofittype="col" cellsizingtype="col" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="191"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="소그룹 제목"/>
- <Cell col="2" text="소그룹코드"/>
- <Cell col="3"/>
- <Cell col="4"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:healexamdtmnsmltitl"/>
- <Cell col="2" text="bind:healexamdtmnsmlcd"/>
- <Cell col="3" text="bind:healexamdtmnlrgcd"/>
- <Cell col="4" text="bind:healexamdtmnmdlcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_10" position="absolute 432 48 645 54"/>
- <Button id="btn_add_healexamdtmnsml" taborder="10" text="행추가" class="btn2" position="absolute 491 29 544 48" onclick="btn_add_healexamdtmnsml_onclick"/>
- <Button id="btn_delete_healexamdtmnsml" taborder="11" text="행삭제" class="btn2" position="absolute 547 29 600 48" onclick="btn_delete_healexamdtmnsml_onclick"/>
- <Button id="btn_save_healexamdtmnsml" taborder="12" text="저장" class="btn5" position="absolute 603 29 645 48" onclick="btn_save_healexamdtmnsml_onclick"/>
- <Button id="button8" taborder="13" text="닫기" class="btn4" position="absolute 589 434 645 456" onclick="button8_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamdtmnlrgcd" type="INT" size="256" sumtext="건진데이터마이닝대분류코드"/>
- <Column id="healexamdtmnlrgtitl" type="STRING" size="256" sumtext="건진데이터마이닝대분류이름"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamdtmnmdlcd" type="INT" size="256" sumtext="건진데이터마이닝중분류코드"/>
- <Column id="healexamdtmnmdltitl" type="STRING" size="256" sumtext="건진데이터마이닝중분류제목"/>
- <Column id="healexamdtmnlrgcd" type="INT" size="256" sumtext="건진데이터마이닝대분류코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamdtmnsmltitl" type="STRING" size="256" sumtext="건진데이터마이닝소분류제목"/>
- <Column id="healexamdtmnsmlcd" type="INT" size="256" sumtext="건진데이터마이닝소분류코드"/>
- <Column id="healexamdtmnlrgcd" type="INT" size="256" sumtext="건진데이터마이닝대분류코드"/>
- <Column id="healexamdtmnmdlcd" type="INT" size="256" sumtext="건진데이터마이닝중분류코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamdtmnlrgcd" type="STRING" size="256"/>
- <Column id="healexamdtmnmdlcd" type="STRING" size="256"/>
- <Column id="healexamdtmnsmlcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamdtmnlrgcd"/>
- <Col id="healexamdtmnmdlcd"/>
- <Col id="healexamdtmnsmlcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_healexamdtmnlrglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_healexamdtmnmdllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_healexamdtmnsmllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function SPCHT00300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPCHT00300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_healexamdtmnlrglist);
- grdf_setRowTypeIcon(grd_healexamdtmnlrglist, 0);
- grdf_initGrid(grd_healexamdtmnmdllist);
- grdf_setRowTypeIcon(grd_healexamdtmnmdllist, 0);
- grdf_initGrid(grd_healexamdtmnsmllist);
- grdf_setRowTypeIcon(grd_healexamdtmnsmllist, 0);
-
- ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.clearData();
- ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.clearData();
- ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.clearData();
-
- var oParam = {};
- oParam.id = "TRCHT00301";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqGetHealExamLrgCd";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup=healexamdtmnlrggrup";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00301";
- tranf_submit(oParam);
- grd_healexamdtmnlrglist.setFocus();
- }
- function grd_healexamdtmnlrglist_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- // 선택한 대그룹에 속한 중그룹을 가져온다.
- var row = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.rowposition;
- var healexamdtmnlrgcd = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.getColumn(row, "healexamdtmnlrgcd");
- var healexamdtmnlrgnm = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.getColumn(row, "healexamdtmnlrgtitl");
- if (!utlf_isNull(healexamdtmnlrgnm) && row >= 0 )
- {
- ds_send.setColumn(0, "healexamdtmnlrgcd", healexamdtmnlrgcd);
- ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.clearData();
- ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.clearData();
-
- var oParam = {};
- oParam.id = "TRCHT00302";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqGetHealExamMdlCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup=healexamdtmnmdlgrup";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00302";
- tranf_submit(oParam);
- }
- }
- function grd_healexamdtmnmdllist_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- // 선택한 중그룹에 속한 소그룹을 가져온다.
- var row = ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.rowposition;
- var healexamdtmnmdlcd = ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.getColumn(row, "healexamdtmnmdlcd");
- var healexamdtmnlrgcd = ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.getColumn(row, "healexamdtmnlrgcd");
- var healexamdtmnmdlnm = ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.getColumn(row, "healexamdtmnmdltitl");
-
- if ( !utlf_isNull(healexamdtmnmdlnm))
- {
- ds_send.setColumn(0, "healexamdtmnmdlcd", healexamdtmnmdlcd);
- ds_send.setColumn(0, "healexamdtmnlrgcd", healexamdtmnlrgcd);
- ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.clearData();
-
- var oParam = {};
- oParam.id = "TRCHT00303";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqGetHealExamSmlCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup=healexamdtmnsmlgrup";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00303";
- tranf_submit(oParam);
- }
- }
- function btn_add_healexamdtmnlrg_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_healexamdtmnlrglist.setFocus();
-
- ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.addRow();
- grd_healexamdtmnlrglist.setCellPos(1);
- grd_healexamdtmnlrglist.showEditor(true);
- }
- function btn_delete_healexamdtmnlrg_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.rowposition;
- var healexamdtmnlrgcd = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.getColumn(row, "healexamdtmnlrgcd");
-
- if (!utlf_isNull(healexamdtmnlrgcd))
- {
- var rtn = sysf_messageBox(" 하위 그룹이 있는 경우 함께 삭제됩니다.", "Q001");
- if(rtn == 6)
- {
- dsf_deleteSelectedRows(grd_healexamdtmnlrglist);
- }
- }
- else
- {
- sysf_messageBox("대분류가 선택되지 ", "E007");
- }
- }
- function btn_save_healexamdtmnlrg_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveClicklrg(grd_healexamdtmnlrglist);
- }
- function fSaveClicklrg(grid)
- {
- var updategrid = grdf_getGridUpdateData(grid);
- grdf_setStatusColumn(updategrid, "status");
- ds_send_healexamdtmnlrglist.copyData(grid, true);
-
- var oParam = {};
- oParam.id = "TXCHT00301";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqSaveHealExamLrgCd";
- oParam.inds = "req=ds_send_healexamdtmnlrglist";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXCHT00301";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXCHT00301") > -1)
- {
- this.objects[grid.binddataset].applyChange();
- ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.clearData();
- ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.clearData();
-
- var oParam = {};
- oParam.id = "TRCHT00301";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqGetHealExamLrgCd";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup=healexamdtmnlrggrup";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00301";
- tranf_submit(oParam);
- }
- }
- function cf_TXCHT00301(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function btn_add_healexamdtmnmdl_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_healexamdtmnmdllist.setFocus();
-
- var row = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.rowposition;
- var healexamdtmnlrgcd = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.getColumn(row, "healexamdtmnlrgcd");
-
- if (!utlf_isNull(healexamdtmnlrgcd))
- {
- var addRow = ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.addRow();
- grd_healexamdtmnmdllist.setCellPos(1);
- grd_healexamdtmnmdllist.showEditor(true);
- ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.setColumn(addRow, "healexamdtmnlrgcd",healexamdtmnlrgcd);
- }
- else
- {
- sysf_messageBox("대분류가 선택되지 ", "E007");
- }
- }
- function btn_delete_healexamdtmnmdl_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.rowposition;
- var healexamdtmnmdlcd = ds_main_list_healexamdtmnlrglist_healexamdtmnlrggrup.getColumn(row, "healexamdtmnmdlcd");
-
- if (!utlf_isNull(healexamdtmnmdlcd))
- {
- var rtn = sysf_messageBox(" 하위 그룹이 있는 경우 함께 삭제됩니다.", "Q001");
- if(rtn == 6)
- {
- dsf_deleteSelectedRows(grd_healexamdtmnmdllist);
- }
- }
- else
- {
- sysf_messageBox("중분류가 선택되지 ", "E007");
- }
- }
- function btn_save_healexamdtmnmdl_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveClickmdl(grd_healexamdtmnmdllist);
- }
- function fSaveClickmdl(grid)
- {
- var updategrid = grdf_getGridUpdateData(grid);
- grdf_setStatusColumn(updategrid, "status");
- ds_send_healexamdtmnmdllist.copyData(grid, true);
-
- var oParam = {};
- oParam.id = "TXCHT00302";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqSaveHealExamMdlCd";
- oParam.inds = "req=ds_send_healexamdtmnmdllist";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXCHT00302";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXCHT00302") > -1)
- {
- this.objects[grid.binddataset].applyChange();
- ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.clearData();
- var oParam = {};
- oParam.id = "TRCHT00302";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqGetHealExamMdlCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup=healexamdtmnmdlgrup";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00302";
- tranf_submit(oParam);
- }
- }
- function cf_TXCHT00302(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function btn_add_healexamdtmnsml_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_healexamdtmnsmllist.setFocus();
-
- var row = ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.rowposition;
- var healexamdtmnlrgcd = ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.getColumn(row, "healexamdtmnlrgcd");
- var healexamdtmnmdlcd = ds_main_list_healexamdtmnmdllist_healexamdtmnmdlgrup.getColumn(row, "healexamdtmnmdlcd");
-
- if (!utlf_isNull(healexamdtmnmdlcd))
- {
- var addRow = ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.addRow();
- grd_healexamdtmnsmllist.setCellPos(1);
- grd_healexamdtmnsmllist.showEditor(true);
-
- ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.setColumno(addRow, "healexamdtmnlrgcd",healexamdtmnlrgcd);
- ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.setColumno(addRow, "healexamdtmnmdlcd",healexamdtmnmdlcd);
- }
- else
- {
- sysf_messageBox("중분류가 선택되지 ", "E007");
- }
- }
- function btn_delete_healexamdtmnsml_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.rowposition;
- var healexamdtmnsmlcd = ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup.getColumn(row, "healexamdtmnsmlcd");
-
- if (!utlf_isNull(healexamdtmnsmlcd))
- {
- var rtn = sysf_messageBox("소그룹을 ", "Q001");
- if(rtn == 6)
- {
- dsf_deleteSelectedRows(grd_healexamdtmnsmllist);
- }
- }
- else
- {
- messageBox("소분류가 선택되지 ", "E007");
- }
- }
- function btn_save_healexamdtmnsml_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveClicksml(grd_healexamdtmnsmllist);
- }
- function fSaveClicksml(grid)
- {
- var updategrid = grdf_getGridUpdateData(grid);
- grdf_setStatusColumn(updategrid, "status");
- ds_send_healexamdtmnsmllist.copyData(grid, true);
-
- var oParam = {};
- oParam.id = "TXCHT00303";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqSaveHealExamSmlCd";
- oParam.inds = "req=ds_send_healexamdtmnsmllist";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXCHT00303";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXCHT00303") > -1)
- {
- this.objects[grid.binddataset].applyChange();
- var oParam = {};
- oParam.id = "TRCHT00303";
- oParam.service = "healexammngtapp.HealExamClsMngt";
- oParam.method = "reqGetHealExamSmlCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_healexamdtmnsmllist_healexamdtmnsmlgrup=healexamdtmnsmlgrup";
- oParam.async = false;
- //oParam.callback = "cf_TRCHT00303";
- tranf_submit(oParam);
- }
- }
- function cf_TXCHT00303(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|