DialysisPrintOrderTwentyFour.vue 136KB

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