123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMCVT00100" position="absolute 0 0 1200 796" titletext="VOC 부서별 담당자관리" oninit="SMCVT00100_oninit" onload="SMCVT00100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 225 40 1195 80" align="align:center top;" id="grp_johe" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="부서명 :" position="absolute 19 12 81 29" id="caption8" class="search_name"/>
- <Edit position="absolute 94 10 234 29" id="ipt_searchterm" class="input_search" onkeyup="grp_johe_ipt_searchterm_onkeyup"/>
- <Static text="담당자 :" position="absolute 323 12 389 29" id="caption7" class="search_name"/>
- <Edit position="absolute 397 11 537 30" id="ipt_searchempnm" class="input_search" onkeyup="grp_johe_ipt_searchempnm_onkeyup"/>
- <Shape position="absolute 880 8 886 29" linetype="vertical" id="line1" class="line_4" anchor="top right"/>
- <Button position="absolute 898 8 954 30" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="grp_johe_btn_search_onclick"/>
- <Static text="부서장 :" position="absolute 611 12 693 29" id="caption4" class="search_name"/>
- <Edit position="absolute 687 11 827 30" id="ipt_searchchfempnm" class="input_search" onkeyup="grp_johe_ipt_searchchfempnm_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 39 215 783" id="import1" url="./SSCVO00100_LeftTree.xfdl" anchor="left top bottom"/>
- <Static id="caption1" text="VOC 부서별 담당자 관리" class="tit_1" position="absolute 0 0 209 24"/>
- <Div id="rndrctlgnd" anchor="left bottom" taborder="1" class="div_SA2" position="absolute 14 539 193 765">
- <Layouts>
- <Layout>
- <Static id="caption50" text="VOC 진행 프로세스" class="hand" position="absolute 14 13 158 33"/>
- <Static id="caption51" text="(1) 접수" position="absolute 32 37 91 53" tooltiptext="민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인 정보와 함께 접수 등록을 하게 되면【접수】상태가 된다. " style="font:Dotum,9,bold;"/>
- <Static id="caption52" text="(2) 회신요청" position="absolute 32 53 147 68" tooltiptext="민원담당부서 담당자가 "접수"된 VOC를 선택하여 처리 요청을 하게 되면【회신요청】상태가 된다. 이 때 담당부서가 2개 이상인 경우에 미리 입력한 담당부서에 대하여 처리 요청을 할 수 있다. " style="font:Dotum,9,bold;"/>
- <Static id="caption53" text="(3) 부서처리중" position="absolute 32 69 147 84" tooltiptext="각 부서 담당자가 "회신요청"된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다." style="font:Dotum,9,bold;"/>
- <Static id="caption54" text="(4) 부서회신" position="absolute 32 85 147 101" tooltiptext=" 각 부서 담당자가 "부서처리중"인 VOC에 대하여 실제 업무처리를 하고 부서장에게 결재 요청을 하고 난 뒤 부서장의 결재를 받아 부서 담당자가 민원담당부서 담당자에게 회신하게 되면【부서회신】상태가 된다. " style="font:Dotum,9,bold;"/>
- <Static id="caption55" text="(5) 종결 / 임의종결" position="absolute 32 101 157 117" tooltiptext=" 민원담당부서 담당자가 "부서장승인"인 VOC에 대하여 종결 확인 버튼을 눌러 부서에 대하여 종결처리를 하면【종결】상태가 된다. 해당 부서에 "회신요청"을 했음에도 불구하고 그 부서에서 답변이 없을 때 업무 진행의 효율을 위해서 임의종결 처리를 하여 종결 처리한 효과와 같은 효과를 줄 수 있다. " style="font:Dotum,9,bold;"/>
- <Static id="caption56" text="(6) 승인요청" position="absolute 32 117 147 133" tooltiptext=" 민원담당부서 담당자가 모든 해당 부서에 대하여 "종결" 또는 "임의종결"인 VOC에 대하여 민원담당부서장에게 고객 회신을 위한 부서장 승인 요청을 하면【승인요청】상태가 된다. " style="font:Dotum,9,bold;"/>
- <Static id="caption57" text="(7) 부서장승인" position="absolute 32 133 147 149" tooltiptext="민원담당부서장은 "승인요청"인 VOC에 대하여 고객 회신을 위한 부서장 승인을 하면【부서장승인】상태가 된다. " style="font:Dotum,9,bold;"/>
- <Static id="caption58" text="(8) 고객회신" position="absolute 32 149 147 165" tooltiptext="민원담당부서 담당자가 부서장 승인을 받은 VOC에 대하여 민원인에게 그 결과를 알려주고 경과 내용을 입력하고 고객회신 완료 버튼을 누르게 되면【고객회신】상태가 된다." style="font:Dotum,9,bold;"/>
- <Static id="caption59" text="(9) 처리완료" position="absolute 32 165 147 181" tooltiptext="민원담당부서 담당자가 "고객회신"인 VOC에 대하여 처리 경과 등 처리내용을 적은 후 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리하여야 하는지 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다. " style="font:Dotum,9,bold;"/>
- <Static id="caption60" text=" * 접수취소" position="absolute 38 185 153 200" tooltiptext=" "접수"된 VOC는 "회신 요청"을 하기 전에 "접수 취소"를 할 수 있다. 하지만 이미 프로세스가 진행되어 담당부서로 요청한 경우에는 접수 취소를 할 수 없게 된다."/>
- <Static id="caption61" text=" * 자체처리" position="absolute 38 201 153 216" tooltiptext=""접수"된 VOC는 "회신 요청"을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다. 하지만 이미 프로세스가 진행되어 담당부서로 요청한 경우에는 자체처리를 할 수 없게 된다. "/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line2" class="line_10" position="absolute 224 103 1195 109" anchor="left top right"/>
- <Static id="caption10" text="부서별 담당자 목록" class="tit_2" position="absolute 225 87 410 108"/>
- <Grid id="grd_voclist" taborder="2" binddataset="ds_main_list_voclist" useinputpanel="false" position="absolute 224 108 1195 641" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="grd_voclist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="120"/>
- <Column size="150"/>
- <Column size="130"/>
- <Column size="130"/>
- <Column size="110"/>
- <Column size="130"/>
- <Column size="130"/>
- <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="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" text="상위부서"/>
- <Cell col="4" text="담당자"/>
- <Cell col="5" text="담당자 연락처"/>
- <Cell col="6" text="부서장"/>
- <Cell col="7" text="부서장 부서"/>
- <Cell col="8" text="부서장 부서코드"/>
- <Cell col="9" text="부서장전화"/>
- <Cell col="10" text="인사상위부서코드"/>
- <Cell col="11" text="담당자ID"/>
- <Cell col="12" text="담당자핸드폰"/>
- <Cell col="13" text="부서장ID"/>
- <Cell col="14" text="그룹코드"/>
- <Cell col="15" text="등록자"/>
- <Cell col="16" text="수정자"/>
- <Cell col="17" text="부서코드"/>
- <Cell col="18" text="일련번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:center middle;" class="text_center" text="bind:instnm"/>
- <Cell col="2" style="align:center middle;" class="text_center" text="bind:deptnm"/>
- <Cell col="3" style="align:center middle;" class="text_center" text="bind:psnworksupdeptnm"/>
- <Cell col="4" style="align:center middle;" class="text_center" text="bind:empnm"/>
- <Cell col="5" style="align:center middle;" class="text_center" text="bind:emptelno"/>
- <Cell col="6" style="align:center middle;" class="text_center" text="bind:chfempnm"/>
- <Cell col="7" style="align:center middle;" class="text_center" text="bind:chfdeptnm"/>
- <Cell col="8" class="text_center" text="bind:chfdeptcd"/>
- <Cell col="9" class="text_center" text="bind:chfemptelno"/>
- <Cell col="10" class="text_center" text="bind:psnworksupdeptcd"/>
- <Cell col="11" class="text_center" text="bind:empid"/>
- <Cell col="12" class="text_center" text="bind:empmobile"/>
- <Cell col="13" class="text_center" text="bind:chfempid"/>
- <Cell col="14" class="text_center" text="bind:groupdeptcd"/>
- <Cell col="15" class="text_center" text="bind:fstrgstrnm"/>
- <Cell col="16" class="text_center" text="bind:lastupdtrnm"/>
- <Cell col="17" class="text_center" text="bind:deptcd"/>
- <Cell col="18" class="text_center" text="bind:rgstseq"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_temp" taborder="3" text="조직도" class="btn5" visible="false" position="absolute 1060 84 1113 103" anchor="top right"/>
- <Button id="btn_excsave" taborder="4" text="엑셀저장" class="btn7" position="absolute 1115 84 1195 103" anchor="top right" onclick="btn_excsave_onclick"/>
- <Static id="caption2" text="부서별 담당자 정보" class="tit_2" position="absolute 225 646 359 668" anchor="left bottom"/>
- <Shape id="line3" class="line_10" position="absolute 225 662 1195 668" anchor="left right bottom"/>
- <Static id="caption21" text="부서코드" class="cell_1" position="absolute 466 667 566 690" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_PID" taborder="5" readonly="true" position="absolute 569 669 701 688" anchor="left bottom" autoselect="true"/>
- <Static id="caption22" text="부서명" class="cell_1" position="absolute 225 667 325 690" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_PatNm" taborder="6" class="input_essential" position="absolute 328 669 440 688" anchor="left bottom" autoselect="true" onkeyup="ipt_PatNm_onkeyup"/>
- <Shape id="line4" class="line_2" position="absolute 225 689 1195 695" anchor="left right bottom"/>
- <Static id="caption14" text="담당자명" class="cell_1" position="absolute 225 693 325 716" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_empnm" taborder="7" class="input_essential" position="absolute 328 695 440 714" anchor="left bottom" autoselect="true" onkeyup="ipt_empnm_onkeyup"/>
- <Static id="caption5" text="담당자 연락처" class="cell_1" position="absolute 466 693 566 716" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Edit id="input4" taborder="8" position="absolute 569 695 701 714" anchor="left bottom" autoselect="true"/>
- <Static id="caption6" text="담당자 핸드폰" class="cell_1" position="absolute 708 693 808 716" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Edit id="input5" taborder="9" position="absolute 811 695 943 714" anchor="left bottom" autoselect="true"/>
- <Shape id="line5" class="line_2" position="absolute 225 715 1195 721" anchor="left right bottom"/>
- <Static id="caption11" text="부서장 부서" class="cell_1" position="absolute 466 719 566 742" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Static id="caption12" text="부서장명" class="cell_1" position="absolute 225 719 325 742" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Static id="caption13" text="부서장 연락처" class="cell_1" position="absolute 708 719 808 742" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_chfempnm" taborder="10" class="input_essential" position="absolute 328 721 440 740" anchor="left bottom" autoselect="true" onkeyup="ipt_chfempnm_onkeyup"/>
- <Edit id="input8" taborder="11" enable="false" position="absolute 569 721 701 740" anchor="left bottom"/>
- <Edit id="input9" taborder="12" position="absolute 811 721 943 740" anchor="left bottom" autoselect="true"/>
- <Shape id="line6" class="line_2" position="absolute 225 741 1195 747" anchor="left right bottom"/>
- <Static id="caption3" text="그룹코드" class="cell_1" position="absolute 466 745 566 768" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Static id="caption9" text="인사상위부서" class="cell_1" position="absolute 225 745 325 768" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Static id="caption16" text="등록자" class="cell_1" position="absolute 708 745 808 768" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Edit id="input2" taborder="13" enable="false" position="absolute 328 747 460 766" anchor="left bottom"/>
- <Static id="caption17" text="최종수정자" class="cell_1" position="absolute 948 745 1053 768" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
- <Edit id="input6" taborder="14" enable="false" position="absolute 569 747 701 766" anchor="left bottom"/>
- <Edit id="input11" taborder="15" enable="false" position="absolute 811 747 943 766" anchor="left bottom"/>
- <Edit id="input12" taborder="16" enable="false" position="absolute 1057 747 1169 766" anchor="left bottom"/>
- <Shape id="line16" class="line_3" position="absolute 225 767 1195 773" anchor="left right bottom"/>
- <Button id="btn_popVOC" taborder="17" text="부서 추가하기" class="btn5" enable="false" visible="false" position="absolute 1008 643 1105 662" anchor="right bottom" onclick="btn_popVOC_onclick"/>
- <Button id="button1" taborder="18" text="신규" class="btn2" position="absolute 1153 643 1195 662" anchor="right bottom" onclick="button1_onclick"/>
- <Button id="btn_srch1" taborder="19" class="icon_search" position="absolute 443 670 459 686" anchor="left bottom" onclick="btn_srch1_onclick"/>
- <Button id="btn_srch2" taborder="20" class="icon_search" position="absolute 443 696 459 712" anchor="left bottom" onclick="btn_srch2_onclick"/>
- <Button id="btn_srch3" taborder="21" class="icon_search" position="absolute 443 722 459 738" anchor="left bottom" onclick="btn_srch3_onclick"/>
- <Button id="btn_del" taborder="22" text="삭제" class="btn5" position="absolute 1108 643 1150 662" anchor="right bottom" onclick="btn_del_onclick"/>
- <Static id="caption20" text="부서별 담당자 관리에서는 각 부서의 담당자와 부서장을 지정하실 수 있습니다." class="hand" position="absolute 325 773 830 790" anchor="left bottom"/>
- <Button id="btn_save" taborder="23" text="저장" class="btn4" position="absolute 1081 771 1137 793" anchor="right bottom" onclick="btn_save_onclick"/>
- <Button id="btn_clear" taborder="24" text="취소" class="btn4" position="absolute 1139 771 1195 793" anchor="right bottom" onclick="btn_clear_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="searchterm" type="STRING" size="256"/>
- <Column id="searchempnm" type="STRING" size="256"/>
- <Column id="searchchfempnm" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="searchterm"/>
- <Col id="searchempnm"/>
- <Col id="searchchfempnm"/>
- <Col id="instcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_voclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instnm" type="STRING" size="256" sumtext="기관명"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="psnworksupdeptnm" type="STRING" size="256" sumtext="상위부서"/>
- <Column id="empnm" type="STRING" size="256" sumtext="담당자"/>
- <Column id="emptelno" type="STRING" size="256" sumtext="담당자 전화번호"/>
- <Column id="chfempnm" type="STRING" size="256" sumtext="부서장"/>
- <Column id="chfdeptnm" type="STRING" size="256" sumtext="부서장부서"/>
- <Column id="chfdeptcd" type="STRING" size="256" sumtext="부서장부서코드"/>
- <Column id="chfemptelno" type="STRING" size="256" sumtext="부서장전화번호"/>
- <Column id="psnworksupdeptcd" type="STRING" size="256" sumtext="인사상위부서"/>
- <Column id="empid" type="STRING" size="256" sumtext="담당자ID"/>
- <Column id="empmobile" type="STRING" size="256" sumtext="담당자핸드폰"/>
- <Column id="chfempid" type="STRING" size="256" sumtext="인사상위부서"/>
- <Column id="groupdeptcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="등록자"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="수정자"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="rgstseq" type="INT" size="256" sumtext="등록순서"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_deptdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="psnworksupdeptnm" type="STRING" size="256"/>
- <Column id="psnworksupdeptcd" type="STRING" size="256"/>
- <Column id="empnm" type="STRING" size="256"/>
- <Column id="empid" type="STRING" size="256"/>
- <Column id="emptelno" type="STRING" size="256"/>
- <Column id="empmobile" type="STRING" size="256"/>
- <Column id="chfempnm" type="STRING" size="256"/>
- <Column id="chfempid" type="STRING" size="256"/>
- <Column id="chfdeptnm" type="STRING" size="256"/>
- <Column id="chfdeptcd" type="STRING" size="256"/>
- <Column id="chfemptelno" type="STRING" size="256"/>
- <Column id="groupdeptcd" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="rgstseq" type="STRING" size="256"/>
- <Column id="savemode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptnm"/>
- <Col id="deptcd"/>
- <Col id="psnworksupdeptnm"/>
- <Col id="psnworksupdeptcd"/>
- <Col id="empnm"/>
- <Col id="empid"/>
- <Col id="emptelno"/>
- <Col id="empmobile"/>
- <Col id="chfempnm"/>
- <Col id="chfempid"/>
- <Col id="chfdeptnm"/>
- <Col id="chfdeptcd"/>
- <Col id="chfemptelno"/>
- <Col id="groupdeptcd"/>
- <Col id="fstrgstrnm"/>
- <Col id="lastupdtrnm"/>
- <Col id="rgstseq"/>
- <Col id="savemode">I</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_johe.ipt_searchterm" propid="value" datasetid="ds_send_data" columnid="searchterm"/>
- <BindItem id="item1" compid="grp_johe.ipt_searchempnm" propid="value" datasetid="ds_send_data" columnid="searchempnm"/>
- <BindItem id="item2" compid="grp_johe.ipt_searchchfempnm" propid="value" datasetid="ds_send_data" columnid="searchchfempnm"/>
- <BindItem id="item3" compid="ipt_PatNm" propid="value" datasetid="ds_main_deptdata" columnid="deptnm"/>
- <BindItem id="item4" compid="ipt_empnm" propid="value" datasetid="ds_main_deptdata" columnid="empnm"/>
- <BindItem id="item5" compid="ipt_chfempnm" propid="value" datasetid="ds_main_deptdata" columnid="chfempnm"/>
- <BindItem id="item6" compid="input2" propid="value" datasetid="ds_main_deptdata" columnid="psnworksupdeptnm"/>
- <BindItem id="item7" compid="input6" propid="value" datasetid="ds_main_deptdata" columnid="groupdeptcd"/>
- <BindItem id="item8" compid="input8" propid="value" datasetid="ds_main_deptdata" columnid="chfdeptnm"/>
- <BindItem id="item9" compid="input4" propid="value" datasetid="ds_main_deptdata" columnid="emptelno"/>
- <BindItem id="item10" compid="ipt_PID" propid="value" datasetid="ds_main_deptdata" columnid="deptcd"/>
- <BindItem id="item11" compid="input5" propid="value" datasetid="ds_main_deptdata" columnid="empmobile"/>
- <BindItem id="item12" compid="input9" propid="value" datasetid="ds_main_deptdata" columnid="chfemptelno"/>
- <BindItem id="item13" compid="input11" propid="value" datasetid="ds_main_deptdata" columnid="fstrgstrnm"/>
- <BindItem id="item14" compid="input12" propid="value" datasetid="ds_main_deptdata" columnid="lastupdtrnm"/>
- </Bind>
- <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 usernm = "";
- function SMCVT00100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMCVT00100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_voclist);
-
- //사용자 설정
- usernm = sysf_getUserInfo("usernm");
- ds_main_deptdata.setColumn(0, "fstrgstrnm", usernm);
- ds_main_deptdata.setColumn(0, "lastupdtrnm", usernm);
- ds_main_list_voclist.clearData();
- var oParam = {};
- oParam.id = "TRCVT00101";
- oParam.service = "vocapp.Voc";
- oParam.method = "reqGetChfDeptList";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_main_list_voclist=voclist";
- oParam.async = false;
- //oParam.callback = "cf_TRCVT00101";
- tranf_submit(oParam);
-
- grd_voclist.setFocus();
- fButtonMode();
- fCheckAuth();
- }
- function fButtonMode()
- {
- var savemode = ds_main_deptdata.getColumn(0, "savemode");
- if (savemode == "I")
- {
- btn_del.enable = false;
- }
- else
- {
- btn_del.enable = true;
- }
- }
- function fCheckAuth()
- {
- if (!frmf_checkAuth("x"))
- {
- btn_save.enable = false;
- }
- if (!frmf_checkAuth("p"))
- {
- btn_excsave.enable = false;
- }
- }
- function grp_johe_ipt_searchterm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_johe.btn_search.click();
- }
- }
- function grp_johe_ipt_searchempnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_johe.btn_search.click();
- }
- }
- function grp_johe_ipt_searchchfempnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp_johe.btn_search.click();
- }
- }
- function grp_johe_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( String(utlf_transNullToEmpty(grp_johe.ipt_searchterm.value)).length > 0 && String(utlf_transNullToEmpty(grp_johe.ipt_searchterm.value)).length < 2)
- {
- sysf_messageBox("부서명 검색은 최소 2글자 이상 ", "C001");
- grp_johe.ipt_searchempnm.setFocus();
- }
- else if ( String(utlf_transNullToEmpty(grp_johe.ipt_searchempnm.value)).length > 0 && String(utlf_transNullToEmpty(grp_johe.ipt_searchempnm.value)).length < 2)
- {
- sysf_messageBox("담당자 이름 검색은 최소 2글자 이상 ", "C001");
- grp_johe.ipt_searchempnm.setFocus();
- }
- else if ( String(utlf_transNullToEmpty(grp_johe.ipt_searchchfempnm.value)).length > 0 && String(utlf_transNullToEmpty(grp_johe.ipt_searchchfempnm.value)).length < 2)
- {
- sysf_messageBox("부서장 이름 검색은 최소 2글자 이상 ", "C001");
- grp_johe.ipt_searchchfempnm.setFocus();
- }
- else
- {
- fSetNewMsg();
- ds_main_list_voclist.clearData();
- var oParam = {};
- oParam.id = "TRCVT00101";
- oParam.service = "vocapp.Voc";
- oParam.method = "reqGetChfDeptList";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_main_list_voclist=voclist";
- oParam.async = false;
- //oParam.callback = "cf_TRCVT00101";
- tranf_submit(oParam);
- grd_voclist.setFocus();
- }
- }
- function fSetNewMsg()
- {
- ds_main_deptdata.setColumn(0, "deptcd", "");
- ds_main_deptdata.setColumn(0, "deptnm", "");
- ds_main_deptdata.setColumn(0, "empid", "");
- ds_main_deptdata.setColumn(0, "empnm", "");
- ds_main_deptdata.setColumn(0, "emptelno", "");
- ds_main_deptdata.setColumn(0, "empmobile", "");
- ds_main_deptdata.setColumn(0, "chfempid", "");
- ds_main_deptdata.setColumn(0, "chfempnm", "");
- ds_main_deptdata.setColumn(0, "chfdeptcd", "");
- ds_main_deptdata.setColumn(0, "chfdeptnm", "");
- ds_main_deptdata.setColumn(0, "chfemptelno", "");
- ds_main_deptdata.setColumn(0, "groupdeptcd", "");
- ds_main_deptdata.setColumn(0, "rgstseq", "");
- ds_main_deptdata.setColumn(0, "fstrgstrnm", usernm);
- ds_main_deptdata.setColumn(0, "lastupdtrnm", usernm);
- }
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_voclist, "부서별담당자엑셀", "Sheet1", "true", "", "");
- }
- function grd_voclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_main_list_voclist.rowposition;
- var deptnm = ds_main_list_voclist.getColumn(row, "deptnm");
- var deptcd = ds_main_list_voclist.getColumn(row, "deptcd");
- var empnm = ds_main_list_voclist.getColumn(row, "empnm");
- var empid = ds_main_list_voclist.getColumn(row, "empid");
- var emptelno = ds_main_list_voclist.getColumn(row, "emptelno");
- var empmobile = ds_main_list_voclist.getColumn(row, "empmobile");
- var chfempnm = ds_main_list_voclist.getColumn(row, "chfempnm");
- var chfempid = ds_main_list_voclist.getColumn(row, "chfempid");
- var chfdeptnm = ds_main_list_voclist.getColumn(row, "chfdeptnm");
- var chfdeptcd = ds_main_list_voclist.getColumn(row, "chfdeptcd");
- var chfemptelno = ds_main_list_voclist.getColumn(row, "chfemptelno");
- var psnworksupdeptnm = ds_main_list_voclist.getColumn(row, "psnworksupdeptnm");
- var psnworksupdeptcd = ds_main_list_voclist.getColumn(row, "psnworksupdeptcd");
- var groupdeptcd = ds_main_list_voclist.getColumn(row, "groupdeptcd");
- var fstrgstrnm = ds_main_list_voclist.getColumn(row, "fstrgstrnm");
- var lastupdtrnm = ds_main_list_voclist.getColumn(row, "lastupdtrnm");
- var rgstseq = ds_main_list_voclist.getColumn(row, "rgstseq");
- if (row >= 0)
- {
- ds_main_deptdata.setColumn(0, "deptnm", deptnm);
- ds_main_deptdata.setColumn(0, "deptcd", deptcd);
- ds_main_deptdata.setColumn(0, "psnworksupdeptnm", psnworksupdeptnm);
- ds_main_deptdata.setColumn(0, "psnworksupdeptcd", psnworksupdeptcd);
- ds_main_deptdata.setColumn(0, "empnm", empnm);
- ds_main_deptdata.setColumn(0, "empid", empid);
- ds_main_deptdata.setColumn(0, "emptelno", emptelno);
- ds_main_deptdata.setColumn(0, "empmobile", empmobile);
- ds_main_deptdata.setColumn(0, "chfempnm", chfempnm);
- ds_main_deptdata.setColumn(0, "chfempid", chfempid);
- ds_main_deptdata.setColumn(0, "chfdeptnm", chfdeptnm);
- ds_main_deptdata.setColumn(0, "chfdeptcd", chfdeptcd);
- ds_main_deptdata.setColumn(0, "chfemptelno", chfemptelno);
- ds_main_deptdata.setColumn(0, "groupdeptcd", groupdeptcd);
- ds_main_deptdata.setColumn(0, "fstrgstrnm", fstrgstrnm);
- ds_main_deptdata.setColumn(0, "lastupdtrnm", lastupdtrnm);
- ds_main_deptdata.setColumn(0, "rgstseq", rgstseq);
- btn_save.enable = true;
-
- ds_main_deptdata.setColumn(0, "savemode", "U");
- }
- fButtonMode();
- }
- function ipt_PatNm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- btn_srch1.click();
- }
- }
- function btn_srch1_onclick(obj:Button, e:ClickEventInfo)
- {
- var search_term = ds_main_deptdata.getColumn(0, "deptnm");
- var search_condition = "deptnm";
- var mode = "B"
-
- frmf_setParameter("search_term", search_term);
- frmf_setParameter("search_condition", search_condition);
- frmf_setParameter("mode", mode);
- var rtn = frmf_modal("SPCVO00600", "SPCVO00600", "", "", "", "", "", "", "", "", "", "", "M");
- ds_main_deptdata.setColumn(0, "deptcd", rtn.deptcd);
- ds_main_deptdata.setColumn(0, "deptnm", rtn.deptnm);
- ds_main_deptdata.setColumn(0, "psnworksupdeptnm", rtn.psnworksupdeptnm);
- ds_main_deptdata.setColumn(0, "psnworksupdeptcd", rtn.psnworksupdeptcd);
-
- frmf_clearParameter("search_term");
- frmf_clearParameter("search_condition");
- frmf_clearParameter("mode");
- }
- function ipt_empnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- btn_srch2.click();
- }
- }
- function btn_srch2_onclick(obj:Button, e:ClickEventInfo)
- {
- var search_term = ds_main_deptdata.getColumn(0, "empnm");
- var search_condition = "empnm";
- var mode = "B";
-
- frmf_setParameter("search_condition", search_condition);
- frmf_setParameter("search_term", search_term);
- frmf_setParameter("mode", mode);
- var rtn = frmf_modal("SPCVO00700", "SPCVO00700", "", "", "", "", "", "", "", "", "", "", "M");
- ds_main_deptdata.setColumn(0, "empid", rtn.empid);
- ds_main_deptdata.setColumn(0, "empnm", rtn.empnm);
- ds_main_deptdata.setColumn(0, "deptcd", rtn.deptcd);
- ds_main_deptdata.setColumn(0, "deptnm", rtn.deptnm);
- ds_main_deptdata.setColumn(0, "emptelno", rtn.cntctel);
- ds_main_deptdata.setColumn(0, "empmobile", rtn.mpphonno);
- ds_main_deptdata.setColumn(0, "psnworksupdeptnm", rtn.psnworksupdeptnm);
- ds_main_deptdata.setColumn(0, "psnworksupdeptcd", rtn.psnworksupdeptcd);
-
- frmf_clearParameter("search_condition");
- frmf_clearParameter("search_term");
- frmf_clearParameter("mode");
- }
- function ipt_chfempnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- btn_srch3.click();
- }
- }
- function btn_srch3_onclick(obj:Button, e:ClickEventInfo)
- {
- var search_term = ds_main_deptdata.getColumn(0, "chfempnm");
- var search_condition = "empnm";
- var mode = "C";
-
- frmf_setParameter("search_condition", search_condition);
- frmf_setParameter("search_term", search_term);
- frmf_setParameter("mode", mode);
- var rtn = frmf_modal("SPCVO00700", "SPCVO00700", "", "", "", "", "", "", "", "", "", "", "M");
- ds_main_deptdata.setColumn(0, "chfempid", rtn.empid);
- ds_main_deptdata.setColumn(0, "chfempnm", rtn.empnm);
- ds_main_deptdata.setColumn(0, "chfdeptcd", rtn.deptcd);
- ds_main_deptdata.setColumn(0, "chfdeptnm", rtn.deptnm);
- ds_main_deptdata.setColumn(0, "chfemptelno", rtn.cntctel);
-
- frmf_clearParameter("search_condition");
- frmf_clearParameter("search_term");
- frmf_clearParameter("mode");
- }
- function btn_popVOC_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_deptdata.setColumn(0, "savemode", "D");
-
- var oParam = {};
- oParam.id = "TXCVT00101";
- oParam.service = "vocapp.Voc";
- oParam.method = "reqStoreVOCDeptAdtlData";
- oParam.inds = "req=ds_main_deptdata";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXCVT00101";
- tranf_submit(oParam);
-
- fSetNewMsg();
- }
- function cf_TXCVT00101(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- sysf_messageBox("담당자 삭제가 ", "I002");
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetNewMsg();
- fButtonMode();
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- var deptcd = ds_main_deptdata.getColumn(0, "deptcd");
- var empid = ds_main_deptdata.getColumn(0, "empid");
- var chfempid = ds_main_deptdata.getColumn(0, "chfempid");
- if (utlf_isNull(deptcd))
- {
- sysf_messageBox("부서명을 ", "C001");
- ipt_PatNm.setFocus();
- }
- else if (utlf_isNull(empid))
- {
- sysf_messageBox("담당자명을 ", "C001");
- ipt_empnm.setFocus();
- }
- else if (utlf_isNull(chfempid))
- {
- sysf_messageBox("부서장명을 ", "C001");
- ipt_chfempnm.setFocus();
- }
- else
- {
- var oParam = {};
- oParam.id = "TXCVT00101";
- oParam.service = "vocapp.Voc";
- oParam.method = "reqStoreVOCDeptAdtlData";
- oParam.inds = "req=ds_main_deptdata";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXCVT00101_1";
- tranf_submit(oParam);
- fSetNewMsg();
- }
- }
- function cf_TXCVT00101_1(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else sysf_messageBox("담당자 입력이 ", "I002");
- }
- function btn_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitControl();
- }
- ]]></Script>
- </Form>
- </FDL>
|