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

DialysisPrintOrderSixtyTwo.vue 99KB

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