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

DialysisPrintOrderFourteen.vue 96KB

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