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

DialysisPrintOrderTwentyEight.vue 101KB

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