SMCVT00100_부서별담당자관리.xfdl 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMCVT00100" position="absolute 0 0 1200 796" titletext="VOC 부서별 담당자관리" oninit="SMCVT00100_oninit" onload="SMCVT00100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 225 40 1195 80" align="align:center top;" id="grp_johe" class="div_SA2" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static text="부서명 :" position="absolute 19 12 81 29" id="caption8" class="search_name"/>
  11. <Edit position="absolute 94 10 234 29" id="ipt_searchterm" class="input_search" onkeyup="grp_johe_ipt_searchterm_onkeyup"/>
  12. <Static text="담당자 :" position="absolute 323 12 389 29" id="caption7" class="search_name"/>
  13. <Edit position="absolute 397 11 537 30" id="ipt_searchempnm" class="input_search" onkeyup="grp_johe_ipt_searchempnm_onkeyup"/>
  14. <Shape position="absolute 880 8 886 29" linetype="vertical" id="line1" class="line_4" anchor="top right"/>
  15. <Button position="absolute 898 8 954 30" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="grp_johe_btn_search_onclick"/>
  16. <Static text="부서장 :" position="absolute 611 12 693 29" id="caption4" class="search_name"/>
  17. <Edit position="absolute 687 11 827 30" id="ipt_searchchfempnm" class="input_search" onkeyup="grp_johe_ipt_searchchfempnm_onkeyup"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Div position="absolute 0 39 215 783" id="import1" url="./SSCVO00100_LeftTree.xfdl" anchor="left top bottom"/>
  22. <Static id="caption1" text="VOC 부서별 담당자 관리" class="tit_1" position="absolute 0 0 209 24"/>
  23. <Div id="rndrctlgnd" anchor="left bottom" taborder="1" class="div_SA2" position="absolute 14 539 193 765">
  24. <Layouts>
  25. <Layout>
  26. <Static id="caption50" text="VOC 진행 프로세스" class="hand" position="absolute 14 13 158 33"/>
  27. <Static id="caption51" text="(1) 접수" position="absolute 32 37 91 53" tooltiptext="민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인 &#13;&#10; 정보와 함께 접수 등록을 하게 되면【접수】상태가 된다. " style="font:Dotum,9,bold;"/>
  28. <Static id="caption52" text="(2) 회신요청" position="absolute 32 53 147 68" tooltiptext="민원담당부서 담당자가 &quot;접수&quot;된 VOC를 선택하여 처리 요청을 &#13;&#10; 하게 되면【회신요청】상태가 된다. 이 때 담당부서가 2개 이상인 &#13;&#10; 경우에 미리 입력한 담당부서에 대하여 처리 요청을 할 수 있다. " style="font:Dotum,9,bold;"/>
  29. <Static id="caption53" text="(3) 부서처리중" position="absolute 32 69 147 84" tooltiptext="각 부서 담당자가 &quot;회신요청&quot;된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』 &#13;&#10; 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다." style="font:Dotum,9,bold;"/>
  30. <Static id="caption54" text="(4) 부서회신" position="absolute 32 85 147 101" tooltiptext=" 각 부서 담당자가 &quot;부서처리중&quot;인 VOC에 대하여 실제 업무처리를 하고 &#13;&#10; 부서장에게 결재 요청을 하고 난 뒤 부서장의 결재를 받아 부서 담당자가 &#13;&#10; 민원담당부서 담당자에게 회신하게 되면【부서회신】상태가 된다. " style="font:Dotum,9,bold;"/>
  31. <Static id="caption55" text="(5) 종결 / 임의종결" position="absolute 32 101 157 117" tooltiptext=" 민원담당부서 담당자가 &quot;부서장승인&quot;인 VOC에 대하여 종결 확인 &#13;&#10; 버튼을 눌러 부서에 대하여 종결처리를 하면【종결】상태가 된다. &#13;&#10; 해당 부서에 &quot;회신요청&quot;을 했음에도 불구하고 그 부서에서 답변이 &#13;&#10; 없을 때 업무 진행의 효율을 위해서 임의종결 처리를 하여 종결 &#13;&#10; 처리한 효과와 같은 효과를 줄 수 있다. " style="font:Dotum,9,bold;"/>
  32. <Static id="caption56" text="(6) 승인요청" position="absolute 32 117 147 133" tooltiptext=" 민원담당부서 담당자가 모든 해당 부서에 대하여 &quot;종결&quot; 또는 &#13;&#10; &quot;임의종결&quot;인 VOC에 대하여 민원담당부서장에게 고객 회신을 &#13;&#10; 위한 부서장 승인 요청을 하면【승인요청】상태가 된다. " style="font:Dotum,9,bold;"/>
  33. <Static id="caption57" text="(7) 부서장승인" position="absolute 32 133 147 149" tooltiptext="민원담당부서장은 &quot;승인요청&quot;인 VOC에 대하여 고객 회신을 &#13;&#10; 위한 부서장 승인을 하면【부서장승인】상태가 된다. " style="font:Dotum,9,bold;"/>
  34. <Static id="caption58" text="(8) 고객회신" position="absolute 32 149 147 165" tooltiptext="민원담당부서 담당자가 부서장 승인을 받은 VOC에 대하여 &#13;&#10; 민원인에게 그 결과를 알려주고 경과 내용을 입력하고 &#13;&#10; 고객회신 완료 버튼을 누르게 되면【고객회신】상태가 된다." style="font:Dotum,9,bold;"/>
  35. <Static id="caption59" text="(9) 처리완료" position="absolute 32 165 147 181" tooltiptext="민원담당부서 담당자가 &quot;고객회신&quot;인 VOC에 대하여 처리 경과 등 처리내용을 &#13;&#10; 적은 후 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리하여야 하는지 &#13;&#10; 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다. " style="font:Dotum,9,bold;"/>
  36. <Static id="caption60" text=" * 접수취소" position="absolute 38 185 153 200" tooltiptext=" &quot;접수&quot;된 VOC는 &quot;회신 요청&quot;을 하기 전에 &quot;접수 취소&quot;를 할 수 있다. 하지만 이미 &#13;&#10; 프로세스가 진행되어 담당부서로 요청한 경우에는 접수 취소를 할 수 없게 된다."/>
  37. <Static id="caption61" text=" * 자체처리" position="absolute 38 201 153 216" tooltiptext="&quot;접수&quot;된 VOC는 &quot;회신 요청&quot;을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다. &#13;&#10; 하지만 이미 프로세스가 진행되어 담당부서로 요청한 경우에는 자체처리를 할 수 없게 된다. "/>
  38. </Layout>
  39. </Layouts>
  40. </Div>
  41. <Shape id="line2" class="line_10" position="absolute 224 103 1195 109" anchor="left top right"/>
  42. <Static id="caption10" text="부서별 담당자 목록" class="tit_2" position="absolute 225 87 410 108"/>
  43. <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">
  44. <Formats>
  45. <Format id="default">
  46. <Columns>
  47. <Column size="25"/>
  48. <Column size="120"/>
  49. <Column size="150"/>
  50. <Column size="130"/>
  51. <Column size="130"/>
  52. <Column size="110"/>
  53. <Column size="130"/>
  54. <Column size="130"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. </Columns>
  67. <Rows>
  68. <Row size="24" band="head"/>
  69. <Row size="24"/>
  70. </Rows>
  71. <Band id="head">
  72. <Cell/>
  73. <Cell col="1" text="기관명"/>
  74. <Cell col="2" text="부서명"/>
  75. <Cell col="3" text="상위부서"/>
  76. <Cell col="4" text="담당자"/>
  77. <Cell col="5" text="담당자 연락처"/>
  78. <Cell col="6" text="부서장"/>
  79. <Cell col="7" text="부서장 부서"/>
  80. <Cell col="8" text="부서장 부서코드"/>
  81. <Cell col="9" text="부서장전화"/>
  82. <Cell col="10" text="인사상위부서코드"/>
  83. <Cell col="11" text="담당자ID"/>
  84. <Cell col="12" text="담당자핸드폰"/>
  85. <Cell col="13" text="부서장ID"/>
  86. <Cell col="14" text="그룹코드"/>
  87. <Cell col="15" text="등록자"/>
  88. <Cell col="16" text="수정자"/>
  89. <Cell col="17" text="부서코드"/>
  90. <Cell col="18" text="일련번호"/>
  91. </Band>
  92. <Band id="body">
  93. <Cell celltype="head" expr="currow+1"/>
  94. <Cell col="1" style="align:center middle;" class="text_center" text="bind:instnm"/>
  95. <Cell col="2" style="align:center middle;" class="text_center" text="bind:deptnm"/>
  96. <Cell col="3" style="align:center middle;" class="text_center" text="bind:psnworksupdeptnm"/>
  97. <Cell col="4" style="align:center middle;" class="text_center" text="bind:empnm"/>
  98. <Cell col="5" style="align:center middle;" class="text_center" text="bind:emptelno"/>
  99. <Cell col="6" style="align:center middle;" class="text_center" text="bind:chfempnm"/>
  100. <Cell col="7" style="align:center middle;" class="text_center" text="bind:chfdeptnm"/>
  101. <Cell col="8" class="text_center" text="bind:chfdeptcd"/>
  102. <Cell col="9" class="text_center" text="bind:chfemptelno"/>
  103. <Cell col="10" class="text_center" text="bind:psnworksupdeptcd"/>
  104. <Cell col="11" class="text_center" text="bind:empid"/>
  105. <Cell col="12" class="text_center" text="bind:empmobile"/>
  106. <Cell col="13" class="text_center" text="bind:chfempid"/>
  107. <Cell col="14" class="text_center" text="bind:groupdeptcd"/>
  108. <Cell col="15" class="text_center" text="bind:fstrgstrnm"/>
  109. <Cell col="16" class="text_center" text="bind:lastupdtrnm"/>
  110. <Cell col="17" class="text_center" text="bind:deptcd"/>
  111. <Cell col="18" class="text_center" text="bind:rgstseq"/>
  112. </Band>
  113. </Format>
  114. </Formats>
  115. </Grid>
  116. <Button id="btn_temp" taborder="3" text="조직도" class="btn5" visible="false" position="absolute 1060 84 1113 103" anchor="top right"/>
  117. <Button id="btn_excsave" taborder="4" text="엑셀저장" class="btn7" position="absolute 1115 84 1195 103" anchor="top right" onclick="btn_excsave_onclick"/>
  118. <Static id="caption2" text="부서별 담당자 정보" class="tit_2" position="absolute 225 646 359 668" anchor="left bottom"/>
  119. <Shape id="line3" class="line_10" position="absolute 225 662 1195 668" anchor="left right bottom"/>
  120. <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"/>
  121. <Edit id="ipt_PID" taborder="5" readonly="true" position="absolute 569 669 701 688" anchor="left bottom" autoselect="true"/>
  122. <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"/>
  123. <Edit id="ipt_PatNm" taborder="6" class="input_essential" position="absolute 328 669 440 688" anchor="left bottom" autoselect="true" onkeyup="ipt_PatNm_onkeyup"/>
  124. <Shape id="line4" class="line_2" position="absolute 225 689 1195 695" anchor="left right bottom"/>
  125. <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"/>
  126. <Edit id="ipt_empnm" taborder="7" class="input_essential" position="absolute 328 695 440 714" anchor="left bottom" autoselect="true" onkeyup="ipt_empnm_onkeyup"/>
  127. <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"/>
  128. <Edit id="input4" taborder="8" position="absolute 569 695 701 714" anchor="left bottom" autoselect="true"/>
  129. <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"/>
  130. <Edit id="input5" taborder="9" position="absolute 811 695 943 714" anchor="left bottom" autoselect="true"/>
  131. <Shape id="line5" class="line_2" position="absolute 225 715 1195 721" anchor="left right bottom"/>
  132. <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"/>
  133. <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"/>
  134. <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"/>
  135. <Edit id="ipt_chfempnm" taborder="10" class="input_essential" position="absolute 328 721 440 740" anchor="left bottom" autoselect="true" onkeyup="ipt_chfempnm_onkeyup"/>
  136. <Edit id="input8" taborder="11" enable="false" position="absolute 569 721 701 740" anchor="left bottom"/>
  137. <Edit id="input9" taborder="12" position="absolute 811 721 943 740" anchor="left bottom" autoselect="true"/>
  138. <Shape id="line6" class="line_2" position="absolute 225 741 1195 747" anchor="left right bottom"/>
  139. <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"/>
  140. <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"/>
  141. <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"/>
  142. <Edit id="input2" taborder="13" enable="false" position="absolute 328 747 460 766" anchor="left bottom"/>
  143. <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"/>
  144. <Edit id="input6" taborder="14" enable="false" position="absolute 569 747 701 766" anchor="left bottom"/>
  145. <Edit id="input11" taborder="15" enable="false" position="absolute 811 747 943 766" anchor="left bottom"/>
  146. <Edit id="input12" taborder="16" enable="false" position="absolute 1057 747 1169 766" anchor="left bottom"/>
  147. <Shape id="line16" class="line_3" position="absolute 225 767 1195 773" anchor="left right bottom"/>
  148. <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"/>
  149. <Button id="button1" taborder="18" text="신규" class="btn2" position="absolute 1153 643 1195 662" anchor="right bottom" onclick="button1_onclick"/>
  150. <Button id="btn_srch1" taborder="19" class="icon_search" position="absolute 443 670 459 686" anchor="left bottom" onclick="btn_srch1_onclick"/>
  151. <Button id="btn_srch2" taborder="20" class="icon_search" position="absolute 443 696 459 712" anchor="left bottom" onclick="btn_srch2_onclick"/>
  152. <Button id="btn_srch3" taborder="21" class="icon_search" position="absolute 443 722 459 738" anchor="left bottom" onclick="btn_srch3_onclick"/>
  153. <Button id="btn_del" taborder="22" text="삭제" class="btn5" position="absolute 1108 643 1150 662" anchor="right bottom" onclick="btn_del_onclick"/>
  154. <Static id="caption20" text="부서별 담당자 관리에서는 각 부서의 담당자와 부서장을 지정하실 수 있습니다." class="hand" position="absolute 325 773 830 790" anchor="left bottom"/>
  155. <Button id="btn_save" taborder="23" text="저장" class="btn4" position="absolute 1081 771 1137 793" anchor="right bottom" onclick="btn_save_onclick"/>
  156. <Button id="btn_clear" taborder="24" text="취소" class="btn4" position="absolute 1139 771 1195 793" anchor="right bottom" onclick="btn_clear_onclick"/>
  157. </Layout>
  158. </Layouts>
  159. <Objects>
  160. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  161. <ColumnInfo>
  162. <Column id="searchterm" type="STRING" size="256"/>
  163. <Column id="searchempnm" type="STRING" size="256"/>
  164. <Column id="searchchfempnm" type="STRING" size="256"/>
  165. <Column id="instcd" type="STRING" size="256"/>
  166. </ColumnInfo>
  167. <Rows>
  168. <Row>
  169. <Col id="searchterm"/>
  170. <Col id="searchempnm"/>
  171. <Col id="searchchfempnm"/>
  172. <Col id="instcd"/>
  173. </Row>
  174. </Rows>
  175. </Dataset>
  176. <Dataset id="ds_main_list_voclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  177. <ColumnInfo>
  178. <Column id="instnm" type="STRING" size="256" sumtext="기관명"/>
  179. <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
  180. <Column id="psnworksupdeptnm" type="STRING" size="256" sumtext="상위부서"/>
  181. <Column id="empnm" type="STRING" size="256" sumtext="담당자"/>
  182. <Column id="emptelno" type="STRING" size="256" sumtext="담당자 전화번호"/>
  183. <Column id="chfempnm" type="STRING" size="256" sumtext="부서장"/>
  184. <Column id="chfdeptnm" type="STRING" size="256" sumtext="부서장부서"/>
  185. <Column id="chfdeptcd" type="STRING" size="256" sumtext="부서장부서코드"/>
  186. <Column id="chfemptelno" type="STRING" size="256" sumtext="부서장전화번호"/>
  187. <Column id="psnworksupdeptcd" type="STRING" size="256" sumtext="인사상위부서"/>
  188. <Column id="empid" type="STRING" size="256" sumtext="담당자ID"/>
  189. <Column id="empmobile" type="STRING" size="256" sumtext="담당자핸드폰"/>
  190. <Column id="chfempid" type="STRING" size="256" sumtext="인사상위부서"/>
  191. <Column id="groupdeptcd" type="STRING" size="256" sumtext="그룹코드"/>
  192. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="등록자"/>
  193. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="수정자"/>
  194. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  195. <Column id="rgstseq" type="INT" size="256" sumtext="등록순서"/>
  196. </ColumnInfo>
  197. </Dataset>
  198. <Dataset id="ds_main_deptdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  199. <ColumnInfo>
  200. <Column id="deptnm" type="STRING" size="256"/>
  201. <Column id="deptcd" type="STRING" size="256"/>
  202. <Column id="psnworksupdeptnm" type="STRING" size="256"/>
  203. <Column id="psnworksupdeptcd" type="STRING" size="256"/>
  204. <Column id="empnm" type="STRING" size="256"/>
  205. <Column id="empid" type="STRING" size="256"/>
  206. <Column id="emptelno" type="STRING" size="256"/>
  207. <Column id="empmobile" type="STRING" size="256"/>
  208. <Column id="chfempnm" type="STRING" size="256"/>
  209. <Column id="chfempid" type="STRING" size="256"/>
  210. <Column id="chfdeptnm" type="STRING" size="256"/>
  211. <Column id="chfdeptcd" type="STRING" size="256"/>
  212. <Column id="chfemptelno" type="STRING" size="256"/>
  213. <Column id="groupdeptcd" type="STRING" size="256"/>
  214. <Column id="fstrgstrnm" type="STRING" size="256"/>
  215. <Column id="lastupdtrnm" type="STRING" size="256"/>
  216. <Column id="rgstseq" type="STRING" size="256"/>
  217. <Column id="savemode" type="STRING" size="256"/>
  218. </ColumnInfo>
  219. <Rows>
  220. <Row>
  221. <Col id="deptnm"/>
  222. <Col id="deptcd"/>
  223. <Col id="psnworksupdeptnm"/>
  224. <Col id="psnworksupdeptcd"/>
  225. <Col id="empnm"/>
  226. <Col id="empid"/>
  227. <Col id="emptelno"/>
  228. <Col id="empmobile"/>
  229. <Col id="chfempnm"/>
  230. <Col id="chfempid"/>
  231. <Col id="chfdeptnm"/>
  232. <Col id="chfdeptcd"/>
  233. <Col id="chfemptelno"/>
  234. <Col id="groupdeptcd"/>
  235. <Col id="fstrgstrnm"/>
  236. <Col id="lastupdtrnm"/>
  237. <Col id="rgstseq"/>
  238. <Col id="savemode">I</Col>
  239. </Row>
  240. </Rows>
  241. </Dataset>
  242. </Objects>
  243. <Bind>
  244. <BindItem id="item0" compid="grp_johe.ipt_searchterm" propid="value" datasetid="ds_send_data" columnid="searchterm"/>
  245. <BindItem id="item1" compid="grp_johe.ipt_searchempnm" propid="value" datasetid="ds_send_data" columnid="searchempnm"/>
  246. <BindItem id="item2" compid="grp_johe.ipt_searchchfempnm" propid="value" datasetid="ds_send_data" columnid="searchchfempnm"/>
  247. <BindItem id="item3" compid="ipt_PatNm" propid="value" datasetid="ds_main_deptdata" columnid="deptnm"/>
  248. <BindItem id="item4" compid="ipt_empnm" propid="value" datasetid="ds_main_deptdata" columnid="empnm"/>
  249. <BindItem id="item5" compid="ipt_chfempnm" propid="value" datasetid="ds_main_deptdata" columnid="chfempnm"/>
  250. <BindItem id="item6" compid="input2" propid="value" datasetid="ds_main_deptdata" columnid="psnworksupdeptnm"/>
  251. <BindItem id="item7" compid="input6" propid="value" datasetid="ds_main_deptdata" columnid="groupdeptcd"/>
  252. <BindItem id="item8" compid="input8" propid="value" datasetid="ds_main_deptdata" columnid="chfdeptnm"/>
  253. <BindItem id="item9" compid="input4" propid="value" datasetid="ds_main_deptdata" columnid="emptelno"/>
  254. <BindItem id="item10" compid="ipt_PID" propid="value" datasetid="ds_main_deptdata" columnid="deptcd"/>
  255. <BindItem id="item11" compid="input5" propid="value" datasetid="ds_main_deptdata" columnid="empmobile"/>
  256. <BindItem id="item12" compid="input9" propid="value" datasetid="ds_main_deptdata" columnid="chfemptelno"/>
  257. <BindItem id="item13" compid="input11" propid="value" datasetid="ds_main_deptdata" columnid="fstrgstrnm"/>
  258. <BindItem id="item14" compid="input12" propid="value" datasetid="ds_main_deptdata" columnid="lastupdtrnm"/>
  259. </Bind>
  260. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  261. * System Name :
  262. * Job Name :
  263. * Creator :
  264. * Make Date : 2016-05-24
  265. * Description :
  266. *---------------------------------------------------------------------------------------
  267. * Modify Date Modifier Modify Description
  268. *---------------------------------------------------------------------------------------
  269. * 2016-05-24 Live Converter TF->XP
  270. *
  271. *---------------------------------------------------------------------------------------
  272. ****************************************************************************************/
  273. include "com_commonxp::comm_main.xjs";
  274. var usernm = "";
  275. function SMCVT00100_oninit(obj:Form, e:InitEventInfo)
  276. {
  277. frmf_initForm(obj);
  278. }
  279. function SMCVT00100_onload(obj:Form, e:LoadEventInfo)
  280. {
  281. grdf_initGrid(grd_voclist);
  282. //사용자 설정
  283. usernm = sysf_getUserInfo("usernm");
  284. ds_main_deptdata.setColumn(0, "fstrgstrnm", usernm);
  285. ds_main_deptdata.setColumn(0, "lastupdtrnm", usernm);
  286. ds_main_list_voclist.clearData();
  287. var oParam = {};
  288. oParam.id = "TRCVT00101";
  289. oParam.service = "vocapp.Voc";
  290. oParam.method = "reqGetChfDeptList";
  291. oParam.inds = "req=ds_send_data";
  292. oParam.outds = "ds_main_list_voclist=voclist";
  293. oParam.async = false;
  294. //oParam.callback = "cf_TRCVT00101";
  295. tranf_submit(oParam);
  296. grd_voclist.setFocus();
  297. fButtonMode();
  298. fCheckAuth();
  299. }
  300. function fButtonMode()
  301. {
  302. var savemode = ds_main_deptdata.getColumn(0, "savemode");
  303. if (savemode == "I")
  304. {
  305. btn_del.enable = false;
  306. }
  307. else
  308. {
  309. btn_del.enable = true;
  310. }
  311. }
  312. function fCheckAuth()
  313. {
  314. if (!frmf_checkAuth("x"))
  315. {
  316. btn_save.enable = false;
  317. }
  318. if (!frmf_checkAuth("p"))
  319. {
  320. btn_excsave.enable = false;
  321. }
  322. }
  323. function grp_johe_ipt_searchterm_onkeyup(obj:Edit, e:KeyEventInfo)
  324. {
  325. if(e.keycode == 13)
  326. {
  327. obj.updateToDataset();
  328. grp_johe.btn_search.click();
  329. }
  330. }
  331. function grp_johe_ipt_searchempnm_onkeyup(obj:Edit, e:KeyEventInfo)
  332. {
  333. if(e.keycode == 13)
  334. {
  335. obj.updateToDataset();
  336. grp_johe.btn_search.click();
  337. }
  338. }
  339. function grp_johe_ipt_searchchfempnm_onkeyup(obj:Edit, e:KeyEventInfo)
  340. {
  341. if(e.keycode == 13)
  342. {
  343. obj.updateToDataset();
  344. grp_johe.btn_search.click();
  345. }
  346. }
  347. function grp_johe_btn_search_onclick(obj:Button, e:ClickEventInfo)
  348. {
  349. if ( String(utlf_transNullToEmpty(grp_johe.ipt_searchterm.value)).length > 0 && String(utlf_transNullToEmpty(grp_johe.ipt_searchterm.value)).length < 2)
  350. {
  351. sysf_messageBox("부서명 검색은 최소 2글자 이상 ", "C001");
  352. grp_johe.ipt_searchempnm.setFocus();
  353. }
  354. else if ( String(utlf_transNullToEmpty(grp_johe.ipt_searchempnm.value)).length > 0 && String(utlf_transNullToEmpty(grp_johe.ipt_searchempnm.value)).length < 2)
  355. {
  356. sysf_messageBox("담당자 이름 검색은 최소 2글자 이상 ", "C001");
  357. grp_johe.ipt_searchempnm.setFocus();
  358. }
  359. else if ( String(utlf_transNullToEmpty(grp_johe.ipt_searchchfempnm.value)).length > 0 && String(utlf_transNullToEmpty(grp_johe.ipt_searchchfempnm.value)).length < 2)
  360. {
  361. sysf_messageBox("부서장 이름 검색은 최소 2글자 이상 ", "C001");
  362. grp_johe.ipt_searchchfempnm.setFocus();
  363. }
  364. else
  365. {
  366. fSetNewMsg();
  367. ds_main_list_voclist.clearData();
  368. var oParam = {};
  369. oParam.id = "TRCVT00101";
  370. oParam.service = "vocapp.Voc";
  371. oParam.method = "reqGetChfDeptList";
  372. oParam.inds = "req=ds_send_data";
  373. oParam.outds = "ds_main_list_voclist=voclist";
  374. oParam.async = false;
  375. //oParam.callback = "cf_TRCVT00101";
  376. tranf_submit(oParam);
  377. grd_voclist.setFocus();
  378. }
  379. }
  380. function fSetNewMsg()
  381. {
  382. ds_main_deptdata.setColumn(0, "deptcd", "");
  383. ds_main_deptdata.setColumn(0, "deptnm", "");
  384. ds_main_deptdata.setColumn(0, "empid", "");
  385. ds_main_deptdata.setColumn(0, "empnm", "");
  386. ds_main_deptdata.setColumn(0, "emptelno", "");
  387. ds_main_deptdata.setColumn(0, "empmobile", "");
  388. ds_main_deptdata.setColumn(0, "chfempid", "");
  389. ds_main_deptdata.setColumn(0, "chfempnm", "");
  390. ds_main_deptdata.setColumn(0, "chfdeptcd", "");
  391. ds_main_deptdata.setColumn(0, "chfdeptnm", "");
  392. ds_main_deptdata.setColumn(0, "chfemptelno", "");
  393. ds_main_deptdata.setColumn(0, "groupdeptcd", "");
  394. ds_main_deptdata.setColumn(0, "rgstseq", "");
  395. ds_main_deptdata.setColumn(0, "fstrgstrnm", usernm);
  396. ds_main_deptdata.setColumn(0, "lastupdtrnm", usernm);
  397. }
  398. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  399. {
  400. grdf_exportExcel(grd_voclist, "부서별담당자엑셀", "Sheet1", "true", "", "");
  401. }
  402. function grd_voclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  403. {
  404. var row = ds_main_list_voclist.rowposition;
  405. var deptnm = ds_main_list_voclist.getColumn(row, "deptnm");
  406. var deptcd = ds_main_list_voclist.getColumn(row, "deptcd");
  407. var empnm = ds_main_list_voclist.getColumn(row, "empnm");
  408. var empid = ds_main_list_voclist.getColumn(row, "empid");
  409. var emptelno = ds_main_list_voclist.getColumn(row, "emptelno");
  410. var empmobile = ds_main_list_voclist.getColumn(row, "empmobile");
  411. var chfempnm = ds_main_list_voclist.getColumn(row, "chfempnm");
  412. var chfempid = ds_main_list_voclist.getColumn(row, "chfempid");
  413. var chfdeptnm = ds_main_list_voclist.getColumn(row, "chfdeptnm");
  414. var chfdeptcd = ds_main_list_voclist.getColumn(row, "chfdeptcd");
  415. var chfemptelno = ds_main_list_voclist.getColumn(row, "chfemptelno");
  416. var psnworksupdeptnm = ds_main_list_voclist.getColumn(row, "psnworksupdeptnm");
  417. var psnworksupdeptcd = ds_main_list_voclist.getColumn(row, "psnworksupdeptcd");
  418. var groupdeptcd = ds_main_list_voclist.getColumn(row, "groupdeptcd");
  419. var fstrgstrnm = ds_main_list_voclist.getColumn(row, "fstrgstrnm");
  420. var lastupdtrnm = ds_main_list_voclist.getColumn(row, "lastupdtrnm");
  421. var rgstseq = ds_main_list_voclist.getColumn(row, "rgstseq");
  422. if (row >= 0)
  423. {
  424. ds_main_deptdata.setColumn(0, "deptnm", deptnm);
  425. ds_main_deptdata.setColumn(0, "deptcd", deptcd);
  426. ds_main_deptdata.setColumn(0, "psnworksupdeptnm", psnworksupdeptnm);
  427. ds_main_deptdata.setColumn(0, "psnworksupdeptcd", psnworksupdeptcd);
  428. ds_main_deptdata.setColumn(0, "empnm", empnm);
  429. ds_main_deptdata.setColumn(0, "empid", empid);
  430. ds_main_deptdata.setColumn(0, "emptelno", emptelno);
  431. ds_main_deptdata.setColumn(0, "empmobile", empmobile);
  432. ds_main_deptdata.setColumn(0, "chfempnm", chfempnm);
  433. ds_main_deptdata.setColumn(0, "chfempid", chfempid);
  434. ds_main_deptdata.setColumn(0, "chfdeptnm", chfdeptnm);
  435. ds_main_deptdata.setColumn(0, "chfdeptcd", chfdeptcd);
  436. ds_main_deptdata.setColumn(0, "chfemptelno", chfemptelno);
  437. ds_main_deptdata.setColumn(0, "groupdeptcd", groupdeptcd);
  438. ds_main_deptdata.setColumn(0, "fstrgstrnm", fstrgstrnm);
  439. ds_main_deptdata.setColumn(0, "lastupdtrnm", lastupdtrnm);
  440. ds_main_deptdata.setColumn(0, "rgstseq", rgstseq);
  441. btn_save.enable = true;
  442. ds_main_deptdata.setColumn(0, "savemode", "U");
  443. }
  444. fButtonMode();
  445. }
  446. function ipt_PatNm_onkeyup(obj:Edit, e:KeyEventInfo)
  447. {
  448. if(e.keycode == 13)
  449. {
  450. obj.updateToDataset();
  451. btn_srch1.click();
  452. }
  453. }
  454. function btn_srch1_onclick(obj:Button, e:ClickEventInfo)
  455. {
  456. var search_term = ds_main_deptdata.getColumn(0, "deptnm");
  457. var search_condition = "deptnm";
  458. var mode = "B"
  459. frmf_setParameter("search_term", search_term);
  460. frmf_setParameter("search_condition", search_condition);
  461. frmf_setParameter("mode", mode);
  462. var rtn = frmf_modal("SPCVO00600", "SPCVO00600", "", "", "", "", "", "", "", "", "", "", "M");
  463. ds_main_deptdata.setColumn(0, "deptcd", rtn.deptcd);
  464. ds_main_deptdata.setColumn(0, "deptnm", rtn.deptnm);
  465. ds_main_deptdata.setColumn(0, "psnworksupdeptnm", rtn.psnworksupdeptnm);
  466. ds_main_deptdata.setColumn(0, "psnworksupdeptcd", rtn.psnworksupdeptcd);
  467. frmf_clearParameter("search_term");
  468. frmf_clearParameter("search_condition");
  469. frmf_clearParameter("mode");
  470. }
  471. function ipt_empnm_onkeyup(obj:Edit, e:KeyEventInfo)
  472. {
  473. if(e.keycode == 13)
  474. {
  475. obj.updateToDataset();
  476. btn_srch2.click();
  477. }
  478. }
  479. function btn_srch2_onclick(obj:Button, e:ClickEventInfo)
  480. {
  481. var search_term = ds_main_deptdata.getColumn(0, "empnm");
  482. var search_condition = "empnm";
  483. var mode = "B";
  484. frmf_setParameter("search_condition", search_condition);
  485. frmf_setParameter("search_term", search_term);
  486. frmf_setParameter("mode", mode);
  487. var rtn = frmf_modal("SPCVO00700", "SPCVO00700", "", "", "", "", "", "", "", "", "", "", "M");
  488. ds_main_deptdata.setColumn(0, "empid", rtn.empid);
  489. ds_main_deptdata.setColumn(0, "empnm", rtn.empnm);
  490. ds_main_deptdata.setColumn(0, "deptcd", rtn.deptcd);
  491. ds_main_deptdata.setColumn(0, "deptnm", rtn.deptnm);
  492. ds_main_deptdata.setColumn(0, "emptelno", rtn.cntctel);
  493. ds_main_deptdata.setColumn(0, "empmobile", rtn.mpphonno);
  494. ds_main_deptdata.setColumn(0, "psnworksupdeptnm", rtn.psnworksupdeptnm);
  495. ds_main_deptdata.setColumn(0, "psnworksupdeptcd", rtn.psnworksupdeptcd);
  496. frmf_clearParameter("search_condition");
  497. frmf_clearParameter("search_term");
  498. frmf_clearParameter("mode");
  499. }
  500. function ipt_chfempnm_onkeyup(obj:Edit, e:KeyEventInfo)
  501. {
  502. if(e.keycode == 13)
  503. {
  504. obj.updateToDataset();
  505. btn_srch3.click();
  506. }
  507. }
  508. function btn_srch3_onclick(obj:Button, e:ClickEventInfo)
  509. {
  510. var search_term = ds_main_deptdata.getColumn(0, "chfempnm");
  511. var search_condition = "empnm";
  512. var mode = "C";
  513. frmf_setParameter("search_condition", search_condition);
  514. frmf_setParameter("search_term", search_term);
  515. frmf_setParameter("mode", mode);
  516. var rtn = frmf_modal("SPCVO00700", "SPCVO00700", "", "", "", "", "", "", "", "", "", "", "M");
  517. ds_main_deptdata.setColumn(0, "chfempid", rtn.empid);
  518. ds_main_deptdata.setColumn(0, "chfempnm", rtn.empnm);
  519. ds_main_deptdata.setColumn(0, "chfdeptcd", rtn.deptcd);
  520. ds_main_deptdata.setColumn(0, "chfdeptnm", rtn.deptnm);
  521. ds_main_deptdata.setColumn(0, "chfemptelno", rtn.cntctel);
  522. frmf_clearParameter("search_condition");
  523. frmf_clearParameter("search_term");
  524. frmf_clearParameter("mode");
  525. }
  526. function btn_popVOC_onclick(obj:Button, e:ClickEventInfo)
  527. {
  528. }
  529. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  530. {
  531. ds_main_deptdata.setColumn(0, "savemode", "D");
  532. var oParam = {};
  533. oParam.id = "TXCVT00101";
  534. oParam.service = "vocapp.Voc";
  535. oParam.method = "reqStoreVOCDeptAdtlData";
  536. oParam.inds = "req=ds_main_deptdata";
  537. oParam.outds = "";
  538. oParam.async = false;
  539. oParam.callback = "cf_TXCVT00101";
  540. tranf_submit(oParam);
  541. fSetNewMsg();
  542. }
  543. function cf_TXCVT00101(sSvcId, nErrorCode, sErrorMsg)
  544. {
  545. if(nErrorCode < 0) return;
  546. else
  547. {
  548. sysf_messageBox("담당자 삭제가 ", "I002");
  549. }
  550. }
  551. function button1_onclick(obj:Button, e:ClickEventInfo)
  552. {
  553. fSetNewMsg();
  554. fButtonMode();
  555. }
  556. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  557. {
  558. var deptcd = ds_main_deptdata.getColumn(0, "deptcd");
  559. var empid = ds_main_deptdata.getColumn(0, "empid");
  560. var chfempid = ds_main_deptdata.getColumn(0, "chfempid");
  561. if (utlf_isNull(deptcd))
  562. {
  563. sysf_messageBox("부서명을 ", "C001");
  564. ipt_PatNm.setFocus();
  565. }
  566. else if (utlf_isNull(empid))
  567. {
  568. sysf_messageBox("담당자명을 ", "C001");
  569. ipt_empnm.setFocus();
  570. }
  571. else if (utlf_isNull(chfempid))
  572. {
  573. sysf_messageBox("부서장명을 ", "C001");
  574. ipt_chfempnm.setFocus();
  575. }
  576. else
  577. {
  578. var oParam = {};
  579. oParam.id = "TXCVT00101";
  580. oParam.service = "vocapp.Voc";
  581. oParam.method = "reqStoreVOCDeptAdtlData";
  582. oParam.inds = "req=ds_main_deptdata";
  583. oParam.outds = "";
  584. oParam.async = false;
  585. oParam.callback = "cf_TXCVT00101_1";
  586. tranf_submit(oParam);
  587. fSetNewMsg();
  588. }
  589. }
  590. function cf_TXCVT00101_1(sSvcId, nErrorCode, sErrorMsg)
  591. {
  592. if(nErrorCode < 0) return;
  593. else sysf_messageBox("담당자 입력이 ", "I002");
  594. }
  595. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  596. {
  597. fInitControl();
  598. }
  599. ]]></Script>
  600. </Form>
  601. </FDL>