SMMNR01800_표준진술문관리.xfdl 65 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNR01800" position="absolute 0 0 1198 766" titletext="표준 진술문 관리" oninit="SMMNR01800_oninit" onload="SMMNR01800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="표준진술문관리" class="tit_1" position="absolute 0 0 160 25"/>
  8. <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 25 426 85">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption53" text="진술문조건 :" class="search_name" position="absolute 8 35 108 52"/>
  12. <Button id="button61" taborder="5" class="icon_search" position="absolute 221 36 237 52" onclick="grp_sea_button61_onclick" visible="false"/>
  13. <CheckBox id="chk_tooltipview" taborder="6" text="작성자 ToolTip 보기" truevalue="Y" class="checkbox_search" position="absolute 241 33 376 53" onclick="grp_sea_chk_tooltipview_onclick"/>
  14. <Edit id="ipt_statnm" taborder="7" class="input_search" position="absolute 112 34 217 53" autoselect="true" autoskip="true" onkeyup="grp_sea_ipt_statnm_onkeyup"/>
  15. <Button id="btn_search" taborder="8" text="조회" class="btn1" position="absolute 363 10 419 32" onclick="grp_sea_btn_search_onclick"/>
  16. <Radio id="rdo_dnarsrch" taborder="9" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 97 8 307 28" style="textpadding:0 10 0 3;">
  17. <Dataset id="innerdataset">
  18. <ColumnInfo>
  19. <Column id="codecolumn"/>
  20. <Column id="datacolumn"/>
  21. </ColumnInfo>
  22. <Rows>
  23. <Row>
  24. <Col id="codecolumn">%</Col>
  25. <Col id="datacolumn">ALL</Col>
  26. </Row>
  27. <Row>
  28. <Col id="codecolumn">1D</Col>
  29. <Col id="datacolumn">D</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">2N</Col>
  33. <Col id="datacolumn">N</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">3A</Col>
  37. <Col id="datacolumn">A</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">4R</Col>
  41. <Col id="datacolumn">R</Col>
  42. </Row>
  43. </Rows>
  44. </Dataset>
  45. </Radio>
  46. <Static id="caption4" text="타입분류 :" class="search_name" position="absolute 8 10 100 27"/>
  47. </Layout>
  48. </Layouts>
  49. </Div>
  50. <Static id="caption42" text="등록된 진술문" class="tit_2" position="absolute 0 94 131 116"/>
  51. <Shape id="line18" class="line_10" position="absolute 0 110 426 116"/>
  52. <Static id="caption46" text="간호 진술문장 등록 및 관리" class="tit_2" position="absolute 431 26 635 55"/>
  53. <Shape id="line21" linetype="horizontal" class="line_10" position="absolute 430 42 1188 48" anchor="left top right"/>
  54. <Shape id="line22" linetype="vertical" class="line_2" position="absolute 465 296 851 302"/>
  55. <Shape id="line23" linetype="horizontal" class="line_10" position="absolute 430 609 850 615" anchor="left bottom"/>
  56. <Static id="caption43" text="처방매핑상세내역" class="tit_2" position="absolute 430 593 610 614" anchor="left bottom"/>
  57. <Button id="button17" taborder="2" text="저장" class="btn5" position="absolute 808 590 850 609" visible="false" anchor="left bottom"/>
  58. <Button id="button18" taborder="3" text="행삭제" class="btn2" position="absolute 753 590 806 609" visible="false" anchor="left bottom"/>
  59. <Button id="button19" taborder="4" text="행추가" class="btn2" position="absolute 698 590 751 609" onclick="button19_onclick" visible="false" anchor="left bottom"/>
  60. <Tab id="switch1" taborder="5" tabindex="0" position="absolute 855 76 1190 528" class="tab_Normal" anchor="all">
  61. <Tabpages>
  62. <Tabpage id="attrinfo1">
  63. <Layouts>
  64. <Layout>
  65. <Static id="caption5" text="속성선택" class="tit_2" position="absolute 6 6 186 28"/>
  66. <Shape id="line5" class="line_10" position="absolute 5 22 329 28" anchor="left top right"/>
  67. <Grid id="grd_attrlist1" taborder="1" binddataset="ds_main_attrinfo_attrlist" autoenter="select" useinputpanel="false" cellsizingtype="col" oncellclick="switch1_attrinfo1_grd_attrlist1_oncellclick" position="absolute 5 27 329 412" anchor="all" autofittype="col">
  68. <Formats>
  69. <Format id="default">
  70. <Columns>
  71. <Column size="24" band="left"/>
  72. <Column size="100"/>
  73. <Column size="178"/>
  74. <Column size="0"/>
  75. </Columns>
  76. <Rows>
  77. <Row size="24" band="head"/>
  78. <Row size="24"/>
  79. </Rows>
  80. <Band id="head">
  81. <Cell/>
  82. <Cell col="1" text="속성명"/>
  83. <Cell col="2" text="속성설명"/>
  84. <Cell col="3" text="속성코드"/>
  85. </Band>
  86. <Band id="body">
  87. <Cell celltype="head" expr="currow+1"/>
  88. <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:attrnm" wordwrap="word"/>
  89. <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:desccnts" wordwrap="word"/>
  90. <Cell col="3" text="bind:attrcd"/>
  91. </Band>
  92. </Format>
  93. </Formats>
  94. </Grid>
  95. </Layout>
  96. </Layouts>
  97. </Tabpage>
  98. <Tabpage id="attrinfo2">
  99. <Layouts>
  100. <Layout>
  101. <Static id="caption1" text="속성선택" class="tit_2" position="absolute 5 6 185 28"/>
  102. <Shape id="line2" class="line_10" position="absolute 5 22 329 28" anchor="left top right"/>
  103. <Grid id="grd_attrlist2" taborder="3" binddataset="ds_main_attrinfo_attrlist" autoenter="select" useinputpanel="false" cellsizingtype="col" oncellclick="switch1_attrinfo2_grd_attrlist2_oncellclick" position="absolute 5 27 329 220" anchor="all" autofittype="col">
  104. <Formats>
  105. <Format id="default">
  106. <Columns>
  107. <Column size="23" band="left"/>
  108. <Column size="100"/>
  109. <Column size="181"/>
  110. <Column size="0"/>
  111. </Columns>
  112. <Rows>
  113. <Row size="24" band="head"/>
  114. <Row size="24"/>
  115. </Rows>
  116. <Band id="head">
  117. <Cell/>
  118. <Cell col="1" text="속성명"/>
  119. <Cell col="2" text="속성설명"/>
  120. <Cell col="3" text="속성코드"/>
  121. </Band>
  122. <Band id="body">
  123. <Cell celltype="head" expr="currow+1"/>
  124. <Cell col="1" style="align:left top;padding:3 3 3 3;" text="bind:attrnm" wordwrap="word"/>
  125. <Cell col="2" style="align:left middle;" text="bind:desccnts"/>
  126. <Cell col="3" text="bind:attrcd"/>
  127. </Band>
  128. </Format>
  129. </Formats>
  130. </Grid>
  131. <Grid id="grd_detlattrlist" taborder="4" binddataset="ds_main_detlattrspec_detlattrlist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 5 225 329 415" anchor="left right bottom" autofittype="col">
  132. <Formats>
  133. <Format id="default">
  134. <Columns>
  135. <Column size="21" band="left"/>
  136. <Column size="100"/>
  137. <Column size="180"/>
  138. <Column size="0"/>
  139. </Columns>
  140. <Rows>
  141. <Row size="24" band="head"/>
  142. <Row size="24"/>
  143. </Rows>
  144. <Band id="head">
  145. <Cell/>
  146. <Cell col="1" text="상세속성명"/>
  147. <Cell col="2" text="속성설명"/>
  148. <Cell col="3" text="속성코드"/>
  149. </Band>
  150. <Band id="body">
  151. <Cell celltype="head" expr="currow+1"/>
  152. <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:attrnm" wordwrap="word"/>
  153. <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:desccnts" wordwrap="word"/>
  154. <Cell col="3" text="bind:attrcd"/>
  155. </Band>
  156. </Format>
  157. </Formats>
  158. </Grid>
  159. </Layout>
  160. </Layouts>
  161. </Tabpage>
  162. </Tabpages>
  163. </Tab>
  164. <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 855 538 1190 544" anchor="left right bottom"/>
  165. <Static id="caption7" text="진술문 분류체계 사용내역" class="tit_2" position="absolute 855 522 1035 544" anchor="left bottom"/>
  166. <Shape id="line7" linetype="horizontal" class="line_2" position="absolute 430 69 851 75"/>
  167. <Radio id="rdo_attressnyn" taborder="6" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 925 47 1025 67">
  168. <Dataset id="innerdataset">
  169. <ColumnInfo>
  170. <Column id="codecolumn"/>
  171. <Column id="datacolumn"/>
  172. </ColumnInfo>
  173. <Rows>
  174. <Row>
  175. <Col id="codecolumn">C</Col>
  176. <Col id="datacolumn">선택</Col>
  177. </Row>
  178. <Row>
  179. <Col id="codecolumn">E</Col>
  180. <Col id="datacolumn">필수</Col>
  181. </Row>
  182. </Rows>
  183. </Dataset>
  184. </Radio>
  185. <Button id="btn_attrrgst" taborder="7" text="속성등록" class="btn2" position="absolute 855 48 919 67" onclick="btn_attrrgst_onclick"/>
  186. <Button id="btn_attrmngt" taborder="8" text="속성관리" class="btn2" position="absolute 1125 48 1189 67" onclick="btn_attrmngt_onclick" anchor="top right"/>
  187. <Radio id="rdo_dnar" taborder="9" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 685 47 815 68">
  188. <Dataset id="innerdataset">
  189. <ColumnInfo>
  190. <Column id="codecolumn"/>
  191. <Column id="datacolumn"/>
  192. </ColumnInfo>
  193. <Rows>
  194. <Row>
  195. <Col id="codecolumn">1D</Col>
  196. <Col id="datacolumn">D</Col>
  197. </Row>
  198. <Row>
  199. <Col id="codecolumn">2N</Col>
  200. <Col id="datacolumn">N</Col>
  201. </Row>
  202. <Row>
  203. <Col id="codecolumn">3A</Col>
  204. <Col id="datacolumn">A</Col>
  205. </Row>
  206. <Row>
  207. <Col id="codecolumn">4R</Col>
  208. <Col id="datacolumn">R</Col>
  209. </Row>
  210. </Rows>
  211. </Dataset>
  212. </Radio>
  213. <Combo id="cmb_origincd" taborder="10" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_essential" position="absolute 495 49 610 68">
  214. <Dataset id="innerdataset">
  215. <ColumnInfo>
  216. <Column id="codecolumn"/>
  217. <Column id="datacolumn"/>
  218. </ColumnInfo>
  219. <Rows>
  220. <Row>
  221. <Col id="codecolumn">1</Col>
  222. <Col id="datacolumn">국가표준</Col>
  223. </Row>
  224. <Row>
  225. <Col id="codecolumn">2</Col>
  226. <Col id="datacolumn">CMC 표준</Col>
  227. </Row>
  228. </Rows>
  229. </Dataset>
  230. </Combo>
  231. <TextArea id="tar_stmtcnts" taborder="11" position="absolute 495 74 850 97" acceptstab="true" autoselect="true" wordwrap="word"/>
  232. <Grid id="grd_stmtlist" taborder="12" binddataset="ds_main_stmtlist_stmtinfo" useinputpanel="false" position="absolute 0 115 425 756" autoenter="select" cellsizingtype="col" autofittype="col" oncelldblclick="grd_stmtlist_oncelldblclick" anchor="left top bottom" autosizingtype="row" extendsizetype="row" onvscrolllastover="grd_stmtlist_onvscrolllastover">
  233. <Formats>
  234. <Format id="default">
  235. <Columns>
  236. <Column size="28"/>
  237. <Column size="40"/>
  238. <Column size="0"/>
  239. <Column size="0"/>
  240. <Column size="340"/>
  241. <Column size="0"/>
  242. <Column size="0"/>
  243. <Column size="0"/>
  244. <Column size="0"/>
  245. <Column size="0"/>
  246. <Column size="0"/>
  247. <Column size="0"/>
  248. </Columns>
  249. <Rows>
  250. <Row size="24" band="head"/>
  251. <Row size="24"/>
  252. </Rows>
  253. <Band id="head">
  254. <Cell/>
  255. <Cell col="1" text="DNAR"/>
  256. <Cell col="2" text="DNARflag"/>
  257. <Cell col="3" text="진술문코드"/>
  258. <Cell col="4" text="진술문장"/>
  259. <Cell col="5" text="시작일자"/>
  260. <Cell col="6" text="종료일자"/>
  261. <Cell col="7" text="출처코드"/>
  262. <Cell col="8" text="lastupdtrid"/>
  263. <Cell col="9" text="lastupdtdt"/>
  264. <Cell col="10" text="lastupdtrnm"/>
  265. <Cell col="11" text="attrcnt"/>
  266. </Band>
  267. <Band id="body">
  268. <Cell celltype="head" expr="currow+1"/>
  269. <Cell col="1" style="align:center middle;" text="bind:dnar" suppress="1" suppressalign="middle,over"/>
  270. <Cell col="2" text="bind:dnarflag"/>
  271. <Cell col="3" text="bind:stmtcd"/>
  272. <Cell col="4" style="align:left middle;padding:3 3 3 3;" text="bind:stmtcnts" wordwrap="word" autosizerow="limitmin"/>
  273. <Cell col="5" text="bind:fromdd"/>
  274. <Cell col="6" text="bind:todd"/>
  275. <Cell col="7" text="bind:origincd"/>
  276. <Cell col="8" text="bind:lastupdtrid"/>
  277. <Cell col="9" text="bind:lastupdtdt"/>
  278. <Cell col="10" text="bind:lastupdtrnm"/>
  279. <Cell col="11" text="bind:attrcnt"/>
  280. </Band>
  281. </Format>
  282. </Formats>
  283. </Grid>
  284. <Grid id="grd_prcplist" taborder="13" binddataset="ds_main_prcpmappspec_prcpinfo" useinputpanel="false" position="absolute 430 614 851 685" autoenter="select" cellsizingtype="col" onexpanddown="grd_prcplist_onexpanddown" anchor="left bottom">
  285. <Formats>
  286. <Format id="default">
  287. <Columns>
  288. <Column size="26"/>
  289. <Column size="30"/>
  290. <Column size="74"/>
  291. <Column size="60"/>
  292. <Column size="72"/>
  293. <Column size="77"/>
  294. <Column size="99"/>
  295. <Column size="43"/>
  296. <Column size="100"/>
  297. <Column size="100"/>
  298. <Column size="100"/>
  299. </Columns>
  300. <Rows>
  301. <Row size="24" band="head"/>
  302. <Row size="24"/>
  303. </Rows>
  304. <Band id="head">
  305. <Cell/>
  306. <Cell col="1" text="상태"/>
  307. <Cell col="2" text="속성이름"/>
  308. <Cell col="3" text=" 항목코드"/>
  309. <Cell col="4" text="처방코드"/>
  310. <Cell col="5" text="처방명"/>
  311. <Cell col="6" text="Size"/>
  312. <Cell col="7" text="수량"/>
  313. <Cell col="8" text="등록일자"/>
  314. <Cell col="9" text="등록자"/>
  315. <Cell col="10" text="등록자ID"/>
  316. </Band>
  317. <Band id="body">
  318. <Cell celltype="head" expr="currow+1"/>
  319. <Cell col="1" displaytype="combo" edittype="combo" text="bind:stat"/>
  320. <Cell col="2" text="bind:attrcd"/>
  321. <Cell col="3" text="bind:attrnm"/>
  322. <Cell col="4" displaytype="text" edittype="text" text="bind:prcpcd" expandshow="show"/>
  323. <Cell col="5" text="bind:prcpnm"/>
  324. <Cell col="6" displaytype="combo" edittype="combo" text="bind:size" combodataset="ds_cmb_size" combocodecol="value" combodatacol="label"/>
  325. <Cell col="7" displaytype="text" edittype="text" text="bind:qty"/>
  326. <Cell col="8" text="bind:lastupdtdt"/>
  327. <Cell col="9" text="bind:lastupdtrnm"/>
  328. <Cell col="10" text="bind:lastupdtrid"/>
  329. </Band>
  330. </Format>
  331. </Formats>
  332. </Grid>
  333. <Button id="btn_rgst" taborder="14" text="등록" class="btn5" position="absolute 1057 23 1099 42" onclick="btn_rgst_onclick" anchor="top right"/>
  334. <Button id="btn_updt" taborder="15" text="수정" class="btn5" position="absolute 1102 23 1144 42" onclick="btn_updt_onclick" anchor="top right"/>
  335. <Button id="btn_del" taborder="16" text="삭제" class="btn5" position="absolute 1147 23 1189 42" onclick="btn_del_onclick" anchor="top right"/>
  336. <Button id="btn_icnptermmngt" taborder="17" text="ICNP용어관리" class="btn2" position="absolute 714 378 808 397" onclick="btn_icnptermmngt_onclick"/>
  337. <Button id="btn_termanaly" taborder="18" text="용어분석" class="btn2" position="absolute 649 378 713 397" onclick="btn_termanaly_onclick"/>
  338. <Grid id="grd_terminfo" class="datagrid2" taborder="19" binddataset="ds_main_termanaly_terminfo" useinputpanel="false" position="absolute 430 398 851 586" autoenter="select" cellsizingtype="col" onexpanddown="grd_terminfo_onexpanddown" anchor="left top bottom">
  339. <Formats>
  340. <Format id="default">
  341. <Columns>
  342. <Column size="24"/>
  343. <Column size="30"/>
  344. <Column size="35"/>
  345. <Column size="81"/>
  346. <Column size="79"/>
  347. <Column size="85"/>
  348. <Column size="89"/>
  349. <Column size="85"/>
  350. <Column size="69"/>
  351. <Column size="0"/>
  352. <Column size="0"/>
  353. <Column size="0"/>
  354. <Column size="0"/>
  355. <Column size="0"/>
  356. </Columns>
  357. <Rows>
  358. <Row size="33" band="head"/>
  359. <Row size="24"/>
  360. </Rows>
  361. <Band id="head">
  362. <Cell/>
  363. <Cell col="1" text="선택"/>
  364. <Cell col="2" text="구분"/>
  365. <Cell col="3" text="용어/속성"/>
  366. <Cell col="4" text="Semantic&#10;Type"/>
  367. <Cell col="5" text="Concept ID"/>
  368. <Cell col="6" text="ICNP 한글명"/>
  369. <Cell col="7" text="ICNP 영문명"/>
  370. <Cell col="8" text="진술문코드&#10;/속성코드"/>
  371. <Cell col="9" text="status"/>
  372. <Cell col="10" text="itemseqno"/>
  373. <Cell col="11" text="localcd"/>
  374. <Cell col="12" text="todd"/>
  375. <Cell col="13" text="smnttypecd"/>
  376. </Band>
  377. <Band id="body">
  378. <Cell celltype="head" expr="currow+1"/>
  379. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:check == 'true' ? 1 : 0"/>
  380. <Cell col="2" text="bind:flag"/>
  381. <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:termnm"/>
  382. <Cell col="4" displaytype="text" edittype="text" text="bind:smnthngnm" expandshow="show"/>
  383. <Cell col="5" text="bind:cnptid"/>
  384. <Cell col="6" text="bind:icnphngterm"/>
  385. <Cell col="7" text="bind:icnpengterm"/>
  386. <Cell col="8" text="bind:itemcd"/>
  387. <Cell col="9" text="bind:status"/>
  388. <Cell col="10" text="bind:itemseqno"/>
  389. <Cell col="11" text="bind:localcd"/>
  390. <Cell col="12" text="bind:todd"/>
  391. <Cell col="13" text="bind:smnttypecd"/>
  392. </Band>
  393. </Format>
  394. </Formats>
  395. </Grid>
  396. <Grid id="grd_icnp" class="datagrid2" taborder="20" binddataset="ds_main_stmtmngt_stmtinfo_icnpmngt_icnpinfo" useinputpanel="false" position="absolute 430 211 851 375" autoenter="select" autofittype="col" cellsizingtype="col">
  397. <Formats>
  398. <Format id="default">
  399. <Columns>
  400. <Column size="26"/>
  401. <Column size="51"/>
  402. <Column size="59"/>
  403. <Column size="120"/>
  404. <Column size="146"/>
  405. <Column size="0"/>
  406. </Columns>
  407. <Rows>
  408. <Row size="24" band="head"/>
  409. <Row size="24"/>
  410. </Rows>
  411. <Band id="head">
  412. <Cell/>
  413. <Cell col="1" text="구분"/>
  414. <Cell col="2" text="Semantic Type" wordwrap="word" combodataset="ds_init_smnttypelist_smnttypeinfo" combocodecol="smnttypecd" combodatacol="hngnm"/>
  415. <Cell col="3" text="용어/속성"/>
  416. <Cell col="4" text="Concept ID"/>
  417. <Cell col="5" text="용어코드/속성코드"/>
  418. </Band>
  419. <Band id="body">
  420. <Cell celltype="head" expr="currow+1"/>
  421. <Cell col="1" text="bind:flag"/>
  422. <Cell col="2" displaytype="combo" edittype="combo" text="bind:smnttypecd"/>
  423. <Cell col="3" text="bind:termnm"/>
  424. <Cell col="4" text="bind:cnptid"/>
  425. <Cell col="5" text="bind:termcd"/>
  426. </Band>
  427. </Format>
  428. </Formats>
  429. </Grid>
  430. <Button id="button12" taborder="21" text="전체선택" class="btn2" position="absolute 431 378 495 397" onclick="button12_onclick"/>
  431. <Button id="btn_clear" taborder="22" text="Clear" class="btn2" position="absolute 1002 23 1055 42" onclick="btn_clear_onclick" anchor="top right"/>
  432. <Grid id="grd_stmtsetlist" taborder="23" binddataset="ds_main_stmtmngt_grupinfolist" useinputpanel="false" position="absolute 855 543 1190 756" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left right bottom">
  433. <Formats>
  434. <Format id="default">
  435. <Columns>
  436. <Column size="21"/>
  437. <Column size="56"/>
  438. <Column size="91"/>
  439. <Column size="81"/>
  440. <Column size="61"/>
  441. </Columns>
  442. <Rows>
  443. <Row size="24" band="head"/>
  444. <Row size="24"/>
  445. </Rows>
  446. <Band id="head">
  447. <Cell/>
  448. <Cell col="1" text="그룹"/>
  449. <Cell col="2" text="대분류"/>
  450. <Cell col="3" text="소분류"/>
  451. <Cell col="4" text="문장Type"/>
  452. </Band>
  453. <Band id="body">
  454. <Cell celltype="head" expr="currow+1"/>
  455. <Cell col="1" style="align:left top;padding:5 2 1 2;" text="bind:lrggrupnm" wordwrap="word"/>
  456. <Cell col="2" style="align:left top;padding:5 2 1 2;" text="bind:mdlgrupnm" wordwrap="word"/>
  457. <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:smlgrupnm" wordwrap="word"/>
  458. <Cell col="4" style="align:left top;padding:5 2 1 2;" wordwrap="word"/>
  459. </Band>
  460. </Format>
  461. </Formats>
  462. </Grid>
  463. <Static id="caption2" text="Tip 용어분석시 주의사항&#13;&#10;1. ^ : 조사앞에서 사용. 기호 뒤에 단어를 버리고 문장분석이 이루어짐. &#13;&#10;2. $ : 두단어를 한단어처럼 문장분석이 이루어짐. (ex) 단어$단어 =&gt; 단어 단어&#13;&#10;3. ',' , ':' : 단어사이나 별도의 기호로 있는 경우에도 모두 앞 기호는 문장분석에서 제외됨." position="absolute 428 684 855 754" anchor="left bottom"/>
  464. <Button id="button1" taborder="24" text="저장" class="btn5" position="absolute 809 378 851 397" onclick="button1_onclick"/>
  465. <TextArea id="tar_stmtcntsdesc" taborder="25" position="absolute 495 102 850 142" wordwrap="word" acceptstab="true" autoselect="true"/>
  466. <Static id="caption13" text="문장출처" class="cell_1" position="absolute 430 47 493 70"/>
  467. <Static id="caption9" text="분류타입" class="cell_1" position="absolute 614 47 677 70"/>
  468. <Button id="button2" taborder="26" text="엑셀" class="btn7" position="absolute 365 90 425 110" onclick="button2_onclick"/>
  469. <Static id="caption3" text="진술문" class="cell_1" position="absolute 430 73 493 98"/>
  470. <Static id="caption8" text="진술문&#13;&#10;정의" class="cell_1" position="absolute 430 101 493 142"/>
  471. <Static id="caption10" text="관련&#13;&#10;요인" class="cell_1" position="absolute 430 145 493 209"/>
  472. <TextArea id="tar_relacause" taborder="27" position="absolute 495 145 850 209" acceptstab="true" autoselect="true" wordwrap="word"/>
  473. <Shape id="line00" class="line_2" position="absolute 430 97 851 103"/>
  474. <Shape id="line01" class="line_2" position="absolute 431 141 852 147"/>
  475. <Button id="btn_codeattr" taborder="28" text="코드속성" position="absolute 857 68 931 90" class="btn_tab_S" onclick="btn_codeattr_onclick"/>
  476. <Button id="btn_nvalattr" taborder="29" text="수치속성" class="btn_tab" position="absolute 932 68 1006 90" onclick="btn_nvalattr_onclick"/>
  477. <Button id="btn_spclattr" taborder="30" text="특수속성" class="btn_tab" position="absolute 1007 68 1081 90" onclick="btn_spclattr_onclick"/>
  478. <Button id="btn_asestool" taborder="31" text="사정도구" class="btn_tab" position="absolute 1082 68 1156 90" onclick="btn_asestool_onclick"/>
  479. </Layout>
  480. </Layouts>
  481. <Objects>
  482. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  483. <ColumnInfo>
  484. <Column id="dnar" type="STRING" size="256"/>
  485. <Column id="stmtnm" type="STRING" size="256"/>
  486. <Column id="tooltipvw" type="STRING" size="256"/>
  487. </ColumnInfo>
  488. <Rows>
  489. <Row>
  490. <Col id="dnar"/>
  491. <Col id="stmtnm"/>
  492. <Col id="tooltipvw"/>
  493. </Row>
  494. </Rows>
  495. </Dataset>
  496. <Dataset id="ds_main_stmtlist_stmtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  497. <ColumnInfo>
  498. <Column id="dnar" type="STRING" size="256" sumtext="dnar 구분"/>
  499. <Column id="dnarflag" type="STRING" size="256" sumtext="dnar 구분"/>
  500. <Column id="stmtcd" type="STRING" size="256" sumtext="진술문 코드"/>
  501. <Column id="stmtcnts" type="STRING" size="256" sumtext="진술문 내용"/>
  502. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  503. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  504. <Column id="origincd" type="STRING" size="256" sumtext="출처코드"/>
  505. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  506. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일자"/>
  507. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종수정자명"/>
  508. <Column id="attrcnt" type="STRING" size="256" sumtext="속성갯수"/>
  509. <Column id="stmtcntsdesc" type="STRING" size="256" sumtext="진술문 내용"/>
  510. <Column id="relacause" type="STRING" size="256" sumtext="관련요인"/>
  511. </ColumnInfo>
  512. </Dataset>
  513. <Dataset id="ds_main_stmtmngt_stmtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  514. <ColumnInfo>
  515. <Column id="stmtcd" type="STRING" size="256" sumtext="진술문 코드"/>
  516. <Column id="instcd" type="STRING" size="256" sumtext="기관 코드"/>
  517. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  518. <Column id="stmtcnts" type="STRING" size="256" sumtext="진술문 내용"/>
  519. <Column id="origincd" type="STRING" size="256" sumtext="출처코드"/>
  520. <Column id="attrcnt" type="STRING" size="256" sumtext="속성수"/>
  521. <Column id="attrinfo1" type="STRING" size="256" sumtext="속성정보1"/>
  522. <Column id="attrinfo2" type="STRING" size="256" sumtext="속성정보2"/>
  523. <Column id="attressnyn" type="STRING" size="256" sumtext="속성필수여부"/>
  524. <Column id="dnarflag" type="STRING" size="256" sumtext="dnar 구분"/>
  525. <Column id="icnpinfo" type="STRING" size="256" sumtext="ICNP 정보"/>
  526. <Column id="stmtcntsdesc" type="STRING" size="256" sumtext="진술문 내용"/>
  527. <Column id="relacause" type="STRING" size="256" sumtext="관련요인"/>
  528. </ColumnInfo>
  529. <Rows>
  530. <Row>
  531. <Col id="stmtcd"/>
  532. <Col id="instcd"/>
  533. <Col id="todd"/>
  534. <Col id="stmtcnts"/>
  535. <Col id="origincd"/>
  536. <Col id="attrcnt"/>
  537. <Col id="attrinfo1"/>
  538. <Col id="attrinfo2"/>
  539. <Col id="attressnyn"/>
  540. <Col id="dnarflag"/>
  541. <Col id="stmtcntsdesc"/>
  542. <Col id="relacause"/>
  543. </Row>
  544. </Rows>
  545. </Dataset>
  546. <Dataset id="ds_main_stmtmngt_stmtinfo_icnpmngt_icnpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  547. <Dataset id="ds_main_termanaly_terminfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_termanaly_terminfo_oncolumnchanged">
  548. <ColumnInfo>
  549. <Column id="check" type="STRING" size="256" sumtext="선택"/>
  550. <Column id="flag" type="STRING" size="256" sumtext="구분"/>
  551. <Column id="termnm" type="STRING" size="256" sumtext="용어/속성명"/>
  552. <Column id="cnptid" type="STRING" size="256" sumtext="icnp 용어"/>
  553. <Column id="smnttypecd" type="STRING" size="256" sumtext="semantic type 코드"/>
  554. <Column id="itemcd" type="STRING" size="256" sumtext="(진술문)코드"/>
  555. <Column id="icnphngterm" type="STRING" size="256" sumtext="icnp 용어"/>
  556. <Column id="icnpengterm" type="STRING" size="256" sumtext="icnp 용어"/>
  557. <Column id="smnthngnm" type="STRING" size="256" sumtext="Semantic Type"/>
  558. <Column id="itemseqno" type="INT" size="256" sumtext="항목일련번호"/>
  559. <Column id="localcd" type="STRING" size="256" sumtext="ICNP 로컬코드 "/>
  560. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  561. </ColumnInfo>
  562. </Dataset>
  563. <Dataset id="ds_main_prcpmappspec_prcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  564. <Dataset id="ds_main_attrinfo_attrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  565. <ColumnInfo>
  566. <Column id="attrcd" type="STRING" size="256" sumtext="속성코드"/>
  567. <Column id="attrnm" type="STRING" size="256" sumtext="속성명"/>
  568. <Column id="desccnts" type="STRING" size="256" sumtext="설명"/>
  569. </ColumnInfo>
  570. </Dataset>
  571. <Dataset id="ds_main_detlattrspec_detlattrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  572. <ColumnInfo>
  573. <Column id="attrcd" type="STRING" size="256" sumtext="속성코드"/>
  574. <Column id="attrnm" type="STRING" size="256" sumtext="속성명"/>
  575. <Column id="desccnts" type="STRING" size="256" sumtext="설명"/>
  576. </ColumnInfo>
  577. </Dataset>
  578. <Dataset id="ds_init_smnttypelist_smnttypeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  579. <ColumnInfo>
  580. <Column id="smnttypecd" type="STRING" size="256" sumtext="semantic type 코드"/>
  581. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  582. </ColumnInfo>
  583. </Dataset>
  584. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  585. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  586. <ColumnInfo>
  587. <Column id="stmtmngt" type="INT" size="256"/>
  588. <Column id="refinfo" type="STRING" size="256"/>
  589. <Column id="terminfo" type="STRING" size="256"/>
  590. <Column id="stmtcnt" type="INT" size="256"/>
  591. <Column id="stmtcnt1" type="INT" size="256"/>
  592. </ColumnInfo>
  593. <Rows>
  594. <Row>
  595. <Col id="stmtmngt"/>
  596. <Col id="refinfo"/>
  597. <Col id="terminfo"/>
  598. <Col id="stmtcnt"/>
  599. <Col id="stmtcnt1">0</Col>
  600. </Row>
  601. </Rows>
  602. </Dataset>
  603. <Dataset id="ds_hidden_stmtmngt_stmtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  604. <Dataset id="ds_main_stmtmngt_grupinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  605. <ColumnInfo>
  606. <Column id="lrggrupnm" type="STRING" size="256" sumtext="대분류"/>
  607. <Column id="mdlgrupnm" type="STRING" size="256" sumtext="중분류"/>
  608. <Column id="smlgrupnm" type="STRING" size="256" sumtext="소분류"/>
  609. <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
  610. </ColumnInfo>
  611. </Dataset>
  612. <Dataset id="ds_hidden_refinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  613. <Dataset id="ds_hidden_terminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  614. <Dataset id="ds_cmb_size" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  615. <ColumnInfo>
  616. <Column id="label" type="STRING" size="256"/>
  617. <Column id="value" type="STRING" size="256"/>
  618. </ColumnInfo>
  619. <Rows>
  620. <Row>
  621. <Col id="label">3*4cm</Col>
  622. <Col id="value">1</Col>
  623. </Row>
  624. </Rows>
  625. </Dataset>
  626. <Dataset id="ds_send_stmtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  627. <Dataset id="ds_send_refCond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  628. <Dataset id="ds_temp_stmtlist_stmtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  629. </Objects>
  630. <Bind>
  631. <BindItem id="item0" compid="grp_sea.rdo_dnarsrch" propid="value" datasetid="ds_main_cond" columnid="dnar"/>
  632. <BindItem id="item1" compid="grp_sea.ipt_statnm" propid="value" datasetid="ds_main_cond" columnid="stmtnm"/>
  633. <BindItem id="item2" compid="grp_sea.chk_tooltipview" propid="value" datasetid="ds_main_cond" columnid="tooltipvw"/>
  634. <BindItem id="item3" compid="cmb_origincd" propid="value" datasetid="ds_main_stmtmngt_stmtinfo" columnid="origincd"/>
  635. <BindItem id="item4" compid="rdo_dnar" propid="value" datasetid="ds_main_stmtmngt_stmtinfo" columnid="dnarflag"/>
  636. <BindItem id="item5" compid="tar_stmtcnts" propid="value" datasetid="ds_main_stmtmngt_stmtinfo" columnid="stmtcnts"/>
  637. <BindItem id="item6" compid="tar_stmtcntsdesc" propid="value" datasetid="ds_main_stmtmngt_stmtinfo" columnid="stmtcntsdesc"/>
  638. <BindItem id="item7" compid="tar_relacause" propid="value" datasetid="ds_main_stmtmngt_stmtinfo" columnid="relacause"/>
  639. <BindItem id="item8" compid="rdo_attressnyn" propid="value" datasetid="ds_main_stmtmngt_stmtinfo" columnid="attressnyn"/>
  640. </Bind>
  641. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  642. * System Name :
  643. * Job Name :
  644. * Creator :
  645. * Make Date : 2015-11-13
  646. * Description :
  647. *---------------------------------------------------------------------------------------
  648. * Modify Date Modifier Modify Description
  649. *---------------------------------------------------------------------------------------
  650. * 2015-11-13 Live Converter TF->XP
  651. *
  652. *---------------------------------------------------------------------------------------
  653. ****************************************************************************************/
  654. include "com_commonxp::comm_main.xjs";
  655. include "com_commodulexp::SSZFM01001.xjs";
  656. var sAttrNM = "";
  657. var xTermInfoPath = "ds_main_termanaly_terminfo";
  658. var xStmtInfoPath = "ds_main_stmtmngt_stmtinfo"; // 진술문 정보
  659. var xGrupInfoPath = "ds_main_stmtmngt_grupinfolist"; // 진술문 분류체계 사용내역
  660. var xBKStmtInfoPath = "ds_hidden_stmtmngt_stmtinfo"; // 진술문 백업 정보
  661. var xAttrListPath = "ds_main_attrinfo_attrlist"; // 속성 정보
  662. var xStmtListPath = "ds_main_stmtlist_stmtinfo"; // 진술문 리스트 정보
  663. var arErrorCode = new HashArray();
  664. function SMMNR01800_oninit(obj:Form, e:InitEventInfo)
  665. {
  666. frmf_initForm(obj);
  667. }
  668. function SMMNR01800_onload(obj:Form, e:LoadEventInfo)
  669. {
  670. grdf_initGrid(grd_stmtlist);
  671. grdf_initGrid(grd_icnp);
  672. grdf_initGrid(grd_terminfo);
  673. grdf_initGrid(grd_prcplist);
  674. grdf_initGrid(switch1.attrinfo1.grd_attrlist1);
  675. grdf_initGrid(switch1.attrinfo2.grd_attrlist2);
  676. grdf_initGrid(switch1.attrinfo2.grd_detlattrlist);
  677. grdf_initGrid(grd_stmtsetlist);
  678. grdf_setToolTipBind(grd_stmtlist)
  679. fInit();
  680. }
  681. function fInit()
  682. {
  683. ds_main_stmtlist_stmtinfo.clearData();
  684. ds_main_prcpmappspec_prcpinfo.clearData();
  685. ds_main_termanaly_terminfo.clearData();
  686. this.objects[xStmtInfoPath+"_icnpmngt_icnpinfo"].clearData();
  687. this.objects[xGrupInfoPath].clearData();
  688. ds_main_cond.setColumn(0, "dnar",'%');
  689. fAttrSearch("C");
  690. var oParam = {};
  691. oParam.id = "TRMNR01806";
  692. oParam.service = "carerecapp.StmtMngt";
  693. oParam.method = "reqGetSmnttypeInfo";
  694. oParam.inds = "";
  695. oParam.outds = "ds_init_smnttypelist_smnttypeinfo=smnttypeinfo";
  696. oParam.async = false;
  697. //oParam.callback = "cf_TRMNR01806";
  698. tranf_submit(oParam);
  699. }
  700. function fAttrSearch(pFlag)
  701. {
  702. ds_main_attrinfo_attrlist.clearData();
  703. switch(pFlag)
  704. {
  705. case 'C' : // 코드속성
  706. case 'A' : // 사정도구
  707. switch1.tabindex = 1;
  708. ds_main_detlattrspec_detlattrlist.clearData();
  709. break;
  710. case 'V' : // 수치속성
  711. case 'F' : // 특수속성
  712. switch1.tabindex = 0;
  713. break;
  714. }
  715. dsf_makeValue(ds_send, "attrflag", "string",pFlag);
  716. dsf_makeValue(ds_send, "supcd", "string","********");
  717. var oParam = {};
  718. oParam.id = "TRMNR01801";
  719. oParam.service = "carerecapp.StmtMngt";
  720. oParam.method = "reqGetStmtAttrList";
  721. oParam.inds = "refCond=ds_send";
  722. oParam.outds = "ds_main_attrinfo_attrlist=attrlist";
  723. oParam.async = false;
  724. //oParam.callback = "cf_TRMNR01801";
  725. tranf_submit(oParam);
  726. }
  727. function grp_sea_ipt_statnm_onkeyup(obj:Edit, e:KeyEventInfo)
  728. {
  729. if(e.keycode == 13)
  730. {
  731. obj.updateToDataset();
  732. grp_sea.btn_search.click();
  733. }
  734. }
  735. function grp_sea_chk_tooltipview_onclick(obj:CheckBox, e:ClickEventInfo)
  736. {
  737. if(obj.value == "Y")
  738. {
  739. }
  740. else
  741. {
  742. ds_main_cond.setColumn(0, "tooltipvw", "");
  743. }
  744. }
  745. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  746. {
  747. fSearch();
  748. }
  749. function fSearch()
  750. {
  751. ds_hidden.setColumn(0, "stmtcnt", 0);
  752. ds_hidden.setColumn(0, "stmtcnt1", 0);
  753. ds_main_stmtlist_stmtinfo.clearData();
  754. ds_send.clear();
  755. dsf_makeValue(ds_send, "dnar", "string", ds_main_cond.getColumn(0, "dnar"));
  756. dsf_makeValue(ds_send, "stmtnm", "string", ds_main_cond.getColumn(0, "stmtnm"));
  757. dsf_makeValue(ds_send, "offset", "int", 0);
  758. dsf_makeValue(ds_send, "pagesize", "int", 500);
  759. var oParam = {};
  760. oParam.id = "TRMNR01803";
  761. oParam.service = "carerecapp.StmtMngt";
  762. oParam.method = "reqGetStmtListInfo";
  763. oParam.inds = "refCond=ds_send";
  764. oParam.outds = "ds_main_stmtlist_stmtinfo=stmtinfo";
  765. oParam.async = false;
  766. oParam.callback = "cf_TRMNR01803";
  767. tranf_submit(oParam);
  768. if(arErrorCode.pop("TRMNR01803") > -1)
  769. {
  770. ds_hidden.setColumn(0, "stmtcnt", ds_main_stmtlist_stmtinfo.rowcount);
  771. }
  772. ds_main_stmtlist_stmtinfo.keystring = "S:dnarflag+";
  773. fStmtInfoClear();
  774. ds_hidden_stmtmngt_stmtinfo.copyData(ds_main_stmtmngt_stmtinfo);
  775. }
  776. function cf_TRMNR01803(sSvcId, nErrorCode, sErrorMsg)
  777. {
  778. arErrorCode.push(sSvcId, nErrorCode);
  779. if(nErrorCode < 0) return;
  780. }
  781. function fStmtInfoClear()
  782. {
  783. var xPath = ds_main_stmtmngt_stmtinfo
  784. xPath.clearData();
  785. xPath.addRow();
  786. ds_main_stmtmngt_stmtinfo_icnpmngt_icnpinfo.clearData();
  787. ds_main_termanaly_terminfo.clearData();
  788. this.objects[xGrupInfoPath].clearData()
  789. }
  790. function button2_onclick(obj:Button, e:ClickEventInfo)
  791. {
  792. grdf_exportExcel(grd_stmtlist, "excel", "SheetName", "true", "", "");
  793. }
  794. function grd_stmtlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  795. {
  796. OnDblClick();
  797. }
  798. function OnDblClick()
  799. {
  800. var sRow = 0;
  801. sRow = ds_main_stmtlist_stmtinfo.rowposition;
  802. if(sRow < 0) return;
  803. ds_send.clear();
  804. this.objects[xTermInfoPath].clearData();
  805. dsf_makeValue(ds_send, "stmtcd","string", ds_main_stmtlist_stmtinfo.getColumn(sRow, "stmtcd"));
  806. dsf_makeValue(ds_send, "todd","string", ds_main_stmtlist_stmtinfo.getColumn(sRow, "todd"));
  807. var oParam = {};
  808. oParam.id = "TRMNR01804";
  809. oParam.service = "carerecapp.StmtMngt";
  810. oParam.method = "reqGetStmtList";
  811. oParam.inds = "refCond=ds_send";
  812. oParam.outds = "ds_main_stmtmngt_stmtinfo=stmtinfo ds_main_stmtmngt_grupinfolist=grupinfolist";
  813. oParam.async = false;
  814. oParam.callback = "cf_TRMNR01804";
  815. tranf_submit(oParam);
  816. if(arErrorCode.pop("TRMNR01804") > -1)
  817. {
  818. ds_hidden_stmtmngt_stmtinfo.copyData(ds_main_stmtmngt_grupinfolist);
  819. }
  820. }
  821. function cf_TRMNR01804(sSvcId, nErrorCode, sErrorMsg)
  822. {
  823. arErrorCode.push(sSvcId, nErrorCode);
  824. if(nErrorCode < 0) return;
  825. }
  826. function ds_main_termanaly_terminfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  827. {
  828. if(e.columnid == "check")
  829. {
  830. obj.setColumn(e.row, "check", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  831. }
  832. }
  833. function button12_onclick(obj:Button, e:ClickEventInfo)
  834. {
  835. fAllChoi();
  836. }
  837. function fAllChoi()
  838. {
  839. var sRow = ds_main_termanaly_terminfo.rowcount;
  840. if(sRow == 0) return;
  841. for(var i = 0; i < sRow; i++)
  842. {
  843. this.objects[xTermInfoPath].setColumn(i, "check","true");
  844. }
  845. }
  846. function btn_termanaly_onclick(obj:Button, e:ClickEventInfo)
  847. {
  848. fTermAnaly();
  849. }
  850. function fTermAnaly()
  851. {
  852. var sStmtCnts = this.objects[xStmtInfoPath].getColumn(0, "stmtcnts");
  853. if(utlf_isNull(sStmtCnts))
  854. {
  855. sysf_messageBox("분석할 진술문장이 ","I004");
  856. return;
  857. }
  858. ds_send.clear();
  859. dsf_makeValue(ds_send, "stmtcnts", "string", sStmtCnts);
  860. dsf_makeValue(ds_send, "stmtcd", "string", ds_main_stmtmngt_stmtinfo.getColumn(0, "stmtcd"));
  861. var oParam = {};
  862. oParam.id = "TRMNR01805";
  863. oParam.service = "carerecapp.StmtMngt";
  864. oParam.method = "reqGetTermAnaly";
  865. oParam.inds = "refCond=ds_send";
  866. oParam.outds = "ds_main_termanaly_terminfo=terminfo";
  867. oParam.async = false;
  868. //oParam.callback = "cf_TRMNR01805";
  869. tranf_submit(oParam);
  870. }
  871. function btn_icnptermmngt_onclick(obj:Button, e:ClickEventInfo)
  872. {
  873. fPopUpCall("ICNPTerm");
  874. }
  875. function fPopUpCall(pFlag)
  876. {
  877. if(pFlag == "AttrMngt")
  878. {
  879. frmf_modal("SMMNR01700", "SMMNR01700", "", "", "", "", "", "", "", "", "", "", "M");
  880. }
  881. else if(pFlag == "ICNPTerm")
  882. {
  883. var iRow = ds_main_termanaly_terminfo.rowposition;
  884. if(iRow < 0)
  885. {
  886. sysf_messageBox("ICNP 매핑할 용어가","I004");
  887. }
  888. dsf_makeValue(ds_hidden_refinfo, "flag", "string","p");
  889. var objArg = new Object();
  890. objArg.arg_ds_hidden_refinfo = ds_hidden_refinfo;
  891. frmf_modal("SMMNR01200", "SMMNR01200", objArg, "", "", "", "", "", "", "", "", "", "M");
  892. var sTermInfo = frmf_getParameter("terminfo");
  893. if(utlf_isNull(sTermInfo)) return;
  894. var sValue = String(sTermInfo).split("▦");
  895. this.objects[xTermInfoPath].setColumn(iRow, "smnttypecd", sValue[0]);
  896. this.objects[xTermInfoPath].setColumn(iRow, "itemcd", sValue[1]);
  897. this.objects[xTermInfoPath].setColumn(iRow, "icnphngterm", sValue[2]);
  898. this.objects[xTermInfoPath].setColumn(iRow, "icnpengterm", sValue[3]);
  899. this.objects[xTermInfoPath].setColumn(iRow, "cnptid", sValue[4]);
  900. }
  901. }
  902. function button1_onclick(obj:Button, e:ClickEventInfo)
  903. {
  904. fSaveTermInfo();
  905. }
  906. function fSaveTermInfo()
  907. {
  908. alert("개발중 입니다.");
  909. return;
  910. }
  911. function grd_terminfo_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  912. {
  913. var iRow = ds_main_termanaly_terminfo.rowposition;
  914. var iCol = e.col;
  915. if(ds_main_termanaly_terminfo.getColumn(iRow, "smnthngnm") && iCol == 4)
  916. {
  917. dsf_makeValue(ds_hidden, "smnttypecd", "String", ds_main_termanaly_terminfo.getColumn(iRow, "smnttypecd"));
  918. dsf_makeValue(ds_hidden, "todd", "String", ds_main_termanaly_terminfo.getColumn(iRow, "todd"));
  919. var objArg = new Object();
  920. objArg.arg_ds_send_reqdata = ds_hidden;
  921. frmf_modal("SPMNR05300", "SPMNR05300", objArg, "", "", "", "", "", "", "", "", "", "M");
  922. if(!utlf_isNull(ds_hidden_terminfo.getColumn(0, "icnphngterm")))
  923. {
  924. ds_main_termanaly_terminfo.setColumn(iRow, "icnphngterm", ds_hidden_terminfo.getColumn(0, "icnphngterm"));
  925. ds_main_termanaly_terminfo.setColumn(iRow, "icnpengterm", ds_hidden_terminfo.getColumn(0, "icnpengterm"));
  926. ds_main_termanaly_terminfo.setColumn(iRow, "cnptid", ds_hidden_terminfo.getColumn(0, "cnptid"));
  927. ds_main_termanaly_terminfo.setColumn(iRow, "localcd", ds_hidden_terminfo.getColumn(0, "localcd"));
  928. }
  929. }
  930. }
  931. function btn_attrrgst_onclick(obj:Button, e:ClickEventInfo)
  932. {
  933. fAttrRgst();
  934. }
  935. function fAttrRgst()
  936. {
  937. var sStmtCnts = this.objects[xStmtInfoPath].getColumn(0, "stmtcnts");
  938. if(!utlf_isNull(sStmtCnts)) sStmtCnts += " ";
  939. this.objects[xStmtInfoPath].setColumn(0, "stmtcnts", sStmtCnts+sAttrNM);
  940. }
  941. function btn_attrmngt_onclick(obj:Button, e:ClickEventInfo)
  942. {
  943. fPopUpCall("AttrMngt");
  944. }
  945. function btn_codeattr_onclick(obj:Button, e:ClickEventInfo)
  946. {
  947. btn_codeattr.class = "btn_tab_S";
  948. btn_nvalattr.class = "btn_tab";
  949. btn_spclattr.class = "btn_tab";
  950. btn_asestool.class = "btn_tab";
  951. fAttrSearch("C");
  952. }
  953. function fAttrSearch(pFlag)
  954. {
  955. ds_main_attrinfo_attrlist.clearData();
  956. ds_send.clear();
  957. switch(pFlag)
  958. {
  959. case 'C' : // 코드속성
  960. case 'A' : // 사정도구
  961. switch1.tabindex = 1;
  962. ds_main_detlattrspec_detlattrlist.clearData();
  963. break;
  964. case 'V' : // 수치속성
  965. case 'F' : // 특수속성
  966. switch1.tabindex = 0;
  967. break;
  968. }
  969. dsf_makeValue(ds_send, "attrflag", "string" ,pFlag);
  970. dsf_makeValue(ds_send, "supcd", "string" ,"********");
  971. var oParam = {};
  972. oParam.id = "TRMNR01801";
  973. oParam.service = "carerecapp.StmtMngt";
  974. oParam.method = "reqGetStmtAttrList";
  975. oParam.inds = "refCond=ds_send";
  976. oParam.outds = "ds_main_attrinfo_attrlist=attrlist";
  977. oParam.async = false;
  978. //oParam.callback = "cf_TRMNR01801";
  979. tranf_submit(oParam);
  980. }
  981. function btn_nvalattr_onclick(obj:Button, e:ClickEventInfo)
  982. {
  983. btn_codeattr.class = "btn_tab";
  984. btn_nvalattr.class = "btn_tab_S";
  985. btn_spclattr.class = "btn_tab";
  986. btn_asestool.class = "btn_tab";
  987. fAttrSearch("V");
  988. }
  989. function btn_spclattr_onclick(obj:Button, e:ClickEventInfo)
  990. {
  991. btn_codeattr.class = "btn_tab";
  992. btn_nvalattr.class = "btn_tab";
  993. btn_spclattr.class = "btn_tab_S";
  994. btn_asestool.class = "btn_tab";
  995. fAttrSearch("F");
  996. }
  997. function btn_asestool_onclick(obj:Button, e:ClickEventInfo)
  998. {
  999. btn_codeattr.class = "btn_tab";
  1000. btn_nvalattr.class = "btn_tab";
  1001. btn_spclattr.class = "btn_tab";
  1002. btn_asestool.class = "btn_tab_S";
  1003. fAttrSearch("A");
  1004. }
  1005. function switch1_attrinfo1_grd_attrlist1_oncellclick(obj:Grid, e:GridClickEventInfo)
  1006. {
  1007. OnClickedGrid("VFAttr");
  1008. }
  1009. function OnClickedGrid(pFlag)
  1010. {
  1011. var sRow = 0;
  1012. if(pFlag == "CSAttr")
  1013. {
  1014. ds_main_detlattrspec_detlattrlist.clearData();
  1015. ds_send.clear();
  1016. sRow = ds_main_attrinfo_attrlist.rowposition;
  1017. if(sRow < 0) return;
  1018. dsf_makeValue(ds_send, "supcd", "string",this.objects[xAttrListPath].getColumn(sRow, "attrcd"))
  1019. var oParam = {};
  1020. oParam.id = "TRMNR01802";
  1021. oParam.service = "carerecapp.StmtMngt";
  1022. oParam.method = "reqGetStmtAttrList";
  1023. oParam.inds = "refCond=ds_send";
  1024. oParam.outds = "ds_main_detlattrspec_detlattrlist=detlattrlist";
  1025. oParam.async = false;
  1026. //oParam.callback = "cf_TRMNR01802";
  1027. tranf_submit(oParam);
  1028. }
  1029. else if(pFlag == "VFAttr")
  1030. {
  1031. sRow = ds_main_attrinfo_attrlist.rowposition;
  1032. if(sRow < 0) return;
  1033. }
  1034. sAttrNM = this.objects[xAttrListPath].getColumn(sRow, "attrnm");
  1035. }
  1036. function switch1_attrinfo2_grd_attrlist2_oncellclick(obj:Grid, e:GridClickEventInfo)
  1037. {
  1038. OnClickedGrid("CSAttr");
  1039. }
  1040. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  1041. {
  1042. fStmtInfoClear();
  1043. }
  1044. function btn_rgst_onclick(obj:Button, e:ClickEventInfo)
  1045. {
  1046. fStmtRgst();
  1047. }
  1048. function fStmtRgst()
  1049. {
  1050. ds_send_stmtinfo.clearData();
  1051. ds_send_refCond.clearData();
  1052. var sStmtCD = this.objects[xStmtInfoPath].getColumn(0, "stmtcd");
  1053. var sStmtCnts = this.objects[xStmtInfoPath].getColumn(0, "stmtcnts");
  1054. var sAttrEssnYN = this.objects[xStmtInfoPath].getColumn(0, "attressnyn");
  1055. var sOriginCD = this.objects[xStmtInfoPath].getColumn(0, "origincd");
  1056. var sDNARFlag = this.objects[xStmtInfoPath].getColumn(0, "dnarflag");
  1057. var sStmtCntsDesc = this.objects[xStmtInfoPath].getColumn(0, "stmtcntsdesc");
  1058. var sRelaCause = this.objects[xStmtInfoPath].getColumn(0, "relacause");
  1059. var sRowCnt = ds_main_termanaly_terminfo.rowcount;
  1060. if(!utlf_isNull(sStmtCD))
  1061. {
  1062. sysf_messageBox("이미 등록된 진술문장입니다. 신규 등록","E001");
  1063. return;
  1064. }
  1065. if(utlf_isNull(sStmtCnts))
  1066. {
  1067. sysf_messageBox("등록할 진술 문장을","C001");
  1068. return;
  1069. }
  1070. if(utlf_isNull(sOriginCD))
  1071. {
  1072. sysf_messageBox("문장 출처를","C001");
  1073. return;
  1074. }
  1075. if(utlf_isNull(sDNARFlag))
  1076. {
  1077. sysf_messageBox("D.N.A.R 분류 타입을","C001");
  1078. return;
  1079. }
  1080. if(sRowCnt == 0)
  1081. {
  1082. sysf_messageBox("문장 분석이 이루어지지","E007");
  1083. //return; //일시적으로 주석처리
  1084. }
  1085. var sStmtInfo = fRgstTermAnaly();
  1086. if(sStmtInfo == null) return;
  1087. var sAttrInfo = sStmtInfo.split("▦");
  1088. var pParam = new Object();
  1089. pParam.nullNodeYN = 'Y'
  1090. pParam.cDataYN = 'N'
  1091. sParamObjArr = [{ds: "ds_main_stmtmngt_stmtinfo_icnpmngt_icnpinfo", path:"icnpinfo", filter: ""}];
  1092. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr, "<icnpinfo><flag/><smnttypecd/><termnm/><cnptid/><termcd/></icnpinfo>")
  1093. var sStmtInfo = "stat" +"▦" + // 상태
  1094. "stmtcd" +"▦" + //진술문 코드
  1095. "instcd" +"▦" + //기관코드
  1096. "todd" +"▦" + //종료일자
  1097. "stmtcnts" +"▦" + //진술문
  1098. "origincd" +"▦" + //출처코드
  1099. "attrcnt" +"▦" + //속성개수
  1100. "attrinfo1" +"▦" + //속성정보1
  1101. "attrinfo2" +"▦" + //속성정보2
  1102. "attressnyn" +"▦" + //속성 필수 입력 여부
  1103. "dnarflag" +"▦" + //D.N.A.R 구분
  1104. "stmtcntsdesc" +"▦" + //진술문정의
  1105. "relacause" +"▦" + //관련요인
  1106. "icnpinfo" +"▩"; //ICNP 정보
  1107. sStmtInfo +="I▦" + // 상태
  1108. "▦" + // 진술문 코드
  1109. "▦" +
  1110. "99991231235959" + "▦" + // 종료일자
  1111. sAttrInfo[3] + "▦" + // 진술문
  1112. sOriginCD + "▦" + // 출처코드
  1113. sAttrInfo[0] + "▦" + // 속성개수
  1114. sAttrInfo[1] + "▦" + // 속성정보1
  1115. sAttrInfo[2] + "▦" + // 속성정보2
  1116. sAttrEssnYN + "▦" + // 속성 필수 입력 여부
  1117. sDNARFlag + "▦" + // D.N.A.R 구분
  1118. utlf_transNullToEmpty(sStmtCntsDesc) + "▦" + // 진술문 정의
  1119. utlf_transNullToEmpty(sRelaCause) + "▦" + // 관련요인
  1120. DataSet_XMLChangeName+ "▩"; // ICNP 정보
  1121. if(utlf_isNull(sAttrEssnYN) && eval(sAttrInfo[0])>0)
  1122. {
  1123. sysf_messageBox("속성 등록 여부(선택 or 필수) 입력이 이루어지지","E007");
  1124. return;
  1125. }
  1126. if(sysf_messageBox("","Q002") != '6') return;
  1127. var refCond = "dnar▦stmtnm▦offset▦pagesize▩"
  1128. + ds_main_cond.getColumn(0, "dnar")+"▦"
  1129. + ds_main_cond.getColumn(0, "stmtnm")+"▦"
  1130. + 0 +"▦";
  1131. if(utlf_isNull(ds_hidden.getColumn(0, "stmtcnt")))
  1132. {
  1133. refCond += 500 +"▩";
  1134. }
  1135. else
  1136. {
  1137. refCond += ds_hidden.getColumn(0, "stmtcnt") +"▩";
  1138. }
  1139. dsf_setCSVToDs("ds_send_stmtinfo", sStmtInfo);
  1140. dsf_setCSVToDs("ds_send_refCond", refCond);
  1141. dsf_setTypeFormat(ds_send_refCond, "offset:INT^pagesize:INT");
  1142. var oParam = {};
  1143. oParam.id = "TXMNR01801";
  1144. oParam.service = "carerecapp.StmtMngt";
  1145. oParam.method = "reqExeStmtInfo";
  1146. oParam.inds = "stmtinfo=ds_send_stmtinfo refCond=ds_send_refCond";
  1147. oParam.outds = "ds_main_stmtlist_stmtinfo=stmtinfo";
  1148. oParam.async = false;
  1149. oParam.callback = "cf_TXMNR01801";
  1150. tranf_submit(oParam);
  1151. if(arErrorCode.pop("TXMNR01801") > -1)
  1152. {
  1153. ds_hidden.setColumn(0, "stmtcnt", ds_main_stmtlist_stmtinfo.rowcount);
  1154. fStmtInfoClear();
  1155. ds_hidden_stmtmngt_stmtinfo.copyData(ds_main_stmtlist_stmtinfo);
  1156. }
  1157. }
  1158. function cf_TXMNR01801(sSvcId, nErrorCode, sErrorMsg)
  1159. {
  1160. arErrorCode.push(sSvcId, nErrorCode);
  1161. if(nErrorCode < 0) return;
  1162. }
  1163. function fRgstTermAnaly()
  1164. {
  1165. var sRowCnt = ds_main_termanaly_terminfo.rowcount;
  1166. var sStmtCnts = this.objects[xStmtInfoPath].getColumn(0, "stmtcnts");
  1167. var sAttrInfo1 = ""; // 속성정보1
  1168. var sAttrInfo2 = ""; // 속성정보2
  1169. var sAttrCnt = 0; // 문장내 속성개수
  1170. var sTermCnt = 0; // 선택된 용어개수
  1171. var sRow = 0; // 새로 추가된 용어 순번
  1172. var iRow = 1; // 선택된 단어 순번
  1173. var sTerm = ""; // 선택된 단어
  1174. var sTermRgstChk = false; // 분석된 용어 등록 여부
  1175. this.objects[xStmtInfoPath+"_icnpmngt_icnpinfo"];
  1176. sTermCnt = ds_main_stmtmngt_stmtinfo_icnpmngt_icnpinfo.rowcount;
  1177. var sStmtCntsCopy = sStmtCnts;
  1178. while(sStmtCntsCopy.indexOf("^")>0)
  1179. {
  1180. sStmtCntsCopy = sStmtCntsCopy.replace("^", "");
  1181. }
  1182. while(sStmtCntsCopy.indexOf("$")>0)
  1183. {
  1184. sStmtCntsCopy = sStmtCntsCopy.replace("$"," ");
  1185. }
  1186. var sStmtCntsCopy1 = sStmtCntsCopy;
  1187. var sStmtCnt = 0;
  1188. for(var i = 0; i < ds_main_termanaly_terminfo.rowcount; i++)
  1189. {
  1190. if(this.objects[xTermInfoPath].getColumn(i, "flag") == "속성" )
  1191. {
  1192. sAttrInfo1 += this.objects[xTermInfoPath].getColumn(i, "itemcd")+ "⊙";
  1193. sStmtCntsCopy1 = String(sStmtCntsCopy1).replace(this.objects[xTermInfoPath].getColumn(i, "termnm"), "@" + sStmtCnt);
  1194. sAttrCnt++;
  1195. sStmtCnt++;
  1196. }
  1197. }
  1198. sStmtCntsCopy += " ";
  1199. sStmtCntsCopy1 += " ";
  1200. sStmtCntsCopy = String(sStmtCntsCopy).replace(" ", " ");
  1201. sStmtCntsCopy1 = String(sStmtCntsCopy1).replace(" ", " ");
  1202. return sAttrCnt+"▦"+ sAttrInfo1+"▦"+sStmtCntsCopy1+"▦"+sStmtCntsCopy+"▦";
  1203. }
  1204. function btn_updt_onclick(obj:Button, e:ClickEventInfo)
  1205. {
  1206. fStmtUpdt();
  1207. }
  1208. function fStmtUpdt()
  1209. {
  1210. var sStmtCD = this.objects[xStmtInfoPath].getColumn(0, "stmtcd");
  1211. var sStmtCnts = this.objects[xStmtInfoPath].getColumn(0, "stmtcnts");
  1212. var sAttrEssnYN = this.objects[xStmtInfoPath].getColumn(0, "attressnyn");
  1213. var sOriginCD = this.objects[xStmtInfoPath].getColumn(0, "origincd");
  1214. var sDNARFlag = this.objects[xStmtInfoPath].getColumn(0, "dnarflag");
  1215. var sStmtCntsDesc = this.objects[xStmtInfoPath].getColumn(0, "stmtcntsdesc");
  1216. var sRelaCause = this.objects[xStmtInfoPath].getColumn(0, "relacause");
  1217. var sRowCnt = ds_main_termanaly_terminfo.rowcount;
  1218. var sTermCnt = 0;
  1219. if(utlf_isNull(sStmtCD) && utlf_isNull(sStmtCnts))
  1220. {
  1221. sysf_messageBox("수정할 진술문이","I004");
  1222. return;
  1223. }
  1224. if(utlf_isNull(sStmtCD) && !utlf_isNull(sStmtCnts))
  1225. {
  1226. sysf_messageBox("등록된 진술문장이 아닙니다. 진술문 수정을","E001");
  1227. return;
  1228. }
  1229. if(utlf_isNull(sStmtCnts))
  1230. {
  1231. sysf_messageBox("수정할 진술 문장을","C001");
  1232. return;
  1233. }
  1234. if(utlf_isNull(sOriginCD))
  1235. {
  1236. sysf_messageBox("문장 출처를","C001");
  1237. return;
  1238. }
  1239. if(utlf_isNull(sDNARFlag))
  1240. {
  1241. sysf_messageBox("D.N.A.R 분류 타입을","C001");
  1242. return;
  1243. }
  1244. if(sRowCnt == 0)
  1245. {
  1246. sysf_messageBox("문장 분석이 이루어지지","E007");
  1247. //return; //일시적으로 주석처리
  1248. }
  1249. if(sysf_messageBox("","Q003") != '6') return;
  1250. var sStmtInfo = fRgstTermAnaly();
  1251. if(utlf_isNull(sStmtInfo)) return;
  1252. var sAttrInfo = String(sStmtInfo).split("▦");
  1253. ds_send_stmtinfo.clearData();
  1254. ds_send_refCond.clearData();
  1255. var pParam = new Object();
  1256. pParam.nullNodeYN = 'Y'
  1257. pParam.cDataYN = 'N'
  1258. sParamObjArr = [{ds: "ds_main_stmtmngt_stmtinfo_icnpmngt_icnpinfo", path:"icnpinfo", filter: ""}];
  1259. DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr, "<icnpinfo><flag/><smnttypecd/><termnm/><cnptid/><termcd/></icnpinfo>")
  1260. var sStmtInfo = "stat" + "▦"+ //상태
  1261. "stmtcd" + "▦"+ //진술문 코드
  1262. "instcd" + "▦"+ //기관코드
  1263. "todd" + "▦"+ //종료일자
  1264. "stmtcnts" + "▦"+ //진술문
  1265. "origincd" + "▦"+ //출처코드
  1266. "attrcnt" + "▦"+ //속성개수
  1267. "attrinfo1" + "▦"+ //속성정보1
  1268. "attrinfo2" + "▦"+ //속성정보2
  1269. "attressnyn" + "▦"+ //속성 필수 입력 여부
  1270. "dnarflag" + "▦"+ //D.N.A.R 구분
  1271. "stmtcntsdesc" + "▦"+ //진술문정의
  1272. "relacause" + "▦" + //관련요인
  1273. "icnpinfo" + "▩"; //ICNP 정보
  1274. sStmtInfo +="U" + "▦" + // 상태
  1275. sStmtCD + "▦" + // 진술문 코드
  1276. this.objects[xStmtInfoPath].getColumn(0, "instcd") + "▦" + // 기관코드
  1277. this.objects[xStmtInfoPath].getColumn(0, "todd") + "▦" + // 종료일자
  1278. sAttrInfo[3] + "▦" + // 진술문
  1279. sOriginCD + "▦" + // 출처코드
  1280. sAttrInfo[0] + "▦" + // 속성개수
  1281. sAttrInfo[1] + "▦" + // 속성정보1
  1282. sAttrInfo[2] + "▦" + // 속성정보2
  1283. sAttrEssnYN + "▦" + // 속성 필수 입력 여부
  1284. sDNARFlag + "▦" + // D.N.A.R 구분
  1285. sStmtCntsDesc + "▦" + // 진술문정의
  1286. sRelaCause + "▦" + // 관련요인
  1287. DataSet_XMLChangeName + "▩"; // ICNP 정보
  1288. if(utlf_isNull(sAttrEssnYN) && eval(sAttrInfo[0])>0)
  1289. {
  1290. sysf_messageBox("속성 등록 여부(선택 or 필수) 입력이 이루어지지","E007");
  1291. return;
  1292. }
  1293. var refCond = "dnar▦stmtnm▦offset▦pagesize▩"
  1294. + ds_main_cond.getColumn(0, "dnar") +"▦"
  1295. + ds_main_cond.getColumn(0, "stmtnm") +"▦"
  1296. + 0 +"▦"
  1297. + ds_hidden.getColumn(0, "stmtcnt") +"▩";
  1298. dsf_setCSVToDs("ds_send_stmtinfo", sStmtInfo);
  1299. dsf_setCSVToDs("ds_send_refCond", refCond);
  1300. var oParam = {};
  1301. oParam.id = "TXMNR01801";
  1302. oParam.service = "carerecapp.StmtMngt";
  1303. oParam.method = "reqExeStmtInfo";
  1304. oParam.inds = "stmtinfo=ds_send_stmtinfo refCond=ds_send_refCond";
  1305. oParam.outds = "ds_main_stmtlist_stmtinfo=stmtinfo";
  1306. oParam.async = false;
  1307. oParam.callback = "cf_TXMNR01801";
  1308. tranf_submit(oParam);
  1309. if(arErrorCode.pop("TXMNR01801") > -1)
  1310. {
  1311. ds_hidden.setColumn(0, "stmtcnt", ds_main_stmtlist_stmtinfo.rowcount);
  1312. fStmtInfoClear();
  1313. ds_hidden_stmtmngt_stmtinfo.copyData(ds_main_stmtlist_stmtinfo);
  1314. }
  1315. }
  1316. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  1317. {
  1318. fStmtDelete();
  1319. }
  1320. function fStmtDelete()
  1321. {
  1322. var sStmtCD = this.objects[xStmtInfoPath].getColumn(0, "stmtcd");
  1323. var sStmtCnts = this.objects[xStmtInfoPath].getColumn(0, "stmtcnts");
  1324. var sAttrEssnYN = this.objects[xStmtInfoPath].getColumn(0, "attressnyn");
  1325. var sOriginCD = this.objects[xStmtInfoPath].getColumn(0, "origincd");
  1326. var sDNARFlag = this.objects[xStmtInfoPath].getColumn(0, "dnarflag");
  1327. var sRowCnt = ds_main_termanaly_terminfo.rowcount;
  1328. if(utlf_isNull(sStmtCD) && utlf_isNull(sStmtCnts))
  1329. {
  1330. sysf_messageBox("삭제할 진술문이","I004");
  1331. return;
  1332. }
  1333. if(utlf_isNull(sStmtCD) && !utlf_isNull(sStmtCnts))
  1334. {
  1335. sysf_messageBox("등록된 진술문장이 아닙니다. 진술문 삭제를","E001");
  1336. return;
  1337. }
  1338. var sStmtInfo = "stat▦"+ // 상태
  1339. "stmtcd▦" + // 진술문 코드
  1340. "instcd▦" + // 기관코드
  1341. "todd▩"; // 종료일자
  1342. sStmtInfo +="D▦" + // 상태
  1343. sStmtCD + "▦" + // 진술문 코드
  1344. this.objects[xStmtInfoPath].getColumn(0, "instcd") + "▦" + // 기관코드
  1345. this.objects[xStmtInfoPath].getColumn(0, "todd") + "▩"; // 종료일자
  1346. var refCond = "dnar▦stmtnm▦offset▦pagesize▩"
  1347. + ds_main_cond.getColumn(0, "dnar") +"▦"
  1348. + ds_main_cond.getColumn(0, "stmtnm") +"▦"
  1349. + 0 +"▦"
  1350. + ds_hidden.getColumn(0, "stmtcnt") +"▩";
  1351. dsf_setCSVToDs("ds_send_stmtinfo", sStmtInfo);
  1352. dsf_setCSVToDs("ds_send_refCond", refCond);
  1353. var oParam = {};
  1354. oParam.id = "TXMNR01801";
  1355. oParam.service = "carerecapp.StmtMngt";
  1356. oParam.method = "reqExeStmtInfo";
  1357. oParam.inds = "stmtinfo=ds_send_stmtinfo refCond=ds_send_refCond";
  1358. oParam.outds = "ds_main_stmtlist_stmtinfo=stmtinfo";
  1359. oParam.async = false;
  1360. oParam.callback = "cf_TXMNR01801";
  1361. tranf_submit(oParam);
  1362. if(arErrorCode.pop("TXMNR01801") > -1)
  1363. {
  1364. ds_hidden.setColumn(0, "stmtcnt", ds_main_stmtlist_stmtinfo.rowcount);
  1365. fStmtInfoClear();
  1366. ds_hidden_stmtmngt_stmtinfo.copyData(ds_main_stmtlist_stmtinfo);
  1367. }
  1368. }
  1369. function grd_stmtlist_onvscrolllastover(obj:Grid, e:ScrollEventInfo)
  1370. {
  1371. var sPos = e.pos;
  1372. if(ds_hidden.getColumn(0, "stmtcnt") != ds_hidden.getColumn(0, "stmtcnt1") )
  1373. {
  1374. ds_hidden.setColumn(0, "stmtcnt1", ds_main_stmtlist_stmtinfo.rowcount);
  1375. ds_send.clear();
  1376. dsf_makeValue(ds_send, "dnar", "string", ds_main_cond.getColumn(0, "dnar"));
  1377. dsf_makeValue(ds_send, "stmtnm", "string", ds_main_cond.getColumn(0, "stmtnm"));
  1378. dsf_makeValue(ds_send, "offset", "int", ds_main_stmtlist_stmtinfo.rowcount);
  1379. dsf_makeValue(ds_send, "pagesize", "int", 500);
  1380. var oParam = {};
  1381. oParam.id = "TRMNR01803";
  1382. oParam.service = "carerecapp.StmtMngt";
  1383. oParam.method = "reqGetStmtListInfo";
  1384. oParam.inds = "refCond=ds_send";
  1385. oParam.outds = "ds_temp_stmtlist_stmtinfo=stmtinfo";
  1386. oParam.async = false;
  1387. oParam.callback = "cf_TRMNR01803";
  1388. tranf_submit(oParam);
  1389. if(arErrorCode.pop("TRMNR01803") > -1)
  1390. {
  1391. ds_main_stmtlist_stmtinfo.appendData(ds_temp_stmtlist_stmtinfo);
  1392. ds_hidden.setColumn(0, "stmtcnt", ds_main_stmtlist_stmtinfo.rowcount);
  1393. grd_stmtlist.vscrollbar.pos = sPos;
  1394. }
  1395. }
  1396. }
  1397. ]]></Script>
  1398. </Form>
  1399. </FDL>