SMCVO01100_VOC접수내용.xfdl 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMCVO01100" position="absolute 0 0 1200 796" titletext="VOC회신요청" oninit="SMCVO01100_oninit" onload="SMCVO01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <MaskEdit id="opt_ReplReq" taborder="26" readonly="true" mask="####-##-##" visible="false" position="absolute 1083 451 1193 470" anchor="left bottom" style="align:left middle;"/>
  8. <Div position="absolute 365 0 1195 26" id="group2" scrollbars="autoboth" class="div_SA2" anchor="top right">
  9. <Layouts>
  10. <Layout>
  11. <Static text="접수" position="absolute 10 5 65 22" id="caption8" class="hand"/>
  12. <Static text="/ 접수취소 / 자체처리 -&gt; 회신요청 -&gt; 부서처리중 -&gt; 부서회신 -&gt; 종결 / 임의종결 -&gt; 승인요청 -&gt; 부서장승인 -&gt; 고객회신 -&gt; 처리완료" position="absolute 64 5 817 22" id="caption9"/>
  13. </Layout>
  14. </Layouts>
  15. </Div>
  16. <Div position="absolute 0 39 215 783" id="import1" url="./SSCVO00100_LeftTree.xfdl" anchor="left top bottom"/>
  17. <Static id="caption1" text="VOC 회신요청" class="tit_1" position="absolute 0 0 162 24"/>
  18. <Static id="caption23" text="등록된 접수내역" class="tit_2" position="absolute 224 23 343 44"/>
  19. <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 224 66 1190 72" anchor="left top right"/>
  20. <Static id="caption24" text="접수일자" class="cell_1" position="absolute 224 44 329 67" style="padding:0 0 0 0;align:center middle;"/>
  21. <Static id="caption25" text="접수번호" class="cell_1" position="absolute 465 44 570 67" style="padding:0 0 0 0;align:center middle;"/>
  22. <Static id="caption5" text="발생일자" class="cell_1" position="absolute 707 44 812 67" style="padding:0 0 0 0;align:center middle;"/>
  23. <Static id="caption6" text="접수구분" class="cell_1" position="absolute 947 44 1052 67" style="padding:0 0 0 0;align:center middle;"/>
  24. <Shape id="line10" linetype="horizontal" class="line_2" position="absolute 224 92 1194 98" anchor="left top right"/>
  25. <Static id="caption28" text="접수유형" class="cell_1" position="absolute 224 70 329 93" style="padding:0 0 0 0;align:center middle;"/>
  26. <Static id="caption3" text="등록번호" class="cell_1" position="absolute 707 70 812 93" style="padding:0 0 0 0;align:center middle;"/>
  27. <Static id="caption4" text="환자명" class="cell_1" position="absolute 947 70 1052 93" style="padding:0 0 0 0;align:center middle;"/>
  28. <Shape id="line12" linetype="horizontal" class="line_2" position="absolute 224 190 1194 196" anchor="left right bottom"/>
  29. <Static id="caption29" text="민원이 제기된&#13;&#10;부서 및 직원" class="cell_1" position="absolute 224 96 329 191" style="padding:0 0 0 0;align:center middle;" anchor="left top bottom"/>
  30. <Grid id="grd_dept" taborder="10" binddataset="ds_main_vocdata_deptview" useinputpanel="false" position="absolute 332 97 782 190" autoenter="select" cellsizingtype="col" anchor="all">
  31. <Formats>
  32. <Format id="default">
  33. <Columns>
  34. <Column size="25"/>
  35. <Column size="225"/>
  36. <Column size="0"/>
  37. <Column size="100"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. </Columns>
  41. <Rows>
  42. <Row size="24" band="head"/>
  43. <Row size="24"/>
  44. </Rows>
  45. <Band id="head">
  46. <Cell/>
  47. <Cell col="1" text="해당부서"/>
  48. <Cell col="2" text="부서코드"/>
  49. <Cell col="3" text="해당직원"/>
  50. <Cell col="4" text="직원ID"/>
  51. <Cell col="5" text="등록순서"/>
  52. </Band>
  53. <Band id="body">
  54. <Cell celltype="head" expr="currow+1"/>
  55. <Cell col="1" style="align:center middle;" class="text_center" text="bind:deptnm"/>
  56. <Cell col="2" style="align:center middle;" class="text_center" text="bind:deptcd"/>
  57. <Cell col="3" style="align:center middle;" class="text_center" text="bind:empnm"/>
  58. <Cell col="4" class="text_center" text="bind:empid"/>
  59. <Cell col="5" text="bind:rgstseq"/>
  60. </Band>
  61. </Format>
  62. </Formats>
  63. </Grid>
  64. <CheckBox id="chk_allopen" taborder="11" visible="false" position="absolute 907 128 1048 147" text="모든 부서에 내용 공개" truevalue="Y" anchor="top right" onclick="chk_allopen_onclick"/>
  65. <CheckBox id="chk_deptpidopen" taborder="12" visible="false" position="absolute 1053 128 1189 147" text="부서에 환자정보 공개" truevalue="Y" anchor="top right" onclick="chk_deptpidopen_onclick"/>
  66. <Static id="caption15" text="등록자" position="absolute 897 170 937 187" anchor="top right"/>
  67. <Edit id="opt_fstrgstrnm" taborder="13" readonly="true" position="absolute 943 169 1023 188" anchor="top right" style="align:center middle;"/>
  68. <Static id="caption2" text="최종수정자" position="absolute 1032 170 1097 187" anchor="top right"/>
  69. <Edit id="opt_lastupdtrnm" taborder="14" readonly="true" position="absolute 1099 169 1192 188" anchor="top right" style="align:center middle;"/>
  70. <Shape id="line13" linetype="horizontal" class="line_2" position="absolute 224 216 1194 222" anchor="left right bottom"/>
  71. <Static id="caption33" text="제 목" class="cell_1" position="absolute 224 194 329 217" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  72. <Shape id="line14" linetype="horizontal" class="line_3" position="absolute 224 406 1194 412" anchor="left right bottom"/>
  73. <Static id="caption34" text="민원 내용" class="cell_1" position="absolute 224 220 329 407" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  74. <TextArea id="tar_AcptCnts" taborder="16" class="input_essential" position="absolute 332 222 1195 405" wordwrap="word" autoselect="true" anchor="left right bottom" style="padding:3 5 0 8;"/>
  75. <Shape id="line16" linetype="vertical" position="absolute 811 222 817 405" anchor="left bottom"/>
  76. <Button id="btn_popCustomer" taborder="17" text="접수고객정보 수정" class="btn5" enable="false" position="absolute 1074 102 1193 121" anchor="top right" onclick="btn_popCustomer_onclick"/>
  77. <Button id="btn_refresh" taborder="18" text="추가요청 사유" class="btn2" visible="false" position="absolute 789 104 886 123" anchor="top right" onclick="btn_refresh_onclick"/>
  78. <Shape id="line8" linetype="horizontal" class="line_10" position="absolute 224 39 1194 45" anchor="left top right"/>
  79. <Button id="button4" taborder="19" text="민원내용 출력" class="btn4" position="absolute 958 413 1074 435" anchor="right bottom" onclick="button4_onclick"/>
  80. <Button id="button3" taborder="20" text="민원내용 수정" class="btn4" position="absolute 1077 413 1193 435" anchor="right bottom" onclick="button3_onclick"/>
  81. <Static id="caption11" text="답변 처리내용" class="tit_2" position="absolute 224 428 568 450" anchor="left bottom"/>
  82. <Shape id="line5" class="line_10" position="absolute 224 444 1194 450" anchor="left right bottom"/>
  83. <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 224 471 1194 477" anchor="left right bottom"/>
  84. <Static id="caption13" text="처리부서" class="cell_1" position="absolute 224 449 329 472" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  85. <Static id="caption14" text="부서관리자" class="cell_1" position="absolute 510 449 615 472" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  86. <Edit id="ipt_DeptNm" taborder="21" readonly="true" position="absolute 332 451 502 470" anchor="left bottom"/>
  87. <Edit id="ipt_DeptCd" taborder="22" readonly="true" visible="false" position="absolute 402 451 502 470" anchor="left bottom"/>
  88. <Button id="btnsearch_emp" taborder="23" class="icon_search" position="absolute 742 451 758 467" anchor="left bottom" onclick="btnsearch_emp_onclick"/>
  89. <Edit id="ipt_EmpNm" taborder="24" class="input_essential" position="absolute 618 451 738 470" anchor="left bottom"/>
  90. <Edit id="ipt_EmpId" taborder="25" readonly="true" visible="false" position="absolute 1083 451 1183 470"/>
  91. <Shape id="line11" linetype="vertical" class="line_3" position="absolute 224 739 1194 745"/>
  92. <Static id="caption19" text="답변내용" class="cell_1" position="absolute 224 475 329 749" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  93. <TextArea id="tar_Cnts" taborder="27" class="input_essential" position="absolute 332 477 1194 748" autoselect="true" wordwrap="word" anchor="left bottom" style="padding:3 5 0 8;"/>
  94. <Calendar id="input1" taborder="28" position="absolute 840 451 940 470" anchor="left bottom"/>
  95. <Static id="caption7" text="처리일자" class="cell_1" position="absolute 767 449 837 472" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  96. <CheckBox id="checkbox1" taborder="29" position="absolute 944 452 1084 468" text="홈페이지에 답변 전송" truevalue="Y" anchor="left bottom" onclick="checkbox1_onclick"/>
  97. <Button id="btn_list" taborder="30" text="목록" class="btn3" position="absolute 224 757 280 779" anchor="left bottom" onclick="btn_list_onclick"/>
  98. <Static id="caption10" text="내용 가운데 있는 점선(- - -)은 보고서 출력시 다음 줄로 넘어가는 기준선입니다." class="hand" position="absolute 324 762 844 779" anchor="left bottom"/>
  99. <Button id="btn_req" taborder="31" text="회신요청" class="btn4" visible="false" position="absolute 1040 757 1120 779" anchor="right bottom" onclick="btn_req_onclick"/>
  100. <Button id="btn_clear" taborder="32" text="취소" class="btn4" visible="false" position="absolute 1138 757 1194 779" anchor="right bottom" onclick="btn_clear_onclick"/>
  101. <Button id="button1" taborder="33" text="접수 취소" class="btn4" position="absolute 1029 757 1113 779" anchor="right bottom" onclick="button1_onclick"/>
  102. <Button id="button2" taborder="34" text="자체처리" class="btn4" position="absolute 1114 757 1194 779" anchor="right bottom" onclick="button2_onclick"/>
  103. <Edit id="opt_AcptNo" taborder="36" readonly="true" oneditclick="ipt_CintNm00_oneditclick" position="absolute 573 46 703 65"/>
  104. <Calendar id="ipt_AcptViewDD" taborder="37" autoselect="true" readonly="true" position="absolute 332 46 462 65" mask="yyyy-mm-dd"/>
  105. <MaskEdit id="ipt_GenrDD" taborder="38" readonly="true" type="string" mask="####-##-##" maskchar=" " trimtype="both" position="absolute 815 46 945 65" style="align:left middle;"/>
  106. <Combo id="cmb_AcptType" taborder="39" innerdataset="ds_init_C0001list_C0001" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" enable="false" position="absolute 1056 46 1194 65"/>
  107. <Edit id="output1" taborder="40" readonly="true" position="absolute 1056 72 1194 91"/>
  108. <Edit id="ipt_CintNm" taborder="41" readonly="true" position="absolute 815 72 945 91"/>
  109. <Combo id="cmb_AcptKindSml" taborder="42" innerdataset="ds_init_C0005list_C0005" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 576 72 703 91"/>
  110. <Combo id="cmb_AcptKindMdl" taborder="43" innerdataset="ds_init_C0004list_C0004" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 454 72 574 91"/>
  111. <Combo id="cmb_AcptKindLrg" taborder="44" innerdataset="ds_init_C0003list_C0003" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 332 72 452 91"/>
  112. <Edit id="ipt_AcptTitl" taborder="45" readonly="true" autoselect="true" position="absolute 332 196 1194 215" anchor="left right bottom"/>
  113. <Button id="btn_cap" taborder="46" ondblclick="btn_cap_ondblclick" position="absolute 226 221 327 403" style="background:transparent;border:2 none #33bbbbff #effcfbff;padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  114. <Button id="btn_cap19" taborder="47" position="absolute 227 477 328 747" style="background:transparent;border:2 none #33bbbbff #effcfbff;padding:0 0 0 0;align:center middle;" ondblclick="btn_cap19_ondblclick" onclick="btn_cap19_onclick" anchor="left bottom"/>
  115. <Div id="rndrctlgnd" anchor="left bottom" taborder="48" class="div_SA2" position="absolute 14 539 193 765">
  116. <Layouts>
  117. <Layout>
  118. <Static id="caption50" text="VOC 진행 프로세스" class="hand" position="absolute 14 13 158 33"/>
  119. <Static id="caption51" text="(1) 접수" position="absolute 32 37 91 53" tooltiptext="민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인 &#13;&#10; 정보와 함께 접수 등록을 하게 되면【접수】상태가 된다. " style="font:Dotum,9,bold;"/>
  120. <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;"/>
  121. <Static id="caption53" text="(3) 부서처리중" position="absolute 32 69 147 84" tooltiptext="각 부서 담당자가 &quot;회신요청&quot;된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』 &#13;&#10; 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다." style="font:Dotum,9,bold;"/>
  122. <Static id="caption54" text="(4) 부서회신" position="absolute 32 85 147 101" tooltiptext=" 각 부서 담당자가 &quot;부서처리중&quot;인 VOC에 대하여 실제 업무처리를 하고 &#13;&#10; 부서장에게 결재 요청을 하고 난 뒤 부서장의 결재를 받아 부서 담당자가 &#13;&#10; 민원담당부서 담당자에게 회신하게 되면【부서회신】상태가 된다. " style="font:Dotum,9,bold;"/>
  123. <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;"/>
  124. <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;"/>
  125. <Static id="caption57" text="(7) 부서장승인" position="absolute 32 133 147 149" tooltiptext="민원담당부서장은 &quot;승인요청&quot;인 VOC에 대하여 고객 회신을 &#13;&#10; 위한 부서장 승인을 하면【부서장승인】상태가 된다. " style="font:Dotum,9,bold;"/>
  126. <Static id="caption58" text="(8) 고객회신" position="absolute 32 149 147 165" tooltiptext="민원담당부서 담당자가 부서장 승인을 받은 VOC에 대하여 &#13;&#10; 민원인에게 그 결과를 알려주고 경과 내용을 입력하고 &#13;&#10; 고객회신 완료 버튼을 누르게 되면【고객회신】상태가 된다." style="font:Dotum,9,bold;"/>
  127. <Static id="caption59" text="(9) 처리완료" position="absolute 32 165 147 181" tooltiptext="민원담당부서 담당자가 &quot;고객회신&quot;인 VOC에 대하여 처리 경과 등 처리내용을 &#13;&#10; 적은 후 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리하여야 하는지 &#13;&#10; 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다. " style="font:Dotum,9,bold;"/>
  128. <Static id="caption60" text=" * 접수취소" position="absolute 38 185 153 200" tooltiptext=" &quot;접수&quot;된 VOC는 &quot;회신 요청&quot;을 하기 전에 &quot;접수 취소&quot;를 할 수 있다. 하지만 이미 &#13;&#10; 프로세스가 진행되어 담당부서로 요청한 경우에는 접수 취소를 할 수 없게 된다."/>
  129. <Static id="caption61" text=" * 자체처리" position="absolute 38 201 153 216" tooltiptext="&quot;접수&quot;된 VOC는 &quot;회신 요청&quot;을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다. &#13;&#10; 하지만 이미 프로세스가 진행되어 담당부서로 요청한 경우에는 자체처리를 할 수 없게 된다. "/>
  130. </Layout>
  131. </Layouts>
  132. </Div>
  133. </Layout>
  134. </Layouts>
  135. <Objects>
  136. <Dataset id="ds_main_vocdata_accept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  137. <ColumnInfo>
  138. <Column id="pid" type="STRING" size="256"/>
  139. <Column id="patnm" type="STRING" size="256"/>
  140. <Column id="acptseq" type="STRING" size="256"/>
  141. <Column id="acptdd" type="STRING" size="256"/>
  142. <Column id="genrdd" type="STRING" size="256"/>
  143. <Column id="acpttype" type="STRING" size="256"/>
  144. <Column id="prcsstatcd" type="STRING" size="256"/>
  145. <Column id="acptkindlrg" type="STRING" size="256"/>
  146. <Column id="acptkindmdl" type="STRING" size="256"/>
  147. <Column id="acptkindsml" type="STRING" size="256"/>
  148. <Column id="acpttitl" type="STRING" size="256"/>
  149. <Column id="acptcnts" type="STRING" size="256"/>
  150. <Column id="acpviewdd" type="STRING" size="256"/>
  151. <Column id="openallyn" type="STRING" size="256"/>
  152. <Column id="deptpidopenyn" type="STRING" size="256"/>
  153. <Column id="fstrgstrnm" type="STRING" size="256"/>
  154. <Column id="lastupdtrnm" type="STRING" size="256"/>
  155. </ColumnInfo>
  156. <Rows>
  157. <Row>
  158. <Col id="pid"/>
  159. <Col id="patnm"/>
  160. <Col id="acptseq"/>
  161. <Col id="acptdd"/>
  162. <Col id="genrdd"/>
  163. <Col id="acpttype"/>
  164. <Col id="prcsstatcd"/>
  165. <Col id="acptkindlrg"/>
  166. <Col id="acptkindmdl"/>
  167. <Col id="acptkindsml"/>
  168. <Col id="acpttitl"/>
  169. <Col id="acptcnts"/>
  170. <Col id="acpviewdd"/>
  171. <Col id="openallyn"/>
  172. <Col id="deptpidopenyn"/>
  173. <Col id="fstrgstrnm"/>
  174. <Col id="lastupdtrnm"/>
  175. </Row>
  176. </Rows>
  177. </Dataset>
  178. <Dataset id="ds_main_reqdata_area" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="reqdeptnm" type="STRING" size="256"/>
  181. <Column id="reqdeptcd" type="STRING" size="256"/>
  182. <Column id="reqempnm" type="STRING" size="256"/>
  183. <Column id="reqempid" type="STRING" size="256"/>
  184. <Column id="reqreplreqdd" type="STRING" size="256"/>
  185. <Column id="reqcsteamreqcnts" type="STRING" size="256"/>
  186. <Column id="reqacptdd" type="STRING" size="256"/>
  187. <Column id="reqacptseq" type="STRING" size="256"/>
  188. <Column id="reqrgstseq" type="STRING" size="256"/>
  189. <Column id="enderqdd" type="STRING" size="256"/>
  190. <Column id="hompanswyn" type="STRING" size="256"/>
  191. </ColumnInfo>
  192. <Rows>
  193. <Row>
  194. <Col id="reqdeptnm"/>
  195. <Col id="reqdeptcd"/>
  196. <Col id="reqempnm"/>
  197. <Col id="reqempid"/>
  198. <Col id="reqreplreqdd"/>
  199. <Col id="reqcsteamreqcnts"/>
  200. <Col id="reqacptdd"/>
  201. <Col id="reqacptseq"/>
  202. <Col id="reqrgstseq"/>
  203. <Col id="enderqdd"/>
  204. <Col id="hompanswyn"/>
  205. </Row>
  206. </Rows>
  207. </Dataset>
  208. <Dataset id="ds_init_C0001list_C0001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  209. <Dataset id="ds_init_C0003list_C0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  210. <Dataset id="ds_init_C0004list_C0004" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  211. <Dataset id="ds_init_C0005list_C0005" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  212. <Dataset id="ds_main_vocdata_deptview" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  213. <ColumnInfo>
  214. <Column id="deptnm" type="STRING" size="256" sumtext="해당부서"/>
  215. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  216. <Column id="empnm" type="STRING" size="256" sumtext="해당직원"/>
  217. <Column id="empid" type="STRING" size="256" sumtext="직원id"/>
  218. <Column id="rgstseq" type="STRING" size="256" sumtext="등록순서"/>
  219. </ColumnInfo>
  220. </Dataset>
  221. <Dataset id="ds_main_temp_key" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  222. <ColumnInfo>
  223. <Column id="sndacptdd" type="STRING" size="256"/>
  224. <Column id="sndacptseq" type="STRING" size="256"/>
  225. <Column id="sndrgstseq" type="STRING" size="256"/>
  226. <Column id="sndexeflag" type="STRING" size="256"/>
  227. <Column id="sndmodifyflag" type="STRING" size="256"/>
  228. <Column id="snddeptaddflag" type="STRING" size="256"/>
  229. <Column id="deptnm" type="STRING" size="256"/>
  230. </ColumnInfo>
  231. <Rows>
  232. <Row>
  233. <Col id="sndacptdd"/>
  234. <Col id="sndacptseq"/>
  235. <Col id="sndrgstseq"/>
  236. <Col id="sndexeflag"/>
  237. <Col id="sndmodifyflag"/>
  238. <Col id="snddeptaddflag"/>
  239. <Col id="deptnm"/>
  240. </Row>
  241. </Rows>
  242. </Dataset>
  243. <Dataset id="ds_main_vocdata_area" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  244. <ColumnInfo>
  245. <Column id="deptnm" type="STRING" size="256" sumtext="해당부서"/>
  246. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  247. <Column id="empnm" type="STRING" size="256" sumtext="해당직원"/>
  248. <Column id="empid" type="STRING" size="256" sumtext="직원id"/>
  249. </ColumnInfo>
  250. </Dataset>
  251. <Dataset id="ds_main_vocpopup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  252. <ColumnInfo>
  253. <Column id="title" type="STRING" size="256"/>
  254. <Column id="contents" type="STRING" size="256"/>
  255. <Column id="inputmode" type="STRING" size="256"/>
  256. <Column id="receive_path" type="STRING" size="256"/>
  257. </ColumnInfo>
  258. <Rows>
  259. <Row>
  260. <Col id="title"/>
  261. <Col id="contents"/>
  262. <Col id="inputmode"/>
  263. <Col id="receive_path"/>
  264. </Row>
  265. </Rows>
  266. </Dataset>
  267. </Objects>
  268. <Bind>
  269. <BindItem id="item1" compid="opt_AcptNo" propid="value" datasetid="ds_main_vocdata_accept" columnid="acptseq"/>
  270. <BindItem id="item0" compid="ipt_AcptViewDD" propid="value" datasetid="ds_main_vocdata_accept" columnid="acptdd"/>
  271. <BindItem id="item2" compid="ipt_GenrDD" propid="value" datasetid="ds_main_vocdata_accept" columnid="genrdd"/>
  272. <BindItem id="item3" compid="cmb_AcptType" propid="value" datasetid="ds_main_vocdata_accept" columnid="acpttype"/>
  273. <BindItem id="item8" compid="output1" propid="value" datasetid="ds_main_vocdata_accept" columnid="patnm"/>
  274. <BindItem id="item7" compid="ipt_CintNm" propid="value" datasetid="ds_main_vocdata_accept" columnid="pid"/>
  275. <BindItem id="item4" compid="cmb_AcptKindSml" propid="value" datasetid="ds_main_vocdata_accept" columnid="acptkindsml"/>
  276. <BindItem id="item5" compid="cmb_AcptKindMdl" propid="value" datasetid="ds_main_vocdata_accept" columnid="acptkindmdl"/>
  277. <BindItem id="item6" compid="cmb_AcptKindLrg" propid="value" datasetid="ds_main_vocdata_accept" columnid="acptkindlrg"/>
  278. <BindItem id="item9" compid="ipt_AcptTitl" propid="value" datasetid="ds_main_vocdata_accept" columnid="acpttitl"/>
  279. <BindItem id="item10" compid="tar_AcptCnts" propid="value" datasetid="ds_main_vocdata_accept" columnid="acptcnts"/>
  280. <BindItem id="item11" compid="ipt_DeptNm" propid="value" datasetid="ds_main_reqdata_area" columnid="reqdeptnm"/>
  281. <BindItem id="item12" compid="ipt_DeptCd" propid="value" datasetid="ds_main_reqdata_area" columnid="reqdeptcd"/>
  282. <BindItem id="item13" compid="ipt_EmpNm" propid="value" datasetid="ds_main_reqdata_area" columnid="reqempnm"/>
  283. <BindItem id="item14" compid="input1" propid="value" datasetid="ds_main_reqdata_area" columnid="enderqdd"/>
  284. <BindItem id="item15" compid="checkbox1" propid="value" datasetid="ds_main_reqdata_area" columnid=""/>
  285. <BindItem id="item16" compid="opt_ReplReq" propid="value" datasetid="ds_main_reqdata_area" columnid="reqreplreqdd"/>
  286. <BindItem id="item17" compid="ipt_EmpId" propid="value" datasetid="ds_main_reqdata_area" columnid="reqempid"/>
  287. <BindItem id="item18" compid="tar_Cnts" propid="value" datasetid="ds_main_reqdata_area" columnid="reqcsteamreqcnts"/>
  288. <BindItem id="item19" compid="opt_fstrgstrnm" propid="value" datasetid="ds_main_vocdata_accept" columnid="fstrgstrnm"/>
  289. <BindItem id="item20" compid="opt_lastupdtrnm" propid="value" datasetid="ds_main_vocdata_accept" columnid="lastupdtrnm"/>
  290. <BindItem id="item21" compid="chk_allopen" propid="value" datasetid="ds_main_vocdata_accept" columnid="openallyn"/>
  291. <BindItem id="item22" compid="chk_deptpidopen" propid="value" datasetid="ds_main_vocdata_accept" columnid="deptpidopenyn"/>
  292. </Bind>
  293. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  294. * System Name :
  295. * Job Name :
  296. * Creator :
  297. * Make Date : 2016-05-24
  298. * Description :
  299. *---------------------------------------------------------------------------------------
  300. * Modify Date Modifier Modify Description
  301. *---------------------------------------------------------------------------------------
  302. * 2016-05-24 Live Converter TF->XP
  303. *
  304. *---------------------------------------------------------------------------------------
  305. ****************************************************************************************/
  306. include "com_commonxp::comm_main.xjs";
  307. var arErrorCode = new HashArray();
  308. function SMCVO01100_oninit(obj:Form, e:InitEventInfo)
  309. {
  310. frmf_initForm(obj);
  311. }
  312. function SMCVO01100_onload(obj:Form, e:LoadEventInfo)
  313. {
  314. grdf_initGrid(grd_dept);
  315. var reAcptDD = "";
  316. var reAcptSeq = "";
  317. var reRgstSeq = "";
  318. try
  319. {
  320. var objParam = frmf_getMainFormParam();
  321. reAcptDD = objParam.sndacptdd;
  322. reAcptSeq = objParam.sndacptseq;
  323. reRgstSeq = objParam.sndrgstseq;
  324. ds_main_temp_key.setColumn(0, "sndacptdd", reAcptDD);
  325. ds_main_temp_key.setColumn(0, "sndacptseq", reAcptSeq);
  326. ds_main_temp_key.setColumn(0, "sndrgstseq", reRgstSeq);
  327. }
  328. catch(e){}
  329. dsf_makeValue(ds_main_temp_key, "sndexeflag", "string", "Y");
  330. dsf_makeValue(ds_main_temp_key, "sndmodifyflag", "string", "Y");
  331. if (( reAcptDD == "" || utlf_isNull(reAcptDD)) || ( reAcptSeq == "" || utlf_isNull(reAcptSeq)) || ( reRgstSeq == "" || utlf_isNull(reRgstSeq)))
  332. {
  333. var rtn = sysf_messageBox("조회에 필요한 항목이 전달되지", "E007");
  334. if(rtn == 1)
  335. {
  336. frmf_openForm("SMCVO00200", null, "");
  337. }
  338. }
  339. else
  340. {
  341. var oParam = {};
  342. oParam.id = "TRCVO01101";
  343. oParam.service = "vocapp.Voc";
  344. oParam.method = "reqGetVOCAccData";
  345. oParam.inds = "req=ds_main_temp_key";
  346. oParam.outds = "ds_main_vocdata_accept=accept ds_main_vocdata_deptview=deptview ds_main_vocdata_area=area";
  347. oParam.async = false;
  348. oParam.callback = "cf_TRCVO01101";
  349. tranf_submit(oParam);
  350. if(arErrorCode.pop("TRCVO01101") > -1)
  351. {
  352. ds_main_vocdata_accept.updateColID("acptkindlrgcd", "acptkindlrg");
  353. ds_main_vocdata_accept.updateColID("acptkindmdlcd", "acptkindmdl");
  354. ds_main_vocdata_accept.updateColID("acptkindsmlcd", "acptkindsml");
  355. if( ds_main_vocdata_area.rowcount > 0 )
  356. {
  357. var a_deptnm = ds_main_vocdata_area.getColumn(0, "deptnm");
  358. var a_deptcd = ds_main_vocdata_area.getColumn(0, "deptcd");
  359. var a_empnm = ds_main_vocdata_area.getColumn(0, "empnm");
  360. var a_empid = ds_main_vocdata_area.getColumn(0, "empid");
  361. ds_main_reqdata_area.setColumn(0, "reqdeptnm", a_deptnm);
  362. ds_main_reqdata_area.setColumn(0, "reqdeptcd", a_deptcd);
  363. ds_main_reqdata_area.setColumn(0, "reqempnm", a_empnm);
  364. ds_main_reqdata_area.setColumn(0, "reqempid", a_empid);
  365. ds_main_reqdata_area.setColumn(0, "reqacptdd", reAcptDD);
  366. ds_main_reqdata_area.setColumn(0, "reqacptseq", reAcptSeq);
  367. ds_main_reqdata_area.setColumn(0, "reqrgstseq", reRgstSeq);
  368. btn_req.enable = true;
  369. }
  370. btn_popCustomer.enable = true;
  371. }
  372. }
  373. if( ds_main_vocdata_accept.getColumn(0, "acptkindlrg") == "C" )
  374. {
  375. switch (ds_main_vocdata_accept.getColumn(0, "acptkindmdl"))
  376. {
  377. case "ES" :
  378. var arrParam = [{dsNm: "ds_init_C0001list_C0001", cdGrpId: "C0001"}
  379. ,{dsNm: "ds_init_C0003list_C0003", cdGrpId: "C0003"}
  380. ,{dsNm: "ds_init_C0004list_C0004", cdGrpId: "C0004"}
  381. ,{dsNm: "ds_init_C0005list_C0005", cdGrpId: "C0005"}]
  382. appf_getCodeList(arrParam);
  383. cmb_AcptKindSml.innerdataset = ds_init_C0005list_C0005;
  384. cmb_AcptKindSml.datacolumn = "cdnm";
  385. cmb_AcptKindSml.codecolumn = "cdid";
  386. break;
  387. case "PS" :
  388. var arrParam = [{dsNm: "ds_init_C0001list_C0001", cdGrpId: "C0001"}
  389. ,{dsNm: "ds_init_C0003list_C0003", cdGrpId: "C0003"}
  390. ,{dsNm: "ds_init_C0004list_C0004", cdGrpId: "C0004"}
  391. ,{dsNm: "ds_init_C0006list_C0006", cdGrpId: "C0006"}]
  392. appf_getCodeList(arrParam);
  393. cmb_AcptKindSml.innerdataset = ds_init_C0006list_C0006;
  394. cmb_AcptKindSml.datacolumn = "cdnm";
  395. cmb_AcptKindSml.codecolumn = "cdid";
  396. break;
  397. case "OS" :
  398. var arrParam = [{dsNm: "ds_init_C0001list_C0001", cdGrpId: "C0001"}
  399. ,{dsNm: "ds_init_C0003list_C0003", cdGrpId: "C0003"}
  400. ,{dsNm: "ds_init_C0004list_C0004", cdGrpId: "C0004"}
  401. ,{dsNm: "ds_init_C0007list_C0007", cdGrpId: "C0007"}]
  402. appf_getCodeList(arrParam);
  403. cmb_AcptKindSml.innerdataset = ds_init_C0007list_C0007;
  404. cmb_AcptKindSml.datacolumn = "cdnm";
  405. cmb_AcptKindSml.codecolumn = "cdid";
  406. break;
  407. case "NS" :
  408. var arrParam = [{dsNm: "ds_init_C0001list_C0001", cdGrpId: "C0001"}
  409. ,{dsNm: "ds_init_C0003list_C0003", cdGrpId: "C0003"}
  410. ,{dsNm: "ds_init_C0004list_C0004", cdGrpId: "C0004"}
  411. ,{dsNm: "ds_init_C0008list_C0008", cdGrpId: "C0008"}]
  412. appf_getCodeList(arrParam);
  413. cmb_AcptKindSml.innerdataset = ds_init_C0008list_C0008;
  414. cmb_AcptKindSml.datacolumn = "cdnm";
  415. cmb_AcptKindSml.codecolumn = "cdid";
  416. break;
  417. case "TS" :
  418. var arrParam = [{dsNm: "ds_init_C0001list_C0001", cdGrpId: "C0001"}
  419. ,{dsNm: "ds_init_C0003list_C0003", cdGrpId: "C0003"}
  420. ,{dsNm: "ds_init_C0004list_C0004", cdGrpId: "C0004"}
  421. ,{dsNm: "ds_init_C0009list_C0009", cdGrpId: "C0009"}]
  422. appf_getCodeList(arrParam);
  423. cmb_AcptKindSml.innerdataset = ds_init_C0009list_C0009;
  424. cmb_AcptKindSml.datacolumn = "cdnm";
  425. cmb_AcptKindSml.codecolumn = "cdid";
  426. break;
  427. default :
  428. var arrParam = [{dsNm: "ds_init_C0001list_C0001", cdGrpId: "C0001"}
  429. ,{dsNm: "ds_init_C0003list_C0003", cdGrpId: "C0003"}
  430. ,{dsNm: "ds_init_C0004list_C0004", cdGrpId: "C0004"}]
  431. appf_getCodeList(arrParam);
  432. break;
  433. }
  434. }
  435. else
  436. {
  437. var arrParam = [{dsNm: "ds_init_C0001list_C0001", cdGrpId: "C0001"}
  438. ,{dsNm: "ds_init_C0003list_C0003", cdGrpId: "C0003"}]
  439. appf_getCodeList(arrParam);
  440. }
  441. // 접수가 홈페이지면 홈페이지답변전송에 Y
  442. var hompanswyn = ds_main_vocdata_accept.getColumn(0, "acpttype");
  443. if (hompanswyn == "HE")
  444. {
  445. ds_main_reqdata_area.setColumn(0, "hompanswyn", "Y");
  446. }
  447. fCheckAuth();
  448. }
  449. function fCheckAuth()
  450. {
  451. // 권한체크
  452. if (!frmf_checkAuth("r"))
  453. {
  454. btn_list.enable = false;
  455. btnsearch_emp.enable = false;
  456. btn_clear.enable = false;
  457. }
  458. if (!frmf_checkAuth("x"))
  459. {
  460. btn_req.enable = false;
  461. btn_popCustomer.enable = false;
  462. btn_refresh.enable = false;
  463. }
  464. }
  465. function cf_TRCVO01101(sSvcId, nErrorCode, sErrorMsg) {
  466. arErrorCode.push(sSvcId, nErrorCode);
  467. }
  468. function btn_refresh_onclick(obj:Button, e:ClickEventInfo)
  469. {
  470. dsf_makeValue(ds_main_temp_key, "mode", "string", "B");
  471. var objArg = new Object();
  472. objArg.arg_ds_main_temp_key = ds_main_temp_key;
  473. frmf_open("SPCVO02300", "SPCVO02300", objArg, "", "", "", "", "", "", "", "", "", "M");
  474. }
  475. function btn_popCustomer_onclick(obj:Button, e:ClickEventInfo)
  476. {
  477. var objArg = new Object();
  478. objArg.arg_ds_main_temp_key = ds_main_temp_key;
  479. frmf_open("SPCVO00800", "SPCVO00800", objArg, "", "", "", "", "", "", "", "", "", "M");
  480. }
  481. function chk_allopen_onclick(obj:CheckBox, e:ClickEventInfo)
  482. {
  483. if(obj.value == "Y")
  484. {}
  485. else
  486. {
  487. ds_main_vocdata_accept.setColumn(0, "openallyn", "");
  488. }
  489. }
  490. function chk_deptpidopen_onclick(obj:CheckBox, e:ClickEventInfo)
  491. {
  492. if(obj.value == "Y")
  493. {}
  494. else
  495. {
  496. ds_main_vocdata_accept.setColumn(0, "deptpidopenyn", "");
  497. }
  498. }
  499. function btn_cap_ondblclick(obj:Button, e:MouseEventInfo)
  500. {
  501. var s_contents = ds_main_vocdata_accept.getColumn(0, "acptcnts");
  502. ds_main_vocpopup.setColumn(0, "title", "민원 내용");
  503. ds_main_vocpopup.setColumn(0, "contents", s_contents);
  504. ds_main_vocpopup.setColumn(0, "inputmode", "");
  505. ds_main_vocpopup.setColumn(0, "receive_path", "");
  506. var objArg = new Object();
  507. objArg.arg_ds_main_vocpopup = ds_main_vocpopup;
  508. frmf_open("SPCVO01000", "SPCVO01000", objArg, "", "", "", "", "", "", "", "", "", "M");
  509. }
  510. function button4_onclick(obj:Button, e:ClickEventInfo)
  511. {
  512. var acptseq = ds_main_vocdata_accept.getColumn(0, "acptseq");
  513. var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
  514. var syscd = "CRM" + sysf_getUserInfo("dutplceinstcd");
  515. var piclogo = rptf_getLogoImageURL(syscd);
  516. var objDOM = rptf_createDOM();
  517. rptf_setNodeListToDOM(objDOM, "/root/vocdata/accept", ds_main_vocdata_accept);
  518. var objParam = new Object();
  519. objParam.xml_data_XML1 = objDOM.documentElement.source;
  520. objParam.logo_pic = piclogo
  521. objParam.instcd = dutplceinstcd;
  522. var option = null;
  523. rptf_exeReportPreview30(["RPCVR01200"],[objParam], option);
  524. }
  525. function button3_onclick(obj:Button, e:ClickEventInfo)
  526. {
  527. var s_acptkindlrg = ds_main_vocdata_accept.getColumn(0, "acptkindlrg");
  528. var s_acptkindmdl = ds_main_vocdata_accept.getColumn(0, "acptkindmdl");
  529. var s_acptkindsml = ds_main_vocdata_accept.getColumn(0, "acptkindsml");
  530. var s_genrdd = ds_main_vocdata_accept.getColumn(0, "genrdd");
  531. var s_acptdd = ds_main_vocdata_accept.getColumn(0, "acptdd");
  532. if (!utlf_isNull(s_genrdd))
  533. {
  534. if (s_genrdd > s_acptdd)
  535. {
  536. sysf_messageBox("발생일자는 오늘 또는 접수일자 이후의 일자를 입력 ", "E001");
  537. ipt_GenrDD.setFocus();
  538. return false;
  539. }
  540. }
  541. if (s_acptkindlrg == "C")
  542. {
  543. if (utlf_isNull(s_acptkindmdl))
  544. {
  545. sysf_messageBox("불만 유형을 ", "C002");
  546. cmb_AcptKindMdl.setFocus();
  547. return false;
  548. }
  549. else if (utlf_isNull(s_acptkindsml))
  550. {
  551. sysf_messageBox("불만 상세 유형을 ", "C002");
  552. cmb_AcptKindSml.setFocus();
  553. return false;
  554. }
  555. }
  556. arrCompId = new Array("cmb_AcptType","cmb_AcptKindLrg", "ipt_AcptTitl", "tar_AcptCnts");
  557. if(frmf_isRequiredControls(arrCompId))
  558. {
  559. var oParam = {};
  560. oParam.id = "TXCVO01103";
  561. oParam.service = "vocapp.Voc";
  562. oParam.method = "reqSetAcceptData";
  563. oParam.inds = "accept=ds_main_vocdata_accept";
  564. oParam.outds = "";
  565. oParam.async = false;
  566. oParam.callback = "cf_TXCVO01103";
  567. tranf_submit(oParam);
  568. }
  569. }
  570. function cf_TXCVO01103(sSvcId, nErrorCode, sErrorMsg)
  571. {
  572. if(nErrorCode < 0) return;
  573. else
  574. {
  575. sysf_messageBox("등록된 VOC 수정이 ", "I002");
  576. }
  577. }
  578. function btnsearch_emp_onclick(obj:Button, e:ClickEventInfo)
  579. {
  580. if ( !utlf_isNull(ds_main_reqdata_area.getColumn(0, "reqempnm")))
  581. {
  582. var search_condition = "empnm";
  583. var search_term = ds_main_reqdata_area.getColumn(0, "reqempnm");
  584. }
  585. else if ( !utlf_isNull(ds_main_reqdata_area.getColumn(0, "reqdeptcd")))
  586. {
  587. var search_condition = "deptcd";
  588. var search_term = ds_main_reqdata_area.getColumn(0, "reqdeptcd");
  589. }
  590. else
  591. {
  592. var search_condition = "empnm";
  593. var search_term = ds_main_reqdata_area.getColumn(0, "reqempnm");
  594. }
  595. frmf_setParameter("search_condition", search_condition);
  596. frmf_setParameter("search_term", search_term);
  597. var rtn = frmf_modal("SPCVO00700", "SPCVO00700", "", "", "", "", "", "", "", "", "", "", "M");
  598. ds_main_reqdata_area.setColumn(0, "reqempid", rtn.empid);
  599. ds_main_reqdata_area.setColumn(0, "reqempnm", rtn.empnm);
  600. ds_main_reqdata_area.setColumn(0, "reqdeptcd", rtn.deptcd);
  601. ds_main_reqdata_area.setColumn(0, "reqdeptnm", rtn.deptnm);
  602. frmf_clearParameter("search_condition");
  603. frmf_clearParameter("search_term");
  604. }
  605. function checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  606. {
  607. if(obj.value == "Y")
  608. {}
  609. else
  610. {
  611. ds_main_reqdata_area.setColumn(0, "hompanswyn", "");
  612. }
  613. }
  614. function btn_cap19_ondblclick(obj:Button, e:MouseEventInfo)
  615. {
  616. var s_contents = ds_main_reqdata_area.getColumn(0, "reqcsteamreqcnts");
  617. var receive_path = "ds_main_reqdata_area/reqcsteamreqcnts";
  618. ds_main_vocpopup.setColumn(0, "title", "민원담당부서\n처리요청의견");
  619. ds_main_vocpopup.setColumn(0, "contents", s_contents);
  620. ds_main_vocpopup.setColumn(0, "inputmode", "i");
  621. ds_main_vocpopup.setColumn(0, "receive_path", receive_path);
  622. var objArg = new Object();
  623. objArg.arg_ds_main_vocpopup = ds_main_vocpopup;
  624. frmf_open("SPCVO01000", "SPCVO01000", objArg, "", "", "", "", "", "", "", "", "", "M");
  625. }
  626. function btn_list_onclick(obj:Button, e:ClickEventInfo)
  627. {
  628. var objArg = new Object();
  629. objArg.sndacptdd = ds_main_temp_key.getColumn(0, "sndacptdd");
  630. frmf_openForm("SMCVO00200", null, objArg);
  631. }
  632. function button1_onclick(obj:Button, e:ClickEventInfo)
  633. {
  634. var rtn = sysf_messageBox("접수를 취소하게 되면 통계에서 제외되며 진행사항 조회에서 그 내용을 볼 수 있습니다.", "Q004");
  635. if(rtn == 6)
  636. {
  637. var oParam = {};
  638. oParam.id = "TXCVO01102";
  639. oParam.service = "vocapp.Voc";
  640. oParam.method = "reqDelVOCData";
  641. oParam.inds = "req=ds_main_temp_key";
  642. oParam.outds = "";
  643. oParam.async = false;
  644. oParam.callback = "cf_TXCVO01102";
  645. tranf_submit(oParam);
  646. if(arErrorCode.pop("TXCVO01102") > -1)
  647. {
  648. sysf_messageBox("해당 VOC에 대한 접수취소 처리가 ", "I002");
  649. var objArg = new Object();
  650. objArg.sndacptdd = ds_main_temp_key.getColumn(0, "sndacptdd");
  651. frmf_openForm("SMCVO00200", null, objArg);
  652. }
  653. }
  654. }
  655. function cf_TXCVO01102(sSvcId, nErrorCode, sErrorMsg) {
  656. arErrorCode.push(sSvcId, nErrorCode);
  657. }
  658. function btn_req_onclick(obj:Button, e:ClickEventInfo)
  659. {
  660. var r_AcptDD = ds_main_reqdata_area.getColumn(0, "reqacptdd");
  661. var r_AcptSeq = ds_main_reqdata_area.getColumn(0, "reqacptseq");
  662. var r_RgstSeq = ds_main_reqdata_area.getColumn(0, "reqrgstseq");
  663. var s_deptcd = ds_main_reqdata_area.getColumn(0, "reqdeptcd");
  664. var s_deptnm = ds_main_reqdata_area.getColumn(0, "reqdeptnm");
  665. var s_empid = ds_main_reqdata_area.getColumn(0, "reqempid");
  666. var s_empnm = ds_main_reqdata_area.getColumn(0, "reqempnm");
  667. var s_csteamreqcnts = ds_main_reqdata_area.getColumn(0, "reqcsteamreqcnts");
  668. if (!utlf_isNull(s_deptcd) && !utlf_isNull(s_deptnm))
  669. {
  670. if (utlf_isNull(s_empid)|| utlf_isNull(s_empnm))
  671. {
  672. sysf_messageBox("부서관리자를 검색해서 ", "C002");
  673. ipt_EmpNm.setFocus();
  674. return false;
  675. }
  676. else
  677. {
  678. arrCompId = new Array("tar_Cnts");
  679. if(frmf_isRequiredControls(arrCompId))
  680. {
  681. var rtn = sysf_messageBox("회신요청하시면 접수내용을 수정하실 수 없습니다.\n지금 회신요청하시겠습니까?.", "Q099");
  682. if(rtn == 6)
  683. {
  684. var oParam = {};
  685. oParam.id = "TXCVO01101";
  686. oParam.service = "vocapp.Voc";
  687. oParam.method = "reqSetVOCReqData";
  688. oParam.inds = "req=ds_main_reqdata_area";
  689. oParam.outds = "";
  690. oParam.async = false;
  691. oParam.callback = "cf_TXCVO01101";
  692. tranf_submit(oParam);
  693. if(arErrorCode.pop("TXCVO01101") > -1)
  694. {
  695. ds_main_temp_key.setColumn(0, "sndmodifyflag", "");
  696. ds_main_temp_key.setColumn(0, "sndexeflag", "");
  697. ds_main_temp_key.setColumn(0, "deptnm", "");
  698. sysf_messageBox("회신요청 처리가 완료되었습니다. \n해당 부서로 부터 회신올 때까지 기다리셔야 합니다.", "I099");
  699. var objArg = new Object();
  700. objArg.sndacptdd = ds_main_temp_key.getColumn(0, "sndacptdd");
  701. frmf_openForm("SMCVO00200", null, objArg);
  702. }
  703. }
  704. }
  705. }
  706. }
  707. else
  708. {
  709. sysf_messgeBox("부서 정보가 없어 회신 요청을 할 수 ", "I004");
  710. ds_main_temp_key.setColumn(0, "sndmodifyflag", "");
  711. ds_main_temp_key.setColumn(0, "sndexeflag", "");
  712. ds_main_temp_key.setColumn(0, "deptnm", "");
  713. var objArg = new Object();
  714. objArg.sndacptdd = ds_main_temp_key.getColumn(0, "sndacptdd");
  715. frmf_openForm("SMCVO00200", null, objArg);
  716. }
  717. }
  718. function cf_TXCVO01101(sSvcId, nErrorCode, sErrorMsg) {
  719. arErrorCode.push(sSvcId, nErrorCode);
  720. }
  721. function button2_onclick(obj:Button, e:ClickEventInfo)
  722. {
  723. var r_AcptDD = ds_main_reqdata_area.getColumn(0, "reqacptdd");
  724. var r_AcptSeq = ds_main_reqdata_area.getColumn(0, "reqacptseq");
  725. var r_RgstSeq = ds_main_reqdata_area.getColumn(0, "reqrgstseq");
  726. var s_deptcd = ds_main_reqdata_area.getColumn(0, "reqdeptcd");
  727. var s_deptnm = ds_main_reqdata_area.getColumn(0, "reqdeptnm");
  728. var s_empid = ds_main_reqdata_area.getColumn(0, "reqempid");
  729. var s_empnm = ds_main_reqdata_area.getColumn(0, "reqempnm");
  730. var s_csteamreqcnts = ds_main_reqdata_area.getColumn(0, "reqcsteamreqcnts");
  731. dsf_makeValue(ds_main_reqdata_area, "deptnm", "string", ds_main_vocdata_deptview.getColumn(0, "deptnm"));
  732. if (!utlf_isNull(s_deptcd) && !utlf_isNull(s_deptnm))
  733. {
  734. arrCompId = new Array("tar_Cnts");
  735. if(frmf_isRequiredControls(arrCompId))
  736. {
  737. var rtn = sysf_messageBox("회신요청하시면 접수내용을 수정하실 수 없습니다.\n지금 회신요청하시겠습니까?.", "Q099");
  738. if(rtn == 6)
  739. {
  740. var oParam = {};
  741. oParam.id = "TXCVO01101";
  742. oParam.service = "vocapp.Voc";
  743. oParam.method = "reqSetVOCSelfEndData";
  744. oParam.inds = "req=ds_main_reqdata_area";
  745. oParam.outds = "";
  746. oParam.async = false;
  747. oParam.callback = "cf_TXCVO01101";
  748. tranf_submit(oParam);
  749. if(arErrorCode.pop("TXCVO01101") > -1)
  750. {
  751. ds_main_temp_key.setColumn(0, "sndmodifyflag", "");
  752. ds_main_temp_key.setColumn(0, "sndexeflag", "");
  753. ds_main_temp_key.setColumn(0, "deptnm", "");
  754. sysf_messageBox("회신요청 처리가 완료되었습니다. \n해당 부서로 부터 회신올 때까지 기다리셔야 합니다.", "I099");
  755. var objArg = new Object();
  756. objArg.sndacptdd = ds_main_temp_key.getColumn(0, "sndacptdd");
  757. frmf_openForm("SMCVO00200", null, objArg);
  758. }
  759. }
  760. }
  761. }
  762. else
  763. {
  764. sysf_messgeBox("부서 정보가 없어 회신 요청을 할 수 ", "I004");
  765. ds_main_temp_key.setColumn(0, "sndmodifyflag", "");
  766. ds_main_temp_key.setColumn(0, "sndexeflag", "");
  767. ds_main_temp_key.setColumn(0, "deptnm", "");
  768. var objArg = new Object();
  769. objArg.sndacptdd = ds_main_temp_key.getColumn(0, "sndacptdd");
  770. frmf_openForm("SMCVO00200", null, objArg);
  771. }
  772. }
  773. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  774. {
  775. ds_main_reqdata_area.setColumn(0, "reqcsteamreqcnts", "");
  776. }
  777. function btn_cap_onclick(obj:Button, e:ClickEventInfo)
  778. {
  779. var s_contents = ds_main_vocdata_accept.getColumn(0, "acptcnts");
  780. ds_main_vocpopup.setColumn(0, "title", "민원 내용");
  781. ds_main_vocpopup.setColumn(0, "contents", s_contents);
  782. ds_main_vocpopup.setColumn(0, "inputmode", "");
  783. ds_main_vocpopup.setColumn(0, "receive_path", "");
  784. var objArg1 = new Object();
  785. objArg1.arg_ds_main_vocpopup = ds_main_vocpopup;
  786. frmf_open("SPCVO01000", "SPCVO01000", objArg1, "", "", "", "", "", "", "", "", "", "M");
  787. }
  788. function btn_cap19_onclick(obj:Button, e:ClickEventInfo)
  789. {
  790. var s_contents = ds_main_reqdata_area.getColumn(0, "reqcsteamreqcnts");
  791. var receive_path = "ds_main_reqdata_area/reqcsteamreqcnts";
  792. ds_main_vocpopup.setColumn(0, "title", "민원담당부서\n처리요청의견");
  793. ds_main_vocpopup.setColumn(0, "contents", s_contents);
  794. ds_main_vocpopup.setColumn(0, "inputmode", "i");
  795. ds_main_vocpopup.setColumn(0, "receive_path", receive_path);
  796. var objArg = new Object();
  797. objArg.arg_ds_main_vocpopup = ds_main_vocpopup;
  798. frmf_open("SPCVO01000", "SPCVO01000", objArg, "", "", "", "", "", "", "", "", "", "M");
  799. }
  800. ]]></Script>
  801. </Form>
  802. </FDL>