SMMNR01700_진술문 속성 관리.xfdl 79 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNR01700" position="absolute 0 0 1202 782" titletext="Untitle" oninit="SMMNR01700_oninit" onload="SMMNR01700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="cap_titl" text="진술문 속성관리" class="tit_1" position="absolute 0 0 160 25"/>
  8. <Div id="grp_sea" anchor="left top right" taborder="2" class="div_SA" position="absolute 0 25 1195 65">
  9. <Layouts>
  10. <Layout>
  11. <Shape id="line17" linetype="vertical" class="line_4" position="absolute 1107 9 1113 32" anchor="top right"/>
  12. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1120 10 1176 32" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  13. <Radio id="rdo_attrflag" taborder="2" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 135 10 455 30" onitemchanged="grp_sea_rdo_attrflag_onitemchanged">
  14. <Dataset id="innerdataset">
  15. <ColumnInfo>
  16. <Column id="codecolumn"/>
  17. <Column id="datacolumn"/>
  18. </ColumnInfo>
  19. <Rows>
  20. <Row>
  21. <Col id="codecolumn">C</Col>
  22. <Col id="datacolumn">코드속성</Col>
  23. </Row>
  24. <Row>
  25. <Col id="codecolumn">V</Col>
  26. <Col id="datacolumn">수치속성</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">F</Col>
  30. <Col id="datacolumn">특수속성</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn">A</Col>
  34. <Col id="datacolumn">사정도구</Col>
  35. </Row>
  36. </Rows>
  37. </Dataset>
  38. </Radio>
  39. <Static id="cap_attrflag" text="속성구분정보 :" class="search_name" position="absolute 16 12 128 29"/>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Tab id="switch1" taborder="3" tabindex="0" class="tab_Normal" position="absolute 0 72 1195 779" anchor="all">
  44. <Tabpages>
  45. <Tabpage id="attrinfo1">
  46. <Layouts>
  47. <Layout>
  48. <Shape id="line18" linetype="horizontal" class="line_10" position="absolute 0 25 704 31"/>
  49. <Shape id="line19" linetype="horizontal" class="line_10" position="absolute 710 25 1195 31"/>
  50. <Shape id="line20" linetype="horizontal" class="line_10" position="absolute 710 515 1195 521"/>
  51. <Button id="btn_searchattr" taborder="33" class="icon_search" position="absolute 219 5 239 25" onclick="switch1_attrinfo1_btn_searchattr_onclick"/>
  52. <Button id="btn_saveprcp" taborder="34" text="저장" class="btn5" position="absolute 1150 496 1194 515" onclick="switch1_attrinfo1_btn_saveprcp_onclick"/>
  53. <Button id="btn_saveattr1" taborder="35" text="저장" class="btn5" position="absolute 661 6 703 25" onclick="switch1_attrinfo1_btn_saveattr1_onclick"/>
  54. <Button id="btn_grdaddattr1" taborder="36" text="행추가" class="btn2" position="absolute 551 6 604 25" onclick="switch1_attrinfo1_btn_grdaddattr1_onclick"/>
  55. <Button id="btn_grddelattr1" taborder="37" text="행삭제" class="btn2" position="absolute 606 6 659 25" onclick="switch1_attrinfo1_btn_grddelattr1_onclick"/>
  56. <Button id="btn_grdadddetlattr" taborder="38" text="행추가" class="btn2" position="absolute 1043 6 1096 25" onclick="switch1_attrinfo1_btn_grdadddetlattr_onclick"/>
  57. <Button id="btn_grddeldetlattr" taborder="39" text="행삭제" class="btn2" position="absolute 1098 6 1151 25" onclick="switch1_attrinfo1_btn_grddeldetlattr_onclick"/>
  58. <Button id="btn_savedetlattr" taborder="40" text="저장" class="btn5" position="absolute 1153 6 1195 25" onclick="switch1_attrinfo1_btn_savedetlattr_onclick"/>
  59. <Static id="cap_detlattr" text="상세속성내역" class="tit_2" position="absolute 710 9 836 30"/>
  60. <Static id="cap_prcp" text="처방매핑 내역" class="tit_2" position="absolute 710 499 836 520"/>
  61. <Static id="cap_attr1" text="속성정보" class="tit_2" position="absolute 0 9 105 31"/>
  62. <Edit id="ipt_attrcd" taborder="41" class="input_search" position="absolute 115 5 215 24" autoselect="true" autoskip="true" onkeyup="switch1_attrinfo1_ipt_attrcd_onkeyup"/>
  63. <Grid id="grd_attrlist1" class="datagrid2" taborder="42" binddataset="ds_main_attrinfo_attrlist" useinputpanel="false" position="absolute 0 30 705 665" autoenter="select" autofittype="col" cellsizingtype="col" oncellclick="switch1_attrinfo1_grd_attrlist1_oncellclick">
  64. <Formats>
  65. <Format id="default">
  66. <Columns>
  67. <Column size="23"/>
  68. <Column size="31"/>
  69. <Column size="0"/>
  70. <Column size="150"/>
  71. <Column size="0"/>
  72. <Column size="215"/>
  73. <Column size="50"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="35"/>
  80. <Column size="33"/>
  81. <Column size="0"/>
  82. <Column size="80"/>
  83. <Column size="52"/>
  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. </Columns>
  94. <Rows>
  95. <Row size="29" band="head"/>
  96. <Row size="24"/>
  97. </Rows>
  98. <Band id="head">
  99. <Cell/>
  100. <Cell col="1" text="상태"/>
  101. <Cell col="2" text="속성코드"/>
  102. <Cell col="3" text="속성명"/>
  103. <Cell col="4" text="단위명"/>
  104. <Cell col="5" text="속성 설명"/>
  105. <Cell col="6" text="멀티적용"/>
  106. <Cell col="7" text="타기록참조"/>
  107. <Cell col="8" text="참조대상"/>
  108. <Cell col="9" text="참조대상코드"/>
  109. <Cell col="10" text="항목"/>
  110. <Cell col="11" text="항목코드"/>
  111. <Cell col="12" text="처방매핑" wordwrap="word"/>
  112. <Cell col="13" text="정렬순서" wordwrap="word"/>
  113. <Cell col="14" text="ICNP매핑"/>
  114. <Cell col="15" text="등록일자"/>
  115. <Cell col="16" text="등록자"/>
  116. <Cell col="17" text="icnpinfo"/>
  117. <Cell col="18" text="등록자ID"/>
  118. <Cell col="19" text="기관코드"/>
  119. <Cell col="20" text="속성구분"/>
  120. <Cell col="21" text="상위코드"/>
  121. <Cell col="22" text="종료일자"/>
  122. <Cell col="23"/>
  123. <Cell col="24"/>
  124. <Cell col="25"/>
  125. </Band>
  126. <Band id="body">
  127. <Cell celltype="head" expr="currow+1"/>
  128. <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:stat" combodataset="ds_hidden_comcd_stat" combocodecol="value" combodatacol="label" enable="false"/>
  129. <Cell col="2" text="bind:attrcd"/>
  130. <Cell col="3" displaytype="text" edittype="text" text="bind:attrnm"/>
  131. <Cell col="4" displaytype="text" edittype="text" text="bind:unitnm"/>
  132. <Cell col="5" displaytype="text" edittype="text" text="bind:desccnts"/>
  133. <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:plnumchoiyn" combodataset="ds_cmb_plnumchoiyn" combocodecol="value" combodatacol="label"/>
  134. <Cell col="7" displaytype="combo" edittype="combo" text="bind:difrecrefyn"/>
  135. <Cell col="8" displaytype="text" edittype="text" text="bind:reftrgtnm"/>
  136. <Cell col="9" text="bind:reftrgtcd"/>
  137. <Cell col="10" displaytype="text" edittype="text" text="bind:itemnm"/>
  138. <Cell col="11" text="bind:itemcd"/>
  139. <Cell col="12" style="align:center middle;" text="bind:prcpmappyn"/>
  140. <Cell col="13" displaytype="text" edittype="text" style="align:center middle;" text="bind:refseq"/>
  141. <Cell col="14" text="bind:icnpyn"/>
  142. <Cell col="15" displaytype="date" text="bind:lastupdtdt" calendardisplaynulltype="nulltext"/>
  143. <Cell col="16" text="bind:lastupdtrnm"/>
  144. <Cell col="17" text="bind:lastupdtrid"/>
  145. <Cell col="18" text="bind:instcd"/>
  146. <Cell col="19" text="bind:attrflag"/>
  147. <Cell col="20" text="bind:supcd"/>
  148. <Cell col="21" text="bind:todd"/>
  149. <Cell col="22" text="bind:icnpinfo"/>
  150. <Cell col="23" text="bind:stmtupdyn"/>
  151. <Cell col="24" text="bind:beforeattrnm"/>
  152. <Cell col="25" text="bind:beforeunitnm"/>
  153. </Band>
  154. </Format>
  155. </Formats>
  156. </Grid>
  157. <Grid id="grd_detlattrlist" class="datagrid2" taborder="43" binddataset="ds_main_detlattrspec_detlattrlist" useinputpanel="false" position="absolute 710 30 1195 330" autoenter="select" cellsizingtype="col" oncellclick="switch1_attrinfo1_grd_detlattrlist_oncellclick" onexpanddown="switch1_attrinfo1_grd_detlattrlist_onexpanddown">
  158. <Formats>
  159. <Format id="default">
  160. <Columns>
  161. <Column size="22"/>
  162. <Column size="30"/>
  163. <Column size="0"/>
  164. <Column size="100"/>
  165. <Column size="0"/>
  166. <Column size="30"/>
  167. <Column size="31"/>
  168. <Column size="120"/>
  169. <Column size="0"/>
  170. <Column size="0"/>
  171. <Column size="0"/>
  172. <Column size="0"/>
  173. <Column size="0"/>
  174. <Column size="0"/>
  175. <Column size="29"/>
  176. <Column size="34"/>
  177. <Column size="66"/>
  178. <Column size="54"/>
  179. <Column size="0"/>
  180. <Column size="0"/>
  181. <Column size="0"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. </Columns>
  186. <Rows>
  187. <Row size="31" band="head"/>
  188. <Row size="24"/>
  189. </Rows>
  190. <Band id="head">
  191. <Cell/>
  192. <Cell col="1" text="상태"/>
  193. <Cell col="2" text="속성코드"/>
  194. <Cell col="3" text="상세속성명"/>
  195. <Cell col="4" text="단위명"/>
  196. <Cell col="5" text="등급"/>
  197. <Cell col="6" text="정렬순서" wordwrap="word"/>
  198. <Cell col="7" text="속성설명"/>
  199. <Cell col="8" text="복수선택여부"/>
  200. <Cell col="9" text="다른기록참조여부"/>
  201. <Cell col="10" text="참조대상명"/>
  202. <Cell col="11" text="참조대상코드"/>
  203. <Cell col="12" text="항목명"/>
  204. <Cell col="13" text="항목코드"/>
  205. <Cell col="14" text="처방매핑" wordwrap="word"/>
  206. <Cell col="15" text="ICNP매핑" wordwrap="word"/>
  207. <Cell col="16" text="등록일자"/>
  208. <Cell col="17" text="등록자"/>
  209. <Cell col="18" text="등록자ID"/>
  210. <Cell col="19" text="기관코드"/>
  211. <Cell col="20" text="속성구분"/>
  212. <Cell col="21" text="상위코드"/>
  213. <Cell col="22" text="종료일자"/>
  214. <Cell col="23" text="icnpinfo"/>
  215. </Band>
  216. <Band id="body">
  217. <Cell celltype="head" expr="currow+1"/>
  218. <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:stat" combodataset="ds_hidden_comcd_stat" combocodecol="value" combodatacol="label" enable="false"/>
  219. <Cell col="2" text="bind:attrcd"/>
  220. <Cell col="3" displaytype="text" edittype="text" text="bind:attrnm"/>
  221. <Cell col="4" text="bind:unitnm"/>
  222. <Cell col="5" displaytype="text" edittype="text" text="bind:attrgrde"/>
  223. <Cell col="6" displaytype="text" edittype="text" text="bind:refseq"/>
  224. <Cell col="7" displaytype="text" edittype="text" text="bind:desccnts"/>
  225. <Cell col="8" text="bind:plnumchoiyn"/>
  226. <Cell col="9" text="bind:difrecrefyn"/>
  227. <Cell col="10" text="bind:reftrgtnm"/>
  228. <Cell col="11" text="bind:reftrgtcd"/>
  229. <Cell col="12" text="bind:itemnm"/>
  230. <Cell col="13" text="bind:itemcd"/>
  231. <Cell col="14" style="align:center middle;" text="bind:prcpmappyn"/>
  232. <Cell col="15" displaytype="text" edittype="text" text="bind:icnpyn" expandshow="show"/>
  233. <Cell col="16" displaytype="date" text="bind:lastupdtdt" calendardisplaynulltype="nulltext"/>
  234. <Cell col="17" text="bind:lastupdtrnm"/>
  235. <Cell col="18" text="bind:lastupdtrid"/>
  236. <Cell col="19" text="bind:instcd"/>
  237. <Cell col="20" text="bind:attrflag"/>
  238. <Cell col="21" text="bind:supcd"/>
  239. <Cell col="22" text="bind:todd"/>
  240. <Cell col="23" text="bind:icnpinfo"/>
  241. </Band>
  242. </Format>
  243. </Formats>
  244. </Grid>
  245. <Grid id="grd_prcplist1" taborder="44" binddataset="ds_main_prcpmappspec_prcplist" useinputpanel="false" position="absolute 710 520 1195 665" autoenter="select" autofittype="col" cellsizingtype="col" oncelldblclick="switch1_attrinfo1_grd_prcplist1_oncelldblclick">
  246. <Formats>
  247. <Format id="default">
  248. <Columns>
  249. <Column size="26"/>
  250. <Column size="40"/>
  251. <Column size="100"/>
  252. <Column size="186"/>
  253. <Column size="100"/>
  254. <Column size="0"/>
  255. <Column size="0"/>
  256. <Column size="0"/>
  257. <Column size="0"/>
  258. </Columns>
  259. <Rows>
  260. <Row size="24" band="head"/>
  261. <Row size="24"/>
  262. </Rows>
  263. <Band id="head">
  264. <Cell/>
  265. <Cell col="1" text="상태"/>
  266. <Cell col="2" text="처방코드"/>
  267. <Cell col="3" text="처방명"/>
  268. <Cell col="4" text="규격"/>
  269. <Cell col="5"/>
  270. <Cell col="6"/>
  271. <Cell col="7"/>
  272. <Cell col="8"/>
  273. </Band>
  274. <Band id="body">
  275. <Cell celltype="head" expr="currow+1"/>
  276. <Cell col="1" displaytype="combo" text="bind:status" combodataset="ds_hidden_comcd_stat" combocodecol="value" combodatacol="label" enable="false"/>
  277. <Cell col="2" text="bind:prcpcd"/>
  278. <Cell col="3" text="bind:prcpnm"/>
  279. <Cell col="4" text="bind:drugmthdspccd"/>
  280. <Cell col="5" text="bind:prcppkspec"/>
  281. <Cell col="6" text="bind:attrcd"/>
  282. <Cell col="7" text="bind:reccd"/>
  283. <Cell col="8" text="bind:mappseqno"/>
  284. </Band>
  285. </Format>
  286. </Formats>
  287. </Grid>
  288. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 710 352 1195 358"/>
  289. <Static id="caption2" text="ICNP 매핑 내역" class="tit_2" position="absolute 710 336 836 358"/>
  290. <Grid id="grd_icnpinfo1" class="datagrid2" taborder="45" binddataset="ds_main_icnplist_icnpinfo_icnp" useinputpanel="false" position="absolute 710 357 1195 492" autoenter="select" autofittype="col" cellsizingtype="col">
  291. <Formats>
  292. <Format id="default">
  293. <Columns>
  294. <Column size="125"/>
  295. <Column size="151"/>
  296. <Column size="163"/>
  297. </Columns>
  298. <Rows>
  299. <Row size="24" band="head"/>
  300. <Row size="24"/>
  301. </Rows>
  302. <Band id="head">
  303. <Cell text="구분"/>
  304. <Cell col="1" text="용어"/>
  305. <Cell col="2" text="용어코드"/>
  306. </Band>
  307. <Band id="body">
  308. <Cell text="bind:flag"/>
  309. <Cell col="1" text="bind:termnm"/>
  310. <Cell col="2" text="bind:termcd"/>
  311. </Band>
  312. </Format>
  313. </Formats>
  314. </Grid>
  315. <Button id="btn_selattr1" taborder="46" text="선택" class="btn2" position="absolute 506 6 548 25" onclick="switch1_attrinfo1_btn_selattr1_onclick"/>
  316. <Button id="btn_srchprcp" taborder="47" text="처방찾기" class="btn2" position="absolute 861 496 925 515" onclick="switch1_attrinfo1_btn_srchprcp_onclick"/>
  317. <Edit id="ipt_prcpnm" taborder="48" class="input_default" position="absolute 928 496 1132 515" autoselect="true" autoskip="true" onkeyup="switch1_attrinfo1_ipt_prcpnm_onkeyup"/>
  318. </Layout>
  319. </Layouts>
  320. </Tabpage>
  321. <Tabpage id="attrinfo2">
  322. <Layouts>
  323. <Layout>
  324. <Button id="btn_grdaddattr3" taborder="21" text="행추가" class="btn2" position="absolute 1042 6 1095 25" anchor="top right" onclick="switch1_attrinfo2_btn_grdaddattr3_onclick"/>
  325. <Button id="btn_grddelattr3" taborder="22" text="행삭제" class="btn2" position="absolute 1097 6 1150 25" anchor="top right" onclick="switch1_attrinfo2_btn_grddelattr3_onclick"/>
  326. <Button id="btn_saveattr3" taborder="23" text="저장" class="btn5" position="absolute 1152 6 1194 25" anchor="top right" onclick="switch1_attrinfo2_btn_saveattr3_onclick"/>
  327. <Static id="cap_attr2" text="속성정보" class="tit_2" position="absolute 0 9 100 31"/>
  328. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 25 1194 31"/>
  329. <Static id="caption1" text="처방매핑 내역" class="tit_2" position="absolute 0 464 126 485"/>
  330. <Button id="button1" taborder="24" text="저장" class="btn5" enable="false" position="absolute 619 461 661 480" onclick="switch1_attrinfo2_button1_onclick"/>
  331. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 479 660 488"/>
  332. <Grid id="grd_attrlist2" class="datagrid2" taborder="25" binddataset="ds_main_attrinfo_attrlist" useinputpanel="false" position="absolute 0 30 1195 449" autoenter="select" cellsizingtype="col" oncellclick="switch1_attrinfo2_grd_attrlist2_oncellclick" onexpanddown="switch1_attrinfo2_grd_attrlist2_onexpanddown">
  333. <Formats>
  334. <Format id="default">
  335. <Columns>
  336. <Column size="24"/>
  337. <Column size="29"/>
  338. <Column size="100"/>
  339. <Column size="100"/>
  340. <Column size="100"/>
  341. <Column size="453"/>
  342. <Column size="50"/>
  343. <Column size="0"/>
  344. <Column size="0"/>
  345. <Column size="0"/>
  346. <Column size="0"/>
  347. <Column size="0"/>
  348. <Column size="35"/>
  349. <Column size="29"/>
  350. <Column size="40"/>
  351. <Column size="100"/>
  352. <Column size="83"/>
  353. <Column size="0"/>
  354. <Column size="0"/>
  355. <Column size="0"/>
  356. <Column size="0"/>
  357. <Column size="0"/>
  358. <Column size="0"/>
  359. <Column size="0"/>
  360. <Column size="0"/>
  361. <Column size="0"/>
  362. </Columns>
  363. <Rows>
  364. <Row size="31" band="head"/>
  365. <Row size="24"/>
  366. </Rows>
  367. <Band id="head">
  368. <Cell/>
  369. <Cell col="1" text="상태"/>
  370. <Cell col="2" text="속성코드"/>
  371. <Cell col="3" text="코드명"/>
  372. <Cell col="4" text="단위명"/>
  373. <Cell col="5" text="속성 설명"/>
  374. <Cell col="6" text="멀티적용"/>
  375. <Cell col="7" text="타기록참조"/>
  376. <Cell col="8" text="참조대상"/>
  377. <Cell col="9" text="참조대상코드"/>
  378. <Cell col="10" text="항목"/>
  379. <Cell col="11" text="항목코드"/>
  380. <Cell col="12" text="처방매핑" wordwrap="word"/>
  381. <Cell col="13" text="정렬순서" wordwrap="word"/>
  382. <Cell col="14" text="ICNP매핑" wordwrap="word"/>
  383. <Cell col="15" text="등록일자"/>
  384. <Cell col="16" text="등록자"/>
  385. <Cell col="17" text="등록자ID"/>
  386. <Cell col="18" text="기관코드"/>
  387. <Cell col="19" text="속성구분"/>
  388. <Cell col="20" text="상위코드"/>
  389. <Cell col="21" text="종료일자"/>
  390. <Cell col="22" text="icnpinfo"/>
  391. <Cell col="23"/>
  392. <Cell col="24"/>
  393. <Cell col="25"/>
  394. </Band>
  395. <Band id="body">
  396. <Cell celltype="head" expr="currow+1"/>
  397. <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:stat" combodataset="ds_hidden_comcd_stat" combocodecol="value" combodatacol="label" enable="false"/>
  398. <Cell col="2" text="bind:attrcd"/>
  399. <Cell col="3" displaytype="text" edittype="text" text="bind:attrnm"/>
  400. <Cell col="4" displaytype="text" edittype="text" style="align:center middle;" text="bind:unitnm"/>
  401. <Cell col="5" displaytype="text" edittype="text" text="bind:desccnts" editautoselect="true"/>
  402. <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:plnumchoiyn" combodataset="ds_cmb_plnumchoiyn" combocodecol="value" combodatacol="label"/>
  403. <Cell col="7" displaytype="combo" edittype="combo" text="bind:difrecrefyn"/>
  404. <Cell col="8" displaytype="text" edittype="text" text="bind:reftrgtnm"/>
  405. <Cell col="9" text="bind:reftrgtcd"/>
  406. <Cell col="10" displaytype="text" edittype="text" text="bind:itemnm"/>
  407. <Cell col="11" text="bind:itemcd"/>
  408. <Cell col="12" text="bind:prcpmappyn"/>
  409. <Cell col="13" displaytype="text" edittype="text" text="bind:refseq"/>
  410. <Cell col="14" displaytype="text" edittype="text" text="bind:icnpyn" expandshow="show"/>
  411. <Cell col="15" displaytype="date" text="bind:lastupdtdt" calendardisplaynulltype="nulltext"/>
  412. <Cell col="16" text="bind:lastupdtrnm"/>
  413. <Cell col="17" text="bind:lastupdtrid"/>
  414. <Cell col="18" text="bind:instcd"/>
  415. <Cell col="19" text="bind:attrflag"/>
  416. <Cell col="20" text="bind:supcd"/>
  417. <Cell col="21" text="bind:todd"/>
  418. <Cell col="22" text="bind:icnpinfo"/>
  419. <Cell col="23" text="bind:stmtupdyn"/>
  420. <Cell col="24" text="bind:beforeattrnm"/>
  421. <Cell col="25" text="bind:beforeunitnm"/>
  422. </Band>
  423. </Format>
  424. </Formats>
  425. </Grid>
  426. <Grid id="grd_prcplist2" taborder="26" binddataset="ds_main_prcpmappspec_prcplist" useinputpanel="false" position="absolute 0 485 660 670" autoenter="select" autofittype="col" cellsizingtype="col">
  427. <Formats>
  428. <Format id="default">
  429. <Columns>
  430. <Column size="23"/>
  431. <Column size="47"/>
  432. <Column size="100"/>
  433. <Column size="368"/>
  434. <Column size="100"/>
  435. <Column size="0"/>
  436. <Column size="0"/>
  437. <Column size="0"/>
  438. <Column size="0"/>
  439. </Columns>
  440. <Rows>
  441. <Row size="24" band="head"/>
  442. <Row size="24"/>
  443. </Rows>
  444. <Band id="head">
  445. <Cell/>
  446. <Cell col="1" text="상태"/>
  447. <Cell col="2" text="처방코드"/>
  448. <Cell col="3" text="처방명"/>
  449. <Cell col="4" text="규격"/>
  450. <Cell col="5"/>
  451. <Cell col="6"/>
  452. <Cell col="7"/>
  453. <Cell col="8"/>
  454. </Band>
  455. <Band id="body">
  456. <Cell celltype="head" expr="currow+1"/>
  457. <Cell col="1" displaytype="combo" edittype="combo" text="bind:status" combodataset="ds_hidden_comcd_stat" combocodecol="value" combodatacol="label" enable="false"/>
  458. <Cell col="2" text="bind:prcpcd"/>
  459. <Cell col="3" text="bind:prcpnm"/>
  460. <Cell col="4" text="bind:drugmthdspccd"/>
  461. <Cell col="5" text="bind:prcppkspec"/>
  462. <Cell col="6" text="bind:attrcd"/>
  463. <Cell col="7" text="bind:reccd"/>
  464. <Cell col="8" text="bind:mappseqno"/>
  465. </Band>
  466. </Format>
  467. </Formats>
  468. </Grid>
  469. <Static id="caption3" text="ICNP 매핑 내역" class="tit_2" position="absolute 668 464 794 485"/>
  470. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 668 479 1195 488">
  471. <Layouts>
  472. <Layout width="506" height="1"/>
  473. </Layouts>
  474. </Shape>
  475. <Grid id="grd_icnpinfo2" class="datagrid2" taborder="27" binddataset="ds_main_icnplist_icnpinfo_icnp" useinputpanel="false" position="absolute 668 485 1195 670" autoenter="select" autofittype="col" cellsizingtype="col">
  476. <Formats>
  477. <Format id="default">
  478. <Columns>
  479. <Column size="125"/>
  480. <Column size="179"/>
  481. <Column size="176"/>
  482. </Columns>
  483. <Rows>
  484. <Row size="24" band="head"/>
  485. <Row size="24"/>
  486. </Rows>
  487. <Band id="head">
  488. <Cell text="구분"/>
  489. <Cell col="1" text="용어"/>
  490. <Cell col="2" text="용어코드"/>
  491. </Band>
  492. <Band id="body">
  493. <Cell text="bind:flag"/>
  494. <Cell col="1" text="bind:termnm"/>
  495. <Cell col="2" text="bind:termcd"/>
  496. </Band>
  497. </Format>
  498. </Formats>
  499. </Grid>
  500. <Button id="btn_selattr2" taborder="28" text="선택" class="btn2" position="absolute 998 6 1040 25" anchor="top right" onclick="switch1_attrinfo2_btn_selattr2_onclick"/>
  501. <Button id="btn_srchprcp2" taborder="29" text="처방찾기" class="btn2" enable="false" position="absolute 344 461 408 480" onclick="switch1_attrinfo2_btn_srchprcp2_onclick"/>
  502. <Edit id="input1" taborder="30" class="input_default" enable="false" position="absolute 411 461 615 480" autoselect="true" autoskip="true" onkeyup="switch1_attrinfo2_input1_onkeyup"/>
  503. </Layout>
  504. </Layouts>
  505. </Tabpage>
  506. </Tabpages>
  507. </Tab>
  508. </Layout>
  509. </Layouts>
  510. <Objects>
  511. <Dataset id="ds_hidden_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  512. <ColumnInfo>
  513. <Column id="attrflag" type="STRING" size="256"/>
  514. <Column id="attrnm" type="STRING" size="256"/>
  515. </ColumnInfo>
  516. <Rows>
  517. <Row>
  518. <Col id="attrflag"/>
  519. <Col id="attrnm"/>
  520. </Row>
  521. </Rows>
  522. </Dataset>
  523. <Dataset id="ds_hidden_comcd_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  524. <ColumnInfo>
  525. <Column id="label" type="STRING" size="256"/>
  526. <Column id="value" type="STRING" size="256"/>
  527. </ColumnInfo>
  528. <Rows>
  529. <Row>
  530. <Col id="label">-</Col>
  531. <Col id="value">-</Col>
  532. </Row>
  533. <Row>
  534. <Col id="label">신규</Col>
  535. <Col id="value">I</Col>
  536. </Row>
  537. <Row>
  538. <Col id="label">수정</Col>
  539. <Col id="value">U</Col>
  540. </Row>
  541. <Row>
  542. <Col id="label">삭제</Col>
  543. <Col id="value">D</Col>
  544. </Row>
  545. </Rows>
  546. </Dataset>
  547. <Dataset id="ds_cmb_plnumchoiyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  548. <ColumnInfo>
  549. <Column id="label" type="STRING" size="256"/>
  550. <Column id="value" type="STRING" size="256"/>
  551. </ColumnInfo>
  552. <Rows>
  553. <Row>
  554. <Col id="label">Y</Col>
  555. <Col id="value">Y</Col>
  556. </Row>
  557. <Row>
  558. <Col id="label">N</Col>
  559. <Col id="value">N</Col>
  560. </Row>
  561. </Rows>
  562. </Dataset>
  563. <Dataset id="ds_main_attrinfo_attrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_attrinfo_attrlist_oncolumnchanged">
  564. <ColumnInfo>
  565. <Column id="stat" type="STRING" size="256" sumtext="상태"/>
  566. <Column id="attrcd" type="STRING" size="256" sumtext="속성코드"/>
  567. <Column id="attrnm" type="STRING" size="256" sumtext="속성명"/>
  568. <Column id="unitnm" type="STRING" size="256" sumtext="단위명"/>
  569. <Column id="desccnts" type="STRING" size="256" sumtext="설명"/>
  570. <Column id="plnumchoiyn" type="STRING" size="256" sumtext="복수선택여부"/>
  571. <Column id="difrecrefyn" type="STRING" size="256" sumtext="다른기록참조여부"/>
  572. <Column id="reftrgtnm" type="STRING" size="256" sumtext="참조대상명"/>
  573. <Column id="reftrgtcd" type="STRING" size="256" sumtext="참조대상코드"/>
  574. <Column id="itemnm" type="STRING" size="256" sumtext="항목명"/>
  575. <Column id="itemcd" type="STRING" size="256" sumtext="항목코드"/>
  576. <Column id="prcpmappyn" type="STRING" size="256" sumtext="처방매핑여부"/>
  577. <Column id="refseq" type="INT" size="256" sumtext="정렬순서"/>
  578. <Column id="icnpyn" type="STRING" size="256" sumtext="icnp 매핑여부"/>
  579. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  580. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종수정자명"/>
  581. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  582. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  583. <Column id="attrflag" type="STRING" size="256" sumtext="속성구분"/>
  584. <Column id="supcd" type="STRING" size="256" sumtext="상위코드"/>
  585. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  586. <Column id="icnpinfo" type="STRING" size="256" sumtext="icnp 정보"/>
  587. <Column id="icnpyn" type="STRING" size="256" sumtext="icnp 매핑여부"/>
  588. <Column id="stmtupdyn" type="STRING" size="256" sumtext="진술문수정여부"/>
  589. <Column id="beforeattrnm" type="STRING" size="256" sumtext="변경전속성명"/>
  590. <Column id="beforeunitnm" type="STRING" size="256" sumtext="변경전단위명"/>
  591. </ColumnInfo>
  592. </Dataset>
  593. <Dataset id="ds_main_detlattrspec_detlattrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_detlattrspec_detlattrlist_oncolumnchanged">
  594. <ColumnInfo>
  595. <Column id="stat" type="STRING" size="256" sumtext="상태"/>
  596. <Column id="attrcd" type="STRING" size="256" sumtext="속성코드"/>
  597. <Column id="attrnm" type="STRING" size="256" sumtext="속성명"/>
  598. <Column id="unitnm" type="STRING" size="256" sumtext="단위명"/>
  599. <Column id="refseq" type="INT" size="256" sumtext="정렬순서"/>
  600. <Column id="desccnts" type="STRING" size="256" sumtext="설명"/>
  601. <Column id="plnumchoiyn" type="STRING" size="256" sumtext="복수선택여부"/>
  602. <Column id="difrecrefyn" type="STRING" size="256" sumtext="다른기록참조여부"/>
  603. <Column id="reftrgtnm" type="STRING" size="256" sumtext="참조대상명"/>
  604. <Column id="reftrgtcd" type="STRING" size="256" sumtext="참조대상코드"/>
  605. <Column id="itemnm" type="STRING" size="256" sumtext="항목명"/>
  606. <Column id="itemcd" type="STRING" size="256" sumtext="항목코드"/>
  607. <Column id="prcpmappyn" type="STRING" size="256" sumtext="처방매핑여부"/>
  608. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  609. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종수정자명"/>
  610. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  611. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  612. <Column id="attrflag" type="STRING" size="256" sumtext="속성구분"/>
  613. <Column id="supcd" type="STRING" size="256" sumtext="상위코드"/>
  614. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  615. <Column id="icnpinfo" type="STRING" size="256" sumtext="icnp 정보"/>
  616. <Column id="icnpyn" type="STRING" size="256" sumtext="icnp 매핑여부"/>
  617. <Column id="stmtupdyn" type="STRING" size="256" sumtext="진술문수정여부"/>
  618. <Column id="attrgrde" type="STRING" size="256" sumtext="속성등급"/>
  619. </ColumnInfo>
  620. </Dataset>
  621. <Dataset id="ds_main_icnplist_icnpinfo_icnp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  622. <ColumnInfo>
  623. <Column id="flag" type="STRING" size="256"/>
  624. <Column id="termnm" type="STRING" size="256"/>
  625. <Column id="termcd" type="STRING" size="256"/>
  626. </ColumnInfo>
  627. </Dataset>
  628. <Dataset id="ds_main_prcpmappspec_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_prcpmappspec_prcplist_oncolumnchanged">
  629. <ColumnInfo>
  630. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  631. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  632. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  633. <Column id="drugmthdspccd" type="STRING" size="256" sumtext="drugmthdspccd"/>
  634. <Column id="qty" type="STRING" size="256" sumtext="수량"/>
  635. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일자"/>
  636. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종수정자명"/>
  637. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  638. <Column id="attrcd" type="STRING" size="256" sumtext="속성코드"/>
  639. <Column id="reccd" type="STRING" size="256" sumtext="기록코드"/>
  640. <Column id="mappseqno" type="STRING" size="256" sumtext="매핑일련번호"/>
  641. </ColumnInfo>
  642. </Dataset>
  643. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  644. <ColumnInfo>
  645. <Column id="prcpnm" type="STRING" size="256"/>
  646. </ColumnInfo>
  647. <Rows>
  648. <Row/>
  649. </Rows>
  650. </Dataset>
  651. <Dataset id="ds_hidden_refinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  652. <Dataset id="ds_hidden_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  653. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  654. <Dataset id="ds_send_attrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  655. <Dataset id="ds_send_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  656. <Dataset id="ds_hidden_main_attrinfo_attrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  657. <Dataset id="ds_hidden_main_detlattrspec_detlattrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  658. <Dataset id="ds_hidden_main_prcpmappspec_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  659. <Dataset id="ds_hidden_recinfo_icnpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  660. <ColumnInfo>
  661. <Column id="flag" type="STRING" size="256"/>
  662. <Column id="termnm" type="STRING" size="256"/>
  663. <Column id="termcd" type="STRING" size="256"/>
  664. </ColumnInfo>
  665. </Dataset>
  666. <Dataset id="ds_cmb_difrecrefyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  667. <ColumnInfo>
  668. <Column id="label" type="STRING" size="256"/>
  669. <Column id="value" type="STRING" size="256"/>
  670. </ColumnInfo>
  671. <Rows>
  672. <Row>
  673. <Col id="label">Y</Col>
  674. <Col id="value">Y</Col>
  675. </Row>
  676. <Row>
  677. <Col id="label">N</Col>
  678. <Col id="value">N</Col>
  679. </Row>
  680. </Rows>
  681. </Dataset>
  682. <Dataset id="ds_hidden_recinfo_icnpinfo_icnp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  683. <ColumnInfo>
  684. <Column id="flag" type="STRING" size="256"/>
  685. <Column id="termnm" type="STRING" size="256"/>
  686. <Column id="termcd" type="STRING" size="256"/>
  687. </ColumnInfo>
  688. </Dataset>
  689. </Objects>
  690. <Bind>
  691. <BindItem id="item0" compid="grp_sea.rdo_attrflag" propid="value" datasetid="ds_hidden_cond" columnid="attrflag"/>
  692. <BindItem id="item1" compid="switch1.attrinfo1.ipt_attrcd" propid="value" datasetid="ds_hidden_cond" columnid="attrnm"/>
  693. <BindItem id="item2" compid="switch1.attrinfo1.ipt_prcpnm" propid="value" datasetid="ds_main_cond" columnid="prcpnm"/>
  694. <BindItem id="item3" compid="switch1.attrinfo2.input1" propid="value" datasetid="ds_main_cond" columnid=""/>
  695. </Bind>
  696. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  697. * System Name :
  698. * Job Name :
  699. * Creator :
  700. * Make Date : 2015-11-13
  701. * Description :
  702. *---------------------------------------------------------------------------------------
  703. * Modify Date Modifier Modify Description
  704. *---------------------------------------------------------------------------------------
  705. * 2015-11-13 Live Converter TF->XP
  706. *
  707. *---------------------------------------------------------------------------------------
  708. ****************************************************************************************/
  709. include "com_commonxp::comm_main.xjs";
  710. include "com_commodulexp::SSZFM01001.xjs";
  711. var arErrorCode = new HashArray();
  712. var xCondPath = ds_hidden_cond;
  713. var xRefPath = ds_hidden_refinfo;
  714. var xRecPath = ds_hidden_recinfo;
  715. var xAttrListPath = ds_main_attrinfo_attrlist;
  716. var xDetlAttrPath = ds_main_detlattrspec_detlattrlist;
  717. var xICNPInfoPath = ds_main_icnplist_icnpinfo_icnp;
  718. var xMainCondPath = ds_main_cond;
  719. var xPrcpSrchPath = ds_main_prcpmappspec_prcplist;
  720. var xPrcpPath = "ds_main_prcpmappspec_prcplist";
  721. function SMMNR01700_oninit(obj:Form, e:InitEventInfo)
  722. {
  723. frmf_initForm(obj);
  724. }
  725. function SMMNR01700_onload(obj:Form, e:LoadEventInfo)
  726. {
  727. grdf_initGrid(switch1.attrinfo2.grd_attrlist2);
  728. grdf_initGrid(switch1.attrinfo2.grd_prcplist2);
  729. grdf_initGrid(switch1.attrinfo2.grd_icnpinfo2);
  730. grdf_initGrid(switch1.attrinfo1.grd_attrlist1);
  731. grdf_initGrid(switch1.attrinfo1.grd_detlattrlist);
  732. grdf_initGrid(switch1.attrinfo1.grd_icnpinfo1);
  733. grdf_initGrid(switch1.attrinfo1.grd_prcplist1);
  734. try
  735. {
  736. ds_hidden_recinfo.copyData(arg_ds_hidden_recinfo);
  737. }
  738. catch(e)
  739. {
  740. }
  741. try
  742. {
  743. ds_hidden_refinfo.copyData(arg_ds_hidden_refinfo);
  744. }
  745. catch(e)
  746. {
  747. }
  748. fInit();
  749. }
  750. function fInit()
  751. {
  752. ds_hidden_cond.setColumn(0, "attrflag","C");
  753. ds_hidden_cond.setColumn(0, "attrnm","");
  754. if(ds_hidden_recinfo.getColumn(0, "flag") == "p")
  755. {
  756. switch1.attrinfo1.btn_selattr1.visible = true;
  757. switch1.attrinfo2.btn_selattr2.visible = true;
  758. }
  759. else
  760. {
  761. switch1.attrinfo1.btn_selattr1.visible = false;
  762. switch1.attrinfo2.btn_selattr2.visible = false;
  763. }
  764. fSearch();
  765. }
  766. function fSearch(pFlag)
  767. {
  768. var sAttrFlag = xCondPath.getColumn(0, "attrflag");
  769. ds_send.clearData();
  770. switch(sAttrFlag)
  771. {
  772. case 'C' :
  773. case 'A' :
  774. if(utlf_isNull(pFlag))
  775. {
  776. xCondPath.setColumn(0, "attrnm","");
  777. }
  778. xAttrListPath.clearData();
  779. xDetlAttrPath.clearData();
  780. xICNPInfoPath.clearData();
  781. xPrcpSrchPath.clearData();
  782. switch1.tabindex = 0;
  783. break;
  784. case 'V' :
  785. switch1.attrinfo2.grd_attrlist2.setFormatColProperty(3, "size", 0);
  786. switch1.attrinfo2.grd_attrlist2.setFormatColProperty(4, "size", 100);
  787. xAttrListPath.clearData();
  788. xDetlAttrPath.clearData();
  789. xPrcpSrchPath.clearData();
  790. xICNPInfoPath.clearData();
  791. switch1.tabindex = 1;
  792. break;
  793. case 'F' :
  794. switch1.attrinfo2.grd_attrlist2.setFormatColProperty(3, "size", 100);
  795. switch1.attrinfo2.grd_attrlist2.setFormatColProperty(4, "size", 0);
  796. xDetlAttrPath.clearData();
  797. xPrcpSrchPath.clearData();;
  798. switch1.tabindex = 1;
  799. break;
  800. }
  801. dsf_makeValue(ds_send, "attrflag", "string", xCondPath.getColumn(0, "attrflag"));
  802. dsf_makeValue(ds_send, "supcd", "string", "********");
  803. if(!utlf_isNull(ds_hidden_cond.getColumn(0, "attrnm")))
  804. {
  805. dsf_makeValue(ds_send, "attrnm", "string", xCondPath.getColumn(0, "attrnm"));
  806. }
  807. var oParam = {};
  808. oParam.id = "TRMNR01701";
  809. oParam.service = "carerecapp.StmtMngt";
  810. oParam.method = "reqGetAttrList";
  811. oParam.inds = "refCond=ds_send";
  812. oParam.outds = "ds_main_attrinfo_attrlist=attrlist";
  813. oParam.async = false;
  814. //oParam.callback = "cf_TRMNR01701";
  815. tranf_submit(oParam);
  816. ds_hidden_main_attrinfo_attrlist.copyData(ds_main_attrinfo_attrlist);
  817. }
  818. function switch1_attrinfo1_ipt_attrcd_onkeyup(obj:Edit, e:KeyEventInfo)
  819. {
  820. if(e.keycode == 13)
  821. {
  822. obj.updateToDataset();
  823. switch1.attrinfo1.btn_searchattr.click();
  824. }
  825. }
  826. function switch1_attrinfo1_btn_searchattr_onclick(obj:Button, e:ClickEventInfo)
  827. {
  828. fSearch("subsearch");
  829. }
  830. function switch1_attrinfo1_grd_attrlist1_oncellclick(obj:Grid, e:GridClickEventInfo)
  831. {
  832. fOnClickedGrid("detlattr");
  833. }
  834. function fOnClickedGrid(pFlag)
  835. {
  836. var sAttrFlag = xCondPath.getColumn(0, "attrflag");
  837. var xPath = "";
  838. var sRow = 0;
  839. var sCol = 0;
  840. if(pFlag == "attr")
  841. {
  842. switch(sAttrFlag)
  843. {
  844. case 'C' :
  845. case 'A' :
  846. sRow = ds_main_detlattrspec_detlattrlist.rowposition;
  847. if(sRow < 0) return;
  848. dsf_makeValue(ds_send, "attrcd", "string", xDetlAttrPath.getColumn(sRow, "attrcd"));
  849. xICNPInfoPath.clearData();
  850. xICNPInfoPath.copyRow(xICNPInfoPath.addRow(), xDetlAttrPath, sRow);
  851. break;
  852. case 'V' :
  853. case 'F' :
  854. sRow = ds_main_attrinfo_attrlist.rowposition;
  855. if(sRow < 0) return;
  856. xICNPInfoPath.clearData();
  857. break;
  858. }
  859. }
  860. else if(pFlag == "detlattr")
  861. {
  862. sRow = ds_main_attrinfo_attrlist.rowposition;
  863. if(sRow < 0) return;
  864. if(utlf_isNull(xAttrListPath.getColumn(sRow, "attrcd"))) return;
  865. xICNPInfoPath.clearData();
  866. xDetlAttrPath.clearData();
  867. ds_send.clearData();
  868. dsf_makeValue(ds_send, "attrflag", "string", xCondPath.getColumn(0, "attrflag"));
  869. dsf_makeValue(ds_send, "supcd", "string", xAttrListPath.getColumn(sRow, "attrcd"));
  870. var oParam = {};
  871. oParam.id = "TRMNR01702";
  872. oParam.service = "carerecapp.StmtMngt";
  873. oParam.method = "reqGetAttrList";
  874. oParam.inds = "refCond=ds_send";
  875. oParam.outds = "ds_main_detlattrspec_detlattrlist=detlattrlist";
  876. oParam.async = false;
  877. //oParam.callback = "cf_TRMNR01702";
  878. tranf_submit(oParam);
  879. ds_hidden_main_detlattrspec_detlattrlist.copyData(ds_main_detlattrspec_detlattrlist);
  880. }
  881. else if(pFlag == "prcp")
  882. {
  883. sRow = ds_main_detlattrspec_detlattrlist.rowposition;
  884. sCol = switch1.attrinfo1.grd_detlattrlist.currentcell;
  885. if(sRow < 0) return;
  886. if(switch1.attrinfo1.grd_detlattrlist.getBindCellIndex("Body", "prcpmappyn") != sCol) return;
  887. xICNPInfoPath.clearData();
  888. xICNPInfoPath.copyRow(xICNPInfoPath.addRow, xDetlAttrPath, sRow);
  889. var sAttrcd = ds_main_detlattrspec_detlattrlist.getColumn(ds_main_detlattrspec_detlattrlist.rowposition, "attrcd");
  890. if( !utlf_isNull(sAttrcd))
  891. {
  892. fInitPrcpObject();
  893. dsf_makeValue(ds_send, "lnkflag", "string", "A");
  894. dsf_makeValue(ds_send, "lnkcd", "string",sAttrcd);
  895. var oParam = {};
  896. oParam.id = "TRMNR01703";
  897. oParam.service = "carerecapp.StmtMngt";
  898. oParam.method = "reqGetPrcpList";
  899. oParam.inds = "refCond=ds_send";
  900. oParam.outds = "ds_main_prcpmappspec_prcplist=prcplist";
  901. oParam.async = false;
  902. //oParam.callback = "cf_TRMNR01703";
  903. tranf_submit(oParam);
  904. }
  905. }
  906. }
  907. function fInitPrcpObject()
  908. {
  909. switch1.attrinfo1.btn_srchprcp.enable = true;
  910. switch1.attrinfo1.ipt_prcpnm.enable = true;
  911. switch1.attrinfo1.btn_saveprcp.enable = true;
  912. }
  913. function switch1_attrinfo1_btn_selattr1_onclick(obj:Button, e:ClickEventInfo)
  914. {
  915. fSendAttrInfo();
  916. }
  917. function fSendAttrInfo()
  918. {
  919. var sAttrFlag = xCondPath.getColumn(0, "attrflag");
  920. var iRow = 0;
  921. var sArrtInfoHeader = "attrcd▦attrnm▦attrflag▦plnumchoiyn▦refseq▩";
  922. var sAttrInfo = "";
  923. switch(sAttrFlag)
  924. {
  925. case 'C' :
  926. case 'A' :
  927. iRow = ds_main_attrinfo_attrlist.rowposition;
  928. break;
  929. case 'V' :
  930. case 'F' :
  931. iRow = ds_main_attrinfo_attrlist.rowposition;
  932. break;
  933. }
  934. if(iRow < 0) return;
  935. sAttrInfo += xAttrListPath.getColumn(iRow, "attrcd")+"▦"
  936. + xAttrListPath.getColumn(iRow, "attrnm")+"▦"
  937. + sAttrFlag+"▦"
  938. + xAttrListPath.getColumn(iRow, "plnumchoiyn")+"▦"
  939. + xAttrListPath.getColumn(iRow, "refseq")+"▩";
  940. opener.frmf_setParameter("SMMNR01700_Retrun",sArrtInfoHeader+sAttrInfo);
  941. this.close();
  942. }
  943. function switch1_attrinfo1_btn_grdaddattr1_onclick(obj:Button, e:ClickEventInfo)
  944. {
  945. fAddGridRow("attr");
  946. }
  947. function fAddGridRow(pFlag)
  948. {
  949. var sAttrFlag = ds_hidden_cond.getColumn(0, "attrflag");
  950. var xPath = "";
  951. var sRow = 0;
  952. if(pFlag == "attr")
  953. {
  954. xPath = ds_main_attrinfo_attrlist;
  955. switch(sAttrFlag)
  956. {
  957. case 'C' : // 코드속성
  958. case 'A' : // 사정도구
  959. sRow = ds_main_attrinfo_attrlist.addRow();
  960. break;
  961. case 'V' : // 수치속성
  962. case 'F' : // 특수속성
  963. sRow = ds_main_attrinfo_attrlist.addRow();
  964. break;
  965. }
  966. xPath.enableevent = false;
  967. xPath.setColumn(sRow, "stat","I");
  968. xPath.setColumn(sRow, "plnumchoiyn","N");
  969. xPath.setColumn(sRow, "difrecrefyn","N");
  970. xPath.setColumn(sRow, "refseq", 0);
  971. xPath.setColumn(sRow, "attrflag", sAttrFlag);
  972. xPath.setColumn(sRow, "lastupdtrid", sysf_getUserId());
  973. xPath.setColumn(sRow, "lastupdtrnm", sysf_getUserName());
  974. xPath.setColumn(sRow, "supcd", "********");
  975. xPath.enableevent = true;
  976. if(sAttrFlag == "V")
  977. {
  978. xPath.setColumn(sRow, "attrnm","(수치)");
  979. }
  980. }
  981. else if(pFlag == "detlattr")
  982. {
  983. var sSupAttrRow = ds_main_attrinfo_attrlist.rowposition;
  984. var xSupAttrPath = ds_main_attrinfo_attrlist
  985. if(sSupAttrRow < 0)
  986. {
  987. sysf_messageBox("상위코드가","I004");
  988. return;
  989. }
  990. if(xSupAttrPath.getColumn(sSupAttrRow, "stat") == "I")
  991. {
  992. sysf_messageBox("상위코드가 저장되지","E007");
  993. return;
  994. }
  995. sRow = ds_main_detlattrspec_detlattrlist.addRow();
  996. xPath = ds_main_detlattrspec_detlattrlist;
  997. xPath.enableevent = false;
  998. xPath.setColumn(sRow, "stat", "I");
  999. xPath.setColumn(sRow, "refseq", 0);
  1000. xPath.setColumn(sRow, "supcd", xSupAttrPath.getColumn(sSupAttrRow, "attrcd"));
  1001. xPath.setColumn(sRow, "attrflag", sAttrFlag);
  1002. xPath.setColumn(sRow, "lastupdtrid", sysf_getUserId());
  1003. xPath.setColumn(sRow, "lastupdtrnm", sysf_getUserName());
  1004. xPath.enableevent = true;
  1005. }
  1006. else if(pFlag == "prcp")
  1007. {
  1008. xPath = ds_main_prcpmappspec_prcplist;
  1009. var sAttrRow = "";
  1010. var xAttrPath = "";
  1011. switch(sAttrFlag)
  1012. {
  1013. case 'C' : // 코드속성
  1014. case 'A' : // 사정도구
  1015. sAttrRow = ds_main_detlattrspec_detlattrlist.rowposition;
  1016. xAttrPath = ds_main_detlattrspec_detlattrlist
  1017. if(sAttrRow < 0)
  1018. {
  1019. sysf_messageBox("속성코드가","I004");
  1020. return;
  1021. }
  1022. if(xAttrPath.getColumn(sAttrRow, "stat") == "I")
  1023. {
  1024. sysf_messageBox("상세속성코드가 저장되지","E007");
  1025. return;
  1026. }
  1027. sRow = ds_main_prcpmappspec_prcplist.addRow();
  1028. break;
  1029. case 'V' : // 수치속성
  1030. case 'F' : // 특수속성
  1031. sAttrRow = ds_main_attrinfo_attrlist.rowposition;
  1032. xAttrPath = ds_main_attrinfo_attrlist;
  1033. if(sAttrRow < 0)
  1034. {
  1035. sysf_messageBox("속성코드가","I004");
  1036. return;
  1037. }
  1038. if(xAttrPath.getColumn(sAttrRow, "stat") == "I")
  1039. {
  1040. sysf_messageBox("속성코드가 저장되지","E007");
  1041. return;
  1042. }
  1043. sRow = ds_main_prcpmappspec_prcplist.addRow();
  1044. break;
  1045. }
  1046. xPath.enableevent = false;
  1047. xPath.setColumn(sRow, "stat","I");
  1048. xPath.setColumn(sRow, "attrcd", xAttrPath.getColumn(sAttrRow, "attrcd"));
  1049. xPath.setColumn(sRow, "lastupdtrid", sysf_getUserId());
  1050. xPath.setColumn(sRow, "lastupdtrnm", sysf_getUserName());
  1051. xPath.enableevent = true;
  1052. }
  1053. }
  1054. function switch1_attrinfo1_btn_grddelattr1_onclick(obj:Button, e:ClickEventInfo)
  1055. {
  1056. fDelGridRow("attr");
  1057. }
  1058. function fDelGridRow(pFlag)
  1059. {
  1060. var sAttrFlag = ds_hidden_cond.getColumn(0, "attrflag");
  1061. var xPath = "";
  1062. var sRow = 0;
  1063. var sStat = "";
  1064. if(pFlag == "attr")
  1065. {
  1066. xPath = ds_main_attrinfo_attrlist;
  1067. if(sAttrFlag == "C" || sAttrFlag =="A")
  1068. {
  1069. sRow = ds_main_attrinfo_attrlist.rowposition;
  1070. }
  1071. else
  1072. {
  1073. sRow = ds_main_attrinfo_attrlist.rowposition;
  1074. }
  1075. if(sRow < 0)
  1076. {
  1077. sysf_messageBox("삭제할 수","I004");
  1078. return;
  1079. }
  1080. sStat = xPath.getColumn(sRow, "stat");
  1081. if(sStat == "I")
  1082. {
  1083. if(sAttrFlag == "C" || sAttrFlag =="A")
  1084. {
  1085. ds_main_attrinfo_attrlist.deleteRow(sRow);
  1086. }
  1087. else
  1088. {
  1089. ds_main_attrinfo_attrlist.deleteRow(sRow);
  1090. }
  1091. }
  1092. else if(sStat == "D")
  1093. {
  1094. xPath.setColumn(sRow, "stat","-");
  1095. }
  1096. else
  1097. {
  1098. xPath.setColumn(sRow, "stat","D");
  1099. ds_main_attrinfo_attrlist.updatecontrol = false;
  1100. ds_main_attrinfo_attrlist.setRowType(sRow, "d");
  1101. ds_main_attrinfo_attrlist.updatecontrol = true;
  1102. }
  1103. }
  1104. else if(pFlag == "detlattr")
  1105. {
  1106. xPath = ds_main_detlattrspec_detlattrlist
  1107. sRow = ds_main_detlattrspec_detlattrlist.rowposition;
  1108. if(sRow < 0)
  1109. {
  1110. sysf_messageBox("삭제할 수","I004");
  1111. return;
  1112. }
  1113. sStat = xPath.getColumn(sRow, "stat");
  1114. if(sStat == "I")
  1115. {
  1116. ds_main_detlattrspec_detlattrlist.deleteRow(sRow);
  1117. }
  1118. else if(sStat == "D")
  1119. {
  1120. xPath.setColumn(sRow, "stat","-");
  1121. }
  1122. else
  1123. {
  1124. ds_main_detlattrspec_detlattrlist.setColumn(sRow, "stat","D");
  1125. }
  1126. }
  1127. else if(pFlag == "prcp")
  1128. {
  1129. xPath = ds_main_prcpmappspec_prcplist
  1130. if(sAttrFlag == "C" || sAttrFlag =="A")
  1131. {
  1132. sRow = ds_main_prcpmappspec_prcplist.rowposition;
  1133. }
  1134. else
  1135. {
  1136. sRow = ds_main_prcpmappspec_prcplist.rowposition;
  1137. }
  1138. if(sRow < 0)
  1139. {
  1140. sysf_messageBox("삭제할 수","I004");
  1141. return;
  1142. }
  1143. if(xPath.getColumn(sRow, "stat") == "I")
  1144. {
  1145. if(sAttrFlag == "C" || sAttrFlag =="A")
  1146. {
  1147. ds_main_prcpmappspec_prcplist.deleteRow(sRow);
  1148. }
  1149. else
  1150. {
  1151. ds_main_prcpmappspec_prcplist.deleteRow(sRow);
  1152. }
  1153. }
  1154. else
  1155. {
  1156. xPath.setColumn(sRow, "stat","D");
  1157. }
  1158. }
  1159. }
  1160. function switch1_attrinfo1_btn_saveattr1_onclick(obj:Button, e:ClickEventInfo)
  1161. {
  1162. fSave("attr");
  1163. }
  1164. function fSave(pFlag)
  1165. {
  1166. var xPath = "";
  1167. var sAttrFlag = ds_hidden_cond.getColumn(0, "attrflag");
  1168. var sRow = 0;
  1169. var sRowCnt = 0;
  1170. var sStat = "";
  1171. //ds_send.clearData();
  1172. ds_send_attrlist.clear();
  1173. var pParamObj = new Object();
  1174. pParamObj.pathYN = "N";
  1175. pParamObj.nullColumnYN = "Y";
  1176. if(pFlag == "attr")
  1177. {
  1178. xPath = ds_main_attrinfo_attrlist;
  1179. switch(sAttrFlag)
  1180. {
  1181. case 'C' : // 코드속성
  1182. case 'A' :
  1183. ds_send_attrlist.copyData(grdf_getGridUpdateData(switch1.attrinfo1.grd_attrlist1), "i");
  1184. sRowCnt = ds_main_attrinfo_attrlist.rowcount;
  1185. for(var i = 0; i < sRowCnt; i++)
  1186. {
  1187. sStat = xAttrListPath.getColumn(i, "stat");
  1188. if( sStat == "-" || sStat == "D") continue;
  1189. if(utlf_isNull(xAttrListPath.getColumn(i, "icnpinfo")))
  1190. {
  1191. dsf_makeValue(ds_send_attrlist, "icnpinfo", "string", "<icnpinfo/>");
  1192. }
  1193. else
  1194. {
  1195. var pParam = new Object();
  1196. pParam.nullNodeYN = 'Y'
  1197. pParam.cDataYN = 'N'
  1198. sParamObjArr = [{ds: "ds_hidden_recinfo_icnpinfo", path:"icnpinfo/icnp", filter: ""}];
  1199. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr, "<icnpinfo><flag/><termnm/><termcd/></icnpinfo>")
  1200. dsf_makeValue(ds_send_attrlist, "icnpinfo", "string", DataSet_XMLChangeName);
  1201. }
  1202. }
  1203. break;
  1204. case 'V' :
  1205. case 'F' :
  1206. ds_send_attrlist.copyData(grdf_getGridUpdateData(switch1.attrinfo1.grd_attrlist1), "i");
  1207. sRowCnt = ds_main_attrinfo_attrlist.rowcount;
  1208. for(var i = 0; i < sRowCnt; i++)
  1209. {
  1210. sStat = xAttrListPath.getColumn(i, "stat");
  1211. if( sStat == "-" || sStat == "D") continue;
  1212. if(utlf_isNull(xAttrListPath.getColumn(i, "icnpinfo")))
  1213. {
  1214. dsf_makeValue(ds_send_attrlist, "icnpinfo", "string", "<icnpinfo/>");
  1215. }
  1216. else
  1217. {
  1218. var pParam = new Object();
  1219. pParam.nullNodeYN = 'Y'
  1220. pParam.cDataYN = 'N'
  1221. sParamObjArr = [{ds: "ds_hidden_recinfo_icnpinfo", path:"icnpinfo/icnp", filter: ""}];
  1222. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr, "<icnpinfo><icnp><flag/><termnm/><termcd/></icnp></icnpinfo>")
  1223. dsf_makeValue(ds_send_attrlist, "icnpinfo", "string", DataSet_XMLChangeName);
  1224. }
  1225. }
  1226. break;
  1227. }
  1228. if(sRowCnt < 0)
  1229. {
  1230. sysf_messageBox("처리할 데이터가 ","I004");
  1231. return;
  1232. }
  1233. if(sysf_messageBox("","Q002") != 6) return;
  1234. dsf_makeValue(ds_send, "attrflag", "string", xCondPath.getColumn(0, "attrflag"));
  1235. dsf_makeValue(ds_send, "supcd", "String","********");
  1236. dsf_makeValue(ds_send, "attrnm", "String","");
  1237. dsf_setTypeFormat(ds_send_attrlist, "refseq:INT");
  1238. var oParam = {};
  1239. oParam.id = "TXMNR01701";
  1240. oParam.service = "carerecapp.StmtMngt";
  1241. oParam.method = "reqExeAttrInfo";
  1242. oParam.inds = "attrlist=ds_send_attrlist refCond=ds_send";
  1243. oParam.outds = "ds_main_attrinfo_attrlist=attrlist";
  1244. oParam.async = false;
  1245. //oParam.callback = "cf_TXMNR01701";
  1246. tranf_submit(oParam);
  1247. ds_hidden_main_attrinfo_attrlist.copyData(ds_main_attrinfo_attrlist);
  1248. }
  1249. else if(pFlag == "detlattr")
  1250. {
  1251. xPath = ds_main_attrinfo_attrlist;
  1252. switch(sAttrFlag)
  1253. {
  1254. case 'C' : // 코드속성
  1255. case 'A' : // 사정도구
  1256. sRow = ds_main_attrinfo_attrlist.rowposition;
  1257. break;
  1258. case 'V' : // 수치속성
  1259. case 'F' : // 특수속성
  1260. sRow = ds_main_attrinfo_attrlist.rowposition;
  1261. break;
  1262. }
  1263. sRowCnt = ds_main_detlattrspec_detlattrlist.rowcount;
  1264. if(sRowCnt == 0)
  1265. {
  1266. sysf_messageBox("처리할 데이터가 ","I004");
  1267. return;
  1268. }
  1269. if(sysf_messageBox("","Q002") != 6) return;
  1270. for(var i = 0; i < sRowCnt; i++)
  1271. {
  1272. sStat = xDetlAttrPath.getColumn(i, "stat");
  1273. if( sStat == "-" || sStat == "D") continue;
  1274. if(utlf_isNull(xDetlAttrPath.getColumn(i, "icnpinfo")))
  1275. {
  1276. dsf_makeValue(ds_send_attrlist, "icnpinfo", "string", "<icnpinfo/>");
  1277. }
  1278. else
  1279. {
  1280. var pParam = new Object();
  1281. pParam.nullNodeYN = 'Y'
  1282. pParam.cDataYN = 'N'
  1283. sParamObjArr = [{ds: "ds_hidden_recinfo_icnpinfo", path:"icnpinfo/icnp", filter: ""}];
  1284. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr, "<icnpinfo><icnp><flag/><termnm/><termcd/></icnp></icnpinfo>")
  1285. dsf_makeValue(ds_send_attrlist, "icnpinfo", "string", DataSet_XMLChangeName);
  1286. }
  1287. }
  1288. //ds_send_attrlist.copyData(grdf_getGridUpdateData(switch1.attrinfo1.grd_detlattrlist, "i"));
  1289. ds_send_attrlist.copyData(ds_main_detlattrspec_detlattrlist);
  1290. dsf_setTypeFormat(ds_send_attrlist, "refseq:INT");
  1291. dsf_makeValue(ds_send, "attrflag", "string", xCondPath.getColumn(0, "attrflag"))
  1292. dsf_makeValue(ds_send, "supcd", "string", xPath.getColumn(sRow, "attrcd"));
  1293. var oParam = {};
  1294. oParam.id = "TXMNR01702";
  1295. oParam.service = "carerecapp.StmtMngt";
  1296. oParam.method = "reqExeAttrInfo";
  1297. oParam.inds = "attrlist=ds_send_attrlist refCond=ds_send";
  1298. oParam.outds = "ds_main_detlattrspec_detlattrlist=detlattrlist";
  1299. oParam.async = false;
  1300. //oParam.callback = "cf_TXMNR01702";
  1301. tranf_submit(oParam);
  1302. ds_hidden_main_detlattrspec_detlattrlist.copyData(ds_main_detlattrspec_detlattrlist);
  1303. }
  1304. else if(pFlag == "prcp")
  1305. {
  1306. xPath = ds_main_prcpmappspec_prcplist;
  1307. switch(sAttrFlag)
  1308. {
  1309. case 'C' : // 코드속성
  1310. case 'A' : // 사정도구
  1311. ds_send_prcplist.copyData(grdf_getGridUpdateData(switch1.attrinfo1.grd_prcplist1, "i"));
  1312. sRow = ds_main_detlattrspec_detlattrlist.rowposition;
  1313. sRowCnt = ds_main_prcpmappspec_prcplist.rowcount;
  1314. dsf_makeValue(ds_send, "attrcd", "string", ds_main_detlattrspec_detlattrlist.getColumn(sRow, "attrcd"));
  1315. break;
  1316. case 'V' : // 수치속성
  1317. case 'F' : // 특수속성
  1318. ds_send_prcplist.copyData(grdf_getGridUpdateData(switch1.attrinfo2.grd_prcplist2, "i"));
  1319. sRow = ds_main_attrinfo_attrlist.rowposition;
  1320. sRowCnt = ds_main_prcpmappspec_prcplist.rowcount;
  1321. dsf_makeValue(ds_send, "attrcd", "string", ds_main_attrinfo_attrlist.getColumn(sRow, "attrcd"));
  1322. break;
  1323. }
  1324. if(sRowCnt == 0)
  1325. {
  1326. sysf_messageBox("처리할 데이터가 ","I004");
  1327. return;
  1328. }
  1329. if(utlf_isNull(ds_main_detlattrspec_detlattrlist.getColumn(ds_main_detlattrspec_detlattrlist.rowposition, "attrcd")))
  1330. {
  1331. sysf_messageBox("매핑할 속성을","C002");
  1332. return;
  1333. }
  1334. if(sysf_messageBox("","Q002") != 6) return;
  1335. dsf_makeValue(ds_send, "lnkflag", "string", "A");
  1336. dsf_makeValue(ds_send, "lnkcd", "string", ds_main_detlattrspec_detlattrlist.getColumn(ds_main_detlattrspec_detlattrlist.rowposition, "attrcd"));
  1337. dsf_makeValue(ds_send, "attrflag", "string", ds_hidden_cond.getColumn(0, "attrflag"));
  1338. var oParam = {};
  1339. oParam.id = "TXMNR01703";
  1340. oParam.service = "carerecapp.StmtMngt";
  1341. oParam.method = "reqExePrcpList";
  1342. oParam.inds = "refCond=ds_send prcplist=ds_send_prcplist";
  1343. oParam.outds = "ds_main_prcpmappspec_prcplist=prcplist";
  1344. oParam.async = false;
  1345. oParam.callback = "cf_TXMNR01703";
  1346. tranf_submit(oParam);
  1347. if(arErrorCode.pop("TXMNR01703") > -1)
  1348. {
  1349. ds_main_detlattrspec_detlattrlist.setColumn(ds_main_detlattrspec_detlattrlist.rowposition, "prcpmappyn", "Y");
  1350. ds_hidden_main_detlattrspec_detlattrlist.copyData(ds_main_detlattrspec_detlattrlist);
  1351. }
  1352. }
  1353. }
  1354. function cf_TXMNR01703(sSvcId, nErrorCode, sErrorMsg)
  1355. {
  1356. arErrorCode.push(sSvcId, nErrorCode);
  1357. if(nErrorCode < 0) return;
  1358. }
  1359. function ds_main_attrinfo_attrlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1360. {
  1361. /*
  1362. if(e.columnid == "plnumchoiyn")
  1363. {
  1364. fChangedGridCol("attr");
  1365. }
  1366. */
  1367. //2019.04.11_수정
  1368. fChangedGridCol("attr");
  1369. }
  1370. function fChangedGridCol(pFlag)
  1371. {
  1372. var sAttrFlag = xCondPath.getColumn(0, "attrflag");
  1373. var sRow = 0;
  1374. var sCol = 0;
  1375. var xPath = "";
  1376. var xCPath = "";
  1377. if(pFlag == "attr")
  1378. {
  1379. xPath = ds_main_attrinfo_attrlist;
  1380. xCPath = ds_hidden_main_attrinfo_attrlist;
  1381. if(sAttrFlag == "C" || sAttrFlag == "A")
  1382. {
  1383. sCol = switch1.attrinfo1.grd_attrlist1.currentcol;
  1384. sRow = switch1.attrinfo1.grd_attrlist1.currentrow;
  1385. }
  1386. else if(sAttrFlag == "V" || sAttrFlag == "F")
  1387. {
  1388. sCol = switch1.attrinfo2.grd_attrlist2.currentcol;
  1389. sRow = switch1.attrinfo2.grd_attrlist2.currentrow;
  1390. }
  1391. var sAttrNm = xPath.getColumn(sRow, "attrnm");
  1392. var sLen = String(sAttrNm).length;
  1393. if(!utlf_isNull(sAttrNm))
  1394. {
  1395. if(String(sAttrNm).substr(0,1) != "(")
  1396. {
  1397. sAttrNm = "("+sAttrNm;
  1398. }
  1399. if(String(sAttrNm).substr(sLen-1,1) != ")")
  1400. {
  1401. sAttrNm += ")";
  1402. }
  1403. xPath.setColumn(sRow, "attrnm",sAttrNm);
  1404. }
  1405. if(xPath.getColumn(sRow, "stat")=="I")
  1406. {
  1407. if(sAttrFlag=="V" && sCol == 4)
  1408. {
  1409. var sUnitNm = utlf_transNullToEmpty(xPath.getColumn(sRow, "unitnm"));
  1410. xPath.setColumn(sRow , "desccnts", "수치정보 기록중 단위가 " + sUnitNm + "인 속성을 기록한다");
  1411. }
  1412. return; // 신규
  1413. }
  1414. sAttrCd = xPath.getColumn(sRow, "attrcd");
  1415. if( xPath.getColumn(sRow, "attrnm") == xCPath.lookup("attrcd", sAttrCd, "attrnm") &&
  1416. xPath.getColumn(sRow, "desccnts") == xCPath.lookup("attrcd", sAttrCd, "desccnts") &&
  1417. xPath.getColumn(sRow, "plnumchoiyn") == xCPath.lookup("attrcd", sAttrCd, "plnumchoiyn") &&
  1418. xPath.getColumn(sRow, "difrecrefyn") == xCPath.lookup("attrcd", sAttrCd, "difrecrefyn") &&
  1419. xPath.getColumn(sRow, "reftrgtnm") == xCPath.lookup("attrcd", sAttrCd, "reftrgtnm") &&
  1420. xPath.getColumn(sRow, "reftrgtcd") == xCPath.lookup("attrcd", sAttrCd, "reftrgtcd") &&
  1421. xPath.getColumn(sRow, "itemcd") == xCPath.lookup("attrcd", sAttrCd, "itemcd") &&
  1422. xPath.getColumn(sRow, "refseq") == xCPath.lookup("attrcd", sAttrCd, "refseq") &&
  1423. xPath.getColumn(sRow, "unitnm") == xCPath.lookup("attrcd", sAttrCd, "unitnm"))
  1424. {
  1425. xPath.setColumn(Row, "stat","-");
  1426. }
  1427. else
  1428. {
  1429. xPath.setColumn(sRow, "stat","U");
  1430. if( xPath.getColumn(sRow, "attrnm") != xCPath.lookup("attrcd", sAttrCd, "attrnm") ||
  1431. xPath.getColumn(sRow, "unitnm") != xCPath.lookup("attrcd", sAttrCd, "unitnm"))
  1432. {
  1433. dsf_makeValue(xPath, "stmtupdyn", "string", "Y", sRow);
  1434. dsf_makeValue(xPath, "beforeattrnm", "string", xCPath.lookup("attrcd", sAttrCd, "attrnm"), sRow);
  1435. dsf_makeValue(xPath, "beforeunitnm", "string", xCPath.lookup("attrcd", sAttrCd, "unitnm"), sRow);
  1436. }
  1437. else
  1438. {
  1439. dsf_makeValue(xPath, "stmtupdyn", "string", "N", sRow);
  1440. }
  1441. if(sAttrFlag=="V" && sCol == 4)
  1442. {
  1443. var sUnitNm = xPath.getColumn(sRow, "unitnm");
  1444. xPath.setColumn(sRow , "desccnts", "수치정보 기록중 단위가 " + sUnitNm + "인 속성을 기록한다");
  1445. }
  1446. }
  1447. }
  1448. else if(pFlag == "detlattr")
  1449. {
  1450. xPath = ds_main_detlattrspec_detlattrlist;;
  1451. xCPath = ds_hidden_main_detlattrspec_detlattrlist;
  1452. sRow = ds_main_detlattrspec_detlattrlist.rowposition;
  1453. sCol = switch1.attrinfo1.grd_detlattrlist.currentcol;
  1454. if(xPath.getColumn(sRow, "stat") == "I") return;
  1455. sAttrCd = xPath.getColumn(sRow, "attrcd");
  1456. if( xPath.getColumn(sRow, "attrnm") == xCPath.lookup("attrcd", sAttrCd, "attrnm") &&
  1457. xPath.getColumn(sRow, "desccnts") == xCPath.lookup("attrcd", sAttrCd, "desccnts") &&
  1458. xPath.getColumn(sRow, "refseq") == xCPath.lookup("attrcd", sAttrCd, "refseq") &&
  1459. xPath.getColumn(sRow, "attrgrde") == xCPath.lookup("attrcd", sAttrCd, "attrgrde"))
  1460. {
  1461. xPath.setColumn(sRow, "stat","-");
  1462. }
  1463. else
  1464. {
  1465. xPath.setColumn(sRow, "stat","U");
  1466. }
  1467. }
  1468. else if(pFlag == "prcp")
  1469. {
  1470. xPath = ds_main_prcpmappspec_prcplist;
  1471. //xCPath = ds_hidden_main_prcpmappspec_prcplist;
  1472. switch(sAttrFlag)
  1473. {
  1474. case 'C' : // 코드속성
  1475. case 'A' : // 사정도구
  1476. sRow = ds_main_prcpmappspec_prcplist.rowposition;
  1477. break;
  1478. case 'V' : // 수치속성
  1479. case 'F' : // 특수속성
  1480. sRow = ds_main_prcpmappspec_prcplist.rowposition;
  1481. break;
  1482. }
  1483. if(xPath.getColumn(sRow, "stat")=="I") return;
  1484. var sPrcpCd = xPath.getColumn(sRow, "prcpcd");
  1485. if( xPath.getColumn(sRow, "prcpcd") == xCPath.lookup("prcpcd", sAttrCd, "prcpcd") &&
  1486. xPath.getColumn(sRow, "size") == xCPath.lookup("prcpcd", sAttrCd, "size") &&
  1487. xPath.getColumn(sRow, "qty") == xCPath.lookup("prcpcd", sAttrCd, "qty"))
  1488. {
  1489. xPath.setColumn(sRow, "stat","-");
  1490. }
  1491. else
  1492. {
  1493. xPath.setColumn(sRow, "stat","U");
  1494. }
  1495. }
  1496. }
  1497. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1498. {
  1499. fSearch();
  1500. }
  1501. function ds_main_detlattrspec_detlattrlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1502. {
  1503. fChangedGridCol("detlattr");
  1504. }
  1505. function switch1_attrinfo1_grd_detlattrlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1506. {
  1507. fOnClickedGrid("prcp");
  1508. }
  1509. function switch1_attrinfo1_grd_detlattrlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  1510. {
  1511. fCallPopUp("detlattr");
  1512. }
  1513. function switch1_attrinfo1_btn_grdadddetlattr_onclick(obj:Button, e:ClickEventInfo)
  1514. {
  1515. fAddGridRow("detlattr");
  1516. }
  1517. function switch1_attrinfo1_btn_grddeldetlattr_onclick(obj:Button, e:ClickEventInfo)
  1518. {
  1519. ds_main_detlattrspec_detlattrlist.enableevent = false;
  1520. ds_main_detlattrspec_detlattrlist.updatecontrol = false;
  1521. fDelGridRow("detlattr");
  1522. ds_main_detlattrspec_detlattrlist.enableevent = true;
  1523. ds_main_detlattrspec_detlattrlist.updatecontrol = true;
  1524. }
  1525. function switch1_attrinfo1_btn_savedetlattr_onclick(obj:Button, e:ClickEventInfo)
  1526. {
  1527. fSave("detlattr");
  1528. }
  1529. function ds_main_prcpmappspec_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1530. {
  1531. fChangedGridCol("prcp");
  1532. }
  1533. function switch1_attrinfo1_grd_prcplist1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1534. {
  1535. fChngStatus("prcp1");
  1536. }
  1537. function fChngStatus(pFlag)
  1538. {
  1539. switch(pFlag)
  1540. {
  1541. case "prcp1" :
  1542. if(ds_main_prcpmappspec_prcplist.rowposition < 0 ) return;
  1543. var sStatus = ds_main_prcpmappspec_prcplist.getColumn(ds_main_prcpmappspec_prcplist.rowposition, "status");
  1544. var sRow = ds_main_prcpmappspec_prcplist.rowposition;
  1545. if(sStatus == "I")
  1546. {
  1547. ds_main_prcpmappspec_prcplist.deleteRow(sRow);
  1548. }
  1549. else if(sStatus == "-")
  1550. {
  1551. ds_main_prcpmappspec_prcplist.setColumn(ds_main_prcpmappspec_prcplist.rowposition, "status", "D");
  1552. }
  1553. else if(sStatus == "D")
  1554. {
  1555. ds_main_prcpmappspec_prcplist.setColumn(ds_main_prcpmappspec_prcplist.rowposition, "status", "-");
  1556. }
  1557. break;
  1558. case "prcp2" :
  1559. break;
  1560. }
  1561. }
  1562. function switch1_attrinfo1_btn_srchprcp_onclick(obj:Button, e:ClickEventInfo)
  1563. {
  1564. fCallPopUp("prcp");
  1565. }
  1566. function switch1_attrinfo1_btn_saveprcp_onclick(obj:Button, e:ClickEventInfo)
  1567. {
  1568. fSave("prcp");
  1569. }
  1570. function switch1_attrinfo1_ipt_prcpnm_onkeyup(obj:Edit, e:KeyEventInfo)
  1571. {
  1572. if(e.keycode == 13)
  1573. {
  1574. obj.updateToDataset();
  1575. switch1.attrinfo1.btn_srchprcp.click();
  1576. }
  1577. }
  1578. function switch1_attrinfo2_grd_attrlist2_oncellclick(obj:Grid, e:GridClickEventInfo)
  1579. {
  1580. fOnClickedGrid("attr");
  1581. }
  1582. function switch1_attrinfo2_grd_attrlist2_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  1583. {
  1584. fCallPopUp("attr");
  1585. }
  1586. function switch1_attrinfo2_btn_selattr2_onclick(obj:Button, e:ClickEventInfo)
  1587. {
  1588. fSendAttrInfo();
  1589. }
  1590. function switch1_attrinfo2_btn_grdaddattr3_onclick(obj:Button, e:ClickEventInfo)
  1591. {
  1592. fAddGridRow("attr");
  1593. }
  1594. function switch1_attrinfo2_btn_grddelattr3_onclick(obj:Button, e:ClickEventInfo)
  1595. {
  1596. fDelGridRow("attr");
  1597. }
  1598. function switch1_attrinfo2_btn_saveattr3_onclick(obj:Button, e:ClickEventInfo)
  1599. {
  1600. fSave("attr");
  1601. }
  1602. function switch1_attrinfo2_btn_srchprcp2_onclick(obj:Button, e:ClickEventInfo)
  1603. {
  1604. fCallPopUp("prcp");
  1605. }
  1606. function switch1_attrinfo2_button1_onclick(obj:Button, e:ClickEventInfo)
  1607. {
  1608. fSave("prcp");
  1609. }
  1610. function switch1_attrinfo2_input1_onkeyup(obj:Edit, e:KeyEventInfo)
  1611. {
  1612. if(e.keycode == 13)
  1613. {
  1614. obj.updateToDataset();
  1615. switch1.attrinfo2.btn_srchprcp2.click();
  1616. }
  1617. }
  1618. function fTermAnaly(pTerm)
  1619. {
  1620. if(utlf_isNull(pTerm)) return false;
  1621. var sTermInfo = "";
  1622. var sTemp1 = String(pTerm).split("(");
  1623. var sTemp2 = "";
  1624. for(var i = 0;i < sTemp1.length; i++)
  1625. {
  1626. if(utlf_isNull(sTemp1[i])) continue;
  1627. sTermInfo += sTemp1[i]+" ";
  1628. }
  1629. sTemp2 = String(sTermInfo).split(" ");
  1630. sTermInfo = "";
  1631. for(var i = 0; i < sTemp2.length; i++)
  1632. {
  1633. sTemp1 = String(sTemp2[i]).split(")");
  1634. for(var j = 0; j < sTemp1.length; j++)
  1635. {
  1636. if(utlf_isNull(sTemp1[j])) continue;
  1637. sTermInfo += sTemp1[j]+" ";
  1638. }
  1639. }
  1640. return sTermInfo;
  1641. }
  1642. function fCallPopUp(pFlag)
  1643. {
  1644. var sAttrFlag = xCondPath.getColumn(0, "attrflag");
  1645. var sCol = -1;
  1646. if(pFlag == "attr")
  1647. {
  1648. switch(sAttrFlag)
  1649. {
  1650. case 'C' : // 코드속성
  1651. case 'A' : // 사정도구
  1652. sCol = switch1.attrinfo1.grd_attrlist1.currentcol;
  1653. sRow = switch1.attrinfo1.grd_attrlist1.currentrow;
  1654. if(sCol == 14)
  1655. {
  1656. sTermInfo = fTermAnaly(xAttrListPath.getColumn(sRow, "attrnm"));
  1657. xRefPath.clearData();
  1658. ds_hidden_recinfo_icnpinfo.clearData();
  1659. dsf_makeValue(xRefPath, "terminfo", "string",sTermInfo);
  1660. dsf_makeValue(xRefPath, "receiveref", "ds_hidden_recinfo_icnpinfo");
  1661. var objArg = new Object();
  1662. objArg.arg_xRefPath = xRefPath;
  1663. frmf_modal("SPMNR01500", "SPMNR01500", objArg, "", "", "", "", "", "", "", "", "", "M");
  1664. if(!utlf_isNull(ds_hidden_recinfo_icnpinfo.getColumn(0, "flag")))
  1665. {
  1666. ds_main_icnplist_icnpinfo_icnp.copyData(ds_hidden_recinfo_icnpinfo);
  1667. var pParam = new Object();
  1668. pParam.nullNodeYN = 'Y'
  1669. pParam.cDataYN = 'N'
  1670. sParamObjArr = [{ds: "ds_hidden_recinfo_icnpinfo", path:"icnpinfo", filter: ""}];
  1671. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr, "<icnpinfo><flag/><termnm/><termcd/></icnpinfo>")
  1672. dsf_makeValue(ds_main_attrinfo_attrlist, "icnpinfo", "string", DataSet_XMLChangeName, sRow);
  1673. xAttrListPath.setColumn(sRow, "icnpyn", "Y");
  1674. if(xAttrListPath.getColumn(sRow, "stat") == "-")
  1675. {
  1676. xAttrListPath.setColumn(sRow, "stat","U");
  1677. }
  1678. }
  1679. }
  1680. break;
  1681. case 'V' : // 수치속성
  1682. case 'F' : // 특수속성
  1683. sCol = switch1.attrinfo2.grd_attrlist2.currentcol;
  1684. sRow = switch1.attrinfo2.grd_attrlist2.currentrow;
  1685. if(sCol == 14)
  1686. {
  1687. if(sAttrFlag =="V")
  1688. {
  1689. sTermInfo = fTermAnaly(xAttrListPath.getColumn(sRow, "unitnm"));
  1690. }
  1691. else
  1692. {
  1693. sTermInfo = fTermAnaly(xAttrListPath.getColumn(sRow, "attrnm"));
  1694. }
  1695. if(sTermInfo == false)
  1696. {
  1697. sysf_messageBox("입력된 속성이","I004");
  1698. return;
  1699. }
  1700. ds_hidden_recinfo_icnpinfo.clearData();
  1701. dsf_makeValue(ds_hidden_refinfo, "terminfo", "string", sTermInfo);
  1702. dsf_makeValue(ds_hidden_refinfo, "receiveref", "string","ds_hidden_recinfo_icnpinfo");
  1703. var objArg = new Object();
  1704. objArg.arg_ds_hidden_refinfo = ds_hidden_refinfo;
  1705. frmf_modal("SPMNR01500", "SPMNR01500", objArg, "", "", "", "", "", "", "", "", "", "M");
  1706. if(!utlf_isNull(ds_hidden_recinfo_icnpinfo.getColumn(0, "flag")))
  1707. {
  1708. ds_main_icnplist_icnpinfo_icnp.copyData(ds_hidden_recinfo_icnpinfo);
  1709. var pParam = new Object();
  1710. pParam.nullNodeYN = 'Y'
  1711. pParam.cDataYN = 'N'
  1712. sParamObjArr = [{ds: "ds_hidden_recinfo_icnpinfo", path:"icnpinfo", filter: ""}];
  1713. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr, "<icnpinfo><flag/><termnm/><termcd/></icnpinfo>")
  1714. dsf_makeValue(ds_main_attrinfo_attrlist, "icnpinfo", "string", DataSet_XMLChangeName, sRow);
  1715. xAttrListPath.setColumn(sRow, "icnpyn", "Y");
  1716. if(xAttrListPath.getColumn(sRow, "stat") == "-")
  1717. {
  1718. xAttrListPath.setColumn(sRow, "stat","U");
  1719. }
  1720. }
  1721. }
  1722. break;
  1723. }
  1724. }
  1725. else if(pFlag == "detlattr")
  1726. {
  1727. sCol = switch1.attrinfo1.grd_detlattrlist.currentcol;
  1728. sRow = switch1.attrinfo1.grd_detlattrlist.currentrow;
  1729. if(sCol == 14)
  1730. {
  1731. sTermInfo = fTermAnaly(xDetlAttrPath.getColumn(sRow, "attrnm"));
  1732. if(sTermInfo == false)
  1733. {
  1734. sysf_messageBox("입력된 속성이","I004");
  1735. return;
  1736. }
  1737. xRefPath.clearData();
  1738. ds_main_icnplist_icnpinfo_icnp.clearData();
  1739. dsf_makeValue(xRefPath, "terminfo", "string",sTermInfo);
  1740. dsf_makeValue(xRefPath, "receiveref", "ds_hidden_recinfo_icnpinfo");
  1741. var objArg = new Object();
  1742. objArg.arg_xRefPath = xRefPath;
  1743. frmf_modal("SPMNR01500", "SPMNR01500", objArg, "", "", "", "", "", "", "", "", "", "M");
  1744. if(!utlf_isNull(ds_hidden_recinfo_icnpinfo.getColumn(0, "flag")))
  1745. {
  1746. ds_main_icnplist_icnpinfo_icnp.copyData(ds_hidden_recinfo_icnpinfo);
  1747. xDetlAttrPath.setColumn(sRow, "icnpyn", "Y");
  1748. if(xDetlAttrPath.getColumn(sRow, "stat") == "-")
  1749. {
  1750. xDetlAttrPath.setColumn(sRow, "stat","U");
  1751. }
  1752. }
  1753. }
  1754. }
  1755. else if(pFlag == "prcp")
  1756. {
  1757. if(utlf_isNull(xMainCondPath.getColumn(0, "prcpnm")))
  1758. {
  1759. sysf_messageBox("검색어를","C001");
  1760. return;
  1761. }
  1762. if(ds_main_detlattrspec_detlattrlist.rowposition < 0 )
  1763. {
  1764. sysf_messageBox("상세 속성을","C002");
  1765. return;
  1766. }
  1767. var iRow = 0;
  1768. frmf_setParameter("prcpsrchflag","nm");
  1769. frmf_setParameter("srchtextval",xMainCondPath.getColumn(0, "prcpnm"));
  1770. frmf_setParameter("scrnflag","rec");
  1771. frmf_setParameter("srchParam","srchSET");
  1772. frmf_setParameter("rtnpath",xPrcpPath);
  1773. frmf_modal("SPMNW11100", "SPMNW11100", "", "", "", "", "", "", "", "", "", "", "M");
  1774. iRow = ds_main_prcpmappspec_prcplist.rowcount-1;
  1775. if(xPrcpSrchPath.getColumn(iRow, "status") == "-" && iRow > -1)
  1776. {
  1777. xPrcpSrchPath.setColumn(iRow, "status", "I");
  1778. xMainCondPath.setColumn(iRow, "prcpnm", "");
  1779. }
  1780. else
  1781. {
  1782. xMainCondPath.setColumn(iRow, "prcpnm", "");
  1783. return;
  1784. }
  1785. }
  1786. }
  1787. function grp_sea_rdo_attrflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1788. {
  1789. fSearch();
  1790. }
  1791. ]]></Script>
  1792. </Form>
  1793. </FDL>