DialysisPrintOrderNine.vue 99KB

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