dialysisPrintOrder.1.html 62KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097
  1. <template>
  2. <div class="app-container ">
  3. <div class="order-print-btn"
  4. v-loading="loading"
  5. element-loading-text="加载中"
  6. element-loading-spinner="el-icon-loading"
  7. element-loading-background="rgba(0, 0, 0, 0.8)"
  8. style="width: 100%;">
  9. <el-button type="primary" icon="el-icon-printer" @click="printThisPage">打印</el-button>
  10. </div>
  11. <div id="dialysis-print-box">
  12. <div class="dialysis-print-order" >
  13. <div class="order-yy-name">{{orgname}}</div>
  14. <div class="order-title">血液净化治疗记录单</div>
  15. <table class="table-box" style="margin-top: 10px;">
  16. <tbody>
  17. <tr>
  18. <td width="50">姓 名: </td>
  19. <td width="90">
  20. <div class="under-line">&nbsp;{{patientInfo.name}}</div>
  21. </td>
  22. <td width="50">性 别: </td>
  23. <td width="120">
  24. <div>
  25. <label for="gender_1" class="radio-lebel-box">
  26. <span class="radio-inner">
  27. <span class="radio-fang " :class="{'is-checked-radio':patientInfo_gender_1}"></span>
  28. <input v-model="patientInfo.gender" id="gender_1" name="gender" type="radio" class="radio-no" value="1">
  29. </span>
  30. <span> 男</span>
  31. </label>
  32. &nbsp;
  33. <label for="gender_2" class="radio-lebel-box">
  34. <span class="radio-inner">
  35. <span class="radio-fang" :class="{'is-checked-radio':patientInfo_gender_2}"></span>
  36. <input v-model="patientInfo.gender" id="gender_2" :checked="patientInfo.gender==2?true:false" name="gender" type="radio" class="radio-no" value="2">
  37. </span>
  38. <span> 女</span>
  39. </label>
  40. </div>
  41. </td>
  42. <td width="50">年 龄: </td>
  43. <td width="40">
  44. <div class="under-line">&nbsp;{{patientInfo.age}}</div>
  45. </td>
  46. <td>岁</td>
  47. <td width="10">&nbsp;</td>
  48. <td width="50">科 室: </td>
  49. <td width="150">
  50. <div>
  51. <label for="source_1" class="radio-lebel-box">
  52. <span class="radio-inner">
  53. <span class="radio-fang " :class="{'is-checked-radio':patientInfo_source_1}"></span>
  54. <input v-model="patientInfo.source" id="source_1" name="source" type="radio" class="radio-no" value="1">
  55. </span>
  56. <span> 门 诊 透 析</span>
  57. </label>
  58. &nbsp;
  59. <label for="source_2" class="radio-lebel-box">
  60. <span class="radio-inner">
  61. <span class="radio-fang" :class="{'is-checked-radio':patientInfo_source_2}"></span>
  62. <input v-model="patientInfo.source" id="source_2" :checked="patientInfo.source==2?true:false" name="source" type="radio" class="radio-no" value="2">
  63. </span>
  64. <span> 住 院</span>
  65. </label>
  66. </div>
  67. </td>
  68. <td width="100">
  69. <div class="under-line">{{patientInfo.DialysisSchedule.DeviceZone.name}}&nbsp;</div>
  70. </td>
  71. <td>科</td>
  72. <td width="100">
  73. <div class="under-line">&nbsp;{{patientInfo.DialysisSchedule.DeviceNumber.number}}</div>
  74. </td>
  75. <td>床</td>
  76. </tr>
  77. </tbody>
  78. </table>
  79. <table class="table-box" style="margin-top: 10px;">
  80. <tbody>
  81. <tr>
  82. <td width="130">住院号/透析卡号: </td>
  83. <td width="90">
  84. <div class="under-line">&nbsp;{{patientInfo.admission_number?patientInfo.admission_number:'无'}} /{{patientInfo.dialysis_no}}</div>
  85. </td>
  86. <td width="40">诊 断: </td>
  87. <td width="">
  88. <div class="under-line">&nbsp;</div>
  89. </td>
  90. <td width="80">治 疗 日 期: </td>
  91. <td width="120">
  92. <div class="under-line">&nbsp;<span>{{queryParams.xtdate}}</span></div>
  93. </td>
  94. </tr>
  95. </tbody>
  96. </table>
  97. <table class="print-table" border="1">
  98. <tbody>
  99. <tr>
  100. <td width="30px" class="title-box">透前评估</td>
  101. <td >
  102. <table class="table-box">
  103. <tbody>
  104. <tr>
  105. <td width="70">入院方式: </td>
  106. <td width="230">
  107. <div>
  108. <label for="receiverTreatmentAccess_way_1" class="radio-lebel-box">
  109. <span class="radio-inner">
  110. <span class="radio-fang " :class="{'is-checked-radio':receiverTreatmentAccess.way==1?true:false}"></span>
  111. <input v-model="receiverTreatmentAccess.way" id="receiverTreatmentAccess_way_1" name="receiverTreatmentAccess_way" type="radio" class="radio-no" value="1">
  112. </span>
  113. <span> 步行</span>
  114. </label>
  115. &nbsp;
  116. <label for="receiverTreatmentAccess_way_2" class="radio-lebel-box">
  117. <span class="radio-inner">
  118. <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.way==2?true:false}"></span>
  119. <input v-model="receiverTreatmentAccess.way" id="receiverTreatmentAccess_way_2" name="receiverTreatmentAccess_way" type="radio" class="radio-no" value="2">
  120. </span>
  121. <span> 扶行</span>
  122. </label>
  123. &nbsp;
  124. <label for="receiverTreatmentAccess_way_3" class="radio-lebel-box">
  125. <span class="radio-inner">
  126. <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.way==3?true:false}"></span>
  127. <input v-model="receiverTreatmentAccess.way" id="receiverTreatmentAccess_way_3" name="receiverTreatmentAccess_way" type="radio" class="radio-no" value="3">
  128. </span>
  129. <span> 轮椅</span>
  130. </label>
  131. &nbsp;
  132. <label for="receiverTreatmentAccess_way_4" class="radio-lebel-box">
  133. <span class="radio-inner">
  134. <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.way==4?true:false}"></span>
  135. <input v-model="receiverTreatmentAccess.way" id="receiverTreatmentAccess_way_4" name="receiverTreatmentAccess_way" type="radio" class="radio-no" value="4">
  136. </span>
  137. <span> 平车</span>
  138. </label>
  139. </div>
  140. </td>
  141. <td ></td>
  142. <td width="50">意识: </td>
  143. <td width="180">
  144. <div>
  145. <label for="receiverTreatmentAccess_consciousness_1" class="radio-lebel-box">
  146. <span class="radio-inner">
  147. <span class="radio-fang " :class="{'is-checked-radio':receiverTreatmentAccess.consciousness==1?true:false}"></span>
  148. <input v-model="receiverTreatmentAccess.consciousness" id="receiverTreatmentAccess_consciousness_1" name="receiverTreatmentAccess_consciousness" type="radio" class="radio-no" value="1">
  149. </span>
  150. <span> 清醒</span>
  151. </label>
  152. &nbsp;
  153. <label for="receiverTreatmentAccess_consciousness_2" class="radio-lebel-box">
  154. <span class="radio-inner">
  155. <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.consciousness==2?true:false}"></span>
  156. <input v-model="receiverTreatmentAccess.consciousness" id="receiverTreatmentAccess_consciousness_2" name="receiverTreatmentAccess_consciousness" type="radio" class="radio-no" value="2">
  157. </span>
  158. <span> 嗜睡</span>
  159. </label>
  160. &nbsp;
  161. <label for="receiverTreatmentAccess_consciousness_3" class="radio-lebel-box">
  162. <span class="radio-inner">
  163. <span class="radio-fang" :class="{'is-checked-radio':receiverTreatmentAccess.consciousness==3?true:false}"></span>
  164. <input v-model="receiverTreatmentAccess.consciousness" id="receiverTreatmentAccess_consciousness_3" name="receiverTreatmentAccess_consciousness" type="radio" class="radio-no" value="3">
  165. </span>
  166. <span> 昏迷</span>
  167. </label>
  168. </div>
  169. </td>
  170. <td ></td>
  171. <td width="50">体温: </td>
  172. <td width="100">
  173. <div class="under-line">&nbsp;{{predialysis.temperature}}</div>
  174. </td>
  175. <td width="30">℃</td>
  176. </tr>
  177. </tbody>
  178. </table>
  179. <table class="table-box">
  180. <tbody>
  181. <tr>
  182. <td width="40">体位: </td>
  183. <td width="400">
  184. <div>
  185. <label for="" class="radio-lebel-box">
  186. <span class="radio-inner">
  187. <span class="radio-fang " ></span>
  188. <input type="radio" class="radio-no" value="1">
  189. </span>
  190. <span> 自动体位</span>
  191. </label>
  192. &nbsp;
  193. <label for="" class="radio-lebel-box">
  194. <span class="radio-inner">
  195. <span class="radio-fang " ></span>
  196. <input type="radio" class="radio-no" value="1">
  197. </span>
  198. <span> 平卧位</span>
  199. </label>
  200. &nbsp;
  201. <label for="" class="radio-lebel-box">
  202. <span class="radio-inner">
  203. <span class="radio-fang " ></span>
  204. <input type="radio" class="radio-no" value="1">
  205. </span>
  206. <span> 半卧位</span>
  207. </label>
  208. &nbsp;
  209. <label for="" class="radio-lebel-box">
  210. <span class="radio-inner">
  211. <span class="radio-fang " ></span>
  212. <input type="radio" class="radio-no" value="1">
  213. </span>
  214. <span> 端坐位</span>
  215. </label>
  216. &nbsp;
  217. <label for="" class="radio-lebel-box">
  218. <span class="radio-inner">
  219. <span class="radio-fang " ></span>
  220. <input type="radio" class="radio-no" value="1">
  221. </span>
  222. <span> 躁动不安</span>
  223. </label>
  224. &nbsp;
  225. </div>
  226. </td>
  227. <td ></td>
  228. </tr>
  229. </tbody>
  230. </table>
  231. <table class="print-table">
  232. <tbody>
  233. <tr>
  234. <td width="55%">
  235. <table class="table-box">
  236. <tbody>
  237. <tr>
  238. <td width="90">透析间期:</td>
  239. <td>
  240. <div class="under-line">&nbsp;{{predialysis.dialysis_interphase}}</div>
  241. </td>
  242. </tr>
  243. </tbody>
  244. </table>
  245. </td>
  246. <td>
  247. <table class="table-box">
  248. <tbody>
  249. <tr>
  250. <td width="90">透前症状:</td>
  251. <td>
  252. <div class="under-line">&nbsp;{{predialysis.symptom_before_dialysis}}</div>
  253. </td>
  254. </tr>
  255. </tbody>
  256. </table>
  257. </td>
  258. </tr>
  259. <tr>
  260. <td>
  261. <table class="table-box">
  262. <tbody>
  263. <tr>
  264. <td width="60">内瘘:</td>
  265. <td>
  266. <div class="under-line">&nbsp;{{predialysis.internal_fistula}}</div>
  267. </td>
  268. </tr>
  269. </tbody>
  270. </table>
  271. </td>
  272. <td>
  273. <table class="table-box">
  274. <tbody>
  275. <tr>
  276. <td width="60">导管:</td>
  277. <td>
  278. <div class="under-line">&nbsp;{{predialysis.catheter}}</div>
  279. </td>
  280. </tr>
  281. </tbody>
  282. </table>
  283. </td>
  284. </tr>
  285. <tr>
  286. <td>
  287. <table class="table-box">
  288. <tbody>
  289. <tr>
  290. <td width="75">合并症:</td>
  291. <td>
  292. <div class="under-line">&nbsp;{{predialysis.complication}}</div>
  293. </td>
  294. </tr>
  295. </tbody>
  296. </table>
  297. </td>
  298. <td>
  299. <table class="table-box">
  300. <tbody>
  301. <tr>
  302. <td width="110">前次透析后:</td>
  303. <td width="">
  304. <div class="under-line">&nbsp;{{predialysis.last_post_dialysis}}</div>
  305. </td>
  306. <td width="20"></td>
  307. </tr>
  308. </tbody>
  309. </table>
  310. </td>
  311. </tr>
  312. <tr>
  313. <td>
  314. <table class="table-box">
  315. <tbody>
  316. <tr>
  317. <td width="90">透前称重:</td>
  318. <td width="">
  319. <div class="under-line">&nbsp;{{predialysis.weight_before}}</div>
  320. </td>
  321. <td width="20">kg</td>
  322. <td width="30"></td>
  323. </tr>
  324. </tbody>
  325. </table>
  326. </td>
  327. <td>
  328. <table class="table-box">
  329. <tbody>
  330. <tr>
  331. <td width="90">附加物重:</td>
  332. <td width="">
  333. <div class="under-line">&nbsp;{{predialysis.additional_weight}}</div>
  334. </td>
  335. <td width="20">kg</td>
  336. </tr>
  337. </tbody>
  338. </table>
  339. </td>
  340. </tr>
  341. </tbody>
  342. </table>
  343. </td>
  344. </tr>
  345. </tbody>
  346. </table>
  347. <table class="print-table" border="1">
  348. <tbody>
  349. <tr>
  350. <td class="title-box">透析后评估</td>
  351. </tr>
  352. <tr>
  353. <td style="padding-bottom:15px;">
  354. <table class="table-box">
  355. <tbody>
  356. <tr>
  357. <td width="20">BP</td>
  358. <td width="">
  359. <div class="under-line">&nbsp;{{afterdialysis.systolic_blood_pressure}}/{{afterdialysis.diastolic_blood_pressure}}</div>
  360. </td>
  361. <td width="20">mmHg</td>
  362. <td width="30"></td>
  363. <td width="13">T</td>
  364. <td width="">
  365. <div class="under-line">&nbsp;{{afterdialysis.temperature}}</div>
  366. </td>
  367. <td width="30">℃</td>
  368. <td width="30"></td>
  369. <td width="13">R</td>
  370. <td width="">
  371. <div class="under-line">&nbsp;{{afterdialysis.breathing_rate}}</div>
  372. </td>
  373. <td width="60">次/分</td>
  374. </tr>
  375. </tbody>
  376. </table>
  377. <table class="print-table">
  378. <tbody>
  379. <tr>
  380. <td width="50%">
  381. <table class="table-box">
  382. <tbody>
  383. <tr>
  384. <td width="100">实际超滤量:</td>
  385. <td width="">
  386. <div class="under-line">&nbsp;{{afterdialysis.actual_ultrafiltration}}</div>
  387. </td>
  388. <td width="20">ml</td>
  389. <td width="30"></td>
  390. </tr>
  391. </tbody>
  392. </table>
  393. </td>
  394. <td>
  395. <table class="table-box">
  396. <tbody>
  397. <tr>
  398. <td width="100">实际置换量:</td>
  399. <td width="">
  400. <div class="under-line">&nbsp;{{afterdialysis.actual_displacement}}</div>
  401. </td>
  402. <td width="20">L</td>
  403. </tr>
  404. </tbody>
  405. </table>
  406. </td>
  407. </tr>
  408. <tr>
  409. <td width="50%">
  410. <table class="table-box">
  411. <tbody>
  412. <tr>
  413. <td width="60">凝血:</td>
  414. <td>
  415. <div class="under-line">&nbsp;{{afterdialysis.cruor}}</div>
  416. </td>
  417. </tr>
  418. </tbody>
  419. </table>
  420. </td>
  421. <td>
  422. <table class="table-box">
  423. <tbody>
  424. <tr>
  425. <td width="90">透后症状:</td>
  426. <td>
  427. <div class="under-line">&nbsp;{{afterdialysis.symptom_after_dialysis}}</div>
  428. </td>
  429. </tr>
  430. </tbody>
  431. </table>
  432. </td>
  433. </tr>
  434. <tr>
  435. <td>
  436. <table class="table-box">
  437. <tbody>
  438. <tr>
  439. <td width="60">内瘘:</td>
  440. <td>
  441. <div class="under-line">&nbsp;{{afterdialysis.internal_fistula}}</div>
  442. </td>
  443. </tr>
  444. </tbody>
  445. </table>
  446. </td>
  447. <td>
  448. <table class="table-box">
  449. <tbody>
  450. <tr>
  451. <td width="60">导管:</td>
  452. <td>
  453. <div class="under-line">&nbsp;{{afterdialysis.catheter}}</div>
  454. </td>
  455. </tr>
  456. </tbody>
  457. </table>
  458. </td>
  459. </tr>
  460. <tr>
  461. <td>
  462. <table class="table-box">
  463. <tbody>
  464. <tr>
  465. <td width="75">并发症:</td>
  466. <td>
  467. <div class="under-line">&nbsp;{{afterdialysis.complication}}</div>
  468. </td>
  469. </tr>
  470. </tbody>
  471. </table>
  472. </td>
  473. <td>
  474. <table class="table-box">
  475. <tbody>
  476. <tr>
  477. <td width="150">实际治疗时间:</td>
  478. <td>
  479. <div class="under-line">&nbsp;{{afterdialysis.actual_treatment_hour}} h {{afterdialysis.actual_treatment_minute}} min </div>
  480. </td>
  481. </tr>
  482. </tbody>
  483. </table>
  484. </td>
  485. </tr>
  486. </tbody>
  487. </table>
  488. </td>
  489. </tr>
  490. </tbody>
  491. </table>
  492. <table class="print-table" border="1">
  493. <tbody>
  494. <tr>
  495. <td width="50%" class="title-box">透析处方</td>
  496. </tr>
  497. <tr>
  498. <td style="padding-bottom:15px;">
  499. <table class="table-box">
  500. <tbody>
  501. <tr>
  502. <td width="90">透析方式:</td>
  503. <td width="">
  504. <div class="under-line">&nbsp;{{prescription.mode}}</div>
  505. </td>
  506. <td width="100">处方脱水量:</td>
  507. <td width="">
  508. <div class="under-line">&nbsp;{{prescription.dewater_amount}}</div>
  509. </td>
  510. <td width="20">L</td>
  511. <td width="90">透析时长:</td>
  512. <td width="">
  513. <div class="under-line">&nbsp;{{prescription.dialysis_duration}}</div>
  514. </td>
  515. <td width="20">h</td>
  516. <td width="">&nbsp;</td>
  517. <td width="90">置换方式:</td>
  518. <td width="">
  519. <div class="under-line">&nbsp;{{prescription.replacement}}</div>
  520. </td>
  521. <td width="">&nbsp;</td>
  522. <td width="100">置换总量:</td>
  523. <td width="">
  524. <div class="under-line">&nbsp;{{prescription.replacement_total}}</div>
  525. </td>
  526. <td width="30">L</td>
  527. </tr>
  528. </tbody>
  529. </table>
  530. <table class="table-box">
  531. <tbody>
  532. <tr>
  533. <td width="75">透析器:</td>
  534. <td width="">
  535. <div class="under-line">&nbsp;{{prescription.perfusion_apparatus_name}}</div>
  536. </td>
  537. <td width="20"></td>
  538. <td width="60">机号:</td>
  539. <td width="">
  540. <div class="under-line">&nbsp;{{prescription.device.name}}</div>
  541. </td>
  542. <td width=""></td>
  543. </tr>
  544. </tbody>
  545. </table>
  546. <table class="table-box">
  547. <tbody>
  548. <tr>
  549. <td width="75">血流量:</td>
  550. <td width="60">
  551. <div class="under-line">&nbsp;{{prescription.blood_flow_volume}}</div>
  552. </td>
  553. <td width="90">ml/min</td>
  554. <td width=""></td>
  555. <td width="60">抗凝剂</td>
  556. <td width="">
  557. <div class="under-line">&nbsp;{{prescription.anticoagulant}}</div>
  558. </td>
  559. <td width="">&nbsp;</td>
  560. <template v-if="AlPanel.shouji != -1">
  561. <td width="40">首剂</td>
  562. <td width="">
  563. <div class="under-line">&nbsp;{{prescription.anticoagulant_shouji}}</div>
  564. </td>
  565. <td width="">{{AlPanel.shouji_unit}}</td>
  566. </template>
  567. <template v-if="AlPanel.weichi != -1">
  568. <td width="40">维持</td>
  569. <td width="">
  570. <div class="under-line">&nbsp;{{prescription.anticoagulant_weichi}}</div>
  571. </td>
  572. <td width="">{{AlPanel.weichi_unit}}</td>
  573. </template>
  574. <template v-if="AlPanel.zongliang != -1">
  575. <td width="40">总量</td>
  576. <td width="">
  577. <div class="under-line">&nbsp;{{prescription.anticoagulant_zongliang}}</div>
  578. </td>
  579. <td width="">{{AlPanel.zongliang_unit}}</td>
  580. </template>
  581. <template v-if="AlPanel.gaimingcheng != -1">
  582. <td width="60">钙名称</td>
  583. <td width="">
  584. <div class="under-line">&nbsp;{{prescription.anticoagulant_gaimingcheng}}</div>
  585. </td>
  586. <td width=""></td>
  587. </template>
  588. <template v-if="AlPanel.gaijiliang != -1">
  589. <td width="40">剂量</td>
  590. <td width="">
  591. <div class="under-line">&nbsp;{{prescription.anticoagulant_gaijiliang}}</div>
  592. </td>
  593. <td>{{AlPanel.gaijiliang_unit}}</td>
  594. </template>
  595. </tr>
  596. </tbody>
  597. </table>
  598. <table class="table-box">
  599. <tbody>
  600. <tr>
  601. <td width="100">透析液配方:</td>
  602. <td width="18">钾</td>
  603. <td width="">
  604. <div class="under-line">&nbsp;{{prescription.kalium}}</div>
  605. </td>
  606. <td width="75">mmol/L</td>
  607. <td width="18">钠</td>
  608. <td width="">
  609. <div class="under-line">&nbsp;{{prescription.sodium}}</div>
  610. </td>
  611. <td width="75">mmol/L</td>
  612. <td width="18">钙</td>
  613. <td width="">
  614. <div class="under-line">&nbsp;{{prescription.calcium}}</div>
  615. </td>
  616. <td width="75">mmol/L</td>
  617. <td width="75">碳酸氢根</td>
  618. <td width="">
  619. <div class="under-line">&nbsp;{{prescription.bicarbonate}}</div>
  620. </td>
  621. <td width="75">mmol/L</td>
  622. </tr>
  623. </tbody>
  624. </table>
  625. </td>
  626. </tr>
  627. </tbody>
  628. </table>
  629. <table class="print-table" border="1">
  630. <tbody>
  631. <tr>
  632. <td class="title-box">临时医嘱</td>
  633. </tr>
  634. </tbody>
  635. </table>
  636. <table class="print-table-no" border="1" count="0">
  637. <tbody>
  638. <tr>
  639. <td width="100">时间</td>
  640. <td>医嘱内容</td>
  641. <td width="75">医生签名</td>
  642. <td width="75">执行时间</td>
  643. <td width="75">执行人员</td>
  644. <td width="75">核对人员</td>
  645. </tr>
  646. <tr v-for="advice in advices" :key="advice.id">
  647. <td> {{advice.start_time | parseTime('{y}-{m}-{d} {h}:{i}')}}</td>
  648. <td>
  649. <span v-if="advice.parent_id>0">└</span>
  650. <span >{{advice.advice_name }}</span>
  651. <span >{{advice.advice_desc}}</span>
  652. <span v-if="advice.single_dose">{{advice.single_dose}}{{advice.single_dose_unit}}</span>
  653. <span v-if="advice.prescribing_number">{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  654. <span >{{advice.delivery_way}}</span>
  655. <span >{{advice.execution_frequency}}</span>
  656. </td>
  657. <td>{{getXuserName(advice.advice_doctor)}}</td>
  658. <td><span v-if="advice.execution_time!=0" >{{advice.execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span></td>
  659. <td><span v-if="advice.parent_id==0" >{{getXuserName(advice.execution_staff)}}</span></td>
  660. <td><span v-if="advice.parent_id==0" >{{getXuserName(advice.checker)}}</span>
  661. </td>
  662. </tr>
  663. </tbody>
  664. </table>
  665. <table class="print-table" border="1">
  666. <tbody>
  667. <tr>
  668. <td class="title-box">监测记录</td>
  669. </tr>
  670. </tbody>
  671. </table>
  672. <table class="print-table-no" border="1" count="0">
  673. <tbody>
  674. <tr>
  675. <td >时间</td>
  676. <td >血压<font size="2">(mmHg)</font></td>
  677. <td >脉率<font size="2">(次/分)</font></td>
  678. <td >呼吸<font size="2">(次/分)</font></td>
  679. <td >血流量<font size="2">(ml/min)</font></td>
  680. <td >静脉压<font size="2">(mmHg)</font></td>
  681. <td >跨膜压<font size="2">(mmHg)</font></td>
  682. <td >超滤量<font size="2"> (ml/h)</font></td>
  683. <td >钠浓度<font size="2"> (mmol/L)</font></td>
  684. <td >透析液温度<font size="2"> (℃)</font></td>
  685. <td >置换率<font size="2"> (ml/min)</font></td>
  686. <td >置换量<font size="2"> (L)</font></td>
  687. <td width="" style="min-width:45px;">病情变化</td>
  688. <td width="" style="min-width:120px;">处理</td>
  689. <td width="" style="min-width:45px;">结果</td>
  690. </tr>
  691. <tr v-for="monitor in monitors" :key="monitor.id">
  692. <td>&nbsp;{{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}} {{monitor.monitoring_time}}</td>
  693. <td>&nbsp;{{monitor.systolic_blood_pressure}} / {{monitor.diastolic_blood_pressure}}</td>
  694. <td>&nbsp;{{monitor.pulse_frequency}}</td>
  695. <td>&nbsp;{{monitor.breathing_rate}}</td>
  696. <td>&nbsp;{{monitor.blood_flow_volume}}</td>
  697. <td>&nbsp;{{monitor.venous_pressure}}</td>
  698. <td>&nbsp;{{monitor.transmembrane_pressure}}</td>
  699. <td>&nbsp;{{monitor.ultrafiltration_volume}}</td>
  700. <td>&nbsp;{{monitor.sodium_concentration}}</td>
  701. <td>&nbsp;{{monitor.dialysate_temperature}}</td>
  702. <td>&nbsp;{{monitor.replacement_rate}}</td>
  703. <td>&nbsp;{{monitor.displacement_quantity}}</td>
  704. <td>&nbsp;{{monitor.symptom}}</td>
  705. <td>&nbsp;{{monitor.dispose}}</td>
  706. <td>&nbsp;{{monitor.result}}</td>
  707. </tr>
  708. </tbody>
  709. </table>
  710. <table class="print-table" border="1">
  711. <tbody>
  712. <tr>
  713. <td class="title-box">治疗小结</td>
  714. </tr>
  715. <tr>
  716. <td style="padding-bottom:15px;">
  717. <table class="table-box">
  718. <tbody>
  719. <tr>
  720. <td width="75">透后宣教:</td>
  721. <td width="">
  722. <div class="under-line" style="text-align:left;">&nbsp;{{summary.mission}}</div>
  723. </td>
  724. <td width=""></td>
  725. </tr>
  726. </tbody>
  727. </table>
  728. <table class="table-box">
  729. <tbody>
  730. <tr>
  731. <td width="75">治疗小结</td>
  732. <td width="">
  733. <div class="under-line" style="text-align:left;">&nbsp;{{summary.dialysis_summary}}</div>
  734. </td>
  735. </tr>
  736. </tbody>
  737. </table>
  738. <!-- <table class="table-box">
  739. <tbody>
  740. <tr>
  741. <td width="75">
  742. 换药护士
  743. </td>
  744. <td width="90">
  745. <div class="under-line">&nbsp; </div>
  746. </td>
  747. <td width=""></td>
  748. <td width="75">治疗护士</td>
  749. <td width="90">
  750. <div class="under-line">&nbsp;</div>
  751. </td>
  752. <td width=""></td>
  753. <td width="75">核对人员</td>
  754. <td width="90">
  755. <div class="under-line">&nbsp;</div>
  756. </td>
  757. <td width=""></td>
  758. <td width="75">下机护士</td>
  759. <td width="90">
  760. <div class="under-line">&nbsp;</div>
  761. </td>
  762. <td width=""></td>
  763. <td width="75">治疗医生</td>
  764. <td width="90">
  765. <div class="under-line">&nbsp;</div>
  766. </td>
  767. </tr>
  768. </tbody>
  769. </table> -->
  770. </td>
  771. </tr>
  772. </tbody>
  773. </table>
  774. </div>
  775. </div>
  776. </div>
  777. </template>
  778. <script>
  779. import {getDialysisRecord} from '@/api/dialysis';
  780. import {
  781. jsGetAge,
  782. uParseTime
  783. } from "@/utils/tools";
  784. import print from "print-js";
  785. export default {
  786. name:'dialysisPrintOrder',
  787. data(){
  788. return {
  789. loading:false,
  790. orgname:'',
  791. patientInfo_gender_1:false,
  792. patientInfo_gender_2:false,
  793. patientInfo_source_2:false,
  794. patientInfo_source_1:false,
  795. modeOptions:{},
  796. replacementWays: [],
  797. perfusionApparatus: [],
  798. anticoagulantsConfit: {},
  799. queryParams:{
  800. xtdate:'',
  801. xtno:'',
  802. },
  803. patientInfo:{
  804. birth:'',
  805. age:'',
  806. DialysisSchedule:{
  807. DeviceNumber:{},
  808. DeviceZone:{},
  809. },
  810. gender:0
  811. },
  812. predialysis:{},
  813. afterdialysis:{},
  814. prescription:{
  815. device:{},
  816. },
  817. advices:[],
  818. users:[],
  819. monitors:[],
  820. summary:{},
  821. receiverTreatmentAccess:{},
  822. AlPanel:{id:0, name:"", type:1, shouji:2, weichi:2, zongliang:2, gaimingcheng:-1, gaijiliang:-1, shouji_unit:"mg", weichi_unit:"mg/h", zongliang_unit:"mg", gaimingcheng_unit:"", gaijiliang_unit:""},
  823. }
  824. },
  825. methods:{
  826. printThisPage(){
  827. var ptime = Math.round(new Date().getTime() / 1000);
  828. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}');
  829. const style = '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{margin-top:10px;width:100%;line-height:20px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:35px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:20px;border:1px solid #666;letter-spacing:10px}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}';
  830. printJS({
  831. printable: "dialysis-print-box",
  832. type: "html",
  833. style: style,
  834. scanStyles: false
  835. });
  836. },
  837. getXuserName(id){
  838. if (id<=0) {
  839. return "";
  840. }
  841. var name = "";
  842. if (this.users==null || typeof(this.users.length) == "undefined") {
  843. return name;
  844. }
  845. var leng = this.users.length;
  846. if (leng==0) {
  847. return name;
  848. }
  849. for (let index = 0; index < leng; index++) {
  850. if (this.users[index].id == id) {
  851. name = this.users[index].name;
  852. break;
  853. }
  854. }
  855. return name;
  856. },
  857. modeName(mode_id) {
  858. return typeof(this.modeOptions[mode_id]) != 'undefined' && typeof(this.modeOptions[mode_id].name) != 'undefined'?this.modeOptions[mode_id].name:'';
  859. },
  860. getDialysisRecord(){
  861. getDialysisRecord(this.queryParams).then(response=>{
  862. if(response.data.state==1) {
  863. this.users = response.data.data.users;
  864. this.patientInfo = response.data.data.patientInfo;
  865. this.patientInfo.birth = uParseTime(this.patientInfo.birthday, '{y}-{m}-{d}');
  866. this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-');
  867. if (response.data.data.patientInfo.first_dialysis_date !=0) {
  868. this.patientInfo.first_dialysis_date = uParseTime(response.data.data.patientInfo.first_dialysis_date, '{y}-{m}-{d}');
  869. }else {
  870. this.patientInfo.first_dialysis_date = '';
  871. }
  872. this.predialysis = response.data.data.PredialysisEvaluation;
  873. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  874. this.prescription = response.data.data.dialysisPrescription;
  875. this.receiverTreatmentAccess = response.data.data.receiverTreatmentAccess;
  876. this.prescription.mode = this.modeName(this.prescription.mode_id);
  877. var rwLen = this.replacementWays.length;
  878. this.prescription.replacement = "";
  879. for (let index = 0; index < rwLen; index++) {
  880. if(this.replacementWays[index].id == this.prescription.replacement_way) {
  881. this.prescription.replacement = this.replacementWays[index].name;
  882. break;
  883. }
  884. }
  885. var paLen = this.perfusionApparatus.length;
  886. this.prescription.perfusion_apparatus_name = "";
  887. for (let index = 0; index < paLen; index++) {
  888. if(this.perfusionApparatus[index].id == this.prescription.perfusion_apparatus) {
  889. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[index].name;
  890. break;
  891. }
  892. }
  893. var acLen = this.anticoagulantsConfit.length;
  894. var thisALID = this.prescription.anticoagulant;
  895. this.prescription.anticoagulant = "";
  896. if (typeof(this.anticoagulantsConfit[thisALID]) != 'undefined' && this.anticoagulantsConfit[thisALID] != null) {
  897. this.prescription.anticoagulant = this.anticoagulantsConfit[thisALID].name;
  898. this.AlPanel = this.anticoagulantsConfit[thisALID];
  899. }
  900. this.advices = response.data.data.advices;
  901. this.monitors = response.data.data.monitors;
  902. this.summary = response.data.data.summary;
  903. }else {
  904. this.$message.error("请求数据失败");
  905. return false;
  906. }
  907. });
  908. }
  909. },
  910. watch:{
  911. "patientInfo.gender":function () {
  912. if (this.patientInfo.gender == 1) {
  913. this.patientInfo_gender_1 = true;
  914. this.patientInfo_gender_2 = false;
  915. } else if (this.patientInfo.gender == 2) {
  916. this.patientInfo_gender_2 = true;
  917. this.patientInfo_gender_1 = false;
  918. }else {
  919. this.patientInfo_gender_2 = false;
  920. this.patientInfo_gender_1 = false;
  921. }
  922. },
  923. "patientInfo.source":function () {
  924. if (this.patientInfo.source == 1) {
  925. this.patientInfo_source_1 = true;
  926. this.patientInfo_source_2 = false;
  927. } else if (this.patientInfo.source == 2) {
  928. this.patientInfo_source_2 = true;
  929. this.patientInfo_source_1 = false;
  930. }else {
  931. this.patientInfo_source_2 = false;
  932. this.patientInfo_source_1 = false;
  933. }
  934. }
  935. },
  936. created(){
  937. var xtuser = this.$store.getters.xt_user;
  938. // this.orgname = xtuser.org.org_name;
  939. this.orgname = "遂溪方济医院";
  940. this.modeOptions = this.$store.getters.treatment_mode;
  941. this.replacementWays = this.$store.getters.replacement_ways;
  942. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  943. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  944. const xtdate = this.$route.query && this.$route.query.xtdate;
  945. const xtno = this.$route.query && this.$route.query.xtno;
  946. if (typeof(xtdate)=="string" && xtdate.length>0 && typeof(xtno)=="string" && xtno.length>0){
  947. this.queryParams.xtdate = xtdate;
  948. this.queryParams.xtno = xtno;
  949. this.getDialysisRecord();
  950. }else {
  951. this.$message.error("参数不齐");
  952. return false;
  953. }
  954. }
  955. }
  956. </script>
  957. <style >
  958. .dialysis-print-order{
  959. width:960px; margin:0 auto
  960. }
  961. .dialysis-print-order .order-yy-name{
  962. margin: auto;
  963. text-align: center;
  964. font-size: 20px;
  965. letter-spacing: 5px;
  966. }
  967. .dialysis-print-order .order-title{
  968. margin: auto;
  969. font-weight: 600;
  970. text-align: center;
  971. font-size: 22px;
  972. padding: 10px 20px 20px 20px;
  973. }
  974. .dialysis-print-order .table-box {
  975. width: 100%;
  976. line-height: 20px;
  977. font-size: 14px;
  978. }
  979. .dialysis-print-order .print-table {
  980. width: 100%;
  981. text-align: center;
  982. border-collapse: collapse;
  983. line-height: 35px;
  984. font-size: 14px;
  985. }
  986. .dialysis-print-order .print-table-no {
  987. width: 100%;
  988. text-align: center;
  989. border-collapse: collapse;
  990. font-size: 14px;
  991. }
  992. .dialysis-print-order .under-line {
  993. border-bottom: 1px solid #999;
  994. width: 95%;
  995. text-align: center;
  996. margin-left: 2px;
  997. }
  998. .dialysis-print-order .title-box{
  999. text-align: center;
  1000. font-size: 16px;
  1001. border: 1px solid #666;
  1002. }
  1003. .dialysis-print-order .radio-lebel-box {
  1004. font-weight: 400;
  1005. cursor: pointer;
  1006. }
  1007. .dialysis-print-order .radio-no {
  1008. opacity: 0;
  1009. outline: none;
  1010. position: absolute;
  1011. margin: 0;
  1012. width: 0;
  1013. height: 0;
  1014. z-index: -1;
  1015. }
  1016. .dialysis-print-order .radio-inner {
  1017. white-space: nowrap;
  1018. cursor: pointer;
  1019. outline: none;
  1020. display: inline-block;
  1021. line-height: 1;
  1022. position: relative;
  1023. vertical-align: middle;
  1024. }
  1025. .dialysis-print-order .radio-fang {
  1026. display: inline-block;
  1027. position: relative;
  1028. border: 1px solid #000;
  1029. box-sizing: border-box;
  1030. width: 14px;
  1031. height: 14px;
  1032. background-color: #fff;
  1033. z-index: 1;
  1034. transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);
  1035. }
  1036. .dialysis-print-order .is-checked-radio::after {
  1037. content: "√";
  1038. font-size: 15px;
  1039. }
  1040. </style>