SMCVP00300_VOC관리고객조회.xfdl 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMCVP00300" position="absolute 0 0 1200 796" titletext="VOC 관리고객 조회" oninit="SMCVP00300_oninit" onload="SMCVP00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 225 40 1195 100" align="align:center top;" id="grp_johe" class="div_SA2" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static text="환 자 명 :" position="absolute 15 35 117 52" id="caption8" class="search_name"/>
  11. <Edit position="absolute 120 34 240 53" id="ipt_SrchPatNm" class="input_search" autoselect="true" onkeyup="grp_johe_ipt_SrchPatNm_onkeyup"/>
  12. <Static text="등록번호 :" position="absolute 341 35 428 52" id="caption7" class="search_name"/>
  13. <MaskEdit position="absolute 435 34 545 53" id="ipt_SrchPID" class="input_search" mask="9999999999" autoselect="true" onkeyup="grp_johe_ipt_SrchPID_onkeyup"/>
  14. <Static text="대상구분 :" position="absolute 615 35 702 52" id="caption5" class="search_name"/>
  15. <Combo position="absolute 705 34 835 53" id="cmb_SrchPrcsStatCd" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn">
  16. <Dataset id="innerdataset">
  17. <ColumnInfo>
  18. <Column id="codecolumn"/>
  19. <Column id="datacolumn"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row>
  23. <Col id="codecolumn">
  24. </Col>
  25. <Col id="datacolumn">관리고객 전체</Col>
  26. </Row>
  27. <Row>
  28. <Col id="codecolumn">A</Col>
  29. <Col id="datacolumn">일반</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">B</Col>
  33. <Col id="datacolumn">★★★★★</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">C</Col>
  37. <Col id="datacolumn">★</Col>
  38. </Row>
  39. </Rows>
  40. </Dataset>
  41. </Combo>
  42. <Shape position="absolute 880 7 886 53" linetype="vertical" id="line1" class="line_4" anchor="top right"/>
  43. <Button position="absolute 898 19 954 41" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="grp_johe_btn_search_onclick"/>
  44. <Static text="최종접수일자 :" position="absolute 15 9 130 26" id="caption12" class="search_name"/>
  45. <Calendar position="absolute 135 8 255 27" id="ipt_SrchAcptDD1" class="input_s_essential" autoselect="true" autoskip="true"/>
  46. <Static text="~" position="absolute 260 9 272 26" id="caption13" class="search_no_b"/>
  47. <Calendar position="absolute 275 8 395 27" id="ipt_SrchAcptDD2" class="input_s_essential" autoselect="true"/>
  48. </Layout>
  49. </Layouts>
  50. </Div>
  51. <Div position="absolute 0 39 215 783" id="import1" url="./SSCVO00100_LeftTree.xfdl" anchor="left top bottom"/>
  52. <Static id="caption1" text="VOC 관리고객 조회" class="tit_1" position="absolute 0 0 162 24"/>
  53. <Div id="rndrctlgnd" anchor="left bottom" taborder="1" class="div_SA2" position="absolute 14 539 193 765">
  54. <Layouts>
  55. <Layout>
  56. <Static id="caption50" text="VOC 진행 프로세스" class="hand" position="absolute 14 13 158 33"/>
  57. <Static id="caption51" text="(1) 접수" position="absolute 32 37 91 53" tooltiptext="민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인 &#13;&#10; 정보와 함께 접수 등록을 하게 되면【접수】상태가 된다. " style="font:Dotum,9,bold;"/>
  58. <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;"/>
  59. <Static id="caption53" text="(3) 부서처리중" position="absolute 32 69 147 84" tooltiptext="각 부서 담당자가 &quot;회신요청&quot;된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』 &#13;&#10; 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다." style="font:Dotum,9,bold;"/>
  60. <Static id="caption54" text="(4) 부서회신" position="absolute 32 85 147 101" tooltiptext=" 각 부서 담당자가 &quot;부서처리중&quot;인 VOC에 대하여 실제 업무처리를 하고 &#13;&#10; 부서장에게 결재 요청을 하고 난 뒤 부서장의 결재를 받아 부서 담당자가 &#13;&#10; 민원담당부서 담당자에게 회신하게 되면【부서회신】상태가 된다. " style="font:Dotum,9,bold;"/>
  61. <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;"/>
  62. <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;"/>
  63. <Static id="caption57" text="(7) 부서장승인" position="absolute 32 133 147 149" tooltiptext="민원담당부서장은 &quot;승인요청&quot;인 VOC에 대하여 고객 회신을 &#13;&#10; 위한 부서장 승인을 하면【부서장승인】상태가 된다. " style="font:Dotum,9,bold;"/>
  64. <Static id="caption58" text="(8) 고객회신" position="absolute 32 149 147 165" tooltiptext="민원담당부서 담당자가 부서장 승인을 받은 VOC에 대하여 &#13;&#10; 민원인에게 그 결과를 알려주고 경과 내용을 입력하고 &#13;&#10; 고객회신 완료 버튼을 누르게 되면【고객회신】상태가 된다." style="font:Dotum,9,bold;"/>
  65. <Static id="caption59" text="(9) 처리완료" position="absolute 32 165 147 181" tooltiptext="민원담당부서 담당자가 &quot;고객회신&quot;인 VOC에 대하여 처리 경과 등 처리내용을 &#13;&#10; 적은 후 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리하여야 하는지 &#13;&#10; 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다. " style="font:Dotum,9,bold;"/>
  66. <Static id="caption60" text=" * 접수취소" position="absolute 38 185 153 200" tooltiptext=" &quot;접수&quot;된 VOC는 &quot;회신 요청&quot;을 하기 전에 &quot;접수 취소&quot;를 할 수 있다. 하지만 이미 &#13;&#10; 프로세스가 진행되어 담당부서로 요청한 경우에는 접수 취소를 할 수 없게 된다."/>
  67. <Static id="caption61" text=" * 자체처리" position="absolute 38 201 153 216" tooltiptext="&quot;접수&quot;된 VOC는 &quot;회신 요청&quot;을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다. &#13;&#10; 하지만 이미 프로세스가 진행되어 담당부서로 요청한 경우에는 자체처리를 할 수 없게 된다. "/>
  68. </Layout>
  69. </Layouts>
  70. </Div>
  71. <Shape id="line2" class="line_10" position="absolute 224 125 1195 131" anchor="left top right"/>
  72. <Grid id="grd_voclist" taborder="2" binddataset="ds_main_list_voclist" useinputpanel="false" position="absolute 224 130 1195 538" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="grd_voclist_oncelldblclick">
  73. <Formats>
  74. <Format id="default">
  75. <Columns>
  76. <Column size="25"/>
  77. <Column size="100"/>
  78. <Column size="100"/>
  79. <Column size="100"/>
  80. <Column size="110"/>
  81. <Column size="100"/>
  82. <Column size="375"/>
  83. <Column size="50"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. <Column size="0"/>
  88. <Column size="0"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. </Columns>
  95. <Rows>
  96. <Row size="24" band="head"/>
  97. <Row size="24"/>
  98. </Rows>
  99. <Band id="head">
  100. <Cell/>
  101. <Cell col="1" text="환자명"/>
  102. <Cell col="2" text="등록번호"/>
  103. <Cell col="3" text="대상구분"/>
  104. <Cell col="4" text="휴대폰"/>
  105. <Cell col="5" text="우편번호"/>
  106. <Cell col="6" text="주소"/>
  107. <Cell col="7" text="메모"/>
  108. <Cell col="8" text="우편번호1"/>
  109. <Cell col="9" text="우편번호2"/>
  110. <Cell col="10" text="우편번호주소"/>
  111. <Cell col="11" text="나머지주소"/>
  112. <Cell col="12" text="대상구분코드"/>
  113. <Cell col="13" text="고객평가"/>
  114. <Cell col="14" text="주민번호"/>
  115. <Cell col="15" text="집전화번호"/>
  116. <Cell col="16" text="이메일"/>
  117. <Cell col="17" text="관련민원인"/>
  118. </Band>
  119. <Band id="body">
  120. <Cell celltype="head" expr="currow+1"/>
  121. <Cell col="1" class="text_center" text="bind:patnm"/>
  122. <Cell col="2" class="text_center" text="bind:pid"/>
  123. <Cell col="3" class="text_center" text="bind:mngtman"/>
  124. <Cell col="4" class="text_center" text="bind:mpphonno"/>
  125. <Cell col="5" class="text_center" text="bind:zipcd"/>
  126. <Cell col="6" text="bind:addr"/>
  127. <Cell col="7" class="text_center" text="bind:clntvaluflag"/>
  128. <Cell col="8" class="text_center" text="bind:zipcd1"/>
  129. <Cell col="9" class="text_center" text="bind:zipcd2"/>
  130. <Cell col="10" class="text_center" text="bind:zipcdaddr"/>
  131. <Cell col="11" class="text_center" text="bind:detladdr"/>
  132. <Cell col="12" class="text_center" text="bind:mngtmanflag"/>
  133. <Cell col="13" text="bind:clntvalu"/>
  134. <Cell col="14" text="bind:rrgstno"/>
  135. <Cell col="15" text="bind:hometelno"/>
  136. <Cell col="16" text="bind:email"/>
  137. <Cell col="17" text="bind:relaclntnm"/>
  138. </Band>
  139. </Format>
  140. </Formats>
  141. </Grid>
  142. <Static id="caption10" text="VOC 관리고객 목록" class="tit_2" position="absolute 224 109 366 130"/>
  143. <Button id="btn_excsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 1115 106 1195 125" anchor="top right" onclick="btn_excsave_onclick"/>
  144. <Static id="caption20" text="VOC 관리고객 조회에서는 등록번호가 있는 환자를 대상으로 간단한 메모 내역을 보실 수 있습니다." class="hand" position="absolute 324 770 993 787" anchor="left bottom"/>
  145. <Button id="btn_save" taborder="4" text="저장" class="btn4" enable="false" position="absolute 1081 768 1137 790" anchor="right bottom" onclick="btn_save_onclick"/>
  146. <Button id="btn_clear" taborder="5" text="취소" class="btn4" position="absolute 1139 768 1195 790" anchor="right bottom" onclick="btn_clear_onclick"/>
  147. <Static id="caption2" text="VOC 관리고객 정보" class="tit_2" position="absolute 224 543 374 565" anchor="left bottom"/>
  148. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 224 559 1195 565" anchor="left right bottom"/>
  149. <Shape id="line4" linetype="horizontal" class="line_2" position="absolute 224 586 1195 592" anchor="left right bottom"/>
  150. <Static id="caption21" text="환자명" class="cell_1" position="absolute 465 564 570 587" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  151. <Edit id="ipt_PID" taborder="6" position="absolute 332 566 459 585" anchor="left bottom" autoselect="true"/>
  152. <Static id="caption22" text="등록번호" class="cell_1" position="absolute 224 564 329 587" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  153. <Static id="caption3" text="주민번호" class="cell_1" position="absolute 947 564 1052 587" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  154. <Edit id="ipt_PatNm" taborder="7" position="absolute 573 566 700 585" anchor="left bottom"/>
  155. <MaskEdit id="ipt_rrgstno" taborder="8" mask="999999-9" position="absolute 1056 566 1195 585" anchor="left bottom"/>
  156. <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 224 612 1195 618" anchor="left right bottom"/>
  157. <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 224 638 1195 644" anchor="left right bottom"/>
  158. <Shape id="line7" linetype="horizontal" class="line_2" position="absolute 224 664 1195 670" anchor="left right bottom"/>
  159. <Edit id="ipt_detladdr" taborder="9" position="absolute 768 592 1195 611" anchor="left right bottom"/>
  160. <Edit id="ipt_ZipCd1" taborder="10" position="absolute 332 592 387 611" anchor="left bottom"/>
  161. <Static id="caption14" text="주소" class="cell_1" position="absolute 224 590 329 613" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  162. <Static id="caption4" text="이메일" class="cell_1" position="absolute 224 616 329 639" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  163. <Edit id="ipt_email" taborder="11" position="absolute 332 618 700 637" anchor="left bottom"/>
  164. <Static id="caption26" text="휴대폰" class="cell_1" position="absolute 707 616 812 639" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  165. <Edit id="ipt_mobile" taborder="12" position="absolute 815 618 945 637" anchor="left bottom"/>
  166. <Static id="caption6" text="집 전화번호" class="cell_1" position="absolute 947 616 1052 639" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  167. <Edit id="ipt_phone" taborder="13" position="absolute 1056 618 1195 637" anchor="left right bottom"/>
  168. <Static id="caption9" text="관련민원인" class="cell_1" position="absolute 224 642 329 665" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  169. <Edit id="ipt_rela" taborder="14" class="input_default" position="absolute 332 644 1195 663" anchor="left right bottom"/>
  170. <Edit id="ipt_ZipCdAddr" taborder="15" position="absolute 446 592 766 611" anchor="left bottom"/>
  171. <Edit id="ipt_ZipCd2" taborder="16" position="absolute 389 592 444 611" anchor="left bottom"/>
  172. <Combo id="cmb_Mngtflag" taborder="17" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_essential" position="absolute 815 566 945 585" anchor="left bottom">
  173. <Dataset id="innerdataset">
  174. <ColumnInfo>
  175. <Column id="codecolumn"/>
  176. <Column id="datacolumn"/>
  177. </ColumnInfo>
  178. <Rows>
  179. <Row>
  180. <Col id="codecolumn">A</Col>
  181. <Col id="datacolumn">일반</Col>
  182. </Row>
  183. <Row>
  184. <Col id="codecolumn">B</Col>
  185. <Col id="datacolumn">★★★★★</Col>
  186. </Row>
  187. <Row>
  188. <Col id="codecolumn">C</Col>
  189. <Col id="datacolumn">★</Col>
  190. </Row>
  191. </Rows>
  192. </Dataset>
  193. </Combo>
  194. <Static id="caption11" text="대상구분" class="cell_1" position="absolute 707 564 812 587" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  195. <Shape id="line16" linetype="horizontal" class="line_3" position="absolute 224 763 1195 769" anchor="left right bottom"/>
  196. <TextArea id="tar_ClntValu" taborder="18" class="input_default" position="absolute 332 670 1195 762" anchor="left right bottom"/>
  197. <Static id="caption34" text="메모 내용" class="cell_1" position="absolute 224 668 329 764" style="padding:0 0 0 0;align:center middle;" anchor="left bottom"/>
  198. <Button id="btn_refresh" taborder="19" text="환자정보 갱신하기" class="btn5" enable="false" position="absolute 950 540 1069 559" anchor="right bottom" onclick="btn_refresh_onclick"/>
  199. <Button id="btn_popVOC" taborder="20" text="VOC 등록이력 보기" class="btn2" enable="false" position="absolute 1071 540 1195 559" anchor="right bottom" onclick="btn_popVOC_onclick"/>
  200. <Button id="btn_cap" taborder="21" ondblclick="btn_cap_ondblclick" position="absolute 226 669 327 763" style="background:transparent;border:2 none #33bbbbff #effcfbff;padding:0 0 0 0;align:center middle;"/>
  201. </Layout>
  202. </Layouts>
  203. <Objects>
  204. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  205. <ColumnInfo>
  206. <Column id="srchacptdd1" type="STRING" size="256"/>
  207. <Column id="srchacptdd2" type="STRING" size="256"/>
  208. <Column id="srchpatnm" type="STRING" size="256"/>
  209. <Column id="srchpid" type="STRING" size="256"/>
  210. <Column id="srchprcsstatcd" type="STRING" size="256"/>
  211. </ColumnInfo>
  212. <Rows>
  213. <Row>
  214. <Col id="srchacptdd1"/>
  215. <Col id="srchacptdd2"/>
  216. <Col id="srchpatnm"/>
  217. <Col id="srchpid"/>
  218. <Col id="srchprcsstatcd"/>
  219. </Row>
  220. </Rows>
  221. </Dataset>
  222. <Dataset id="ds_main_list_voclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  223. <ColumnInfo>
  224. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  225. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  226. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  227. <Column id="mngtmanflag" type="STRING" size="256" sumtext="관리구분"/>
  228. <Column id="mngtman" type="STRING" size="256" sumtext="관리구분내용"/>
  229. <Column id="mpphonno" type="STRING" size="256" sumtext="휴대폰번호"/>
  230. <Column id="hometelno" type="STRING" size="256" sumtext="집전화번호"/>
  231. <Column id="email" type="STRING" size="256" sumtext="이메일"/>
  232. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  233. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
  234. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
  235. <Column id="zipcdaddr" type="STRING" size="256" sumtext="우편번호주소"/>
  236. <Column id="detladdr" type="STRING" size="256" sumtext="나머지주소"/>
  237. <Column id="addr" type="STRING" size="256" sumtext="전체주소"/>
  238. <Column id="clntvalu" type="STRING" size="256" sumtext="고객평가"/>
  239. <Column id="relaclntnm" type="STRING" size="256" sumtext="관련민원인"/>
  240. <Column id="clntvaluflag" type="STRING" size="256" sumtext="고객평가유무"/>
  241. </ColumnInfo>
  242. </Dataset>
  243. <Dataset id="ds_main_piddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  244. <ColumnInfo>
  245. <Column id="pid" type="STRING" size="256"/>
  246. <Column id="hngnm" type="STRING" size="256"/>
  247. <Column id="mpphontel" type="STRING" size="256"/>
  248. <Column id="zipcd1" type="STRING" size="256"/>
  249. <Column id="zipcd2" type="STRING" size="256"/>
  250. <Column id="zipcdaddr" type="STRING" size="256"/>
  251. <Column id="detladdr" type="STRING" size="256"/>
  252. <Column id="rrgstno" type="STRING" size="256"/>
  253. <Column id="email" type="STRING" size="256"/>
  254. <Column id="hometel" type="STRING" size="256"/>
  255. </ColumnInfo>
  256. <Rows>
  257. <Row>
  258. <Col id="pid"/>
  259. <Col id="hngnm"/>
  260. <Col id="mpphontel"/>
  261. <Col id="zipcd1"/>
  262. <Col id="zipcd2"/>
  263. <Col id="zipcdaddr"/>
  264. <Col id="detladdr"/>
  265. <Col id="rrgstno"/>
  266. <Col id="email"/>
  267. <Col id="hometel"/>
  268. </Row>
  269. </Rows>
  270. </Dataset>
  271. <Dataset id="ds_main_mngdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  272. <ColumnInfo>
  273. <Column id="pid" type="STRING" size="256"/>
  274. <Column id="mngtmanflag" type="STRING" size="256"/>
  275. <Column id="clntvalu" type="STRING" size="256"/>
  276. <Column id="relaclntnm" type="STRING" size="256"/>
  277. </ColumnInfo>
  278. <Rows>
  279. <Row>
  280. <Col id="pid"/>
  281. <Col id="mngtmanflag"/>
  282. <Col id="clntvalu"/>
  283. <Col id="relaclntnm"/>
  284. </Row>
  285. </Rows>
  286. </Dataset>
  287. <Dataset id="ds_temp_piddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  288. <ColumnInfo>
  289. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  290. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  291. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  292. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
  293. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  294. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
  295. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
  296. <Column id="zipcdaddr" type="STRING" size="256" sumtext="우편번호주소"/>
  297. <Column id="detladdr" type="STRING" size="256" sumtext="나머지주소"/>
  298. <Column id="email" type="STRING" size="256" sumtext="이메일"/>
  299. </ColumnInfo>
  300. </Dataset>
  301. <Dataset id="ds_main_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  302. <ColumnInfo>
  303. <Column id="srchpid" type="STRING" size="256"/>
  304. </ColumnInfo>
  305. <Rows>
  306. <Row/>
  307. </Rows>
  308. </Dataset>
  309. <Dataset id="ds_main_vocpopup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  310. <ColumnInfo>
  311. <Column id="title" type="STRING" size="256"/>
  312. <Column id="contents" type="STRING" size="256"/>
  313. <Column id="inputmode" type="STRING" size="256"/>
  314. <Column id="receive_path" type="STRING" size="256"/>
  315. </ColumnInfo>
  316. <Rows>
  317. <Row>
  318. <Col id="title"/>
  319. <Col id="contents"/>
  320. <Col id="inputmode"/>
  321. <Col id="receive_path"/>
  322. </Row>
  323. </Rows>
  324. </Dataset>
  325. </Objects>
  326. <Bind>
  327. <BindItem id="item0" compid="grp_johe.ipt_SrchAcptDD1" propid="value" datasetid="ds_send_data" columnid="srchacptdd1"/>
  328. <BindItem id="item1" compid="grp_johe.ipt_SrchAcptDD2" propid="value" datasetid="ds_send_data" columnid="srchacptdd2"/>
  329. <BindItem id="item2" compid="grp_johe.ipt_SrchPatNm" propid="value" datasetid="ds_send_data" columnid="srchpatnm"/>
  330. <BindItem id="item3" compid="grp_johe.ipt_SrchPID" propid="value" datasetid="ds_send_data" columnid="srchpid"/>
  331. <BindItem id="item4" compid="grp_johe.cmb_SrchPrcsStatCd" propid="value" datasetid="ds_send_data" columnid="srchprcsstatcd"/>
  332. <BindItem id="item5" compid="ipt_rrgstno" propid="value" datasetid="ds_main_piddata" columnid="rrgstno"/>
  333. <BindItem id="item6" compid="cmb_Mngtflag" propid="value" datasetid="ds_main_mngdata" columnid="mngtmanflag"/>
  334. <BindItem id="item7" compid="ipt_PatNm" propid="value" datasetid="ds_main_piddata" columnid="hngnm"/>
  335. <BindItem id="item8" compid="ipt_PID" propid="value" datasetid="ds_main_piddata" columnid="pid"/>
  336. <BindItem id="item9" compid="ipt_ZipCdAddr" propid="value" datasetid="ds_main_piddata" columnid="zipcdaddr"/>
  337. <BindItem id="item10" compid="ipt_ZipCd2" propid="value" datasetid="ds_main_piddata" columnid="zipcd2"/>
  338. <BindItem id="item11" compid="ipt_ZipCd1" propid="value" datasetid="ds_main_piddata" columnid="zipcd1"/>
  339. <BindItem id="item12" compid="ipt_email" propid="value" datasetid="ds_main_piddata" columnid="email"/>
  340. <BindItem id="item13" compid="ipt_rela" propid="value" datasetid="ds_main_mngdata" columnid="relaclntnm"/>
  341. <BindItem id="item14" compid="tar_ClntValu" propid="value" datasetid="ds_main_mngdata" columnid="clntvalu"/>
  342. <BindItem id="item15" compid="ipt_mobile" propid="value" datasetid="ds_main_piddata" columnid="mpphontel"/>
  343. <BindItem id="item16" compid="ipt_phone" propid="value" datasetid="ds_main_piddata" columnid="hometel"/>
  344. <BindItem id="item17" compid="ipt_detladdr" propid="value" datasetid="ds_main_piddata" columnid="detladdr"/>
  345. </Bind>
  346. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  347. * System Name :
  348. * Job Name :
  349. * Creator :
  350. * Make Date : 2016-05-24
  351. * Description :
  352. *---------------------------------------------------------------------------------------
  353. * Modify Date Modifier Modify Description
  354. *---------------------------------------------------------------------------------------
  355. * 2016-05-24 Live Converter TF->XP
  356. *
  357. *---------------------------------------------------------------------------------------
  358. ****************************************************************************************/
  359. include "com_commonxp::comm_main.xjs";
  360. var arErrorCode = new HashArray();
  361. function SMCVP00300_oninit(obj:Form, e:InitEventInfo)
  362. {
  363. frmf_initForm(obj);
  364. }
  365. function SMCVP00300_onload(obj:Form, e:LoadEventInfo)
  366. {
  367. grdf_initGrid(grd_voclist);
  368. ds_send_data.setColumn(0, "srchacptdd1",utlf_getCurrentDate().toDate().getAddDate(-365,"D").getDateFormat());
  369. ds_send_data.setColumn(0, "srchacptdd2",utlf_getCurrentDate());
  370. ds_main_list_voclist.clearData();
  371. fCheckAuth();
  372. }
  373. function fCheckAuth()
  374. {
  375. // 권한체크
  376. if (!frmf_checkAuth("r"))
  377. {
  378. btn_popVOC.enable = false;
  379. }
  380. if (!frmf_checkAuth("x"))
  381. {
  382. btn_save.enable = false;
  383. btn_refresh.enable = false;
  384. }
  385. if (!frmf_checkAuth("p"))
  386. {
  387. btn_excsave.enable = false;
  388. }
  389. }
  390. function grp_johe_ipt_SrchPatNm_onkeyup(obj:Edit, e:KeyEventInfo)
  391. {
  392. if(e.keycode == 13)
  393. {
  394. obj.updateToDataset();
  395. grp_johe.btn_search.click();
  396. }
  397. }
  398. function grp_johe_ipt_SrchPID_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  399. {
  400. if(e.keycode == 13)
  401. {
  402. obj.updateToDataset();
  403. grp_johe.btn_search.click();
  404. }
  405. }
  406. function grp_johe_btn_search_onclick(obj:Button, e:ClickEventInfo)
  407. {
  408. arrCompId = new Array("grp_johe.ipt_SrchAcptDD1","grp_johe.ipt_SrchAcptDD2");
  409. if(frmf_isRequiredControls(arrCompId))
  410. {
  411. if ( String(grp_johe.ipt_SrchPatNm.value).length > 0 && String(grp_johe.ipt_SrchPatNm.value).length < 2)
  412. {
  413. sysf_messageBox("환자 이름 검색은 최소 2글자 이상 ", "C001");
  414. grp_johe.ipt_SrchPatNm.setFocus();
  415. }
  416. else
  417. {
  418. fInitControl();
  419. ds_main_list_voclist.clearData();
  420. var oParam = {};
  421. oParam.id = "TRCVP00301";
  422. oParam.service = "vocapp.Voc";
  423. oParam.method = "reqGetPatMngList";
  424. oParam.inds = "req=ds_send_data";
  425. oParam.outds = "ds_main_list_voclist=voclist";
  426. oParam.async = false;
  427. //oParam.callback = "cf_TRCVP00301";
  428. tranf_submit(oParam);
  429. grd_voclist.setFocus();
  430. }
  431. }
  432. }
  433. function fInitControl()
  434. {
  435. ds_main_piddata.setColumn(0, "pid", "");
  436. ds_main_piddata.setColumn(0, "hngnm", "");
  437. ds_main_piddata.setColumn(0, "mpphontel", "");
  438. ds_main_piddata.setColumn(0, "zipcd1", "");
  439. ds_main_piddata.setColumn(0, "zipcd2", "");
  440. ds_main_piddata.setColumn(0, "zipcdaddr", "");
  441. ds_main_piddata.setColumn(0, "detladdr", "");
  442. ds_main_piddata.setColumn(0, "rrgstno", "");
  443. ds_main_piddata.setColumn(0, "email", "");
  444. ds_main_piddata.setColumn(0, "hometel", "");
  445. ds_main_mngdata.setColumn(0, "pid", "");
  446. ds_main_mngdata.setColumn(0, "mngtmanflag", "");
  447. ds_main_mngdata.setColumn(0, "clntvalu", "");
  448. ds_main_mngdata.setColumn(0, "relaclntnm", "");
  449. btn_popVOC.enable = false;
  450. btn_refresh.enable = false;
  451. btn_save.enable = false;
  452. }
  453. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  454. {
  455. grdf_exportExcel(grd_voclist, "VOC관리고객목록엑셀", "Sheet1", "true", "", "");
  456. }
  457. function grd_voclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  458. {
  459. var row = ds_main_list_voclist.rowposition;
  460. var receive_patnm = ds_main_list_voclist.getColumn(row, "patnm");
  461. var receive_pid = ds_main_list_voclist.getColumn(row, "pid");
  462. var receive_mpphonno = ds_main_list_voclist.getColumn(row, "mpphonno");
  463. var receive_clntvalu = ds_main_list_voclist.getColumn(row, "clntvalu");
  464. var receive_zipcd1 = ds_main_list_voclist.getColumn(row, "zipcd1");
  465. var receive_zipcd2 = ds_main_list_voclist.getColumn(row, "zipcd2");
  466. var receive_zipcdaddr = ds_main_list_voclist.getColumn(row, "zipcdaddr");
  467. var receive_detladdr = ds_main_list_voclist.getColumn(row, "detladdr");
  468. var receive_mngtmanflag = ds_main_list_voclist.getColumn(row, "mngtmanflag");
  469. var receive_rrgstno = ds_main_list_voclist.getColumn(row, "rrgstno");
  470. var receive_hometelno = ds_main_list_voclist.getColumn(row, "hometelno");
  471. var receive_email = ds_main_list_voclist.getColumn(row, "email");
  472. var receive_relaclntnm = ds_main_list_voclist.getColumn(row, "relaclntnm");
  473. if (row >= 0)
  474. {
  475. ds_main_piddata.setColumn(0, "pid", receive_pid);
  476. ds_main_piddata.setColumn(0, "hngnm", receive_patnm);
  477. ds_main_piddata.setColumn(0, "mpphontel", receive_mpphonno);
  478. ds_main_piddata.setColumn(0, "zipcd1", receive_zipcd1);
  479. ds_main_piddata.setColumn(0, "zipcd2", receive_zipcd2);
  480. ds_main_piddata.setColumn(0, "zipcdaddr", receive_zipcdaddr);
  481. ds_main_piddata.setColumn(0, "detladdr", receive_detladdr);
  482. ds_main_piddata.setColumn(0, "rrgstno", receive_rrgstno);
  483. ds_main_piddata.setColumn(0, "email", receive_email);
  484. ds_main_piddata.setColumn(0, "hometel", receive_hometelno);
  485. ds_main_mngdata.setColumn(0, "pid", receive_pid);
  486. ds_main_mngdata.setColumn(0, "mngtmanflag", receive_mngtmanflag);
  487. ds_main_mngdata.setColumn(0, "clntvalu", receive_clntvalu);
  488. ds_main_mngdata.setColumn(0, "relaclntnm", receive_relaclntnm);
  489. btn_popVOC.enable = true;
  490. btn_refresh.enable = true;
  491. btn_save.enable = true;
  492. }
  493. }
  494. function btn_refresh_onclick(obj:Button, e:ClickEventInfo)
  495. {
  496. var s_pid = ds_main_piddata.getColumn(0, "pid");
  497. if (!utlf_isNull(s_pid))
  498. {
  499. var rtn = sysf_messageBox(" 관리고객의 정보가 병원정보 시스템의 정보로 갱신되게 됩니다.", "Q004");
  500. if(rtn == 6)
  501. {
  502. var oParam = {};
  503. oParam.id = "TRCVP00302";
  504. oParam.service = "vocapp.Voc";
  505. oParam.method = "reqGetPatHisData";
  506. oParam.inds = "req=ds_main_mngdata";
  507. oParam.outds = "ds_temp_piddata=piddata";
  508. oParam.async = false;
  509. oParam.callback = "cf_TRCVP00302";
  510. tranf_submit(oParam);
  511. if(arErrorCode.pop("TRCVP00302") > -1)
  512. {
  513. if( ds_temp_piddata.rowcount > 0 )
  514. {
  515. var pid_pid = ds_temp_piddata.getColumn(0, "pid");
  516. var pid_patnm = ds_temp_piddata.getColumn(0, "hngnm");
  517. var pid_mpphonno = ds_temp_piddata.getColumn(0, "mpphontel");
  518. var pid_zipcd1 = ds_temp_piddata.getColumn(0, "zipcd1");
  519. var pid_zipcd2 = ds_temp_piddata.getColumn(0, "zipcd2");
  520. var pid_zipcdaddr = ds_temp_piddata.getColumn(0, "zipcdaddr");
  521. var pid_detladdr = ds_temp_piddata.getColumn(0, "detladdr");
  522. var pid_rrgstno = ds_temp_piddata.getColumn(0, "rrgstno");
  523. var pid_hometel = ds_temp_piddata.getColumn(0, "hometel");
  524. var pid_email = ds_temp_piddata.getColumn(0, "email");
  525. ds_main_piddata.setColumn(0, "hngnm", pid_patnm);
  526. ds_main_piddata.setColumn(0, "mpphontel", pid_mpphonno);
  527. ds_main_piddata.setColumn(0, "zipcd1", pid_zipcd1);
  528. ds_main_piddata.setColumn(0, "zipcd2", pid_zipcd2);
  529. ds_main_piddata.setColumn(0, "zipcdaddr", pid_zipcdaddr);
  530. ds_main_piddata.setColumn(0, "detladdr", pid_detladdr);
  531. ds_main_piddata.setColumn(0, "rrgstno", pid_rrgstno);
  532. ds_main_piddata.setColumn(0, "hometel", pid_hometel);
  533. ds_main_piddata.setColumn(0, "email", pid_email);
  534. var oParam = {};
  535. oParam.id = "TXCVP00302";
  536. oParam.service = "vocapp.Voc";
  537. oParam.method = "reqSetPatHisData";
  538. oParam.inds = "req=ds_main_piddata";
  539. oParam.outds = "";
  540. oParam.async = false;
  541. oParam.callback = "cf_TXCVP00302";
  542. tranf_submit(oParam);
  543. if(arErrorCode.pop("TXCVP00302") > -1)
  544. {
  545. sysf_messageBox("환자정보가 갱신 ", "I002");
  546. }
  547. }
  548. else
  549. {
  550. sysf_messageBox("존재하지 않는 환자 등록번호 ", "E008");
  551. ds_temp_piddata.clearData();
  552. }
  553. }
  554. }
  555. }
  556. else
  557. {
  558. sysf_messageBox("등록번호가 없어 환자정보를 갱신 ", "E001");
  559. }
  560. }
  561. function cf_TRCVP00302(sSvcId, nErrorCode, sErrorMsg) {
  562. arErrorCode.push(sSvcId, nErrorCode);
  563. }
  564. function cf_TXCVP00302(sSvcId, nErrorCode, sErrorMsg) {
  565. arErrorCode.push(sSvcId, nErrorCode);
  566. }
  567. function btn_popVOC_onclick(obj:Button, e:ClickEventInfo)
  568. {
  569. var r_PID = ds_main_piddata.getColumn(0, "pid");
  570. ds_main_search.setColumn(0, "srchpid", r_PID);
  571. var objArg = new Object();
  572. objArg.arg_ds_main_search = ds_main_search;
  573. frmf_open("SPCVO00300", "SPCVO00300", objArg, "", "", "", "", "", "", "", "", "", "M");
  574. }
  575. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  576. {
  577. var s_pid = ds_main_piddata.getColumn(0, "pid");
  578. if (!utlf_isNull(s_pid))
  579. {
  580. arrCompId = new Array("cmb_Mngtflag");
  581. if(frmf_isRequiredControls(arrCompId))
  582. {
  583. var oParam = {};
  584. oParam.id = "TXCVP00301";
  585. oParam.service = "vocapp.Voc";
  586. oParam.method = "reqSetPatMngData";
  587. oParam.inds = "req=ds_main_mngdata";
  588. oParam.outds = "";
  589. oParam.async = false;
  590. oParam.callback = "cf_TXCVP00301";
  591. tranf_submit(oParam);
  592. if(arErrorCode.pop("TXCVP00301") > -1)
  593. {
  594. sysf_messageBox("저장이 ", "I002");
  595. fInitControl();
  596. ds_main_list_voclist.clearData();
  597. var oParam = {};
  598. oParam.id = "TRCVP00301";
  599. oParam.service = "vocapp.Voc";
  600. oParam.method = "reqGetPatMngList";
  601. oParam.inds = "req=ds_send_data";
  602. oParam.outds = "ds_main_list_voclist=voclist";
  603. oParam.async = false;
  604. //oParam.callback = "cf_TRCVP00301";
  605. tranf_submit(oParam);
  606. grd_voclist.setFocus();
  607. }
  608. }
  609. }
  610. else
  611. {
  612. sysf_messageBox("등록번호가 없어 저장 ", "E001");
  613. }
  614. }
  615. function cf_TXCVP00301(sSvcId, nErrorCode, sErrorMsg) {
  616. arErrorCode.push(sSvcId, nErrorCode);
  617. }
  618. function btn_cap_ondblclick(obj:Button, e:MouseEventInfo)
  619. {
  620. var s_contents = ds_main_piddata.getColumn(0, "clntvalu");
  621. var receive_path = "ds_main_piddata/clntvalu";
  622. ds_main_vocpopup.setColumn(0, "title", "메모 내용");
  623. ds_main_vocpopup.setColumn(0, "contents", s_contents);
  624. ds_main_vocpopup.setColumn(0, "inputmode", "i");
  625. ds_main_vocpopup.setColumn(0, "receive_path", receive_path);
  626. var objArg = new Object();
  627. objArg.arg_ds_main_vocpopup = ds_main_vocpopup;
  628. frmf_open("SPCVO01000", "SPCVO01000", objArg, "", "", "", "", "", "", "", "", "", "M");
  629. }
  630. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  631. {
  632. fInitControl();
  633. }
  634. ]]></Script>
  635. </Form>
  636. </FDL>