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

DialysisPrintOrderSixtyTwo.vue 99KB

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