Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

dialysisPrintOrderTwelve.vue 87KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444
  1. <template>
  2. <div id="dialysis-print-box">
  3. <div class="dialysis-print-order">
  4. <div class="order-yy-name">{{ orgname }}</div>
  5. <div class="order-title">血液透析治疗记录单</div>
  6. <table class="print-table" border="1" style="margin-top: 10px;">
  7. <tbody>
  8. <tr style="text-align:center">
  9. <td colspan="11" style="margin-left:15px">
  10. 治疗日期:{{ queryParams.xtdate ? queryParams.xtdate : "/" }}
  11. </td>
  12. </tr>
  13. <tr>
  14. <td
  15. width="120"
  16. style="padding-left:5px;border:none;text-align: left;"
  17. >
  18. <div>
  19. 姓 名:&nbsp;{{ patientInfo.name ? patientInfo.name : "/" }}
  20. </div>
  21. </td>
  22. <td width="120" style="border:none;text-align: left;">
  23. 性 别:
  24. <span>
  25. {{ patientInfo.gender ? patientInfo.gender : "/" }}
  26. </span>
  27. </td>
  28. <td width="120" style="border:none;text-align: left;">
  29. 年 龄:
  30. <span>
  31. {{ getAge(patientInfo) }}
  32. </span>
  33. </td>
  34. <td width="50" style="border:none">身 高:</td>
  35. <td width="80" style="border:none;text-align: left;">
  36. <span>
  37. &nbsp;&nbsp;&nbsp;{{
  38. patientInfo.height ? patientInfo.height : ""
  39. }}&nbsp;&nbsp;&nbsp;
  40. </span>
  41. cm
  42. </td>
  43. <td width="50" style="border:none">科 室:</td>
  44. <td width="140" style="border:none;text-align: left;">
  45. <div>
  46. <label-box
  47. showValue="门诊"
  48. :isChecked="
  49. receiverTreatmentAccess.condition == 2 ? true : false
  50. "
  51. ></label-box>
  52. <label-box
  53. showValue="住院"
  54. :isChecked="
  55. receiverTreatmentAccess.condition == 1 ? true : false
  56. "
  57. ></label-box>
  58. </div>
  59. </td>
  60. <td width="80" style="border:none">透析机号:</td>
  61. <td width="80" style="border:none;text-align: left;">
  62. <div>
  63. {{
  64. dialysisOrder &&
  65. dialysisOrder.DeviceNumber &&
  66. dialysisOrder.DeviceNumber.number.length > 0
  67. ? dialysisOrder.DeviceNumber.number
  68. : patientInfo.DialysisSchedule.device_number.number
  69. }}
  70. </div>
  71. </td>
  72. <!-- <td width="1"></td> -->
  73. <td width="50" style="border:none">床位号:</td>
  74. <td width="80" style="border-left:none;text-align: left;">
  75. <div>
  76. {{ patientInfo.dialysis_no }}
  77. </div>
  78. </td>
  79. </tr>
  80. <tr style="text-align:left">
  81. <td colspan="11" style="padding-left:5px">
  82. 上机前病情:{{
  83. predialysis.symptom_before_dialysis
  84. ? predialysis.symptom_before_dialysis
  85. : ""
  86. }}
  87. </td>
  88. </tr>
  89. <tr style="text-align:left">
  90. <td colspan="8" style="padding-left:5px">
  91. 治疗方式:&nbsp;
  92. <label-box
  93. :isChecked="prescription.mode_id == 1 ? true : false"
  94. showValue="HD"
  95. ></label-box
  96. >&nbsp;
  97. <label-box
  98. :isChecked="prescription.mode_id == 2 ? true : false"
  99. showValue="HDF"
  100. ></label-box
  101. >&nbsp; (
  102. <label-box
  103. :isChecked="
  104. prescription.displace_liqui_part == 1 ? true : false
  105. "
  106. showValue="前稀释"
  107. ></label-box>
  108. <label-box
  109. :isChecked="
  110. prescription.displace_liqui_part == 2 ? true : false
  111. "
  112. showValue="后稀释"
  113. ></label-box>
  114. <span
  115. >,置换量
  116. <span style="width:50px;display: inline-block;">
  117. {{
  118. prescription.displace_liqui_value
  119. ? prescription.displace_liqui_value
  120. : "/"
  121. }}
  122. </span>
  123. L</span
  124. >
  125. <label-box
  126. :isChecked="
  127. prescription.mode_id == 3
  128. ? true
  129. : prescription.mode_id == 4
  130. ? true
  131. : prescription.mode_id == 5
  132. ? true
  133. : false
  134. "
  135. showValue="其他:"
  136. ></label-box>
  137. <span v-if="prescription.mode_id == 3">
  138. {{ prescription.mode_id == 3 ? "HD+HP" : "" }}
  139. </span>
  140. <span v-if="prescription.mode_id == 4">
  141. {{ prescription.mode_id == 4 ? "HP" : "" }}
  142. </span>
  143. <span v-if="prescription.mode_id == 5">
  144. {{ prescription.mode_id == 5 ? "HF" : "" }}
  145. </span>
  146. </td>
  147. <td colspan="3" style="border-left:1px solid #000;padding-left:5px">
  148. 治疗时间:
  149. <span
  150. >&nbsp;{{
  151. prescription.dialysis_duration_hour
  152. ? prescription.dialysis_duration_hour
  153. : "0"
  154. }}小时{{
  155. prescription.dialysis_duration_minute
  156. ? prescription.dialysis_duration_minute
  157. : "0"
  158. }}分钟</span
  159. >
  160. </td>
  161. </tr>
  162. <tr style="text-align:left">
  163. <td colspan="11" style="padding-left:5px">
  164. 治疗抗凝:<label-box
  165. :isChecked="
  166. prescription.anticoagulant == '低分子肝素钙'
  167. ? true
  168. : prescription.anticoagulant == '低分子肝素钠'
  169. ? true
  170. : false
  171. "
  172. showValue="低分子肝素:"
  173. ></label-box>
  174. <span style="width:50px;display: inline-block;">{{
  175. prescription.anticoagulant_zongliang &&
  176. (prescription.anticoagulant == "低分子肝素钙" ||
  177. prescription.anticoagulant == "低分子肝素钠")
  178. ? prescription.anticoagulant_zongliang
  179. : ""
  180. }}</span
  181. >iu&nbsp;
  182. <label-box
  183. :isChecked="
  184. prescription.anticoagulant == '普通肝素' ? true : false
  185. "
  186. showValue="普通肝素:"
  187. ></label-box>
  188. 首剂:<span style="width:35px;display: inline-block;">{{
  189. prescription.anticoagulant_shouji &&
  190. (prescription.anticoagulant != "低分子肝素钙" &&
  191. prescription.anticoagulant != "低分子肝素钠") &&
  192. prescription.anticoagulant == "普通肝素"
  193. ? prescription.anticoagulant_shouji
  194. : ""
  195. }}</span>
  196. <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
  197. <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
  198. <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
  199. <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
  200. <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
  201. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  202. >iu</span
  203. >
  204. <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span
  205. >&nbsp; 追加:<span style="width:35px;display: inline-block;">{{
  206. prescription.anticoagulant_weichi &&
  207. prescription.anticoagulant == "普通肝素"
  208. ? prescription.anticoagulant_weichi
  209. : ""
  210. }}</span
  211. ><span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
  212. <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
  213. <span v-if="prescription.anticoagulant == '低分子肝素'"
  214. >iu/h</span
  215. >
  216. <span v-if="prescription.anticoagulant == '普通肝素'">iu/h</span>
  217. <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
  218. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  219. >iu/h</span
  220. >
  221. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  222. >iu/h</span
  223. >
  224. &nbsp; 总量:<span style="width:50px;display: inline-block;">{{
  225. prescription.anticoagulant_zongliang &&
  226. prescription.anticoagulant == "普通肝素"
  227. ? prescription.anticoagulant_zongliang
  228. : ""
  229. }}</span
  230. ><span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
  231. <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
  232. <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
  233. <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
  234. <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
  235. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  236. >iu</span
  237. >
  238. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  239. >iu</span
  240. >
  241. &nbsp;
  242. <label-box
  243. :isChecked="
  244. prescription.anticoagulant == '无肝素' ? true : false
  245. "
  246. showValue="无肝素:"
  247. ></label-box>
  248. <label-box
  249. :isChecked="
  250. prescription.anticoagulant == '枸橼酸钠' ? true : false
  251. "
  252. showValue="枸橼酸"
  253. ></label-box>
  254. </td>
  255. </tr>
  256. <tr style="text-align:left">
  257. <td colspan="7" style="padding-left:5px">
  258. 处方脱水量:<span style="width:50px;display: inline-block;">{{
  259. prescription.target_ultrafiltration
  260. ? prescription.target_ultrafiltration
  261. : ""
  262. }}</span
  263. >L; 透析液流量:<span style="width:50px;display: inline-block;">
  264. {{
  265. prescription.dialysate_flow ? prescription.dialysate_flow : ""
  266. }}</span
  267. >ml/min;
  268. </td>
  269. <td
  270. colspan="4"
  271. style="padding-left:5px;border-left:1px solid #000;padding-left:5px"
  272. >
  273. 医师签名:
  274. <span v-if="setAdminUserES(prescription.creater) == ''">{{
  275. getAdminUser(prescription.creater)
  276. }}</span>
  277. <img
  278. class="es-img"
  279. :src="setAdminUserES(prescription.creater)"
  280. alt=""
  281. srcset=""
  282. v-else
  283. />
  284. </td>
  285. </tr>
  286. <tr style="text-align:left">
  287. <td colspan="2" style="padding-left:5px">
  288. 透析机:{{
  289. predialysis.machine_type ? predialysis.machine_type : ""
  290. }}
  291. </td>
  292. <td
  293. colspan="2"
  294. style="padding-left:5px;border-left:1px solid #000;"
  295. >
  296. 透析(滤)器:{{
  297. prescription.dialyzer_perfusion_apparatus
  298. ? prescription.dialyzer_perfusion_apparatus
  299. : ""
  300. }}
  301. </td>
  302. <td
  303. colspan="7"
  304. style="padding-left:5px;border-left:1px solid #000;"
  305. >
  306. 透析液:钾:<span style="width:40px;display: inline-block;">{{
  307. prescription.kalium
  308. }}</span
  309. >mmol/L&nbsp; 钙:<span
  310. style="width:40px;display: inline-block;"
  311. >{{ prescription.calcium }}</span
  312. >mmol/L&nbsp; 碳酸氢根:<span
  313. style="width:40px;display: inline-block;"
  314. >{{
  315. prescription.bicarbonate ? prescription.bicarbonate : ""
  316. }}</span
  317. >mmol/L
  318. </td>
  319. </tr>
  320. <tr style="text-align:left">
  321. <td colspan="11" style="padding-left:5px">
  322. 血管通路:
  323. <label-box
  324. :isChecked="
  325. predialysis.blood_access_part_opera_name.indexOf('内瘘') > -1
  326. ? true
  327. : false
  328. "
  329. showValue="内瘘"
  330. ></label-box
  331. >&nbsp;
  332. <label-box
  333. :isChecked="
  334. predialysis.blood_access_part_opera_name.indexOf(
  335. '长期静脉导管'
  336. ) > -1
  337. ? true
  338. : false
  339. "
  340. showValue="长期静脉导管"
  341. ></label-box
  342. >&nbsp;
  343. <label-box
  344. :isChecked="
  345. predialysis.blood_access_part_opera_name.indexOf('颈内静脉') >
  346. -1
  347. ? true
  348. : false
  349. "
  350. showValue="临时颈内静脉导管"
  351. ></label-box
  352. >&nbsp;
  353. <label-box
  354. :isChecked="
  355. predialysis.blood_access_part_opera_name.indexOf('股静脉') >
  356. -1
  357. ? true
  358. : false
  359. "
  360. showValue="临时股静脉导管"
  361. ></label-box
  362. >&nbsp;
  363. <label-box
  364. :isChecked="
  365. predialysis.blood_access_part_opera_name.indexOf('人造血管') >
  366. -1
  367. ? true
  368. : predialysis.blood_access_part_opera_name.indexOf(
  369. '移植血管'
  370. ) > -1
  371. ? true
  372. : false
  373. "
  374. showValue="其他"
  375. ></label-box
  376. >&nbsp;
  377. <span style="width:50px;display: inline-block;"></span>
  378. 穿刺者:<span style="width:50px;display: inline-block;">
  379. <span
  380. v-if="
  381. setAdminUserES(
  382. dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
  383. ) == ''
  384. "
  385. >{{
  386. getAdminUser(
  387. dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
  388. )
  389. }}</span
  390. >
  391. <img
  392. class="es-img"
  393. :src="
  394. setAdminUserES(
  395. dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
  396. )
  397. "
  398. alt=""
  399. srcset=""
  400. v-else
  401. />
  402. </span>
  403. </td>
  404. </tr>
  405. </tbody>
  406. </table>
  407. <!-- <table class="print-table" border="1" style="margin-top:10px">
  408. <tbody>
  409. <tr>
  410. <td>
  411. <table class="table-box">
  412. <tr>
  413. <td style="text-align:left;margin-left:15px">
  414. 病情评估:
  415. <span class="under-line"
  416. >&nbsp;{{
  417. receiverTreatmentAccess.sick_condition
  418. ? receiverTreatmentAccess.sick_condition
  419. : "/"
  420. }}</span
  421. >
  422. </td>
  423. <td style="text-align:left;margin-left:15px">
  424. 入科方式:
  425. <span class="under-line"
  426. >&nbsp;
  427. {{
  428. receiverTreatmentAccess.way
  429. ? receiverTreatmentAccess.way
  430. : "/"
  431. }}
  432. </span>
  433. </td>
  434. <td style="text-align:left;margin-left:15px" colspan="2">
  435. 透析次数:
  436. <span class="under-line">&nbsp;{{ total }}</span>
  437. </td>
  438. </tr>
  439. <tr>
  440. <td style="text-align:left;margin-left:15px">
  441. 净化治疗方式:
  442. <span class="under-line"
  443. >&nbsp;{{
  444. prescription.mode ? prescription.mode : "/"
  445. }}</span
  446. >
  447. </td>
  448. <td style="text-align:left;margin-left:15px">
  449. 透析器型号:
  450. <span
  451. class="under-line"
  452. v-if="
  453. prescription.mode_id != 3 &&
  454. prescription.mode_id != 4 &&
  455. prescription.mode_id != 12 &&
  456. prescription.mode_id != 9
  457. "
  458. >&nbsp;{{
  459. prescription.dialyzer_perfusion_apparatus
  460. ? prescription.dialyzer_perfusion_apparatus
  461. : "/"
  462. }}</span
  463. >
  464. <span class="under-line" v-else>
  465. /
  466. </span>
  467. </td>
  468. <td style="text-align:left;margin-left:15px">
  469. 灌流器型号:
  470. <span
  471. class="under-line"
  472. v-if="
  473. prescription.mode_id == 3 ||
  474. prescription.mode_id == 4 ||
  475. prescription.mode_id == 9 ||
  476. prescription.mode_id == 12
  477. "
  478. >&nbsp;{{
  479. prescription.dialyzer_perfusion_apparatus
  480. ? prescription.dialyzer_perfusion_apparatus
  481. : "/"
  482. }}</span
  483. >
  484. <span v-else class="under-line">
  485. /
  486. </span>
  487. </td>
  488. <td style="text-align:left;margin-left:15px">
  489. 血管通路:
  490. <span class="under-line"
  491. >&nbsp;{{
  492. predialysis.blood_access_part_opera_name
  493. ? predialysis.blood_access_part_opera_name
  494. : "/"
  495. }}</span
  496. >
  497. </td>
  498. </tr>
  499. <tr>
  500. <td style="text-align:left;margin-left:15px">
  501. 干体重:
  502. <span class="under-line"
  503. >&nbsp;{{
  504. predialysis.dry_weight ? predialysis.dry_weight : "0"
  505. }}</span
  506. >kg
  507. </td>
  508. <td style="text-align:left;margin-left:15px">
  509. 透前体重:
  510. <span class="under-line"
  511. >&nbsp;{{
  512. predialysis.weight_before
  513. ? predialysis.weight_before
  514. : "0"
  515. }}</span
  516. >kg
  517. </td>
  518. <td style="text-align:left;margin-left:15px">
  519. 预脱:
  520. <span class="under-line"
  521. >&nbsp;{{
  522. prescription.target_ultrafiltration
  523. ? prescription.target_ultrafiltration
  524. : "0"
  525. }}</span
  526. >L
  527. </td>
  528. <td style="text-align:left;margin-left:15px">
  529. 治疗时间:
  530. <span class="under-line"
  531. >&nbsp;{{
  532. prescription.dialysis_duration_hour
  533. ? prescription.dialysis_duration_hour
  534. : "0"
  535. }}小时{{
  536. prescription.dialysis_duration_minute
  537. ? prescription.dialysis_duration_minute
  538. : "0"
  539. }}分钟</span
  540. >
  541. </td>
  542. </tr>
  543. <tr>
  544. <td style="text-align:left;margin-left:15px">
  545. 血流量:
  546. <span class="under-line"
  547. >&nbsp;{{
  548. prescription.blood_flow_volume
  549. ? prescription.blood_flow_volume
  550. : "0"
  551. }}</span
  552. >ml/min
  553. </td>
  554. <td style="text-align:left;margin-left:15px">
  555. 置换方式:
  556. <span class="under-line"
  557. >&nbsp;
  558. {{
  559. getDisplaceLiquiPart(prescription.displace_liqui_part)
  560. }}</span
  561. >
  562. </td>
  563. <td style="text-align:left;margin-left:15px">
  564. 置换液总量:
  565. <span class="under-line"
  566. >&nbsp;{{
  567. prescription.displace_liqui_value
  568. ? prescription.displace_liqui_value
  569. : "0"
  570. }}</span
  571. >
  572. </td>
  573. </tr>
  574. <tr>
  575. <td style="text-align:left;margin-left:15px">
  576. 抗凝剂:
  577. <span class="under-line"
  578. >&nbsp;{{
  579. prescription.anticoagulant
  580. ? prescription.anticoagulant
  581. : "/"
  582. }}</span
  583. >
  584. </td>
  585. <td style="text-align:left;margin-left:15px">
  586. 首剂:<span class="under-line">{{
  587. prescription.anticoagulant_shouji
  588. ? prescription.anticoagulant_shouji
  589. : "0"
  590. }}</span>
  591. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  592. >mg</span
  593. >
  594. <span v-if="prescription.anticoagulant == '阿加曲班'"
  595. >mg</span
  596. >
  597. <span v-if="prescription.anticoagulant == '低分子肝素'"
  598. >iu</span
  599. >
  600. <span v-if="prescription.anticoagulant == '普通肝素'"
  601. >iu</span
  602. >
  603. <span v-if="prescription.anticoagulant == '无肝素'"
  604. >mg</span
  605. >
  606. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  607. >iu</span
  608. >
  609. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  610. >iu</span
  611. >&nbsp;
  612. </td>
  613. <td style="text-align:left;margin-left:15px">
  614. 维持:
  615. <span class="under-line"
  616. >&nbsp;{{
  617. prescription.anticoagulant_weichi
  618. ? prescription.anticoagulant_weichi
  619. : "0"
  620. }}</span
  621. >
  622. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  623. >ml/h</span
  624. >
  625. <span v-if="prescription.anticoagulant == '阿加曲班'"
  626. >mg/h</span
  627. >
  628. <span v-if="prescription.anticoagulant == '低分子肝素'"
  629. >iu/h</span
  630. >
  631. <span v-if="prescription.anticoagulant == '普通肝素'"
  632. >iu/h</span
  633. >
  634. <span v-if="prescription.anticoagulant == '无肝素'"
  635. >mg/h</span
  636. >
  637. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  638. >iu/h</span
  639. >
  640. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  641. >iu/h</span
  642. >
  643. </td>
  644. <td style="text-align:left;margin-left:15px">
  645. 总量:<span class="under-line"
  646. >&nbsp;{{
  647. prescription.anticoagulant_zongliang
  648. ? prescription.anticoagulant_zongliang
  649. : "0"
  650. }}</span
  651. >
  652. <span v-if="prescription.anticoagulant == '枸橼酸钠'"
  653. >mg</span
  654. >
  655. <span v-if="prescription.anticoagulant == '阿加曲班'"
  656. >mg</span
  657. >
  658. <span v-if="prescription.anticoagulant == '低分子肝素'"
  659. >iu</span
  660. >
  661. <span v-if="prescription.anticoagulant == '普通肝素'"
  662. >iu</span
  663. >
  664. <span v-if="prescription.anticoagulant == '无肝素'"
  665. >mg</span
  666. >
  667. <span v-if="prescription.anticoagulant == '低分子肝素钙'"
  668. >iu</span
  669. >
  670. <span v-if="prescription.anticoagulant == '低分子肝素钠'"
  671. >iu</span
  672. >
  673. </td>
  674. </tr>
  675. <tr>
  676. <td style="text-align:left;margin-left:15px">
  677. 透析液(mmol/L):
  678. <span
  679. class="under-line"
  680. v-if="prescription.dialysate_formulation == 0"
  681. >&nbsp; 常规(钾:0&nbsp;,钙:0 &nbsp;,钠:0)
  682. </span>
  683. <span
  684. class="under-line"
  685. v-if="prescription.dialysate_formulation == 1"
  686. >&nbsp; 常规(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  687. prescription.calcium
  688. }}&nbsp;,钠:{{ prescription.sodium }})
  689. </span>
  690. <span
  691. class="under-line"
  692. v-if="prescription.dialysate_formulation == 2"
  693. >&nbsp; 低钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  694. prescription.calcium
  695. }}&nbsp;,钠:{{ prescription.sodium }})
  696. </span>
  697. <span
  698. class="under-line"
  699. v-if="prescription.dialysate_formulation == 3"
  700. >&nbsp; 高钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  701. prescription.calcium
  702. }}&nbsp;,钠:{{ prescription.sodium }})
  703. </span>
  704. <span
  705. class="under-line"
  706. v-if="prescription.dialysate_formulation == 4"
  707. >&nbsp; 低钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  708. prescription.calcium
  709. }}&nbsp;,钠:{{ prescription.sodium }})
  710. </span>
  711. <span
  712. class="under-line"
  713. v-if="prescription.dialysate_formulation == 5"
  714. >&nbsp; 高钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
  715. prescription.calcium
  716. }}&nbsp;,钠:{{ prescription.sodium }})
  717. </span>
  718. </td>
  719. <td style="text-align:left;margin-left:15px">
  720. 并发症:
  721. <span class="under-line">{{
  722. predialysis.complication ? predialysis.complication : "/"
  723. }}</span>
  724. </td>
  725. <td style="text-align:left;margin-left:15px">
  726. 医生签名:
  727. <span class="under-line" v-if="doctorForm.url == ''"
  728. >&nbsp;{{
  729. doctorForm.doctor ? doctorForm.doctor : "/"
  730. }}</span
  731. >
  732. <span class="under-line" v-if="doctorForm.url != ''">
  733. <img style="height:40px" :src="doctorForm.url" />
  734. </span>
  735. </td>
  736. </tr>
  737. </table>
  738. </td>
  739. </tr>
  740. </tbody>
  741. </table> -->
  742. <table class="print-table" border="1">
  743. <tr style="text-align:center">
  744. <td colspan="14" style="margin-left:15px;font-size:20px">
  745. 治 疗 过 程 记 录
  746. </td>
  747. </tr>
  748. <tr>
  749. <td style="width:60px" rowspan="2">时间</td>
  750. <td colspan="4">透析参数</td>
  751. <td colspan="5">生命体征</td>
  752. <td colspan="2">治疗中病情变化</td>
  753. <td style="width:80px" rowspan="2">护士签名</td>
  754. </tr>
  755. <tr>
  756. <th style="width:70px">
  757. <p style="height:20px;line-height:20px">TMP</p>
  758. <p style="height:20px;line-height:20px">mmHg</p>
  759. </th>
  760. <th style="width:70px">
  761. <p style="height:20px;line-height:20px">静脉压</p>
  762. <p style="height:20px;line-height:20px">mmHg</p>
  763. </th>
  764. <th style="width:70px">
  765. <p style="height:20px;line-height:20px">血流量</p>
  766. <p style="height:20px;line-height:20px">ml/min</p>
  767. </th>
  768. <th style="width:70px">
  769. <p style="height:20px;line-height:20px">脱水量</p>
  770. <p style="height:20px;line-height:20px">L</p>
  771. </th>
  772. <th style="width:30px">
  773. <p style="height:20px;line-height:20px">T</p>
  774. <p style="height:20px;line-height:20px">℃</p>
  775. </th>
  776. <th style="width:50px">
  777. <p style="height:20px;line-height:20px">HR</p>
  778. <p style="height:20px;line-height:20px">bpm</p>
  779. </th>
  780. <th style="width:50px">
  781. <p style="height:20px;line-height:20px">R</p>
  782. <p style="height:20px;line-height:20px">bpm</p>
  783. </th>
  784. <th style="width:100px">
  785. <p style="height:20px;line-height:20px">BP</p>
  786. <p style="height:20px;line-height:20px">mmHg</p>
  787. </th>
  788. <th style="width:50px">
  789. <p style="height:20px;line-height:20px">Spo<sub>2</sub></p>
  790. <p style="height:20px;line-height:20px">%</p>
  791. </th>
  792. <th style="width:333px">
  793. <p style="height:20px;line-height:20px">
  794. 记&nbsp;&nbsp;&nbsp;&nbsp;录
  795. </p>
  796. </th>
  797. <!-- <td style="width:80px">护士签名</td> -->
  798. </tr>
  799. <tr v-for="(monitor, monindex) in monitors" :key="monindex">
  800. <td style="min-width:60px;height:30px">
  801. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  802. </td>
  803. <td>
  804. <span v-if="getTime(monitor.operate_time) != ''">
  805. {{
  806. monitor.transmembrane_pressure
  807. ? monitor.transmembrane_pressure
  808. : "0"
  809. }}</span
  810. >
  811. </td>
  812. <td>
  813. <span v-if="getTime(monitor.operate_time) != ''">
  814. {{
  815. monitor.venous_pressure ? monitor.venous_pressure : "0"
  816. }}</span
  817. >
  818. </td>
  819. <td>
  820. <span v-if="getTime(monitor.operate_time) != ''">
  821. {{
  822. monitor.blood_flow_volume ? monitor.blood_flow_volume : "0"
  823. }}</span
  824. >
  825. </td>
  826. <td>
  827. <span v-if="getTime(monitor.operate_time) != ''">
  828. {{
  829. monitor.ultrafiltration_volume
  830. ? monitor.ultrafiltration_volume
  831. : "0"
  832. }}
  833. </span>
  834. </td>
  835. <td>
  836. <span v-if="getTime(monitor.operate_time) != ''">
  837. {{ monitor.temperature ? monitor.temperature : "0" }}
  838. </span>
  839. </td>
  840. <td>
  841. <span v-if="getTime(monitor.operate_time) != ''">{{
  842. monitor.pulse_frequency ? monitor.pulse_frequency : "0"
  843. }}</span>
  844. </td>
  845. <td>
  846. <span v-if="getTime(monitor.operate_time) != ''">{{
  847. monitor.breathing_rate ? monitor.breathing_rate : "0"
  848. }}</span>
  849. </td>
  850. <td>
  851. <span v-if="getTime(monitor.operate_time) != ''">
  852. {{
  853. monitor.systolic_blood_pressure
  854. ? monitor.systolic_blood_pressure
  855. : ""
  856. }}
  857. /
  858. {{
  859. monitor.diastolic_blood_pressure
  860. ? monitor.diastolic_blood_pressure
  861. : ""
  862. }}
  863. </span>
  864. </td>
  865. <td>
  866. <span v-if="getTime(monitor.operate_time) != ''">{{
  867. monitor.blood_oxygen_saturation
  868. ? monitor.blood_oxygen_saturation
  869. : "0"
  870. }}</span>
  871. </td>
  872. <td>
  873. <span v-if="monitor.symptom || monitor.dispose || monitor.result">
  874. {{
  875. monitor.symptom + "," + monitor.dispose + "," + monitor.result
  876. }}
  877. </span>
  878. </td>
  879. <td width="0" style="border:none;visibility: hidden;padding:0"></td>
  880. <td>
  881. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{
  882. getAdminUser(monitor.monitoring_nurse)
  883. }}</span>
  884. <img
  885. class="es-img"
  886. :src="setAdminUserES(monitor.monitoring_nurse)"
  887. alt=""
  888. srcset=""
  889. v-else
  890. />
  891. </td>
  892. </tr>
  893. </table>
  894. <table class="print-table" border="1">
  895. <tbody>
  896. <tr>
  897. <td style="width:130px;height:40px">
  898. 时间
  899. </td>
  900. <td colspan="5" style="width:560px;height:40px">
  901. 医嘱执行记录
  902. </td>
  903. <td colspan="2" style="width:110px;height:40px">
  904. 医生签名
  905. </td>
  906. <td colspan="2" style="width:108px;height:40px">
  907. 执行
  908. </td>
  909. <td colspan="3" style="width:130px;height:40px">
  910. 执行时间
  911. </td>
  912. <!-- <td style="width:60px;height:60px">
  913. <p style="height:20px;line-height:20px">核对</p>
  914. </td>
  915. <td style="width:60px;height:40px">
  916. <p style="height:20px;line-height:20px">上次透后体重</p>
  917. </td>
  918. <td style="width:60px;height:40px">
  919. {{
  920. assessmentafter.weight_after
  921. ? assessmentafter.weight_after
  922. : "0"
  923. }}kg
  924. </td> -->
  925. </tr>
  926. <tr v-for="(advice, advice_index) in tableAdvice" style="height:30px">
  927. <td>{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  928. <td colspan="5" style="height:30px;">
  929. <span v-if="advice.parent_id > 0">---></span>
  930. <span>{{ advice.advice_name }}</span>
  931. <span v-if="advice && advice.advice_desc"
  932. >({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span
  933. >
  934. <span v-if="advice.prescribing_number">
  935. &nbsp;&nbsp; {{ advice.prescribing_number
  936. }}{{ advice.prescribing_number_unit }}</span
  937. >
  938. <span v-if="advice.single_dose != 0">
  939. {{ advice.single_dose }}{{ advice.single_dose_unit }}</span
  940. >
  941. <span v-if="advice.parent_id == 0">{{
  942. advice.delivery_way
  943. }}</span>
  944. <span v-if="advice.parent_id == 0">{{
  945. advice.execution_frequency
  946. }}</span>
  947. </td>
  948. <td colspan="2">
  949. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{
  950. getAdminUser(advice.advice_doctor)
  951. }}</span>
  952. <img
  953. style="height:30px;"
  954. :src="setAdminUserES(advice.advice_doctor)"
  955. alt=""
  956. srcset=""
  957. v-else
  958. />
  959. </td>
  960. <td colspan="2" style="height:40px">
  961. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
  962. getAdminUser(advice.execution_staff)
  963. }}</span>
  964. <img
  965. style="height:30px;"
  966. :src="setAdminUserES(advice.execution_staff)"
  967. alt=""
  968. srcset=""
  969. v-else
  970. />
  971. </td>
  972. <td colspan="3" style="width:130px;">
  973. {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
  974. </td>
  975. <!-- <td>
  976. <span v-if="setAdminUserES(advice.checker) == ''">{{
  977. getAdminUser(advice.checker)
  978. }}</span>
  979. <img
  980. style="height:40px;"
  981. :src="setAdminUserES(advice.checker)"
  982. alt=""
  983. srcset=""
  984. v-else
  985. />
  986. </td>
  987. <td v-if="advice_index === 0">透前体重:</td>
  988. <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
  989. <td v-if="advice_index === 1">体重增加量:</td>
  990. <td v-if="advice_index === 1"></td>
  991. <td v-if="advice_index === 2">干体重(DW):</td>
  992. <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
  993. <td v-if="advice_index === 3">较干体重增加量:</td>
  994. <td v-if="advice_index === 3">
  995. {{
  996. (
  997. predialysis.weight_before -
  998. predialysis.dry_weight -
  999. predialysis.additional_weight
  1000. ).toFixed(2)
  1001. }}kg
  1002. </td>
  1003. <td v-if="advice_index === 4">净脱水量:</td>
  1004. <td v-if="advice_index === 4">
  1005. {{ afterdialysis.actual_ultrafiltration }}L
  1006. </td>
  1007. <td v-if="advice_index === 5">透后体重:</td>
  1008. <td v-if="advice_index === 5">
  1009. {{ afterdialysis.weight_after }}kg
  1010. </td> -->
  1011. </tr>
  1012. </tbody>
  1013. </table>
  1014. <table class="print-table" border="1">
  1015. <tbody>
  1016. <tr>
  1017. <td width="100" style="padding-left:5px;border:none">透前体重:</td>
  1018. <td width="120" style="border:none;text-align:left;border:none;">
  1019. <div>
  1020. &nbsp;<span style="width:70px;display:inline-block">{{
  1021. predialysis.weight_before ? predialysis.weight_before : ""
  1022. }}</span
  1023. >Kg
  1024. </div>
  1025. </td>
  1026. <!-- <td width="100" style="border:none;"></td> -->
  1027. <td
  1028. width="100"
  1029. style="border:none;border-left:1px solid #000;padding-left:5px;"
  1030. >
  1031. 干体重:
  1032. </td>
  1033. <td width="180" style="text-align:left;border:none;">
  1034. <div>
  1035. <span style="width:70px;display:inline-block;border:none;">{{
  1036. predialysis.dry_weight ? predialysis.dry_weight : ""
  1037. }}</span
  1038. >Kg
  1039. </div>
  1040. </td>
  1041. <!-- <td width="10" style="border:none;"></td> -->
  1042. <td
  1043. width="100"
  1044. style="border:none;border-left:1px solid #000;padding-left:5px;"
  1045. >
  1046. 实际脱水量:
  1047. </td>
  1048. <td width="130" style="text-align:left;border:none;">
  1049. <div>
  1050. <span style="width:70px;display:inline-block">{{
  1051. afterdialysis.actual_ultrafiltration
  1052. ? afterdialysis.actual_ultrafiltration
  1053. : "/"
  1054. }}</span
  1055. >L
  1056. </div>
  1057. </td>
  1058. <td
  1059. width="100"
  1060. style="border:none;border-left:1px solid #000;padding-left:5px"
  1061. >
  1062. 透后体重:
  1063. </td>
  1064. <td width="180" style="text-align:left;border:none;">
  1065. <div>
  1066. <span style="width:70px;display:inline-block">{{
  1067. afterdialysis.weight_after
  1068. ? parseFloat(
  1069. afterdialysis.weight_after -
  1070. afterdialysis.additional_weight
  1071. ).toFixed(1)
  1072. : ""
  1073. }}</span
  1074. >Kg
  1075. </div>
  1076. </td>
  1077. </tr>
  1078. </tbody>
  1079. </table>
  1080. <table class="print-table" border="1">
  1081. <tbody>
  1082. <tr>
  1083. <td
  1084. width="100"
  1085. style="padding-left:5px;border:none;border-right:1px solid #000;"
  1086. >
  1087. 透后评估
  1088. </td>
  1089. <td width="100" style="border:none;padding-left:5px;">
  1090. 透析器凝血:
  1091. </td>
  1092. <td width="100" style="text-align:left;border:none;">
  1093. <div>
  1094. <span style="width:100px;display:inline-block;border:none;">{{
  1095. afterdialysis.cruor ? afterdialysis.cruor : ""
  1096. }}</span>
  1097. </div>
  1098. </td>
  1099. <!-- <td width="10" style="border:none;"></td> -->
  1100. <td width="70" style="border:none;padding-left:5px;">
  1101. 内瘘:
  1102. </td>
  1103. <td
  1104. width="200"
  1105. style="text-align:left;border:none;line-height: 30px;"
  1106. >
  1107. <div>
  1108. <span style="width:200px;display:inline-block">{{
  1109. afterdialysis.internal_fistula
  1110. ? afterdialysis.internal_fistula
  1111. : ""
  1112. }}</span>
  1113. </div>
  1114. </td>
  1115. <td width="70" style="border:none;padding-left:5px">
  1116. 导管:
  1117. </td>
  1118. <td width="180" style="text-align:left;border:none;">
  1119. <div>
  1120. <span style="width:180px;display:inline-block">{{
  1121. afterdialysis.catheter ? afterdialysis.catheter : ""
  1122. }}</span>
  1123. </div>
  1124. </td>
  1125. </tr>
  1126. </tbody>
  1127. </table>
  1128. <table class="print-table" border="1">
  1129. <!-- <td>
  1130. <table class="table-box" style="table-layout:fixed">
  1131. <tr>
  1132. <td style="text-align:left;margin-left:15px;width:25%">
  1133. 上机时间:
  1134. <span class="under-line">
  1135. {{
  1136. getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
  1137. ? getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
  1138. : "0"
  1139. }}</span
  1140. >
  1141. </td>
  1142. <td style="text-align:left;margin-left:15px;width:25%">
  1143. 下机时间:
  1144. <span class="under-line">{{
  1145. getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
  1146. ? getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
  1147. : "0"
  1148. }}</span>
  1149. </td>
  1150. <td style="text-align:left;margin-left:15px;width:25%">
  1151. 上机护士:
  1152. <span class="under-line" v-if="orderForm.url === ''">{{
  1153. orderForm.start_nurse ? orderForm.start_nurse : "/"
  1154. }}</span>
  1155. <span class="under-line" v-if="orderForm.url !== ''"
  1156. ><img :src="orderForm.url" style="height:40px;"
  1157. /></span>
  1158. </td>
  1159. <td style="text-align:left;margin-left:15px;width:25%">
  1160. 核对护士:
  1161. <span class="under-line"
  1162. >&nbsp;
  1163. <span
  1164. v-if="
  1165. setAdminUserES(check == null ? 0 : check.modifier) == ''
  1166. "
  1167. >{{
  1168. getAdminUser(check == null ? 0 : check.modifier)
  1169. ? getAdminUser(check == null ? 0 : check.modifier)
  1170. : "/"
  1171. }}</span
  1172. >
  1173. <img
  1174. class="es-img"
  1175. :src="setAdminUserES(check == null ? 0 : check.modifier)"
  1176. alt=""
  1177. srcset=""
  1178. style="height:40px"
  1179. v-else
  1180. />
  1181. </span>
  1182. </td>
  1183. </tr>
  1184. <tr>
  1185. <td style="text-align:left;margin-left:15px;width:25%">
  1186. 下机护士:
  1187. <span class="under-line" v-if="finshForm.url === ''"
  1188. >&nbsp;{{
  1189. finshForm.finish_nurse ? finshForm.finish_nurse : "/"
  1190. }}</span
  1191. >
  1192. <span class="under-line" v-if="finshForm.url !== ''"
  1193. >&nbsp;<img :src="finshForm.url" style="height:40px;"
  1194. /></span>
  1195. </td>
  1196. <td style="text-align:left;margin-left:15px;width:25%">
  1197. 下机血压:
  1198. <span class="under-line"
  1199. >&nbsp;{{ afterdialysis.systolic_blood_pressure }}/{{
  1200. afterdialysis.diastolic_blood_pressure
  1201. }}&nbsp;mmHg</span
  1202. >
  1203. </td>
  1204. <td style="text-align:left;margin-left:15px;width:25%">
  1205. 实际治疗时间:
  1206. <span class="under-line"
  1207. >&nbsp;
  1208. {{
  1209. afterdialysis.actual_treatment_hour
  1210. ? afterdialysis.actual_treatment_hour
  1211. : "0"
  1212. }}小时{{
  1213. afterdialysis.actual_treatment_minute
  1214. ? afterdialysis.actual_treatment_minute
  1215. : "0"
  1216. }}分钟
  1217. </span>
  1218. </td>
  1219. <td style="text-align:left;margin-left:15px;width:25%">
  1220. 实际超滤量:
  1221. <span class="under-line"
  1222. >&nbsp;{{
  1223. afterdialysis.actual_ultrafiltration
  1224. ? afterdialysis.actual_ultrafiltration
  1225. : "0"
  1226. }}&nbsp;L</span
  1227. >
  1228. </td>
  1229. </tr>
  1230. <tr>
  1231. <td style="text-align:left;margin-left:15px">
  1232. 拔针后穿刺点渗血:
  1233. <span
  1234. class="under-line"
  1235. v-if="afterdialysis.puncture_point_oozing_blood === 0"
  1236. >&nbsp;/</span
  1237. >
  1238. <span
  1239. class="under-line"
  1240. v-if="afterdialysis.puncture_point_oozing_blood === 1"
  1241. >&nbsp;有</span
  1242. >
  1243. <span
  1244. class="under-line"
  1245. v-if="afterdialysis.puncture_point_oozing_blood === 2"
  1246. >&nbsp;无</span
  1247. >
  1248. </td>
  1249. <td style="text-align:left;margin-left:15px">
  1250. 穿刺处血肿:
  1251. <span
  1252. class="under-line"
  1253. v-if="afterdialysis.puncture_point_haematoma === 0"
  1254. >&nbsp;/</span
  1255. >
  1256. <span
  1257. class="under-line"
  1258. v-if="afterdialysis.puncture_point_haematoma === 1"
  1259. >&nbsp;有</span
  1260. >
  1261. <span
  1262. class="under-line"
  1263. v-if="afterdialysis.puncture_point_haematoma === 2"
  1264. >&nbsp;无</span
  1265. >
  1266. </td>
  1267. <td :colspan="2" style="text-align:left;margin-left:15px">
  1268. 压迫后内瘘震颤:
  1269. <label-box
  1270. :isChecked="
  1271. predialysis.internal_fistula.indexOf('震颤-存在') > -1
  1272. ? true
  1273. : false
  1274. "
  1275. showValue="存在"
  1276. ></label-box>
  1277. &nbsp;
  1278. <label-box
  1279. :isChecked="
  1280. predialysis.internal_fistula.indexOf('震颤-减弱') > -1
  1281. ? true
  1282. : false
  1283. "
  1284. showValue="减弱"
  1285. ></label-box>
  1286. &nbsp;
  1287. <label-box
  1288. :isChecked="
  1289. predialysis.internal_fistula.indexOf('震颤-无') > -1
  1290. ? true
  1291. : false
  1292. "
  1293. showValue="无"
  1294. ></label-box>
  1295. </td>
  1296. <td width="10"></td>
  1297. </tr>
  1298. <tr>
  1299. <td style="text-align:left;margin-left:15px;" colspan="2">
  1300. 并发症:
  1301. <span class="under-line"
  1302. >&nbsp;{{ afterdialysis.complication }}</span
  1303. >
  1304. </td>
  1305. <td style="text-align:left;margin-left:15px" colspan="2">
  1306. 透析器凝血:
  1307. <span class="under-line">{{
  1308. afterdialysis.cruor ? afterdialysis.cruor : "/"
  1309. }}</span>
  1310. </td>
  1311. </tr>
  1312. </table>
  1313. <table class="table-box">
  1314. <tr>
  1315. <td style="text-align:left;margin-left:15px">
  1316. 治疗小结:
  1317. <span class="under-line"
  1318. >&nbsp;{{ summary.dialysis_summary }}</span
  1319. >
  1320. </td>
  1321. </tr>
  1322. </table>
  1323. </td> -->
  1324. <tr style="height:100px;text-align:left;border:none;">
  1325. <td style="padding-left:5px;border:none">
  1326. 治疗小结:{{
  1327. summary.dialysis_summary ? summary.dialysis_summary : ""
  1328. }}
  1329. </td>
  1330. </tr>
  1331. <tr style="height:40px">
  1332. <td rowspan="11" style="border:none;text-align:right;height:40px">
  1333. 医生签名
  1334. <span style="display: inline-block;width:100px;text-align: left;">
  1335. &nbsp;
  1336. <span v-if="doctorForm.url === ''">{{ doctorForm.doctor }}</span>
  1337. <span v-if="doctorForm.url !== ''">
  1338. <img class="es-img" :src="doctorForm.url" />
  1339. </span>
  1340. </span>
  1341. 核对护士
  1342. <span style="display: inline-block;width:100px;text-align: left;">
  1343. &nbsp;
  1344. <span
  1345. v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''"
  1346. >{{ getAdminUser(check == null ? 0 : check.modifier) }}</span
  1347. >
  1348. <img
  1349. style="height:20px;"
  1350. :src="setAdminUserES(check == null ? 0 : check.modifier)"
  1351. alt=""
  1352. srcset=""
  1353. v-else
  1354. />
  1355. </span>
  1356. 护士签名
  1357. <span style="display: inline-block;width:100px;text-align: left;">
  1358. &nbsp;
  1359. <p v-if="doctor_advices.length > 0">
  1360. <span
  1361. v-if="setAdminUserES(doctor_advices[0].execution_staff) == ''"
  1362. >{{ getAdminUser(doctor_advices[0].execution_staff) }}</span
  1363. >
  1364. <img
  1365. class="es-img"
  1366. :src="setAdminUserES(doctor_advices[0].execution_staff)"
  1367. alt=""
  1368. srcset=""
  1369. v-else
  1370. />
  1371. </p>
  1372. </span>
  1373. </td>
  1374. </tr>
  1375. </table>
  1376. <!-- <div>
  1377. 注:透析器凝血评价标准:"0级"&nbsp;无凝血或数条纤维束凝血,"Ⅰ级"&nbsp;少于10%纤维凝血,"Ⅱ级"&nbsp;少于50%纤维凝血,"Ⅲ级"&nbsp;大于50%纤维凝血
  1378. </div> -->
  1379. </div>
  1380. </div>
  1381. </template>
  1382. <script>
  1383. import { getDialysisRecord } from "@/api/dialysis";
  1384. import { getDataConfig } from "@/utils/data";
  1385. import { jsGetAge, uParseTime } from "@/utils/tools";
  1386. import LabelBox from "../printItem/LabelBox";
  1387. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  1388. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1389. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1390. import print from "print-js";
  1391. export default {
  1392. name: "dialysisPrintOrderOne",
  1393. components: {
  1394. // DialysisPrintOrderOne,
  1395. // DialysisPrintOrderTwo,
  1396. LabelBox,
  1397. BreadCrumb
  1398. },
  1399. data() {
  1400. return {
  1401. way_arr: [],
  1402. consciousness_arr: [],
  1403. appetite_arr: [],
  1404. posture_arr: [],
  1405. sick_condition_arr: [],
  1406. precaution_arr: [],
  1407. intake_arr: [],
  1408. nutrition_arr: [],
  1409. crumbs: [
  1410. { path: false, name: "透析管理" },
  1411. { path: false, name: "打印单" }
  1412. ],
  1413. operators: [],
  1414. adminUser: [],
  1415. check: {},
  1416. dialysisOrder: {
  1417. DeviceNumber: []
  1418. },
  1419. Order: {},
  1420. operatorMaps: {},
  1421. complications: [
  1422. "低血压",
  1423. "高血压",
  1424. "心律失常",
  1425. "头晕",
  1426. "头痛",
  1427. "呕吐",
  1428. "抽搐",
  1429. "出血",
  1430. "心衰",
  1431. "腹痛",
  1432. "无"
  1433. ],
  1434. jilurow: 0,
  1435. advice_jilurow: 0,
  1436. loading: false,
  1437. orgname: "",
  1438. patientInfo_gender_1: false,
  1439. patientInfo_gender_2: false,
  1440. patientInfo_source_2: false,
  1441. patientInfo_source_1: false,
  1442. modeOptions: {},
  1443. replacementWays: [],
  1444. perfusionApparatus: [],
  1445. anticoagulantsConfit: {},
  1446. bloodAccessParOpera: {},
  1447. dialysateFormulationOptions: {},
  1448. queryParams: {
  1449. xtdate: "",
  1450. xtno: ""
  1451. },
  1452. patientInfo: {
  1453. birth: "",
  1454. age: "",
  1455. DialysisSchedule: {
  1456. device_number: { number: "" },
  1457. device_zone: { name: "" }
  1458. },
  1459. gender: 0
  1460. },
  1461. predialysis: {
  1462. score: "",
  1463. internal_fistula: "",
  1464. internal_fistula_skin: "",
  1465. catheter: "",
  1466. blood_access_part_opera_name: ""
  1467. },
  1468. afterdialysis: {
  1469. complications_index: ""
  1470. },
  1471. prescription: {
  1472. dialysate_formulation_name: "",
  1473. device: {}
  1474. },
  1475. advices: [],
  1476. users: [],
  1477. monitors: [],
  1478. summary: {},
  1479. receiverTreatmentAccess: {},
  1480. org_template_info: {},
  1481. isShowZero: false,
  1482. doctor_advices: [],
  1483. advice_groups: [],
  1484. AlPanel: {
  1485. id: 0,
  1486. name: "",
  1487. type: 1,
  1488. shouji: 2,
  1489. weichi: 2,
  1490. zongliang: 2,
  1491. gaimingcheng: -1,
  1492. gaijiliang: -1,
  1493. shouji_unit: "mg",
  1494. weichi_unit: "mg/h",
  1495. zongliang_unit: "mg",
  1496. gaimingcheng_unit: "",
  1497. gaijiliang_unit: ""
  1498. },
  1499. total: "",
  1500. doctorForm: {
  1501. doctor: "",
  1502. url: ""
  1503. },
  1504. dialysisDoctor: {
  1505. doctor: "",
  1506. url: ""
  1507. },
  1508. tableAdvice: [],
  1509. assessmentafter: {},
  1510. orderForm: {
  1511. start_nurse: "",
  1512. url: ""
  1513. },
  1514. finshForm: {
  1515. finish_nurse: "",
  1516. url: ""
  1517. },
  1518. displaceLiquiPartOptions: []
  1519. };
  1520. },
  1521. methods: {
  1522. getDisplaceLiquiPart: function(val) {
  1523. let displace_liqui_part_name = "/";
  1524. const displace_liqui_part = this.displaceLiquiPartOptions;
  1525. for (let i = 0; i < displace_liqui_part.length; i++) {
  1526. if (displace_liqui_part[i].id == val) {
  1527. displace_liqui_part_name = displace_liqui_part[i].name;
  1528. }
  1529. }
  1530. return displace_liqui_part_name;
  1531. },
  1532. getAdminUser(id) {
  1533. if (id == 0) {
  1534. return "";
  1535. }
  1536. if (id == undefined) {
  1537. return "";
  1538. }
  1539. for (let i = 0; i < this.adminUser.length; i++) {
  1540. if (this.adminUser[i].id == id) {
  1541. return this.adminUser[i].name;
  1542. }
  1543. }
  1544. },
  1545. getTime(value, temp) {
  1546. if (value == 0) {
  1547. return "";
  1548. }
  1549. if (value != undefined) {
  1550. return uParseTime(value, temp);
  1551. }
  1552. return "";
  1553. },
  1554. printThisPage() {
  1555. var ptime = Math.round(new Date().getTime() / 1000);
  1556. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  1557. const style =
  1558. '@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{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;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:16px;border:1px solid #666}.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}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
  1559. if (this.org_template_info.template_id == 1) {
  1560. printJS({
  1561. printable: "dialysis-print-box",
  1562. type: "html",
  1563. style: style,
  1564. scanStyles: false
  1565. });
  1566. } else if (
  1567. this.org_template_info.template_id == 2 ||
  1568. this.org_template_info.template_id == 0
  1569. ) {
  1570. printJS({
  1571. printable: "dialysis-print-box-1",
  1572. type: "html",
  1573. style: style,
  1574. scanStyles: false
  1575. });
  1576. }
  1577. },
  1578. getNumber() {
  1579. if (this.dialysisOrder != null) {
  1580. return (
  1581. this.patientInfo.DialysisSchedule.device_zone.name +
  1582. this.dialysisOrder.DeviceNumber.number
  1583. );
  1584. } else {
  1585. return (
  1586. this.patientInfo.DialysisSchedule.device_zone.name +
  1587. this.patientInfo.DialysisSchedule.device_number.number
  1588. );
  1589. }
  1590. },
  1591. getXuserName(id) {
  1592. if (id <= 0) {
  1593. return "";
  1594. }
  1595. var name = "";
  1596. if (this.users == null || typeof this.users.length === "undefined") {
  1597. return name;
  1598. }
  1599. var leng = this.users.length;
  1600. if (leng == 0) {
  1601. return name;
  1602. }
  1603. for (let index = 0; index < leng; index++) {
  1604. if (this.users[index].id == id) {
  1605. name = this.users[index].name;
  1606. break;
  1607. }
  1608. }
  1609. return name;
  1610. },
  1611. setAdminUserES(id) {
  1612. if (id == 0) {
  1613. return "";
  1614. }
  1615. if (id in this.operatorMaps) {
  1616. return this.operatorMaps[id].url;
  1617. } else {
  1618. return "";
  1619. }
  1620. },
  1621. modeName(mode_id) {
  1622. return typeof this.modeOptions[mode_id] !== "undefined" &&
  1623. typeof this.modeOptions[mode_id].name !== "undefined"
  1624. ? this.modeOptions[mode_id].name
  1625. : "";
  1626. },
  1627. getDialysisRecord() {
  1628. this.loading = true;
  1629. getDialysisRecord(this.queryParams).then(response => {
  1630. if (response.data.state === 1) {
  1631. this.total = response.data.data.total;
  1632. this.adminUser = response.data.data.users;
  1633. this.users = response.data.data.users;
  1634. var patientInfo = response.data.data.patientInfo;
  1635. console.log("烧腊店就拉萨讲道理看", patientInfo);
  1636. if (patientInfo.gender === 1) {
  1637. patientInfo.gender = "男";
  1638. }
  1639. if (patientInfo.gender === 2) {
  1640. patientInfo.gender = "女";
  1641. }
  1642. console.log("patientInfo", patientInfo);
  1643. this.patientInfo = patientInfo;
  1644. this.patientInfo.birth = uParseTime(
  1645. this.patientInfo.birthday,
  1646. "{y}-{m}-{d}"
  1647. );
  1648. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1649. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1650. this.patientInfo.first_dialysis_date = uParseTime(
  1651. response.data.data.patientInfo.first_dialysis_date,
  1652. "{y}-{m}-{d}"
  1653. );
  1654. } else {
  1655. this.patientInfo.first_dialysis_date = "";
  1656. }
  1657. this.check = response.data.data.check;
  1658. console.log("核对信息", this.check);
  1659. this.predialysis = response.data.data.PredialysisEvaluation;
  1660. console.log("透前评估", this.predialysis);
  1661. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1662. this.predialysis.blood_access_part_opera_id
  1663. );
  1664. this.assessmentafter = response.data.data.assessmentAfterDislysis;
  1665. console.log("上次透后体重", this.assessmentafter);
  1666. var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
  1667. var tableAdvice = doctorAdevieInfo;
  1668. console.log("医生", tableAdvice);
  1669. if (tableAdvice.length === 0) {
  1670. var obj = { advice_name: "", start_time: "" };
  1671. var obj1 = { advice_name: "", start_time: "" };
  1672. var obj2 = { advice_name: "", start_time: "" };
  1673. var obj3 = { advice_name: "", start_time: "" };
  1674. var obj4 = { advice_name: "", start_time: "" };
  1675. var obj5 = { advice_name: "", start_time: "" };
  1676. tableAdvice.push(obj);
  1677. tableAdvice.push(obj1);
  1678. tableAdvice.push(obj2);
  1679. tableAdvice.push(obj3);
  1680. tableAdvice.push(obj4);
  1681. tableAdvice.push(obj5);
  1682. this.tableAdvice = tableAdvice;
  1683. }
  1684. if (tableAdvice.length === 1) {
  1685. var obj = { advice_name: "", start_time: "" };
  1686. var obj1 = { advice_name: "", start_time: "" };
  1687. var obj2 = { advice_name: "", start_time: "" };
  1688. var obj3 = { advice_name: "", start_time: "" };
  1689. var obj4 = { advice_name: "", start_time: "" };
  1690. tableAdvice.push(obj);
  1691. tableAdvice.push(obj1);
  1692. tableAdvice.push(obj2);
  1693. tableAdvice.push(obj3);
  1694. tableAdvice.push(obj4);
  1695. this.tableAdvice = tableAdvice;
  1696. }
  1697. if (tableAdvice.length === 2) {
  1698. var obj = { advice_name: "", start_time: "" };
  1699. var obj1 = { advice_name: "", start_time: "" };
  1700. var obj2 = { advice_name: "", start_time: "" };
  1701. var obj3 = { advice_name: "", start_time: "" };
  1702. tableAdvice.push(obj);
  1703. tableAdvice.push(obj1);
  1704. tableAdvice.push(obj2);
  1705. tableAdvice.push(obj3);
  1706. this.tableAdvice = tableAdvice;
  1707. }
  1708. if (tableAdvice.length === 3) {
  1709. // eslint-disable-next-line no-redeclare
  1710. var obj = { advice_name: "", start_time: "" };
  1711. // eslint-disable-next-line no-redeclare
  1712. var obj1 = { advice_name: "", start_time: "" };
  1713. // eslint-disable-next-line no-redeclare
  1714. var obj2 = { advice_name: "", start_time: "" };
  1715. // eslint-disable-next-line no-redeclare
  1716. tableAdvice.push(obj);
  1717. tableAdvice.push(obj1);
  1718. tableAdvice.push(obj2);
  1719. this.tableAdvice = tableAdvice;
  1720. }
  1721. if (tableAdvice.length === 4) {
  1722. // eslint-disable-next-line no-redeclare
  1723. var obj = { advice_name: "", start_time: "" };
  1724. // eslint-disable-next-line no-redeclare
  1725. var obj1 = { advice_name: "", start_time: "" };
  1726. // eslint-disable-next-line no-redeclare
  1727. tableAdvice.push(obj);
  1728. tableAdvice.push(obj1);
  1729. this.tableAdvice = tableAdvice;
  1730. }
  1731. if (tableAdvice.length === 5) {
  1732. // eslint-disable-next-line no-redeclare
  1733. var obj = { advice_name: "", start_time: "" };
  1734. // eslint-disable-next-line no-redeclare
  1735. var obj1 = { advice_name: "", start_time: "" };
  1736. tableAdvice.push(obj);
  1737. tableAdvice.push(obj1);
  1738. this.tableAdvice = tableAdvice;
  1739. }
  1740. if (tableAdvice.length >= 6) {
  1741. this.tableAdvice = tableAdvice;
  1742. }
  1743. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  1744. console.log("透后评估", this.afterdialysis);
  1745. this.operators = response.data.data.operators;
  1746. this.dialysisOrder =
  1747. response.data.data.dialysisOrder === null
  1748. ? null
  1749. : response.data.data.dialysisOrder;
  1750. if (this.operators.length > 0) {
  1751. var operatorsLen = this.operators.length;
  1752. for (var index = 0; index < operatorsLen; index++) {
  1753. this.$set(
  1754. this.operatorMaps,
  1755. this.operators[index].creator,
  1756. this.operators[index]
  1757. );
  1758. }
  1759. }
  1760. this.afterdialysis.txqnx = -1;
  1761. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  1762. this.afterdialysis.txqnx = 0;
  1763. }
  1764. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  1765. this.afterdialysis.txqnx = 1;
  1766. }
  1767. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  1768. this.afterdialysis.txqnx = 2;
  1769. }
  1770. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  1771. this.afterdialysis.txqnx = 3;
  1772. }
  1773. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1774. ","
  1775. );
  1776. this.afterdialysis.complications_other = [];
  1777. this.afterdialysis.complications_index = [];
  1778. var acllen = this.afterdialysis.complications.length;
  1779. for (let index = 0; index < acllen; index++) {
  1780. if (
  1781. this.complications.indexOf(
  1782. this.afterdialysis.complications[index]
  1783. ) >= 0
  1784. ) {
  1785. this.afterdialysis.complications_index.push(
  1786. this.afterdialysis.complications[index]
  1787. );
  1788. } else if (
  1789. this.complications.indexOf(
  1790. this.afterdialysis.complications[index]
  1791. ) < 0 &&
  1792. this.afterdialysis.complications_other.indexOf(
  1793. this.afterdialysis.complications[index]
  1794. ) < 0
  1795. ) {
  1796. this.afterdialysis.complications_other.push(
  1797. this.afterdialysis.complications[index]
  1798. );
  1799. }
  1800. }
  1801. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1802. ","
  1803. );
  1804. var doctorname = response.data.data.DoctorName;
  1805. //console.log("医师签名", doctorname);
  1806. this.doctorForm.doctor = doctorname.user_name;
  1807. this.doctorForm.url = doctorname.url;
  1808. var prescription = response.data.data.dialysisPrescription;
  1809. console.log("透析处方", prescription);
  1810. if (prescription.anticoagulant == 6) {
  1811. prescription.anticoagulant = "低分子肝素钙";
  1812. }
  1813. if (prescription.anticoagulant == 7) {
  1814. prescription.anticoagulant = "低分子肝素钠";
  1815. }
  1816. if (prescription.blood_access === 1) {
  1817. prescription.blood_access = "正常";
  1818. }
  1819. if (prescription.blood_access === 2) {
  1820. prescription.blood_access = "震颤";
  1821. }
  1822. if (prescription.blood_access === 3) {
  1823. prescription.blood_access = "堵塞";
  1824. }
  1825. if (prescription.blood_access === 4) {
  1826. prescription.blood_access = "血肿";
  1827. }
  1828. if (prescription.blood_access === 5) {
  1829. prescription.blood_access = "淤血";
  1830. }
  1831. if (prescription.blood_access === 6) {
  1832. prescription.blood_access = "感染";
  1833. }
  1834. if (prescription.blood_access === 7) {
  1835. prescription.blood_access = "自体内瘘";
  1836. }
  1837. if (prescription.blood_access === 8) {
  1838. prescription.blood_access = "人工血管内瘘";
  1839. }
  1840. if (prescription.replacement_way === 1) {
  1841. prescription.replacement_way = "前置换";
  1842. }
  1843. if (prescription.replacement_way === 2) {
  1844. prescription.replacement_way = "后置换";
  1845. }
  1846. if (prescription.replacement_way === 3) {
  1847. prescription.replacement_way = "中置换";
  1848. }
  1849. if (prescription.replacement_way === 4) {
  1850. prescription.replacement_way = "混合置换";
  1851. }
  1852. if (prescription.anticoagulant === 1) {
  1853. prescription.anticoagulant = "无肝素";
  1854. }
  1855. if (prescription.anticoagulant === 2) {
  1856. prescription.anticoagulant = "普通肝素";
  1857. }
  1858. if (prescription.anticoagulant === 3) {
  1859. prescription.anticoagulant = "低分子肝素";
  1860. }
  1861. if (prescription.anticoagulant === 4) {
  1862. prescription.anticoagulant = "阿加曲班";
  1863. }
  1864. if (prescription.anticoagulant === 5) {
  1865. prescription.anticoagulant = "枸橼酸钠";
  1866. }
  1867. this.prescription = prescription;
  1868. var receiverTreatmentAccess =
  1869. response.data.data.receiverTreatmentAccess;
  1870. if (receiverTreatmentAccess.sick_condition === 1) {
  1871. receiverTreatmentAccess.sick_condition = "一般";
  1872. }
  1873. if (receiverTreatmentAccess.sick_condition === 2) {
  1874. receiverTreatmentAccess.sick_condition = "严重";
  1875. }
  1876. if (receiverTreatmentAccess.sick_condition === 3) {
  1877. receiverTreatmentAccess.sick_condition = "危";
  1878. }
  1879. if (receiverTreatmentAccess.way === 1) {
  1880. receiverTreatmentAccess.way = "步行";
  1881. }
  1882. if (receiverTreatmentAccess.way === 2) {
  1883. receiverTreatmentAccess.way = "扶行";
  1884. }
  1885. if (receiverTreatmentAccess.way === 3) {
  1886. receiverTreatmentAccess.way = "轮椅";
  1887. }
  1888. if (receiverTreatmentAccess.way === 4) {
  1889. receiverTreatmentAccess.way = "平车";
  1890. }
  1891. console.log("接诊评估:", receiverTreatmentAccess);
  1892. this.receiverTreatmentAccess = receiverTreatmentAccess;
  1893. this.prescription.mode = this.modeName(this.prescription.mode_id);
  1894. var rwLen = this.replacementWays.length;
  1895. this.prescription.replacement = "";
  1896. for (let index = 0; index < rwLen; index++) {
  1897. if (
  1898. this.replacementWays[index].id ==
  1899. this.prescription.replacement_way
  1900. ) {
  1901. this.prescription.replacement = this.replacementWays[index].name;
  1902. break;
  1903. }
  1904. }
  1905. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1906. this.prescription.dialysate_formulation
  1907. );
  1908. var paLen = this.perfusionApparatus.length;
  1909. this.prescription.perfusion_apparatus_name = "";
  1910. for (let index = 0; index < paLen; index++) {
  1911. if (
  1912. this.perfusionApparatus[index].id ==
  1913. this.prescription.perfusion_apparatus
  1914. ) {
  1915. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1916. index
  1917. ].name;
  1918. break;
  1919. }
  1920. }
  1921. var acLen = this.anticoagulantsConfit.length;
  1922. var thisALID = this.prescription.anticoagulant;
  1923. this.prescription.anticoagulant_name = "";
  1924. if (
  1925. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  1926. this.anticoagulantsConfit[thisALID] != null
  1927. ) {
  1928. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1929. thisALID
  1930. ].name;
  1931. this.AlPanel = this.anticoagulantsConfit[thisALID];
  1932. }
  1933. this.advices = response.data.data.advices;
  1934. this.monitors = response.data.data.monitors;
  1935. console.log("透析监测", this.monitors);
  1936. this.summary = response.data.data.summary;
  1937. this.Order = response.data.data.order;
  1938. var start_nurse = response.data.data.startNuse;
  1939. // console.log('上机护士', start_nurse)
  1940. this.orderForm.start_nurse = start_nurse.user_name;
  1941. this.orderForm.url = start_nurse.url;
  1942. var finish_nurse = response.data.data.FinishNuse;
  1943. // console.log('下机护士', finish_nurse)
  1944. this.finshForm.url = finish_nurse.url;
  1945. this.finshForm.finish_nurse = finish_nurse.user_name;
  1946. var dialysisdoctor = response.data.data.dialysisdocotr;
  1947. //this.dialysisDoctor.doctor = dialysisdoctor.user_name;
  1948. // this.dialysisDoctor.url = dialysisdoctor.url;
  1949. this.org_template_info = response.data.data.org_template_info;
  1950. // 配置超滤量和置换量是否要显示0还是空
  1951. if (this.org_template_info.org_id == 9535) {
  1952. this.isShowZero = true;
  1953. }
  1954. if (this.monitors.length < 7) {
  1955. var nl = 8 - this.monitors.length;
  1956. for (let index = 0; index < nl; index++) {
  1957. this.monitors.push([]);
  1958. }
  1959. }
  1960. this.jilurow = this.monitors.length + 1;
  1961. this.advice_jilurow = this.advices.length + 1;
  1962. var childMap = {};
  1963. for (const index in this.advices) {
  1964. if (this.advices[index].parent_id == 0) {
  1965. continue;
  1966. }
  1967. if (!(this.advices[index].parent_id in childMap)) {
  1968. childMap[this.advices[index].parent_id] = [];
  1969. }
  1970. childMap[this.advices[index].parent_id].push(this.advices[index]);
  1971. }
  1972. var advices = [];
  1973. for (const index in this.advices) {
  1974. if (this.advices[index].parent_id > 0) {
  1975. continue;
  1976. }
  1977. var item = this.advices[index];
  1978. if (item.id in childMap) {
  1979. item.children = childMap[item.id];
  1980. } else {
  1981. item.children = [];
  1982. }
  1983. advices.push(item);
  1984. }
  1985. var leftAdvice = [];
  1986. var rightAdvice = [];
  1987. var adlen = advices.length;
  1988. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  1989. for (var i = 0; i < halfLen; i++) {
  1990. leftAdvice.push(advices[i]);
  1991. rightAdvice.push(advices[i + halfLen]);
  1992. }
  1993. if (halfLen < 5) {
  1994. var nl = 5 - leftAdvice.length;
  1995. for (let index = 0; index < nl; index++) {
  1996. leftAdvice.push([]);
  1997. }
  1998. var nl = 5 - rightAdvice.length;
  1999. for (let index = 0; index < nl; index++) {
  2000. rightAdvice.push([]);
  2001. }
  2002. }
  2003. this.advices = [];
  2004. for (var i = 0; i < halfLen; i++) {
  2005. var item = [];
  2006. item.push(leftAdvice[i]);
  2007. item.push(rightAdvice[i]);
  2008. this.advices.push(item);
  2009. }
  2010. this.loading = false;
  2011. this.doctor_advices =
  2012. response.data.data.advices == null
  2013. ? []
  2014. : response.data.data.advices;
  2015. for (let index = 0; index < this.doctor_advices.length; index++) {
  2016. this.doctor_advices[index]["isShow"] = 2;
  2017. }
  2018. if (this.doctor_advices.length > 0) {
  2019. var group = this.newAdviceGroupObject();
  2020. var initGroupBlock = function(group, advice) {
  2021. group.group_no = advice.groupno;
  2022. };
  2023. for (
  2024. let index = this.doctor_advices.length - 1;
  2025. index >= 0;
  2026. index--
  2027. ) {
  2028. var new_advice_index = 0;
  2029. if (
  2030. "children" in this.doctor_advices[index] &&
  2031. this.doctor_advices[index].children.length > 0
  2032. ) {
  2033. new_advice_index =
  2034. index + this.doctor_advices[index].children.length + 1;
  2035. var doctor_advice = {
  2036. delivery_way: this.doctor_advices[index].delivery_way,
  2037. execution_frequency: this.doctor_advices[index]
  2038. .execution_frequency,
  2039. groupno: this.doctor_advices[index].groupno,
  2040. id: this.doctor_advices[index].id,
  2041. parent_id: this.doctor_advices[index].parent_id,
  2042. children: this.doctor_advices[index].children,
  2043. remark: this.doctor_advices[index].remark
  2044. };
  2045. doctor_advice["isShow"] = 1;
  2046. this.doctor_advices.splice(new_advice_index, 0, doctor_advice);
  2047. // this.doctor_advices.push(doctor_advice)
  2048. }
  2049. }
  2050. for (let index = 0; index < this.doctor_advices.length; index++) {
  2051. const advice = this.doctor_advices[index];
  2052. if (advice.groupno == 0) {
  2053. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2054. if (advice.parent_id > 0) {
  2055. if (this.advice_groups.length > 0) {
  2056. var parent_group = this.advice_groups[
  2057. this.advice_groups.length - 1
  2058. ];
  2059. if (parent_group.advices.length > 0) {
  2060. if (parent_group.advices[0].id == advice.parent_id) {
  2061. parent_group.advices.push(advice);
  2062. }
  2063. }
  2064. }
  2065. continue;
  2066. } else {
  2067. if (group.group_no > 0) {
  2068. this.advice_groups.push(group);
  2069. group = this.newAdviceGroupObject();
  2070. }
  2071. initGroupBlock(group, advice);
  2072. group.advices.push(advice);
  2073. this.advice_groups.push(group);
  2074. group = this.newAdviceGroupObject();
  2075. continue;
  2076. }
  2077. }
  2078. if (group.group_no > 0 && group.group_no != advice.groupno) {
  2079. this.advice_groups.push(group);
  2080. group = this.newAdviceGroupObject();
  2081. }
  2082. if (group.group_no == 0) {
  2083. initGroupBlock(group, advice);
  2084. }
  2085. if (group.group_no == advice.groupno) {
  2086. group.advices.push(advice);
  2087. }
  2088. }
  2089. if (group.group_no > 0) {
  2090. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2091. this.advice_groups.push(group);
  2092. }
  2093. }
  2094. console.log(this.advice_groups);
  2095. } else {
  2096. this.loading = false;
  2097. this.$message.error("请求数据失败");
  2098. return false;
  2099. }
  2100. });
  2101. },
  2102. bloodAccessParOperaName(id) {
  2103. if (id in this.bloodAccessParOpera) {
  2104. return this.bloodAccessParOpera[id].name;
  2105. }
  2106. return "";
  2107. },
  2108. dialysateFormulationName(id) {
  2109. if (id in this.dialysateFormulationOptions) {
  2110. return this.dialysateFormulationOptions[id].name;
  2111. }
  2112. return "";
  2113. },
  2114. getAge: function(val) {
  2115. if (val.birthday != 0) {
  2116. return jsGetAge(val.birth, "-");
  2117. }
  2118. return "";
  2119. },
  2120. checkIdCardNo(val) {
  2121. var thisLen = val.length;
  2122. var birth = "";
  2123. if (thisLen == 15) {
  2124. birth = "19" + val.substr(6, 6);
  2125. } else {
  2126. birth = val.substr(6, 8);
  2127. }
  2128. var birthTwo =
  2129. birth.substr(0, 4) +
  2130. "-" +
  2131. birth.substr(4, 2) +
  2132. "-" +
  2133. birth.substr(6, 2);
  2134. var age = jsGetAge(birthTwo, "-");
  2135. return age;
  2136. },
  2137. newAdviceGroupObject: function() {
  2138. return Object.assign(
  2139. {},
  2140. {
  2141. group_no: 0,
  2142. // advice_doctor: 0,
  2143. // start_time: 0,
  2144. advices: []
  2145. // exec_staff: 0,
  2146. // exec_time: 0,
  2147. // checker: 0,
  2148. }
  2149. );
  2150. }
  2151. },
  2152. watch: {
  2153. "patientInfo.gender": function() {
  2154. if (this.patientInfo.gender == 1) {
  2155. this.patientInfo_gender_1 = true;
  2156. this.patientInfo_gender_2 = false;
  2157. } else if (this.patientInfo.gender == 2) {
  2158. this.patientInfo_gender_2 = true;
  2159. this.patientInfo_gender_1 = false;
  2160. } else {
  2161. this.patientInfo_gender_2 = false;
  2162. this.patientInfo_gender_1 = false;
  2163. }
  2164. },
  2165. "patientInfo.source": function() {
  2166. if (this.patientInfo.source == 1) {
  2167. this.patientInfo_source_1 = true;
  2168. this.patientInfo_source_2 = false;
  2169. } else if (this.patientInfo.source == 2) {
  2170. this.patientInfo_source_2 = true;
  2171. this.patientInfo_source_1 = false;
  2172. } else {
  2173. this.patientInfo_source_2 = false;
  2174. this.patientInfo_source_1 = false;
  2175. }
  2176. }
  2177. },
  2178. created() {
  2179. var xtuser = this.$store.getters.xt_user;
  2180. this.orgname = xtuser.org.org_name;
  2181. // this.orgname = "遂溪方济医院";
  2182. this.modeOptions = this.$store.getters.treatment_mode;
  2183. this.replacementWays = this.$store.getters.replacement_ways;
  2184. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  2185. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  2186. this.way_arr = getDataConfig("hemodialysis", "way");
  2187. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  2188. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  2189. this.posture_arr = getDataConfig("hemodialysis", "posture");
  2190. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  2191. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  2192. this.intake_arr = getDataConfig("hemodialysis", "intake");
  2193. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  2194. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  2195. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2196. var bloodAccessParOpera = getDataConfig(
  2197. "hemodialysis",
  2198. "vascular_access_desc"
  2199. );
  2200. for (var key in bloodAccessParOpera) {
  2201. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2202. bloodAccessParOpera[key];
  2203. }
  2204. var dialysateFormulationOptions = getDataConfig(
  2205. "hemodialysis",
  2206. "dialysate_formulation"
  2207. );
  2208. for (var key in dialysateFormulationOptions) {
  2209. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2210. dialysateFormulationOptions[key];
  2211. }
  2212. const xtdate = this.$route.query && this.$route.query.xtdate;
  2213. const xtno = this.$route.query && this.$route.query.xtno;
  2214. if (
  2215. typeof xtdate === "string" &&
  2216. xtdate.length > 0 &&
  2217. typeof xtno === "string" &&
  2218. xtno.length > 0
  2219. ) {
  2220. this.queryParams.xtdate = xtdate;
  2221. this.queryParams.xtno = xtno;
  2222. this.getDialysisRecord();
  2223. } else {
  2224. this.$message.error("参数不齐");
  2225. return false;
  2226. }
  2227. }
  2228. };
  2229. </script>
  2230. <style>
  2231. .dialysis-print-order {
  2232. width: 960px;
  2233. margin: 0 auto;
  2234. }
  2235. .dialysis-print-order .order-yy-name {
  2236. margin: auto;
  2237. text-align: center;
  2238. font-size: 20px;
  2239. letter-spacing: 5px;
  2240. }
  2241. .dialysis-print-order .order-title {
  2242. margin: auto;
  2243. font-weight: 600;
  2244. text-align: center;
  2245. font-size: 22px;
  2246. padding: 10px 20px 20px 20px;
  2247. }
  2248. .dialysis-print-order .table-box {
  2249. width: 100%;
  2250. line-height: 23px;
  2251. font-size: 14px;
  2252. }
  2253. .dialysis-print-order .print-table {
  2254. width: 100%;
  2255. text-align: center;
  2256. border-collapse: collapse;
  2257. line-height: 40px;
  2258. font-size: 14px;
  2259. }
  2260. .dialysis-print-order .print-table-no {
  2261. width: 100%;
  2262. text-align: center;
  2263. border-collapse: collapse;
  2264. font-size: 14px;
  2265. }
  2266. .dialysis-print-order .under-line {
  2267. border-bottom: 1px solid #999;
  2268. width: 95%;
  2269. text-align: center;
  2270. margin-left: 2px;
  2271. }
  2272. .dialysis-print-order .title-box {
  2273. text-align: center;
  2274. font-size: 16px;
  2275. }
  2276. .dialysis-print-order .radio-lebel-box {
  2277. font-weight: 400;
  2278. cursor: pointer;
  2279. }
  2280. .dialysis-print-order .radio-no {
  2281. opacity: 0;
  2282. outline: none;
  2283. position: absolute;
  2284. margin: 0;
  2285. width: 0;
  2286. height: 0;
  2287. z-index: -1;
  2288. }
  2289. .dialysis-print-order .radio-inner {
  2290. white-space: nowrap;
  2291. cursor: pointer;
  2292. outline: none;
  2293. display: inline-block;
  2294. line-height: 1;
  2295. position: relative;
  2296. vertical-align: middle;
  2297. }
  2298. .dialysis-print-order .radio-fang {
  2299. display: inline-block;
  2300. position: relative;
  2301. border: 1px solid #000;
  2302. box-sizing: border-box;
  2303. width: 14px;
  2304. height: 14px;
  2305. background-color: #fff;
  2306. z-index: 1;
  2307. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2308. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2309. }
  2310. .dialysis-print-order .is-checked-radio::after {
  2311. content: "√";
  2312. font-size: 15px;
  2313. }
  2314. .dialysis-print-order .print-table-no tr td {
  2315. padding: 8px 5px;
  2316. line-height: 25px;
  2317. }
  2318. .dialysis-print-order .print-table tr td {
  2319. padding: 1px 1px;
  2320. /*line-height: 25px;*/
  2321. }
  2322. .es-img {
  2323. height: 25px;
  2324. }
  2325. .advice-name {
  2326. text-align: left;
  2327. }
  2328. .advice-children {
  2329. display: flex;
  2330. }
  2331. .title-box-pro {
  2332. border: 0 #fff;
  2333. line-height: 25px;
  2334. height: 25px;
  2335. text-align: left;
  2336. padding-left: 10px !important;
  2337. }
  2338. .title-box-pro-tr {
  2339. border: 0 #fff;
  2340. }
  2341. .text-align-left {
  2342. text-align: left !important;
  2343. padding-left: 10px !important;
  2344. font-size: 14px !important;
  2345. line-height: 25px;
  2346. }
  2347. .print-table-tr-new td {
  2348. line-height: 20px !important;
  2349. }
  2350. .border-top-solid {
  2351. border: solid 1px #000;
  2352. }
  2353. .print-template-two tr {
  2354. line-height: 30px;
  2355. }
  2356. .table-box1 {
  2357. border: 1px solid #000;
  2358. width: 100%;
  2359. line-height: 30px;
  2360. font-size: 14px;
  2361. border-collapse: collapse;
  2362. }
  2363. .table-box1 tr {
  2364. border-bottom: 1px solid #000;
  2365. }
  2366. </style>