123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRAE00200" position="absolute 0 0 1200 790" titletext="원내미술품대장" oninit="SMRAE00200_oninit" onload="SMRAE00200_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 23" id="group1">
- <Layouts>
- <Layout>
- <Static text="원내 미술품 대장" position="absolute 0 0 138 24" id="caption6" class="tit_1" anchor="default"/>
- <Static id="caption4" class="patient_text_black" anchor="default" position="absolute 0 0 0 0"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 40 1195 784" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 10 1194 45" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="번호" position="absolute 56 9 110 26" id="caption7" class="search_name"/>
- <Shape position="absolute 986 6 992 28" linetype="vertical" id="line5" class="line_4"/>
- <Button position="absolute 1005 7 1061 29" align="align:left middle;" id="btn_search" class="btn1" taborder="6" text="조회" onclick="group3_grp_sea_btn_search_onclick"/>
- <Static text="제목" position="absolute 176 9 230 26" id="caption1" class="search_name"/>
- <Edit position="absolute 99 8 150 27" align="align:center middle;" id="ipt_artno_search" class="input_default" taborder="1"/>
- <Edit position="absolute 220 8 345 27" id="ipt_title_search" class="input_default" taborder="2"/>
- <Static text="작가명" position="absolute 371 9 434 26" id="caption23" class="search_name"/>
- <Edit position="absolute 430 8 555 27" id="ipt_artist_search" class="input_default" taborder="3"/>
- <Static text="자산코드" position="absolute 581 9 657 26" id="caption24" class="search_name"/>
- <Edit position="absolute 650 8 750 27" align="align:center middle;" id="ipt_asetcd_search" class="input_default" taborder="4"/>
- <Static text="상태" position="absolute 776 9 830 26" id="caption26" class="search_name"/>
- <Radio position="absolute 820 7 955 27" id="rdo_stat_search" taborder="5" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">정상</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">폐기</Col>
- </Row>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 75 1193 81" linetype="horizontal" id="line3" class="line_10"/>
- <Static text="대장" position="absolute 0 59 131 75" id="caption21" class="tit_2"/>
- <Grid position="absolute 0 80 1193 735" id="grd_artlist" taborder="7" binddataset="ds_main_artlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="45"/>
- <Column size="76"/>
- <Column size="54"/>
- <Column size="66"/>
- <Column size="63"/>
- <Column size="117"/>
- <Column size="90"/>
- <Column size="47"/>
- <Column size="45"/>
- <Column size="60"/>
- <Column size="117"/>
- <Column size="47"/>
- <Column size="98"/>
- <Column size="77"/>
- <Column size="45"/>
- <Column size="112"/>
- </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" text="번호" taborder="undefined"/>
- <Cell col="2" colspan="3" 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" colspan="2" text="크기" taborder="undefined"/>
- <Cell col="10" text="취득사유"/>
- <Cell col="11" text="취득사유"/>
- <Cell col="12" colspan="3" text="자산등록여부" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="상태" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="비고" taborder="undefined"/>
- <Cell row="1" col="2" text="대분류"/>
- <Cell row="1" col="3" text="소분류"/>
- <Cell row="1" col="4" text="세부장소"/>
- <Cell row="1" col="8" text="가로"/>
- <Cell row="1" col="9" text="세로"/>
- <Cell row="1" col="10" text="사유"/>
- <Cell row="1" col="11" text="금액,기부자,비고"/>
- <Cell row="1" col="12" text="Y/N"/>
- <Cell row="1" col="13" text="자산코드"/>
- <Cell row="1" col="14" text="취득일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" class="text_center" text="bind:artno"/>
- <Cell col="2" style="align:left;" class="text_left" text="bind:poslrg"/>
- <Cell col="3" class="text_center" text="bind:possml"/>
- <Cell col="4" style="align:left top;padding:4 2 2 2;" class="text_left" text="bind:posdetl" wordwrap="word"/>
- <Cell col="5" class="text_center" text="bind:kind"/>
- <Cell col="6" style="align:left;" class="text_left" text="bind:title"/>
- <Cell col="7" style="align:left;" class="text_left" text="bind:artist"/>
- <Cell col="8" style="align:right;" class="text_right" text="bind:sizew"/>
- <Cell col="9" style="align:right;" class="text_right" text="bind:sizeh"/>
- <Cell col="10" class="text_center" text="bind:possrsn"/>
- <Cell col="11" style="align:left;" class="text_left" text="bind:possetc"/>
- <Cell col="12" class="text_center" text="bind:asetrgstyn"/>
- <Cell col="13" class="text_center" text="bind:asetcd"/>
- <Cell col="14" displaytype="date" class="text_center" text="bind:possdd" calendardisplaynulltype="none"/>
- <Cell col="15" class="text_center" text="bind:stat"/>
- <Cell col="16" style="align:left top;padding:4 2 2 2;" class="text_left" text="bind:cmt" wordwrap="word"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1129 54 1193 73" align="align:left middle;" id="button4" class="btn2" text="엑셀출력" onclick="group3_button4_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 23 1195 51" id="group4" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 22 1194 28" linetype="horizontal" id="line2" class="line_6" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="artno" type="STRING" size="256" sumtext="미술품번호"/>
- <Column id="title" type="STRING" size="256" sumtext="제목"/>
- <Column id="artist" type="STRING" size="256" sumtext="작사명"/>
- <Column id="asetcd" type="STRING" size="256" sumtext="자산코드"/>
- <Column id="stat" type="STRING" size="256" sumtext="상태"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_artlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="artno" type="STRING" size="256" sumtext="미술품번호"/>
- <Column id="poslrg" type="STRING" size="256" sumtext="장소대분류"/>
- <Column id="possml" type="STRING" size="256" sumtext="장소소분류(층)"/>
- <Column id="posdetl" type="STRING" size="256" sumtext="세부장소"/>
- <Column id="kind" type="STRING" size="256" sumtext="종류"/>
- <Column id="title" type="STRING" size="256" sumtext="제목"/>
- <Column id="artist" type="STRING" size="256" sumtext="작가명"/>
- <Column id="sizew" type="STRING" size="256" sumtext="가로크기"/>
- <Column id="sizeh" type="STRING" size="256" sumtext="세로크기"/>
- <Column id="possrsn" type="STRING" size="256" sumtext="취득사유"/>
- <Column id="possetc" type="STRING" size="256" sumtext="금액,기부자,비고"/>
- <Column id="asetrgstyn" type="STRING" size="256" sumtext="자산등록여부"/>
- <Column id="asetcd" type="STRING" size="256" sumtext="자산코드"/>
- <Column id="possdd" type="STRING" size="256" sumtext="취득일자"/>
- <Column id="stat" type="STRING" size="256" sumtext="상태"/>
- <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="artno" type="STRING" size="256"/>
- <Column id="title" type="STRING" size="256"/>
- <Column id="artist" type="STRING" size="256"/>
- <Column id="asetcd" type="STRING" size="256"/>
- <Column id="stat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.ipt_artno_search" propid="value" datasetid="ds_main_condition" columnid="artno"/>
- <BindItem id="item1" compid="group3.grp_sea.ipt_title_search" propid="value" datasetid="ds_main_condition" columnid="title"/>
- <BindItem id="item2" compid="group3.grp_sea.ipt_artist_search" propid="value" datasetid="ds_main_condition" columnid="artist"/>
- <BindItem id="item3" compid="group3.grp_sea.ipt_asetcd_search" propid="value" datasetid="ds_main_condition" columnid="asetcd"/>
- <BindItem id="item4" compid="group3.grp_sea.rdo_stat_search" propid="value" datasetid="ds_main_condition" columnid="stat"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : mis_acntknuhxp -> SMRAE00200
- * Creator : yjh
- * Make Date : 2017-12-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-12-13 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //========================================================================================
- //대장 조회 함수
- //========================================================================================
- function fGetArtList() {
- //model.removenode("/root/main/artlist");//조회시 기존 데이터 삭제
- misfGridInit(group3.grd_artlist);
-
- ds_send.copyRow(0, ds_main_condition, 0);
-
- var oParam = {};
- oParam.id = "TRRAE00201";
- oParam.service = "acntknuhapp.Acntknuh";
- oParam.method = "reqGetArtAllList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_artlist=artlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRAE00201";
- tranf_submit(oParam);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMRAE00200
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMRAE00200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMRAE00200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMRAE00200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(group3.grd_artlist, 0);
- grdf_setGridSort(group3.grd_artlist);
-
- group3.grp_sea.rdo_stat_search.value = '1'; //1:정상
- misfGridInit(group3.grd_artlist);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetArtList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀출력버튼 클릭시
- ****************************************************************************************/
- function group3_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- //if( group3.grd_bugtexecist.rowcount > 0 ){
- grdf_exportExcel(group3.grd_artlist, "excel", "savetype", false, "", "user", false);
- // } else {
- // sysf_messageBox("조회된 데이터가 ", "I004");
- // return;
- // }
- }
- ]]></Script>
- </Form>
- </FDL>
|