123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPAHR00500" position="absolute 0 0 721 736" titletext="문진조회" oninit="SPAHR00500_oninit" onload="SPAHR00500_onload">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_10" position="absolute 0 16 717 22"/>
- <Grid id="grd_inqrlst" taborder="1" binddataset="ds_main_inqrlst_item" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 21 717 711">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="83"/>
- <Column size="337"/>
- <Column size="63"/>
- <Column size="87"/>
- <Column size="108"/>
- <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" text="답안선택"/>
- <Cell col="4" text="답안내역"/>
- <Cell col="5" text="비고"/>
- <Cell col="6" text="anstype"/>
- <Cell col="7" text="문진구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:inqrcd"/>
- <Cell col="2" text="bind:inqrnm"/>
- <Cell col="3" text="bind:answcd"/>
- <Cell col="4" text="bind:answcnts"/>
- <Cell col="5" displaytype="text" edittype="text" class="gridinput" text="bind:remcnts" expandshow="show" expandimage="URL('D:\KNUProject\application\xpapps\IMAGES\ast\ICON\icon_input.png')"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:answflag" enable="false"/>
- <Cell col="7" displaytype="combo" edittype="combo" text="bind:inptflag" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption19" text="문진조회" class="tit_2" position="absolute 0 0 167 22"/>
- <Button id="btn_confirm" taborder="2" text="확인" class="btn4" position="absolute 661 712 717 734" onclick="btn_confirm_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_inqrlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inqrflag" type="STRING" size="256" sumtext="문진구분"/>
- <Column id="inqrcd" type="STRING" size="256" sumtext="문진코드"/>
- <Column id="inqrnm" type="STRING" size="256" sumtext="문진명"/>
- <Column id="answcd" type="STRING" size="256" sumtext="답안코드"/>
- <Column id="answcnts" type="STRING" size="256" sumtext="답안명"/>
- <Column id="inptflag" type="STRING" size="256" sumtext="입력구분"/>
- <Column id="answflag" type="STRING" size="256" sumtext="답군분류구분"/>
- <Column id="remcnts" type="STRING" 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="srchinstcd" type="STRING" size="256"/>
- <Column id="srchhealexamflag" type="STRING" size="256"/>
- <Column id="srchorddd" type="STRING" size="256"/>
- <Column id="srchrsrvdd" type="STRING" size="256"/>
- <Column id="srchrsrvno" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchinqrflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchinstcd"/>
- <Col id="srchhealexamflag"/>
- <Col id="srchorddd"/>
- <Col id="srchrsrvdd"/>
- <Col id="srchrsrvno"/>
- <Col id="srchpid"/>
- <Col id="srchinqrflag"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPAHR00500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPAHR00500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_inqrlst);
- grdf_setRowTypeIcon(grd_inqrlst, 0);
-
- fInit();
- }
- function fInit()
- {
- ds_main_inqrlst_item.clearData();
- fGetInqrCdList();
- }
- function fGetInqrCdList()
- {
- var healExamFlag = opener.frmf_getParameter("SPAHR00500_PARAM1");
- var pid = opener.frmf_getParameter("SPAHR00500_PARAM2");
- var orddd = opener.frmf_getParameter("SPAHR00500_PARAM3");
- var rsrvdd = opener.frmf_getParameter("SPAHR00500_PARAM4");
- var rsrvno = opener.frmf_getParameter("SPAHR00500_PARAM5");
- var instcd = opener.frmf_getParameter("SPAHR00500_PARAM6");
- var inqrFlag = opener.frmf_getParameter("SPAHR00500_PARAM7");
- ds_main_inqrlst_item.clearData();
-
- if(utlf_isNull(healExamFlag) || utlf_isNull(pid) || utlf_isNull(orddd) || utlf_isNull(rsrvdd) || utlf_isNull(rsrvno))
- {
- sysf_messageBox("건진자 정보가 존재하지","E007");
- }
- if(utlf_isNull(instcd))
- {
- ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd") );
- }
- if(utlf_isNull(inqrFlag))
- {
- ds_send.setColumn(0, "srchinqrflag","T");
- }
- ds_send.setColumn(0, "srchhealexamflag", healExamFlag);
- ds_send.setColumn(0, "srchpid", pid);
- ds_send.setColumn(0, "srchorddd", orddd);
- ds_send.setColumn(0, "srchrsrvdd", rsrvdd);
- ds_send.setColumn(0, "srchrsrvno", rsrvno);
- ds_send.setColumn(0, "srchinstcd", instcd);
- ds_send.setColumn(0, "srchinqrflag", inqrFlag);
- var oParam = {};
- oParam.id = "TRAHR01003";
- oParam.service = "healexamrsltjudgapp.RsltInpt";
- oParam.method = "reqGetInqrList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_inqrlst_item=item ds_=answitem";
- oParam.async = false;
- //oParam.callback = "cf_TRAHR01003";
- tranf_submit(oParam);
- }
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|