eyetest-more--.blade.php 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  1. <!--- eyetest-more --->
  2. <div class="modal fade" id="modal-eyetest-more" aria-hidden="true" data-backdrop="static" style="z-index: 1050; overflow: auto;">
  3. <div class="modal-dialog m-auto pt-4">
  4. <div class="modal-content">
  5. <div class="modal-header bg-black">
  6. <h4 class="modal-title text-white" id="myModalLabel">상세처방</h4>
  7. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fas fa-times"></i></button>
  8. </div>
  9. <div class="modal-body p-2" style="background-color: #f5f5f5;">
  10. <div class="eyetest">
  11. <div class="card input_info">
  12. <div class="card_inner">
  13. <div class="row m-0 mb-2">
  14. <button type="button" tabindex="-1" class="btn btn-sm btn-black col-2"
  15. onclick="test2()">
  16. 처방 초기화
  17. </button>
  18. <h1 class="col-6 text-center mb-0">Form of Eye Examination</h1>
  19. <div class="col-4 p-0 d-flex">
  20. <button type="button" tabindex="-1" class="btn btn-sm btn-black col-8 mr-1"
  21. onclick="test()">
  22. 양안시 처방인쇄
  23. </button>
  24. <button type="button" tabindex="-1" class="btn btn-sm btn-black col">
  25. 닫기
  26. </button>
  27. </div>
  28. </div>
  29. <div class="row m-0">
  30. <div class="col-8 px-1 h-100" id="chief-complaint">
  31. <div class="row mx-0 pl-0 mb-2 d-flex align-items-center">
  32. <div class="col-2 px-0 text-right mr-2">
  33. Reason for Visit &<br>Chief complaint
  34. </div>
  35. <textarea class="col" style="height: 50px;"></textarea>
  36. </div>
  37. <div class="row mx-0 pl-0 d-flex align-items-center">
  38. <div class="col-2 px-0 text-right mr-2">
  39. 나안시력
  40. </div>
  41. <div class="col">
  42. <label class="mb-0">OD</label>
  43. <input type="text" class="rounded w-100 h-75">
  44. </div>
  45. <div class="col">
  46. <label class="mb-0">OS</label>
  47. <input type="text" class="rounded w-100 h-75">
  48. </div>
  49. <div class="col">
  50. <label class="mb-0">OU</label>
  51. <input type="text" class="rounded w-100 h-75">
  52. </div>
  53. </div>
  54. </div>
  55. <div class="col-4 border border-dark position-relative p-0" id="canvasDiv1">
  56. <button type="button" tabindex="-1" class="px-0 border border-right-0 border-bottom-0 border-success bg-white position-absolute right-0 bottom-0"
  57. onclick="clear_canvas1()">
  58. <i class="fas fa-eraser px-1"></i>
  59. </button>
  60. </div>
  61. {{-- <div class="col-4 border border-dark position-relative">
  62. <button type="button" tabindex="-1" class="px-0 border border-right-0 border-bottom-0 border-success bg-white position-absolute right-0 bottom-0">
  63. <i class="fas fa-eraser px-1"></i>
  64. </button>
  65. </div> --}}
  66. </div>
  67. <fieldset class="scheduler-border">
  68. <legend class="scheduler-border mb-1">구안경도수</legend>
  69. <div class="table-responsive eye-lens-table">
  70. <table>
  71. <tr>
  72. <th></th>
  73. <th>SPH</th>
  74. <th>CYL</th>
  75. <th>AXIS</th>
  76. <th>원용PD</th>
  77. <th>ADD</th>
  78. <th>근용PD</th>
  79. <th>BASE(I/O)/△</th>
  80. <th>BASE(U/D)/△</th>
  81. <th>나안</th>
  82. <th>교정</th>
  83. </tr>
  84. <tr class="r-eye-lens">
  85. <td style="width: 10px">OD</td>
  86. <td>
  87. <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
  88. </td>
  89. <td>
  90. <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
  91. </td>
  92. <td>
  93. <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
  94. </td>
  95. <td>
  96. <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
  97. </td>
  98. <td>
  99. <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
  100. </td>
  101. <td>
  102. <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
  103. </td>
  104. <td class="base">
  105. <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
  106. </td>
  107. <td class="base">
  108. <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
  109. </td>
  110. <td>
  111. <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
  112. </td>
  113. <td>
  114. <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
  115. </td>
  116. </tr>
  117. <tr class="l-eye-lens">
  118. <td style="width: 10px">OS</td>
  119. <td>
  120. <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
  121. </td>
  122. <td>
  123. <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
  124. </td>
  125. <td>
  126. <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
  127. </td>
  128. <td>
  129. <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
  130. </td>
  131. <td>
  132. <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
  133. </td>
  134. <td>
  135. <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
  136. </td>
  137. <td class="base">
  138. <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
  139. </td>
  140. <td class="base">
  141. <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
  142. </td>
  143. <td>
  144. <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
  145. </td>
  146. <td>
  147. <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
  148. </td>
  149. </tr>
  150. </table>
  151. </div>
  152. </fieldset>
  153. <div class="row m-0">
  154. <div class="col-5 px-1 h-100" id="cover-test">
  155. <div class="row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
  156. <div class="col-3 px-0 text-right mr-2">
  157. Cover test
  158. </div>
  159. <div class="col d-flex">
  160. <label class="mb-0 mr-1">Dis</label>
  161. <input type="text" class="rounded w-100 h-75">
  162. </div>
  163. <div class="col d-flex">
  164. <label class="mb-0 mr-1">Near</label>
  165. <input type="text" class="rounded w-100 h-75">
  166. </div>
  167. </div>
  168. <div class="row mx-0 pl-0 d-flex align-items-center mb-2">
  169. <div class="col-3 px-0 text-right mr-2">
  170. 폭주근점
  171. </div>
  172. <div class="col d-flex">
  173. <label class="mb-0 mr-1">Normal</label>
  174. <input type="checkbox" tabindex="-1">
  175. </div>
  176. <div class="col d-flex">
  177. <label class="mb-0 mr-1">Abnormal</label>
  178. <input type="checkbox" tabindex="-1">
  179. <label class="mb-0 mr-1">(over</label>
  180. <input type="text" class="rounded h-75" style="width: 43px">
  181. <label class="mb-0">cm)</label>
  182. </div>
  183. </div>
  184. <div class="row mx-0 pl-0 d-flex align-items-center">
  185. <div class="col-3 px-0 text-right mr-2">
  186. <div class="d-flex justify-content-end">
  187. <input type="checkbox" tabindex="-1">
  188. <label class="mb-0">확장</label>
  189. <label class="mb-0 ml-2">조절력</label>
  190. </div>
  191. </div>
  192. <div class="col d-flex">
  193. <label class="mb-0 mr-1">OD</label>
  194. <input type="text" class="rounded w-100 h-75">
  195. <label class="mb-0">D</label>
  196. </div>
  197. <div class="col d-flex">
  198. <label class="mb-0 mr-1">OS</label>
  199. <input type="text" class="rounded w-100 h-75">
  200. <label class="mb-0">D</label>
  201. </div>
  202. </div>
  203. </div>
  204. <div class="col border border-dark mr-2">
  205. <div class="text-center mt-2">
  206. <label class="m-0">주시안</label>
  207. </div>
  208. <div class="text-center mt-2 d-flex justify-content-around">
  209. <div class="d-flex">
  210. <label class="mb-0">OD</label>
  211. <input type="checkbox" class="ml-1" tabindex="-1">
  212. </div>
  213. <div class="d-flex">
  214. <label class="mb-0">OS</label>
  215. <input type="checkbox" class="ml-1" tabindex="-1">
  216. </div>
  217. </div>
  218. </div>
  219. <div class="col-4 border border-dark position-relative p-0" id="canvasDiv2">
  220. <button type="button" tabindex="-1" class="px-0 border border-right-0 border-bottom-0 border-success bg-white position-absolute right-0 bottom-0"
  221. onclick="clear_canvas2()">
  222. <i class="fas fa-eraser px-1"></i>
  223. </button>
  224. </div>
  225. </div>
  226. <fieldset class="scheduler-border">
  227. <legend class="scheduler-border mb-1">완전교정</legend>
  228. <div class="table-responsive eye-lens-table">
  229. <table>
  230. <tr>
  231. <th></th>
  232. <th>SPH</th>
  233. <th>CYL</th>
  234. <th>AXIS</th>
  235. <th>원용PD</th>
  236. <th>ADD</th>
  237. <th>근용PD</th>
  238. <th>BASE(I/O)/△</th>
  239. <th>BASE(U/D)/△</th>
  240. <th>나안</th>
  241. <th>교정</th>
  242. </tr>
  243. <tr class="r-eye-lens">
  244. <td style="width: 10px">OD</td>
  245. <td>
  246. <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
  247. </td>
  248. <td>
  249. <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
  250. </td>
  251. <td>
  252. <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
  253. </td>
  254. <td>
  255. <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
  256. </td>
  257. <td>
  258. <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
  259. </td>
  260. <td>
  261. <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
  262. </td>
  263. <td class="base">
  264. <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
  265. </td>
  266. <td class="base">
  267. <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
  268. </td>
  269. <td>
  270. <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
  271. </td>
  272. <td>
  273. <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
  274. </td>
  275. </tr>
  276. <tr class="l-eye-lens">
  277. <td style="width: 10px">OS</td>
  278. <td>
  279. <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
  280. </td>
  281. <td>
  282. <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
  283. </td>
  284. <td>
  285. <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
  286. </td>
  287. <td>
  288. <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
  289. </td>
  290. <td>
  291. <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
  292. </td>
  293. <td>
  294. <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
  295. </td>
  296. <td class="base">
  297. <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
  298. </td>
  299. <td class="base">
  300. <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
  301. </td>
  302. <td>
  303. <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
  304. </td>
  305. <td>
  306. <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
  307. </td>
  308. </tr>
  309. </table>
  310. </div>
  311. </fieldset>
  312. <div class="row m-0">
  313. <div class="col-5 px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
  314. <div class="col-3 px-0 text-right mr-2">
  315. 사위 테스트
  316. </div>
  317. <div class="col d-flex">
  318. <label class="mb-0 mr-1">Dis&nbsp;H</label>
  319. <input type="text" class="rounded w-100 h-75">
  320. </div>
  321. <div class="col d-flex">
  322. <label class="mb-0 mr-1">Dis&nbsp;V</label>
  323. <input type="text" class="rounded w-100 h-75">
  324. </div>
  325. </div>
  326. <div class="col px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
  327. <div class="col d-flex">
  328. <label class="mb-0 mr-1">Near&nbsp;H</label>
  329. <input type="text" class="rounded w-100 h-75">
  330. </div>
  331. <div class="col d-flex">
  332. <label class="mb-0 mr-1">Near&nbsp;V</label>
  333. <input type="text" class="rounded w-100 h-75">
  334. </div>
  335. </div>
  336. <div class="col px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
  337. <div class="col d-flex justify-content-center">
  338. <label class="mb-0 mr-1">AC/A</label>
  339. <input type="text" class="rounded w-100 h-75">
  340. <label class="mb-0 mr-1">△/D</label>
  341. </div>
  342. </div>
  343. </div>
  344. <div class="row m-0">
  345. <div class="col-5 px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
  346. <div class="col-3 px-0 text-right mr-2">
  347. 융합 테스트
  348. </div>
  349. <div class="py-1">
  350. <div class="col d-flex mb-1 justify-content-end">
  351. <label class="mb-0 mr-1">Dis&nbsp;BI&nbsp;(</label>
  352. <input type="text" class="rounded h-75" style="width: 43px">/
  353. <input type="text" class="rounded h-75 ml-1" style="width: 43px">/
  354. <input type="text" class="rounded h-75 ml-1" style="width: 43px">&nbsp;)
  355. </div>
  356. <div class="col d-flex">
  357. <label class="mb-0 mr-1">Near&nbsp;BI&nbsp;(</label>
  358. <input type="text" class="rounded h-75" style="width: 43px">/
  359. <input type="text" class="rounded h-75 ml-1" style="width: 43px">/
  360. <input type="text" class="rounded h-75 ml-1" style="width: 43px">&nbsp;)
  361. </div>
  362. </div>
  363. </div>
  364. <div class="col px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
  365. <div class="py-1">
  366. <div class="col d-flex mb-1 justify-content-end">
  367. <label class="mb-0 mr-1">Dis&nbsp;BO&nbsp;(</label>
  368. <input type="text" class="rounded h-75" style="width: 43px">/
  369. <input type="text" class="rounded h-75 ml-1" style="width: 43px">/
  370. <input type="text" class="rounded h-75 ml-1" style="width: 43px">&nbsp;)
  371. </div>
  372. <div class="col d-flex justify-content-end">
  373. <label class="mb-0 mr-1">Near&nbsp;BO&nbsp;(</label>
  374. <input type="text" class="rounded h-75" style="width: 43px">/
  375. <input type="text" class="rounded h-75 ml-1" style="width: 43px">/
  376. <input type="text" class="rounded h-75 ml-1" style="width: 43px">&nbsp;)
  377. </div>
  378. </div>
  379. </div>
  380. <div class="col px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
  381. <div class="jumbotron jumbotron-fluid py-1 mb-0">
  382. <div class="col d-flex mb-1 justify-content-end">
  383. <label class="mb-0 mr-1">Supra&nbsp;vergence&nbsp;(</label>
  384. <input type="text" class="rounded h-75" style="width: 43px">/
  385. <input type="text" class="rounded h-75 ml-1" style="width: 43px">&nbsp;)
  386. </div>
  387. <div class="col d-flex justify-content-end">
  388. <label class="mb-0 mr-1">Infra&nbsp;vergence&nbsp;(</label>
  389. <input type="text" class="rounded h-75" style="width: 43px">/
  390. <input type="text" class="rounded h-75 ml-1" style="width: 43px">&nbsp;)
  391. </div>
  392. </div>
  393. </div>
  394. </div>
  395. <div class="row m-0">
  396. <div class="col-5 px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
  397. <div class="col-3 px-0 text-right mr-2">
  398. 조절 테스트
  399. </div>
  400. <div class="py-1">
  401. <div class="col d-flex">
  402. <label class="mb-0 mr-1">Binocular&nbsp;accomo.facility</label>
  403. </div>
  404. <div class="col d-flex pr-0">
  405. <label class="mb-0 mr-1">Normal</label>
  406. <input type="checkbox" tabindex="-1">
  407. <label class="mb-0 mr-1">Abnormal&nbsp;(</label>
  408. <input type="checkbox" tabindex="-1">+2,00D&nbsp;/&nbsp;
  409. <input type="checkbox" tabindex="-1">-2,00D&nbsp;)
  410. </div>
  411. </div>
  412. </div>
  413. <div class="col px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
  414. <div class="py-1">
  415. <div class="col d-flex justify-content-end">
  416. <label class="mb-0 mr-1">Mono&nbsp;<span class="font-weight-bold">OD</span></label>
  417. <label class="mb-0 mr-1">Normal</label>
  418. <input type="checkbox" tabindex="-1">
  419. <label class="mb-0 mr-1">Abnormal&nbsp;(</label>
  420. <input type="checkbox" tabindex="-1">+2,00D&nbsp;/&nbsp;
  421. <input type="checkbox" tabindex="-1">-2,00D&nbsp;)
  422. </div>
  423. <div class="col d-flex justify-content-end">
  424. <label class="mb-0 mr-1">-cular&nbsp;<span class="font-weight-bold">OS</span></label>
  425. <label class="mb-0 mr-1">Normal</label>
  426. <input type="checkbox" tabindex="-1">
  427. <label class="mb-0 mr-1">Abnormal&nbsp;(</label>
  428. <input type="checkbox" tabindex="-1">+2,00D&nbsp;/&nbsp;
  429. <input type="checkbox" tabindex="-1">-2,00D&nbsp;)
  430. </div>
  431. </div>
  432. </div>
  433. </div>
  434. <div class="row m-0">
  435. <div class="col-5 px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
  436. <div class="col-3 px-0 text-right mr-2">
  437. 상대 조절력
  438. </div>
  439. <div class="col d-flex">
  440. <label class="mb-0 mr-1">NRA</label>
  441. <input type="text" class="rounded w-100 h-75">D
  442. </div>
  443. <div class="col d-flex">
  444. <label class="mb-0 mr-1">PRA</label>
  445. <input type="text" class="rounded w-100 h-75">D
  446. </div>
  447. </div>
  448. <div class="col px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
  449. <div class="col d-flex">
  450. <label class="mb-0 mr-1">조절반응검사</label>
  451. <input type="text" class="rounded w-75 h-75" style="max-width: 100%">D
  452. </div>
  453. </div>
  454. </div>
  455. <fieldset class="scheduler-border">
  456. <legend class="scheduler-border mb-1">처방</legend>
  457. <div class="table-responsive eye-lens-table">
  458. <table>
  459. <tr>
  460. <th></th>
  461. <th>SPH</th>
  462. <th>CYL</th>
  463. <th>AXIS</th>
  464. <th>원용PD</th>
  465. <th>ADD</th>
  466. <th>근용PD</th>
  467. <th>BASE(I/O)/△</th>
  468. <th>BASE(U/D)/△</th>
  469. <th>나안</th>
  470. <th>교정</th>
  471. </tr>
  472. <tr class="r-eye-lens">
  473. <td style="width: 10px">OD</td>
  474. <td>
  475. <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
  476. </td>
  477. <td>
  478. <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
  479. </td>
  480. <td>
  481. <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
  482. </td>
  483. <td>
  484. <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
  485. </td>
  486. <td>
  487. <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
  488. </td>
  489. <td>
  490. <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
  491. </td>
  492. <td class="base">
  493. <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
  494. </td>
  495. <td class="base">
  496. <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
  497. </td>
  498. <td>
  499. <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
  500. </td>
  501. <td>
  502. <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
  503. </td>
  504. </tr>
  505. <tr class="l-eye-lens">
  506. <td style="width: 10px">OS</td>
  507. <td>
  508. <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
  509. </td>
  510. <td>
  511. <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
  512. </td>
  513. <td>
  514. <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
  515. </td>
  516. <td>
  517. <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
  518. </td>
  519. <td>
  520. <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
  521. </td>
  522. <td>
  523. <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
  524. </td>
  525. <td class="base">
  526. <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
  527. </td>
  528. <td class="base">
  529. <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
  530. </td>
  531. <td>
  532. <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
  533. </td>
  534. <td>
  535. <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
  536. </td>
  537. </tr>
  538. </table>
  539. </div>
  540. </fieldset>
  541. <div class="row ml-4 mr-0">
  542. <div class="col-1 row mr-1 pl-0 text-right d-flex justify-content-end px-1">
  543. Diagnosis<br>&<br>Plans
  544. </div>
  545. <textarea class="col" style="height: 80px;"></textarea>
  546. </div>
  547. </div>
  548. </div>
  549. </div>
  550. </div>
  551. </div>
  552. </div>
  553. </div>
  554. @once
  555. @push('js')
  556. <script src="/js/utils/canvas.js?{{date('YmdHis')}}"></script>
  557. <script>
  558. $(document).ready(async function() {
  559. canvas1 = new Canvas('canvasDiv1', 'canvas1');
  560. canvas2 = new Canvas('canvasDiv2', 'canvas2');
  561. $('#eyetest-more-btn').click(()=>{
  562. canvas1.clearCanvas()
  563. canvas2.clearCanvas()
  564. setTimeout(()=>{
  565. canvas1.setCanvasWidth($('#canvasDiv1').width())
  566. canvas1.setCanvasHeight($('#chief-complaint').height())
  567. canvas2.setCanvasWidth($('#canvasDiv2').width())
  568. canvas2.setCanvasHeight($('#cover-test').height())
  569. }, 601)
  570. });
  571. });
  572. function test2() {
  573. console.log(clickX)
  574. console.log(clickY)
  575. console.log(clickDrag)
  576. canvas1.setClickX(clickX)
  577. canvas1.setClickY(clickY)
  578. canvas1.setClickDrag(clickDrag)
  579. canvas1.redraw()
  580. }
  581. function test() {
  582. clickX = canvas1.getClickX()
  583. clickY = canvas1.getClickY()
  584. clickDrag = canvas1.getClickDrag()
  585. }
  586. function clear_canvas1() {
  587. canvas1.clearCanvas()
  588. }
  589. function clear_canvas2() {
  590. canvas2.clearCanvas()
  591. }
  592. let clickX;
  593. let clickY;
  594. let clickDrag;
  595. let canvas1, canvas2;
  596. </script>
  597. @endpush
  598. @endonce