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

DialysisPrintOrderTwentyFour.vue 132KB

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