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

dialysisPrintOrderTwelve.vue 86KB

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