SMAHB01100_순서표언어관리.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>순서표 언어 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <naticd/>
  11. </init>
  12. <main>
  13. <sqlnlist>
  14. <sqlninfo>
  15. <ntcd/>
  16. <tt/>
  17. <nm/>
  18. <pid/>
  19. <age/>
  20. <exdd/>
  21. <bp/>
  22. <ht/>
  23. <wt/>
  24. <lkno/>
  25. <cslt/>
  26. <drnm/>
  27. <csdd/>
  28. <exin_tt/>
  29. <exin_no/>
  30. <exot_tt/>
  31. <exot_no/>
  32. <exnm/>
  33. <stff/>
  34. <infm/>
  35. <togo/>
  36. <tt_af/>
  37. <nm_af/>
  38. <pid_af/>
  39. <age_af/>
  40. <bp_af/>
  41. <ht_af/>
  42. <wt_af/>
  43. <exdd_af/>
  44. <lkno_af/>
  45. <cslt_af/>
  46. <drnm_af/>
  47. <csdd_af/>
  48. <exin_tt_af/>
  49. <exin_no_af/>
  50. <exot_tt_af/>
  51. <exot_no_af/>
  52. <exnm_af/>
  53. <stff_af/>
  54. <infm_af/>
  55. <togo_af/>
  56. </sqlninfo>
  57. </sqlnlist>
  58. </main>
  59. <send>
  60. <ntcd/>
  61. <tt/>
  62. <nm/>
  63. <pid/>
  64. <age/>
  65. <exdd/>
  66. <bp/>
  67. <ht/>
  68. <wt/>
  69. <lkno/>
  70. <cslt/>
  71. <drnm/>
  72. <csdd/>
  73. <exin_tt/>
  74. <exin_no/>
  75. <exot_tt/>
  76. <exot_no/>
  77. <exnm/>
  78. <stff/>
  79. <infm/>
  80. <togo/>
  81. <tt_af/>
  82. <nm_af/>
  83. <pid_af/>
  84. <age_af/>
  85. <exdd_af/>
  86. <bp_af/>
  87. <ht_af/>
  88. <wt_af/>
  89. <lkno_af/>
  90. <cslt_af/>
  91. <drnm_af/>
  92. <csdd_af/>
  93. <exin_tt_af/>
  94. <exin_no_af/>
  95. <exot_tt_af/>
  96. <exot_no_af/>
  97. <exnm_af/>
  98. <stff_af/>
  99. <infm_af/>
  100. <togo_af/>
  101. <del_ntcd/>
  102. </send>
  103. <hidden>
  104. <addflag>Y</addflag>
  105. </hidden>
  106. </root>
  107. </instance>
  108. <submission id="TRAHB00901" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/naticd"/>
  109. <submission id="TRAHB00902" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/sqlnlist/sqlninfo"/>
  110. <submission id="TXAHB02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  111. <submission id="TXAHB02802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/sqlnlist/sqlninfo"/>
  112. </model>
  113. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  115. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  116. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  117. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  118. <script type="javascript" ev:event="xforms-ready">
  119. <![CDATA[
  120. // pam.pmcmcode 'P0301'
  121. // cdid : 국가코드_항목ID
  122. // cdnm : 항목ID
  123. // detldesc : 한글표시여부(Y/N)
  124. // remark : 항목내용
  125. submit("TRAHB00901");
  126. submit("TRAHB00902");
  127. ]]>
  128. </script>
  129. </xhtml:head>
  130. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  131. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">순서표 언어 관리</caption>
  132. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:1195px; y2:15px; "/>
  133. <caption id="cap_tt" class="cell_1" style="left:0px; top:20px; width:84px; height:23px; vertical-align:middle; ">제목</caption>
  134. <input id="ipt_tt" ref="/root/send/tt" navindex="1" style="left:85px; top:21px; width:199px; height:19px; "/>
  135. <select id="chk_tt" ref="/root/send/tt_af" overflow="visible" appearance="full" style="left:65px; top:23px; width:19px; height:20px; border-style:none; ">
  136. <choices>
  137. <item>
  138. <label/>
  139. <value>Y</value>
  140. </item>
  141. </choices>
  142. </select>
  143. <caption id="cap_nm" class="cell_1" style="left:0px; top:44px; width:84px; height:23px; vertical-align:middle; ">성명</caption>
  144. <input id="ipt_nm" ref="/root/send/nm" navindex="2" style="left:85px; top:45px; width:199px; height:19px; "/>
  145. <select id="chk_nm" ref="/root/send/nm_af" overflow="visible" appearance="full" style="left:65px; top:47px; width:19px; height:20px; border-style:none; ">
  146. <choices>
  147. <item>
  148. <label/>
  149. <value>Y</value>
  150. </item>
  151. </choices>
  152. </select>
  153. <caption id="cap_pid" class="cell_1" style="left:0px; top:68px; width:84px; height:23px; vertical-align:middle; ">등록번호</caption>
  154. <input id="ipt_pid" ref="/root/send/pid" navindex="3" style="left:85px; top:69px; width:199px; height:19px; "/>
  155. <select id="chk_pid" ref="/root/send/pid_af" overflow="visible" appearance="full" style="left:65px; top:71px; width:19px; height:20px; border-style:none; ">
  156. <choices>
  157. <item>
  158. <label/>
  159. <value>Y</value>
  160. </item>
  161. </choices>
  162. </select>
  163. <caption id="cap_age" class="cell_1" style="left:0px; top:92px; width:84px; height:23px; vertical-align:middle; ">나이</caption>
  164. <input id="ipt_age" ref="/root/send/age" navindex="4" style="left:85px; top:93px; width:199px; height:19px; "/>
  165. <select id="chk_age" ref="/root/send/age_af" overflow="visible" appearance="full" style="left:65px; top:95px; width:19px; height:20px; border-style:none; ">
  166. <choices>
  167. <item>
  168. <label/>
  169. <value>Y</value>
  170. </item>
  171. </choices>
  172. </select>
  173. <caption id="cap_exdd" class="cell_1" style="left:0px; top:116px; width:84px; height:23px; vertical-align:middle; ">검진 일자</caption>
  174. <input id="ipt_exdd" ref="/root/send/exdd" navindex="5" style="left:85px; top:117px; width:199px; height:19px; "/>
  175. <select id="chk_exdd" ref="/root/send/exdd_af" overflow="visible" appearance="full" style="left:65px; top:120px; width:19px; height:20px; border-style:none; ">
  176. <choices>
  177. <item>
  178. <label/>
  179. <value>Y</value>
  180. </item>
  181. </choices>
  182. </select>
  183. <caption id="cap_bp" class="cell_1" style="left:0px; top:140px; width:84px; height:23px; vertical-align:middle; ">혈압</caption>
  184. <input id="ipt_bp" ref="/root/send/bp" navindex="6" style="left:85px; top:141px; width:199px; height:19px; "/>
  185. <select id="chk_bp" ref="/root/send/bp_af" overflow="visible" appearance="full" style="left:65px; top:144px; width:19px; height:20px; border-style:none; ">
  186. <choices>
  187. <item>
  188. <label/>
  189. <value>Y</value>
  190. </item>
  191. </choices>
  192. </select>
  193. <caption id="cap_ht" class="cell_1" style="left:285px; top:20px; width:84px; height:23px; vertical-align:middle; ">키</caption>
  194. <input id="ipt_ht" ref="/root/send/ht" navindex="7" style="left:370px; top:21px; width:199px; height:19px; "/>
  195. <select id="chk_ht" ref="/root/send/ht_af" overflow="visible" appearance="full" style="left:350px; top:23px; width:19px; height:20px; border-style:none; ">
  196. <choices>
  197. <item>
  198. <label/>
  199. <value>Y</value>
  200. </item>
  201. </choices>
  202. </select>
  203. <caption id="cap_wt" class="cell_1" style="left:285px; top:44px; width:84px; height:23px; vertical-align:middle; ">체중</caption>
  204. <input id="ipt_wt" ref="/root/send/wt" navindex="8" style="left:370px; top:45px; width:199px; height:19px; "/>
  205. <select id="chk_wt" ref="/root/send/wt_af" overflow="visible" appearance="full" style="left:350px; top:48px; width:19px; height:20px; border-style:none; ">
  206. <choices>
  207. <item>
  208. <label/>
  209. <value>Y</value>
  210. </item>
  211. </choices>
  212. </select>
  213. <caption id="cap_lkno" class="cell_1" style="left:285px; top:68px; width:84px; height:23px; vertical-align:middle; ">옷장 번호</caption>
  214. <input id="ipt_lkno" ref="/root/send/lkno" navindex="9" style="left:370px; top:69px; width:199px; height:19px; "/>
  215. <select id="chk_lkno" ref="/root/send/lkno_af" overflow="visible" appearance="full" style="left:350px; top:72px; width:19px; height:20px; border-style:none; ">
  216. <choices>
  217. <item>
  218. <label/>
  219. <value>Y</value>
  220. </item>
  221. </choices>
  222. </select>
  223. <caption id="cap_cslt" class="cell_1" style="left:285px; top:92px; width:84px; height:23px; vertical-align:middle; ">결과 상담</caption>
  224. <input id="ipt_cslt" ref="/root/send/cslt" navindex="10" style="left:370px; top:93px; width:199px; height:19px; "/>
  225. <select id="chk_cslt" ref="/root/send/cslt_af" overflow="visible" appearance="full" style="left:350px; top:96px; width:19px; height:20px; border-style:none; ">
  226. <choices>
  227. <item>
  228. <label/>
  229. <value>Y</value>
  230. </item>
  231. </choices>
  232. </select>
  233. <caption id="cap_drnm" class="cell_1" style="left:285px; top:116px; width:84px; height:23px; vertical-align:middle; ">의사명</caption>
  234. <input id="ipt_drnm" ref="/root/send/drnm" navindex="11" style="left:370px; top:117px; width:199px; height:19px; "/>
  235. <select id="chk_drnm" ref="/root/send/drnm_af" overflow="visible" appearance="full" style="left:350px; top:120px; width:19px; height:20px; border-style:none; ">
  236. <choices>
  237. <item>
  238. <label/>
  239. <value>Y</value>
  240. </item>
  241. </choices>
  242. </select>
  243. <caption id="cap_csdd" class="cell_1" style="left:285px; top:140px; width:84px; height:23px; vertical-align:middle; ">상담 일자</caption>
  244. <input id="ipt_csdd" ref="/root/send/csdd" navindex="12" style="left:370px; top:141px; width:199px; height:19px; "/>
  245. <select id="chk_csdd" ref="/root/send/csdd_af" overflow="visible" appearance="full" style="left:350px; top:144px; width:19px; height:20px; border-style:none; ">
  246. <choices>
  247. <item>
  248. <label/>
  249. <value>Y</value>
  250. </item>
  251. </choices>
  252. </select>
  253. <caption id="cap_exin" class="cell_1" style="left:570px; top:20px; width:64px; height:47px; text-align:center; vertical-align:middle; ">
  254. <![CDATA[검사 항목
  255. (내부)]]>
  256. </caption>
  257. <caption id="cap_exin_tt" class="cell_1" style="left:635px; top:20px; width:69px; height:23px; vertical-align:middle; ">제목</caption>
  258. <textarea id="ipt_exin_tt" ref="/root/send/exin_tt" navindex="13" scroll="autovscroll" appearance="textarea" style="left:705px; top:21px; width:199px; height:19px; "/>
  259. <select id="chk_exin_tt" ref="/root/send/exin_tt_af" overflow="visible" appearance="full" style="left:685px; top:24px; width:19px; height:20px; border-style:none; ">
  260. <choices>
  261. <item>
  262. <label/>
  263. <value>Y</value>
  264. </item>
  265. </choices>
  266. </select>
  267. <caption id="cap_exin_no" class="cell_1" style="left:635px; top:44px; width:69px; height:23px; vertical-align:middle; ">방번호</caption>
  268. <input id="ipt_exin_no" ref="/root/send/exin_no" navindex="14" style="left:705px; top:45px; width:199px; height:19px; "/>
  269. <select id="chk_exin_no" ref="/root/send/exin_no_af" overflow="visible" appearance="full" style="left:685px; top:48px; width:19px; height:20px; border-style:none; ">
  270. <choices>
  271. <item>
  272. <label/>
  273. <value>Y</value>
  274. </item>
  275. </choices>
  276. </select>
  277. <caption id="cap_exot" class="cell_1" style="left:570px; top:68px; width:64px; height:47px; text-align:center; vertical-align:middle; ">
  278. <![CDATA[검사 항목
  279. (외부)]]>
  280. </caption>
  281. <caption id="cap_exot_tt" class="cell_1" style="left:635px; top:68px; width:69px; height:23px; vertical-align:middle; ">제목</caption>
  282. <textarea id="ipt_exot_tt" ref="/root/send/exot_tt" navindex="15" scroll="autovscroll" appearance="textarea" style="left:705px; top:69px; width:199px; height:19px; "/>
  283. <select id="chk_exot_tt" ref="/root/send/exot_tt_af" overflow="visible" appearance="full" style="left:685px; top:72px; width:19px; height:20px; border-style:none; ">
  284. <choices>
  285. <item>
  286. <label/>
  287. <value>Y</value>
  288. </item>
  289. </choices>
  290. </select>
  291. <caption id="cap_exot_no" class="cell_1" style="left:635px; top:92px; width:69px; height:23px; vertical-align:middle; ">순서</caption>
  292. <input id="ipt_exot_no" ref="/root/send/exot_no" navindex="16" style="left:705px; top:93px; width:199px; height:19px; "/>
  293. <select id="chk_exot_no" ref="/root/send/exot_no_af" overflow="visible" appearance="full" style="left:685px; top:96px; width:19px; height:20px; border-style:none; ">
  294. <choices>
  295. <item>
  296. <label/>
  297. <value>Y</value>
  298. </item>
  299. </choices>
  300. </select>
  301. <caption id="cap_excm" class="cell_1" style="left:570px; top:116px; width:64px; height:47px; text-align:center; vertical-align:middle; ">
  302. <![CDATA[검사 항목
  303. (공통)]]>
  304. </caption>
  305. <caption id="cap_exnm" class="cell_1" style="left:635px; top:116px; width:69px; height:23px; vertical-align:middle; ">검사명</caption>
  306. <input id="ipt_exnm" ref="/root/send/exnm" navindex="17" style="left:705px; top:117px; width:199px; height:19px; "/>
  307. <select id="chk_exnm" ref="/root/send/exnm_af" overflow="visible" appearance="full" style="left:685px; top:120px; width:19px; height:20px; border-style:none; ">
  308. <choices>
  309. <item>
  310. <label/>
  311. <value>Y</value>
  312. </item>
  313. </choices>
  314. </select>
  315. <caption id="cap_stff" class="cell_1" style="left:635px; top:140px; width:69px; height:23px; vertical-align:middle; ">담당자</caption>
  316. <input id="ipt_stff" ref="/root/send/stff" navindex="18" style="left:705px; top:141px; width:199px; height:19px; "/>
  317. <select id="chk_stff" ref="/root/send/stff_af" overflow="visible" appearance="full" style="left:685px; top:144px; width:19px; height:20px; border-style:none; ">
  318. <choices>
  319. <item>
  320. <label/>
  321. <value>Y</value>
  322. </item>
  323. </choices>
  324. </select>
  325. <caption id="cap_infm" class="cell_1" style="left:905px; top:20px; width:99px; height:47px; vertical-align:middle; ">주의사항</caption>
  326. <textarea id="ipt_infm" ref="/root/send/infm" navindex="19" scroll="autovscroll" appearance="textarea" style="left:1005px; top:20px; width:190px; height:47px; "/>
  327. <select id="chk_infm" ref="/root/send/infm_af" overflow="visible" appearance="full" style="left:985px; top:34px; width:19px; height:20px; border-style:none; ">
  328. <choices>
  329. <item>
  330. <label/>
  331. <value>Y</value>
  332. </item>
  333. </choices>
  334. </select>
  335. <caption id="cap_togo" class="cell_1" style="left:905px; top:68px; width:99px; height:47px; vertical-align:middle; ">검사 후 안내</caption>
  336. <textarea id="tar_togo" ref="/root/send/togo" navindex="20" scroll="autovscroll" appearance="textarea" style="left:1005px; top:68px; width:190px; height:47px; "/>
  337. <select id="chk_togo" ref="/root/send/togo_af" overflow="visible" appearance="full" style="left:985px; top:82px; width:19px; height:20px; border-style:none; ">
  338. <choices>
  339. <item>
  340. <label/>
  341. <value>Y</value>
  342. </item>
  343. </choices>
  344. </select>
  345. <caption id="cap_addflag" style="left:900px; top:116; width:295px; height:23px; ">※ 체크( )된 항목은 한글이 함께 표시됩니다.</caption>
  346. <select id="chk_addflag" ref="/root/hidden/addflag" overflow="visible" appearance="full" style="left:946px; top:120px; width:19px; height:20px; border-style:none; ">
  347. <choices>
  348. <item>
  349. <label/>
  350. <value>Y</value>
  351. </item>
  352. </choices>
  353. </select>
  354. <caption id="caption2" style="left:900px; top:140px; width:44px; height:23px; font-weight:bold; ">국가 :</caption>
  355. <select1 id="combo1" ref="/root/send/ntcd" navindex="21" appearance="minimal" style="left:945px; top:141px; width:135px; height:19px; ">
  356. <choices>
  357. <itemset nodeset="/root/init/naticd">
  358. <label ref="nm"/>
  359. <value ref="cd"/>
  360. </itemset>
  361. </choices>
  362. </select1>
  363. <button id="btn_new" class="btn4_letter2" style="left:1082px; top:140px; width:56px; height:22px; ">
  364. <caption>신규</caption>
  365. <script type="javascript" ev:event="DOMActivate">
  366. <![CDATA[
  367. model.resetInstanceNode("/root/send");
  368. model.refresh();
  369. model.setFocus("ipt_tt");
  370. ]]>
  371. </script>
  372. </button>
  373. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:140px; width:56px; height:22px; ">
  374. <caption>저장</caption>
  375. <script type="javascript" ev:event="DOMActivate">
  376. <![CDATA[
  377. if (model.getValue("/root/send/ntcd") == "") {
  378. messageBox("국가가 지정되지 않았습니다.", "E999");
  379. return;
  380. }
  381. submit("TXAHB02801");
  382. messageBox("저장했습니다.", "I999");
  383. submit("TRAHB00902");
  384. btn_new.dispatch("DOMActivate");
  385. ]]>
  386. </script>
  387. </button>
  388. <caption id="caption1" class="tit_2" style="left:0px; top:175px; width:90px; height:13px; ">등록 내역</caption>
  389. <line id="line_comp" class="line_1" style="x1:0px; y1:190px; x2:1195px; y2:190px; "/>
  390. <datagrid id="grd_sqln" nodeset="/root/main/sqlnlist/sqlninfo" caption="제목^성명^등록번호^나이^검진일자^혈압^키^체중^옷장번호^결과상담^의사명^상담일자^검사(내부)제목^검사(내부)방번호^검사(외부)제목^검사(외부)순서^검사(공통)검사명^검사(공통)담당자^주의사항^검사후안내" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:195px; width:1195px; height:585px; ">
  391. <col ref="tt"/>
  392. <col ref="nm"/>
  393. <col ref="pid"/>
  394. <col ref="age"/>
  395. <col ref="exdd"/>
  396. <col ref="bp"/>
  397. <col ref="ht"/>
  398. <col ref="wt"/>
  399. <col ref="lkno"/>
  400. <col ref="cslt"/>
  401. <col ref="drnm"/>
  402. <col ref="csdd"/>
  403. <col ref="exin_tt"/>
  404. <col ref="exin_no"/>
  405. <col ref="exot_tt"/>
  406. <col ref="exot_no"/>
  407. <col ref="exnm"/>
  408. <col ref="stff"/>
  409. <col ref="infm"/>
  410. <col ref="togo"/>
  411. <script type="javascript" ev:event="ondblclick">
  412. <![CDATA[
  413. if (!grd_sqln.isCell(event.target)) {
  414. return;
  415. }
  416. model.copyNode("/root/send", "/root/main/sqlnlist/sqlninfo[" + grd_sqln.row + "]");
  417. model.refresh();
  418. ]]>
  419. </script>
  420. </datagrid>
  421. <line id="line2" class="line_3" style="x1:0px; y1:164px; x2:1195px; y2:164px; "/>
  422. <button id="button1" class="btn2_letter2" style="left:1153px; top:170px; width:42px; height:19px; ">
  423. <caption>삭제</caption>
  424. <script type="javascript" ev:event="DOMActivate">
  425. <![CDATA[
  426. var row = grd_sqln.row;
  427. if (row < 1) {
  428. messageBox("선택된 내역이 없습니다.", "E999");
  429. return;
  430. }
  431. var ntcd = model.getValue("/root/main/sqlnlist/sqlninfo[" + row + "]/ntcd");
  432. var ntnm = model.getValue("/root/init/naticd[cd='" + ntcd + "']/nm");
  433. if (messageBox("[ " + ntnm + " ] 국가의 언어 설정을 삭제하시겠습니까?", "Q999") != 6) {
  434. return;
  435. }
  436. model.makeValue("/root/send/del_ntcd", ntcd);
  437. submit("TXAHB02802");
  438. messageBox("삭제되었습니다.", "I999");
  439. ]]>
  440. </script>
  441. </button>
  442. </xhtml:body>
  443. </xhtml:html>