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

dialysisPrintOrderTwelve.vue 83KB

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