DialysisPrintOrderFiftyOne.vue 137KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257
  1. <template>
  2. <div>
  3. <el-button type="primary" @click="checkData">一键核对</el-button>
  4. <div id="dialysis-print-box-1">
  5. <div id="dialysis-print-box-1-1" class="dialysis-print-order print-template-two print_page_main_content">
  6. <table class="print-table">
  7. <thead>
  8. <tr>
  9. <td>
  10. <div style="display: inline-block; width: 100%; text-align: center">
  11. <div class="order-yy-name" style="
  12. letter-spacing: 0;
  13. font-weight: 600;
  14. font-size: 22px;
  15. display: inline-block;
  16. ">
  17. {{ orgname }}
  18. </div>
  19. <div class="order-title" style="
  20. letter-spacing: 0;
  21. font-weight: 600;
  22. font-size: 22px;
  23. display: inline-block;
  24. ">
  25. 血液净化治疗记录单
  26. </div>
  27. </div>
  28. <div class="row">
  29. <div class="inline_block">
  30. 姓名:
  31. <div class="under_line" style="width: 50px; text-align: center">
  32. {{ patientInfo.name }}
  33. </div>
  34. </div>
  35. <div class="inline_block" style="margin-left: 10px">
  36. 性别:
  37. <div class="under_line" style="width: 30px; text-align: center">
  38. {{ patientInfo_gender_1 ? "男" : "女" }}
  39. </div>
  40. </div>
  41. <div class="inline_block" style="margin-left: 10px">
  42. 年龄:
  43. <div class="under_line" style="width: 30px; text-align: center">
  44. {{ getAge(patientInfo) }}
  45. </div>
  46. </div>
  47. <!-- <div class="inline_block">
  48. 门诊:
  49. <div
  50. class="under_line"
  51. style="width: 30px; text-align: center"
  52. >
  53. <check-box :checked="patientInfo_source_1"></check-box>
  54. </div>
  55. </div> -->
  56. <div class="inline_block">
  57. 病区:
  58. <div class="under_line" style="width: 50px; text-align: center">
  59. <span>{{
  60. patientInfo.DialysisSchedule.device_zone.name
  61. ? patientInfo.DialysisSchedule.device_zone.name
  62. : "/"
  63. }}</span>
  64. </div>
  65. </div>
  66. <div class="inline_block" v-if="
  67. (receiverTreatmentAccess.condition &&
  68. receiverTreatmentAccess.condition != 1) ||
  69. !receiverTreatmentAccess.condition
  70. ">
  71. 床号:
  72. <div class="under_line" style="width: 50px; text-align: center">
  73. <span>{{
  74. dialysisOrder &&
  75. dialysisOrder.DeviceNumber &&
  76. dialysisOrder.DeviceNumber.number.length > 0
  77. ? dialysisOrder.DeviceNumber.number
  78. : patientInfo.DialysisSchedule.device_number.number
  79. }}</span>
  80. </div>
  81. </div>
  82. <div class="inline_block" v-if="
  83. receiverTreatmentAccess.condition &&
  84. receiverTreatmentAccess.condition == 1
  85. ">
  86. 住院科室:
  87. <div class="under_line" style="width: 50px; text-align: center">
  88. <span>{{
  89. receiverTreatmentAccess.condition &&
  90. receiverTreatmentAccess.condition == 1 &&
  91. receiverTreatmentAccess.his_department
  92. ? receiverTreatmentAccess.his_department
  93. : "/"
  94. }}</span>
  95. </div>
  96. </div>
  97. <div class="inline_block" v-if="
  98. receiverTreatmentAccess.condition &&
  99. receiverTreatmentAccess.condition == 1
  100. ">
  101. 住院床位:
  102. <div class="under_line" style="width: 50px; text-align: center">
  103. <span>{{
  104. receiverTreatmentAccess.condition &&
  105. receiverTreatmentAccess.condition == 1 &&
  106. receiverTreatmentAccess.his_bed
  107. ? receiverTreatmentAccess.his_bed
  108. : "/"
  109. }}</span>
  110. </div>
  111. </div>
  112. <div class="inline_block">
  113. 透析号:
  114. <div class="under_line" style="width: 70px; text-align: center">
  115. {{ patientInfo.dialysis_no }}
  116. </div>
  117. </div>
  118. <div class="inline_block" style="margin-left: 5px">
  119. 住院号:
  120. <div class="under_line" style="width: 70px; text-align: left">
  121. {{
  122. receiverTreatmentAccess.condition &&
  123. receiverTreatmentAccess.condition == 1 &&
  124. receiverTreatmentAccess.admission_number
  125. ? receiverTreatmentAccess.admission_number
  126. : "/"
  127. }}
  128. </div>
  129. </div>
  130. </div>
  131. <div class="row">
  132. <div class="inline_block">
  133. 入科方式:
  134. <div v-for="(item, index) in way_arr" class="under_line"
  135. v-if="receiverTreatmentAccess.way == item.id" style="width: 180px; text-align: left">
  136. {{ item.name }}
  137. </div>
  138. </div>
  139. <div class="inline_block" style="margin-left: 10px">
  140. 诊断:
  141. <div class="under_line" style="
  142. width: 640px;
  143. text-align: left;
  144. word-wrap: break-word;
  145. white-space: inherit;
  146. ">
  147. {{ patientInfo.diagnose }}
  148. </div>
  149. </div>
  150. </div>
  151. </td>
  152. </tr>
  153. </thead>
  154. <tbody>
  155. <tr>
  156. <td>
  157. <div class="row">
  158. <table class="proj_table">
  159. <tbody>
  160. <tr>
  161. <td colspan="2" style="
  162. letter-spacing: 5px;
  163. text-align: center;
  164. font-weight: 520;
  165. font-size: 16px;
  166. padding: 6px 8px;
  167. line-height: 30px;
  168. ">
  169. 透析前情况
  170. </td>
  171. </tr>
  172. <tr>
  173. <td colspan="2">
  174. <div class="row" style="
  175. padding: 2px 0;
  176. line-height: 23px;
  177. display: flex;
  178. ">
  179. <div class="inline_block" style="flex: 1">
  180. 本次透析日期:
  181. <div class="under_line" style="width: 100px; text-align: center">
  182. {{ xtdate }}
  183. </div>
  184. </div>
  185. <div class="inline_block" style="flex: 1">
  186. 透析次数:
  187. <div class="under_line" style="width: 70px; text-align: center">
  188. {{
  189. patientInfo.total_dialysis +
  190. patientInfo.user_sys_before_count
  191. ? patientInfo.total_dialysis +
  192. patientInfo.user_sys_before_count
  193. : "/"
  194. }}
  195. </div>
  196. </div>
  197. </div>
  198. <div class="row" style="
  199. padding: 2px 0;
  200. line-height: 23px;
  201. display: flex;
  202. ">
  203. <div class="inline_block" style="flex: 1">
  204. 透前症状:
  205. <div class="under_line" style="width: 150px; text-align: center">
  206. {{
  207. predialysis.symptom_before_dialysis
  208. ? predialysis.symptom_before_dialysis
  209. : "/"
  210. }}
  211. </div>
  212. </div>
  213. </div>
  214. <div class="row" style="padding: 2px 0; line-height: 23px">
  215. <div class="inline_block">
  216. T:
  217. <div class="under_line" style="width: 50px; text-align: center">
  218. {{
  219. predialysis.temperature
  220. ? predialysis.temperature
  221. : "/"
  222. }}
  223. </div>
  224. °C
  225. </div>
  226. <div class="inline_block" style="margin-left: 10px">
  227. P:
  228. <div class="under_line" style="width: 50px; text-align: center">
  229. {{
  230. predialysis.pulse_frequency
  231. ? predialysis.pulse_frequency
  232. : "/"
  233. }}
  234. </div>
  235. 次/分
  236. </div>
  237. <div class="inline_block" style="margin-left: 10px">
  238. R:
  239. <div class="under_line" style="width: 50px; text-align: center">
  240. {{
  241. predialysis.breathing_rate
  242. ? predialysis.breathing_rate
  243. : "/"
  244. }}
  245. </div>
  246. 次/分
  247. </div>
  248. <div class="inline_block" style="margin-left: 10px">
  249. BP:
  250. <div class="under_line" style="width: 50px; text-align: center">
  251. {{
  252. predialysis.systolic_blood_pressure
  253. ? predialysis.systolic_blood_pressure
  254. : "/"
  255. }}
  256. </div>
  257. /
  258. <div class="under_line" style="width: 50px; text-align: center">
  259. {{
  260. predialysis.diastolic_blood_pressure
  261. ? predialysis.diastolic_blood_pressure
  262. : "/"
  263. }}
  264. </div>
  265. mmHg
  266. </div>
  267. <!-- <div
  268. class="inline_block"
  269. style="margin-left: 10px; flex: 1"
  270. >
  271. 穿刺方式:
  272. <div
  273. class="under_line"
  274. style="width: 100px; text-align: center"
  275. v-if="
  276. dialysisOrder &&
  277. dialysisOrder.puncture_way == ''
  278. "
  279. >
  280. /
  281. </div>
  282. <div
  283. class="under_line"
  284. style="width: 100px; text-align: center"
  285. v-if="
  286. dialysisOrder &&
  287. dialysisOrder.puncture_way.indexOf('绳梯') >
  288. -1
  289. "
  290. >
  291. 绳梯
  292. </div>
  293. <div
  294. class="under_line"
  295. style="width: 100px; text-align: center"
  296. v-if="
  297. dialysisOrder &&
  298. dialysisOrder.puncture_way.indexOf('扣眼') >
  299. -1
  300. "
  301. >
  302. 扣眼
  303. </div>
  304. <div
  305. class="under_line"
  306. style="width: 100px; text-align: center"
  307. v-if="
  308. dialysisOrder &&
  309. dialysisOrder.puncture_way.indexOf('区域') >
  310. -1
  311. "
  312. >
  313. 区域
  314. </div>
  315. </div> -->
  316. <!-- <div
  317. class="inline_block"
  318. style="margin-left: 10px; flex: 1"
  319. >
  320. 穿刺针:
  321. <div
  322. class="under_line"
  323. style="width: 100px; text-align: center"
  324. >
  325. {{
  326. dialysisOrder && dialysisOrder.puncture_needle
  327. ? dialysisOrder.puncture_needle
  328. : "/"
  329. }}
  330. </div>
  331. </div> -->
  332. </div>
  333. <div class="row" style="
  334. padding: 2px 0;
  335. line-height: 23px;
  336. display: flex;
  337. ">
  338. <div class="inline_block">
  339. 血管通路:
  340. <div class="under_line" style="width: 220px; text-align: center">
  341. <span v-if="dialysisOrder != null">{{
  342. dialysisOrder && dialysisOrder.blood_access_id
  343. ? QueryPartById(
  344. dialysisOrder.blood_access_id
  345. )
  346. : ""
  347. }}</span>
  348. <!-- {{ predialysis.blood_access_part_id }}
  349. {{ predialysis.blood_access_part_opera_name }} -->
  350. </div>
  351. </div>
  352. <!-- <div
  353. class="inline_block"
  354. style="margin-left: 10px; flex: 1.4"
  355. >
  356. 内瘘:
  357. <div
  358. class="under_line"
  359. style="
  360. width: 250px;
  361. text-align: center;
  362. white-space: normal;
  363. "
  364. >
  365. {{
  366. predialysis.internal_fistula
  367. ? predialysis.internal_fistula
  368. : "/"
  369. }}
  370. </div>
  371. </div> -->
  372. <!-- <div
  373. class="inline_block"
  374. style="margin-left: 10px; flex: 1.4"
  375. >
  376. 导管:
  377. <div
  378. class="under_line"
  379. style="width: 150px; text-align: center"
  380. >
  381. {{
  382. predialysis.catheter
  383. ? predialysis.catheter
  384. : "/"
  385. }}
  386. </div>
  387. </div> -->
  388. <div class="inline_block" style="margin-left: 10px; flex: 1" v-if="org_id == 10223">
  389. 导管打折:
  390. <div class="under_line" style="
  391. width: 50px;
  392. text-align: center;
  393. white-space: normal;
  394. ">
  395. <span v-if="predialysis.catheter_bend == 0">/</span>
  396. <span v-if="predialysis.catheter_bend == 1">有</span>
  397. <span v-if="predialysis.catheter_bend == 2">无</span>
  398. </div>
  399. </div>
  400. </div>
  401. <div class="row" style="
  402. padding: 2px 0;
  403. line-height: 23px;
  404. display: flex;
  405. ">
  406. <div class="inline_block" style="flex: 1">
  407. 透析方式:
  408. <div class="under_line" style="
  409. width: 100px;
  410. text-align: center;
  411. font-weight: 600;
  412. " v-if="!prescription.mode_id">
  413. /
  414. </div>
  415. <div class="under_line" style="
  416. width: 100px;
  417. text-align: center;
  418. font-weight: 600;
  419. " v-if="prescription.mode_id == 1">
  420. HD
  421. </div>
  422. <div class="under_line" style="
  423. width: 100px;
  424. text-align: center;
  425. font-weight: 600;
  426. " v-if="prescription.mode_id == 2">
  427. HDF
  428. </div>
  429. <div class="under_line" style="
  430. width: 100px;
  431. text-align: center;
  432. font-weight: 600;
  433. " v-if="prescription.mode_id == 3">
  434. HD+HP
  435. </div>
  436. <div class="under_line" style="
  437. width: 100px;
  438. text-align: center;
  439. font-weight: 600;
  440. " v-if="prescription.mode_id == 4">
  441. HP
  442. </div>
  443. <div class="under_line" style="
  444. width: 100px;
  445. text-align: center;
  446. font-weight: 600;
  447. " v-if="prescription.mode_id == 5">
  448. HF
  449. </div>
  450. <div class="under_line" style="
  451. width: 100px;
  452. text-align: center;
  453. font-weight: 600;
  454. " v-if="prescription.mode_id == 6">
  455. SCUF
  456. </div>
  457. <div class="under_line" style="
  458. width: 100px;
  459. text-align: center;
  460. font-weight: 600;
  461. " v-if="prescription.mode_id == 7">
  462. IUF
  463. </div>
  464. <div class="under_line" style="
  465. width: 100px;
  466. text-align: center;
  467. font-weight: 600;
  468. " v-if="prescription.mode_id == 8">
  469. HFHD
  470. </div>
  471. <div class="under_line" style="
  472. width: 100px;
  473. text-align: center;
  474. font-weight: 600;
  475. " v-if="prescription.mode_id == 9">
  476. HFHD+HP
  477. </div>
  478. <div class="under_line" style="
  479. width: 100px;
  480. text-align: center;
  481. font-weight: 600;
  482. " v-if="prescription.mode_id == 10">
  483. PHF
  484. </div>
  485. <div class="under_line" style="
  486. width: 100px;
  487. text-align: center;
  488. font-weight: 600;
  489. " v-if="prescription.mode_id == 11">
  490. HFR
  491. </div>
  492. <div class="under_line" style="
  493. width: 100px;
  494. text-align: center;
  495. font-weight: 600;
  496. " v-if="prescription.mode_id == 12">
  497. HDF+HP
  498. </div>
  499. <div class="under_line" style="
  500. width: 100px;
  501. text-align: center;
  502. font-weight: 600;
  503. " v-if="prescription.mode_id == 13">
  504. CRRT
  505. </div>
  506. <div class="under_line" style="
  507. width: 100px;
  508. text-align: center;
  509. font-weight: 600;
  510. " v-if="prescription.mode_id == 14">
  511. 腹水回输
  512. </div>
  513. <div class="under_line" style="
  514. width: 100px;
  515. text-align: center;
  516. font-weight: 600;
  517. " v-if="prescription.mode_id == 15">
  518. HD前置换
  519. </div>
  520. <div class="under_line" style="
  521. width: 100px;
  522. text-align: center;
  523. font-weight: 600;
  524. " v-if="prescription.mode_id == 16">
  525. HD后置换
  526. </div>
  527. <div class="under_line" style="
  528. width: 100px;
  529. text-align: center;
  530. font-weight: 600;
  531. " v-if="prescription.mode_id == 17">
  532. HDF前置换
  533. </div>
  534. <div class="under_line" style="
  535. width: 100px;
  536. text-align: center;
  537. font-weight: 600;
  538. " v-if="prescription.mode_id == 18">
  539. HDF后置换
  540. </div>
  541. <div class="under_line" style="
  542. width: 100px;
  543. text-align: center;
  544. font-weight: 600;
  545. " v-if="prescription.mode_id == 19">
  546. IUF+HD
  547. </div>
  548. <div class="under_line" style="
  549. width: 150px;
  550. text-align: center;
  551. font-weight: 600;
  552. " v-if="prescription.mode_id == 22">
  553. 血浆胆红素吸附+HDF
  554. </div>
  555. <div class="under_line" style="
  556. bwidth: 150px;
  557. text-align: center;
  558. font-weight: 600;
  559. " v-if="prescription.mode_id == 23">
  560. 血浆胆红素吸附
  561. </div>
  562. <div class="under_line" style="
  563. width: 100px;
  564. text-align: center;
  565. font-weight: 600;
  566. " v-if="prescription.mode_id == 29">
  567. PE
  568. </div>
  569. <div class="under_line" style="
  570. width: 150px;
  571. text-align: center;
  572. font-weight: 600;
  573. " v-if="prescription.mode_id == 30">
  574. 血浆胆红素吸附+HP
  575. </div>
  576. </div>
  577. <div class="inline_block" style="margin-left: 10px; flex: 1">
  578. 置换方式:
  579. <div class="under_line" style="width: 100px; text-align: center">
  580. {{
  581. getDisplaceLiquiPart(
  582. prescription.displace_liqui_part
  583. )
  584. }}
  585. </div>
  586. </div>
  587. <div class="inline_block" style="margin-left: 10px; flex: 1">
  588. 置换量:
  589. <div class="under_line" style="width: 70px; text-align: center">
  590. {{
  591. prescription.displace_liqui_value
  592. ? prescription.displace_liqui_value
  593. : "/"
  594. }}
  595. </div>
  596. L
  597. </div>
  598. <!-- <div
  599. class="inline_block"
  600. style="margin-left: 10px; flex: 1"
  601. >
  602. 血流量:
  603. <div
  604. class="under_line"
  605. style="width: 50px; text-align: center"
  606. >
  607. {{
  608. prescription.blood_flow_volume
  609. ? prescription.blood_flow_volume
  610. : "/"
  611. }}
  612. </div>
  613. ml/min
  614. </div> -->
  615. <div class="inline_block" style="margin-left: 1px; flex: 1">
  616. 透析时间:
  617. <div class="under_line" style="width: 30px; text-align: center">
  618. {{
  619. prescription.dialysis_duration_hour
  620. ? prescription.dialysis_duration_hour
  621. : "/"
  622. }}
  623. </div>
  624. h
  625. <div class="under_line" style="width: 30px; text-align: center">
  626. {{
  627. prescription.dialysis_duration_minute
  628. ? prescription.dialysis_duration_minute
  629. : "/"
  630. }}
  631. </div>
  632. min
  633. </div>
  634. </div>
  635. <div class="row" style="
  636. padding: 2px 0;
  637. line-height: 23px;
  638. display: flex;
  639. ">
  640. <div class="inline_block" style="flex: 1">
  641. 透析器/灌流器:
  642. <div class="under_line" style="width: 100px; text-align: center">
  643. <span v-if="dialysisOrder != null">{{
  644. dialysisOrder.dialysis_dialyszers
  645. ? dialysisOrder.dialysis_dialyszers
  646. : ""
  647. }}&nbsp;&nbsp;
  648. {{
  649. dialysisOrder.dialysis_irrigation
  650. ? dialysisOrder.dialysis_irrigation
  651. : ""
  652. }}
  653. </span>
  654. </div>
  655. </div>
  656. <div class="inline_block" style="flex: 1" v-if="org_id == 9538">
  657. 血浆分离器:
  658. <div class="under_line" style="width: 70px; text-align: center">
  659. <span v-if="
  660. prescription.plasma_separator
  661. ? prescription.plasma_separator != 0 &&
  662. prescription.plasma_separator != '0'
  663. : false
  664. ">{{ prescription.plasma_separator }}</span>
  665. <span v-else>/</span>
  666. </div>
  667. </div>
  668. <div class="inline_block" style="flex: 1" v-if="org_id == 9538">
  669. 胆红素吸附柱:
  670. <div class="under_line" style="width: 70px; text-align: center">
  671. <span v-if="
  672. prescription.bilirubin_adsorption_column
  673. ? prescription.bilirubin_adsorption_column !=
  674. 0 &&
  675. prescription.bilirubin_adsorption_column !=
  676. '0'
  677. : false
  678. ">{{
  679. prescription.bilirubin_adsorption_column
  680. }}</span>
  681. <span v-else>/</span>
  682. </div>
  683. </div>
  684. </div>
  685. <div class="row" style="
  686. padding: 2px 0;
  687. line-height: 23px;
  688. display: flex;
  689. ">
  690. <!-- <div class="inline_block" style="flex: 1">
  691. 上次透后体重:
  692. <div
  693. class="under_line"
  694. style="width: 100px; text-align: center"
  695. >
  696. <span v-if="org_id == 10290">{{
  697. lastafterdialysis.weight_after
  698. }}</span>
  699. <span v-else>{{
  700. predialysis.weight_after_last_transparency
  701. ? predialysis.weight_after_last_transparency
  702. : "未称重"
  703. }}</span>
  704. </div>
  705. kg
  706. </div> -->
  707. <div class="inline_block" style="flex: 1">
  708. 透前体重:
  709. <div class="under_line" style="width: 70px; text-align: center">
  710. {{
  711. predialysis.weight_before
  712. ? parseFloat(
  713. predialysis.weight_before -
  714. predialysis.additional_weight
  715. ).toFixed(1)
  716. : "/"
  717. }}
  718. </div>
  719. kg
  720. </div>
  721. <div class="inline_block" style="flex: 1">
  722. 计划超滤量:
  723. <div class="under_line" style="width: 100px; text-align: center">
  724. {{
  725. prescription.target_ultrafiltration
  726. ? prescription.target_ultrafiltration
  727. : "/"
  728. }}
  729. </div>
  730. ml
  731. </div>
  732. <div class="inline_block" style="flex: 1">
  733. 干体重:
  734. <div class="under_line" style="width: 100px; text-align: center">
  735. {{
  736. predialysis.dry_weight
  737. ? predialysis.dry_weight
  738. : "/"
  739. }}
  740. </div>
  741. kg
  742. </div>
  743. </div>
  744. <div class="row" style="padding: 2px 0; line-height: 23px">
  745. <div class="inline_block">
  746. 透析液成分钾:
  747. <div class="under_line" style="width: 50px; text-align: center">
  748. {{
  749. prescription.kalium
  750. ? prescription.kalium
  751. : "/"
  752. }}
  753. </div>
  754. mmol/L
  755. </div>
  756. <div class="inline_block" style="margin-left: 10px">
  757. 钠:
  758. <div class="under_line" style="width: 50px; text-align: center">
  759. {{
  760. prescription.sodium
  761. ? prescription.sodium
  762. : "/"
  763. }}
  764. </div>
  765. mmol/L
  766. </div>
  767. <div class="inline_block" style="margin-left: 10px">
  768. 钙:
  769. <div class="under_line" style="width: 50px; text-align: center">
  770. {{
  771. prescription.calcium
  772. ? prescription.calcium
  773. : "/"
  774. }}
  775. </div>
  776. mmol/L
  777. </div>
  778. <div class="inline_block" style="margin-left: 10px">
  779. 碳酸氢根:
  780. <div class="under_line" style="width: 50px; text-align: center">
  781. {{
  782. prescription.bicarbonate
  783. ? prescription.bicarbonate
  784. : "/"
  785. }}
  786. </div>
  787. mmol/L
  788. </div>
  789. <!-- <div class="inline_block" style="margin-left: 10px">
  790. 透析液流量:
  791. <div
  792. class="under_line"
  793. style="width: 50px; text-align: center"
  794. >
  795. {{
  796. prescription.dialysate_flow
  797. ? prescription.dialysate_flow
  798. : "/"
  799. }}
  800. </div>
  801. ml/min
  802. </div> -->
  803. </div>
  804. <div class="row" style="padding: 2px 0; line-height: 23px">
  805. <div class="inline_block">
  806. 抗凝剂:
  807. <div class="under_line" style="width: 150px; text-align: center">
  808. {{
  809. prescription.anticoagulant_name
  810. ? prescription.anticoagulant_name
  811. : "/"
  812. }}
  813. </div>
  814. </div>
  815. <div class="inline_block" style="margin-left: 20px" v-if="prescription.anticoagulant != 5">
  816. 首剂:
  817. <div class="under_line" style="width: 50px; text-align: center">
  818. {{
  819. prescription.anticoagulant_shouji
  820. ? prescription.anticoagulant_shouji
  821. : "/"
  822. }}
  823. </div>
  824. <span v-if="prescription.anticoagulant == 4">mg</span>
  825. <span
  826. v-if="prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7">iu</span>
  827. <span v-if="prescription.anticoagulant == 2">mg</span>
  828. <span v-if="prescription.anticoagulant == 1"></span>
  829. </div>
  830. <div class="inline_block" style="margin-left: 20px">
  831. 维持:
  832. <div v-if="prescription.anticoagulant == 1" class="under_line"
  833. style="width: 50px; text-align: center">
  834. {{
  835. prescription.anticoagulant_weichi
  836. ? prescription.anticoagulant_weichi
  837. : "/"
  838. }}
  839. </div>
  840. <div v-if="prescription.anticoagulant != 1" class="under_line"
  841. style="width: 50px; text-align: center">
  842. {{
  843. prescription.anticoagulant_weichi
  844. ? prescription.anticoagulant_weichi
  845. : "0"
  846. }}
  847. </div>
  848. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  849. <span v-if="prescription.anticoagulant == 4">mg/h</span>
  850. <span
  851. v-if="prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7">iu/h</span>
  852. <span v-if="prescription.anticoagulant == 2">mg/h</span>
  853. <span v-if="prescription.anticoagulant == 1"></span>
  854. </div>
  855. <div class="inline_block" style="margin-left: 20px" v-if="prescription.anticoagulant == 5">
  856. 钙名称:
  857. <div class="under_line" style="width: 150px; text-align: center">
  858. {{
  859. prescription.anticoagulant_gaimingcheng
  860. ? prescription.anticoagulant_gaimingcheng
  861. : "/"
  862. }}
  863. </div>
  864. </div>
  865. <div class="inline_block" style="margin-left: 20px" v-if="prescription.anticoagulant == 5">
  866. 钙剂量:
  867. <div class="under_line" style="width: 50px; text-align: center">
  868. {{
  869. prescription.anticoagulant_gaijiliang
  870. ? prescription.anticoagulant_gaijiliang
  871. : "/"
  872. }}
  873. </div>
  874. ml
  875. </div>
  876. <div class="inline_block" style="margin-left: 20px" v-if="prescription.anticoagulant != 5">
  877. 总量:
  878. <div class="under_line" style="width: 50px; text-align: center">
  879. {{
  880. prescription.anticoagulant_zongliang
  881. ? prescription.anticoagulant_zongliang
  882. : "/"
  883. }}
  884. </div>
  885. <span v-if="prescription.anticoagulant == 4">mg</span>
  886. <span
  887. v-if="prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7">iu</span>
  888. <span v-if="prescription.anticoagulant == 2">mg</span>
  889. <span v-if="prescription.anticoagulant == 1"></span>
  890. </div>
  891. <div class="inline_block" style="margin-left: 20px">
  892. 透析机号:
  893. <div class="under_line" style="width: 50px; text-align: center">
  894. <span v-if="
  895. dialysisOrder == null ||
  896. receiverTreatmentAccess.condition != 1
  897. ">
  898. {{
  899. patientInfo.DialysisSchedule.device_number
  900. .number
  901. }}
  902. </span>
  903. <span v-else-if="
  904. dialysisOrder &&
  905. dialysisOrder != null &&
  906. dialysisOrder.DeviceNumber &&
  907. receiverTreatmentAccess.condition == 1
  908. ">
  909. {{ dialysisOrder.DeviceNumber.number }}
  910. </span>
  911. <span v-else>/</span>
  912. </div>
  913. </div>
  914. </div>
  915. <!-- <div
  916. class="row"
  917. style="
  918. padding: 2px 0;
  919. line-height: 23px;
  920. display: flex;
  921. "
  922. >
  923. <div
  924. class="inline_block"
  925. style="flex: 1; display: inline-block"
  926. >
  927. 备注:
  928. <div
  929. class="under_line"
  930. style="
  931. width: 860px;
  932. line-height: 25px;
  933. text-align: left;
  934. margin-left: 2px;
  935. display: inline-block;
  936. white-space: normal;
  937. "
  938. >
  939. {{
  940. predialysis.remark ? predialysis.remark : "/"
  941. }}
  942. </div>
  943. </div>
  944. </div> -->
  945. </td>
  946. </tr>
  947. </tbody>
  948. </table>
  949. </div>
  950. </td>
  951. </tr>
  952. <tr>
  953. <td>
  954. <div class="row">
  955. <table class="proj_table">
  956. <tbody>
  957. <tr>
  958. <td style="padding: 0; position: relative" colspan="2">
  959. <table class="inside_table">
  960. <tbody>
  961. <tr>
  962. <td :colspan="prescription.mode_id == 2 ||
  963. prescription.mode_id == 5
  964. ? 15
  965. : 14
  966. " style="
  967. letter-spacing: 5px;
  968. text-align: center;
  969. font-weight: 520;
  970. font-size: 16px;
  971. padding: 6px 8px;
  972. line-height: 30px;
  973. ">
  974. 治疗记录
  975. </td>
  976. </tr>
  977. <tr>
  978. <td width="60">时间</td>
  979. <td width="70">血压<br />(mmHg)</td>
  980. <!-- <td width="60">体温<br />(°C)</td> -->
  981. <td width="50">脉搏<br />(次/分)</td>
  982. <td width="50">呼吸<br />(次/分)</td>
  983. <td width="50">血流量<br />(ml/min)</td>
  984. <td width="50">
  985. 静脉压<br />({{
  986. monitors[0] &&
  987. monitors[0]["venous_pressure_type"] == 2
  988. ? "kpa"
  989. : "mmHg"
  990. }})
  991. </td>
  992. <td width="50">
  993. 动脉压<br />({{
  994. monitors[0] &&
  995. monitors[0][
  996. "transmembrane_pressure_type"
  997. ] == 2
  998. ? "kpa"
  999. : "mmHg"
  1000. }})
  1001. </td>
  1002. <td width="50">
  1003. 跨膜压<br />({{
  1004. monitors[0] &&
  1005. monitors[0][
  1006. "transmembrane_pressure_type"
  1007. ] == 2
  1008. ? "kpa"
  1009. : "mmHg"
  1010. }})
  1011. </td>
  1012. <td width="60">SpO₂<br />(%)</td>
  1013. <td width="60">透析液温度(°C)</td>
  1014. <td width="50">电导度<br />(ms/cm)</td>
  1015. <td width="50">超滤量<br />(ml)</td>
  1016. <td v-if="
  1017. prescription.mode_id == 2 ||
  1018. prescription.mode_id == 5 ||
  1019. prescription.mode_id == 12
  1020. " width="50">
  1021. 置换量<br />(ml)
  1022. </td>
  1023. <td width="200">病情变化及处理</td>
  1024. <!-- <td width="100">时间</td>
  1025. <td width="30">T<br>C°</td>
  1026. <td width="30">P<br/>次/分</td>
  1027. <td width="30">R<br/>次/分</td>
  1028. <td width="100">BP<br/>mmHg</td>
  1029. <td width="60">静脉压/动脉压<br/>mmHg</td>
  1030. <td width="80">血流量<br/>ml/min</td>
  1031. <td width="90">超滤量累计L</td>
  1032. <td width="80">钠浓度<br/>mmol/L</td>
  1033. <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
  1034. <td width="100">护士签名</td> -->
  1035. </tr>
  1036. <tr v-for="(monitor, monindex) in monitors" :key="monindex">
  1037. <td>
  1038. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  1039. </td>
  1040. <td>
  1041. {{
  1042. monitor.systolic_blood_pressure
  1043. ? monitor.systolic_blood_pressure + "/"
  1044. : ""
  1045. }}
  1046. {{
  1047. monitor.diastolic_blood_pressure
  1048. ? monitor.diastolic_blood_pressure
  1049. : ""
  1050. }}
  1051. </td>
  1052. <!-- <td>
  1053. {{
  1054. monitor.temperature
  1055. ? monitor.temperature
  1056. : ""
  1057. }}
  1058. </td> -->
  1059. <td>
  1060. {{
  1061. monitor.pulse_frequency
  1062. ? monitor.pulse_frequency
  1063. : ""
  1064. }}
  1065. </td>
  1066. <td>
  1067. {{
  1068. monitor.breathing_rate
  1069. ? monitor.breathing_rate
  1070. : ""
  1071. }}
  1072. </td>
  1073. <td>
  1074. {{
  1075. monitor.blood_flow_volume
  1076. ? monitor.blood_flow_volume
  1077. : ""
  1078. }}
  1079. </td>
  1080. <td>
  1081. {{
  1082. monitor.venous_pressure
  1083. ? monitor.venous_pressure
  1084. : ""
  1085. }}
  1086. </td>
  1087. <!-- 动脉压 -->
  1088. <td>
  1089. {{
  1090. monitor.arterial_pressure
  1091. ? monitor.arterial_pressure
  1092. : ""
  1093. }}
  1094. </td>
  1095. <td>
  1096. <span v-if="
  1097. (dialysisOrder &&
  1098. monitor.operate_time >
  1099. dialysisOrder.end_time) ||
  1100. (dialysisOrder &&
  1101. monitor.operate_time <
  1102. dialysisOrder.start_time)
  1103. ">
  1104. {{
  1105. monitor.transmembrane_pressure
  1106. ? monitor.transmembrane_pressure
  1107. : ""
  1108. }}
  1109. </span>
  1110. <span v-if="
  1111. dialysisOrder &&
  1112. monitor.operate_time <=
  1113. dialysisOrder.end_time &&
  1114. dialysisOrder &&
  1115. monitor.operate_time >=
  1116. dialysisOrder.start_time
  1117. ">
  1118. {{
  1119. monitor.transmembrane_pressure
  1120. ? monitor.transmembrane_pressure
  1121. : 0
  1122. }}
  1123. </span>
  1124. </td>
  1125. <!-- SPO2 -->
  1126. <td>
  1127. {{
  1128. monitor.blood_oxygen_saturation
  1129. ? monitor.blood_oxygen_saturation
  1130. : ""
  1131. }}
  1132. </td>
  1133. <td>
  1134. {{
  1135. monitor.dialysate_temperature
  1136. ? monitor.dialysate_temperature
  1137. : ""
  1138. }}
  1139. </td>
  1140. <td>
  1141. {{
  1142. monitor.conductivity
  1143. ? monitor.conductivity
  1144. : ""
  1145. }}
  1146. </td>
  1147. <td v-if="
  1148. (dialysisOrder &&
  1149. monitor.operate_time >
  1150. dialysisOrder.end_time) ||
  1151. (dialysisOrder &&
  1152. monitor.operate_time <
  1153. dialysisOrder.start_time)
  1154. ">
  1155. {{
  1156. monitor.ultrafiltration_volume
  1157. ? monitor.ultrafiltration_volume
  1158. : ""
  1159. }}
  1160. </td>
  1161. <td v-if="
  1162. dialysisOrder &&
  1163. monitor.operate_time <=
  1164. dialysisOrder.end_time &&
  1165. dialysisOrder &&
  1166. monitor.operate_time >=
  1167. dialysisOrder.start_time
  1168. ">
  1169. {{
  1170. monitor.ultrafiltration_volume
  1171. ? monitor.ultrafiltration_volume
  1172. : "0"
  1173. }}
  1174. </td>
  1175. <!-- <td style="width:50px">
  1176. <span v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))">
  1177. {{ monitor.displacement_quantity ? monitor.displacement_quantity : 0 }}
  1178. </span>
  1179. <span v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time > dialysisOrder.end_time) || (dialysisOrder && monitor.operate_time < dialysisOrder.start_time))">
  1180. {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
  1181. </span>
  1182. </td> -->
  1183. <td v-if="
  1184. prescription.mode_id == 2 ||
  1185. prescription.mode_id == 5 ||
  1186. prescription.mode_id == 12
  1187. " style="width: 50px">
  1188. <span>
  1189. {{
  1190. monitor.displacement_quantity
  1191. ? monitor.displacement_quantity
  1192. : ""
  1193. }}
  1194. </span>
  1195. </td>
  1196. <td style="line-height: 16px; padding: 0px">
  1197. <div style="
  1198. min-height: 35px;
  1199. line-height: 35px;
  1200. overflow: hidden;
  1201. ">
  1202. <span style="
  1203. word-break: break-all;
  1204. margin: 0;
  1205. line-height: 16px;
  1206. -webkit-line-clamp: 3;
  1207. overflow: visible;
  1208. display: inline-block;
  1209. vertical-align: middle;
  1210. height: auto;
  1211. ">
  1212. <template v-if="
  1213. dialysisOrder &&
  1214. monitor.operate_time ==
  1215. dialysisOrder.start_time
  1216. ">【开始透析】
  1217. </template>
  1218. {{ monitor.end }}
  1219. {{ monitor.symptom }} &nbsp;{{
  1220. monitor.dispose
  1221. }}
  1222. &nbsp;{{ monitor.result }}
  1223. &nbsp;{{ monitor.accumulated_blood_volume_name }}
  1224. </span>
  1225. </div>
  1226. </td>
  1227. </tr>
  1228. <tr v-for="(monitor, monindex) in monitors2" :key="monindex">
  1229. <td></td>
  1230. <td></td>
  1231. <td></td>
  1232. <td></td>
  1233. <td></td>
  1234. <td></td>
  1235. <td></td>
  1236. <td></td>
  1237. <td></td>
  1238. <td></td>
  1239. <td></td>
  1240. <td></td>
  1241. <td></td>
  1242. <td v-if="
  1243. prescription.mode_id == 2 ||
  1244. prescription.mode_id == 5 ||
  1245. prescription.mode_id == 12
  1246. " width="50"></td>
  1247. <td v-if="org_id == 9919"></td>
  1248. <td style="line-height: 16px; padding: 0px">
  1249. <div style="
  1250. height: 40px;
  1251. line-height: 20px;
  1252. overflow: hidden;
  1253. ">
  1254. <span style="
  1255. word-break: break-all;
  1256. margin: 0;
  1257. line-height: 16px;
  1258. -webkit-line-clamp: 3;
  1259. overflow: visible;
  1260. display: inline-block;
  1261. vertical-align: middle;
  1262. height: auto;
  1263. ">
  1264. </span>
  1265. </div>
  1266. </td>
  1267. </tr>
  1268. </tbody>
  1269. </table>
  1270. </td>
  1271. </tr>
  1272. </tbody>
  1273. </table>
  1274. </div>
  1275. </td>
  1276. </tr>
  1277. <tr>
  1278. <td>
  1279. <div class="row">
  1280. <table class="proj_table">
  1281. <tbody>
  1282. <tr>
  1283. <td style="padding: 0; position: relative" colspan="2">
  1284. <table class="inside_table">
  1285. <tbody>
  1286. <tr style="line-height: 35px; padding: 8px 5px">
  1287. <td colspan="8" style="
  1288. letter-spacing: 5px;
  1289. text-align: center;
  1290. font-weight: 520;
  1291. font-size: 16px;
  1292. padding: 6px 8px;
  1293. line-height: 30px;
  1294. ">
  1295. 医嘱内容
  1296. </td>
  1297. </tr>
  1298. <!-- <tr style="line-height:35px;padding:8px 5px;">
  1299. <td colspan="4" style="font-size: 16px">开医嘱</td>
  1300. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  1301. </tr> -->
  1302. <tr style="line-height: 35px; padding: 8px 5px">
  1303. <td style="font-size: 16px" width="10%">
  1304. 时间
  1305. </td>
  1306. <td style="font-size: 16px" colspan="2" width="45%">
  1307. 医嘱内容
  1308. </td>
  1309. <td style="font-size: 16px" width="10%">
  1310. 医生签名
  1311. </td>
  1312. <td style="font-size: 16px" width="10%">
  1313. 执行人签名
  1314. </td>
  1315. <td style="font-size: 16px" width="10%">
  1316. 核对人签名
  1317. </td>
  1318. <td style="font-size: 16px" width="10%">
  1319. 时间
  1320. </td>
  1321. <td style="font-size: 16px" width="10%" v-if="org_id == 10223">
  1322. 核对护士
  1323. </td>
  1324. </tr>
  1325. <!-- <template v-for="group in doctor_advices" > -->
  1326. <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
  1327. <td height="32px">
  1328. <span v-if="advice.start_time">
  1329. {{ getTime(advice.start_time, "{h}:{i}") }}
  1330. </span>
  1331. <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
  1332. </td>
  1333. <td height="32px" colspan="2" class="advice-name" style="padding-left: 7px">
  1334. <span v-if="advice.parent_id > 0">---></span>
  1335. <span>{{ advice.advice_name }}</span>
  1336. <span v-if="advice && advice.advice_desc">({{ advice.advice_desc
  1337. }}{{ advice.drug_spec_unit }})</span>
  1338. <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{ advice.prescribing_number
  1339. }}{{ advice.prescribing_number_unit }}</span>
  1340. <span v-if="advice.single_dose != 0">{{ advice.single_dose
  1341. }}{{ advice.single_dose_unit }}</span>
  1342. <span v-if="advice.parent_id == 0">{{
  1343. advice.delivery_way
  1344. }}</span>
  1345. <span v-if="advice.parent_id == 0">{{
  1346. advice.execution_frequency
  1347. }}</span>
  1348. <span v-if="
  1349. advice.parent_id == 0 &&
  1350. advice.remark.length > 0
  1351. ">({{ advice.remark }})</span>
  1352. </td>
  1353. <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
  1354. <span>{{advice.delivery_way}}</span>
  1355. <span>{{advice.execution_frequency}}</span>
  1356. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  1357. </td> -->
  1358. <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
  1359. <td height="32px">
  1360. <span v-if="
  1361. setAdminUserES(advice.advice_doctor) == ''
  1362. ">{{
  1363. getAdminUser(advice.advice_doctor)
  1364. }}</span>
  1365. <img style="height: 30px" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset=""
  1366. v-else />
  1367. </td>
  1368. <td height="32px">
  1369. <span v-if="
  1370. setAdminUserES(advice.execution_staff) ==
  1371. ''
  1372. ">{{
  1373. getAdminUser(advice.execution_staff)
  1374. }}</span>
  1375. <img style="height: 30px" :src="setAdminUserES(advice.execution_staff)
  1376. " alt="" srcset="" v-else />
  1377. </td>
  1378. <td height="35px">
  1379. <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker)
  1380. }}</span>
  1381. <img style="height: 20px" :src="setAdminUserES(advice.checker)" alt="" srcset=""
  1382. v-else />
  1383. </td>
  1384. <td height="32px">
  1385. <span v-if="advice.execution_time">{{
  1386. getTime(advice.execution_time, "{h}:{i}")
  1387. }}</span>
  1388. </td>
  1389. </tr>
  1390. <!-- </template> -->
  1391. </tbody>
  1392. </table>
  1393. </td>
  1394. </tr>
  1395. </tbody>
  1396. </table>
  1397. </div>
  1398. </td>
  1399. </tr>
  1400. <tr>
  1401. <td>
  1402. <div class="row">
  1403. <table class="proj_table">
  1404. <tbody>
  1405. <tr>
  1406. <td colspan="7" style="
  1407. letter-spacing: 5px;
  1408. text-align: center;
  1409. font-weight: 520;
  1410. font-size: 16px;
  1411. padding: 6px 8px;
  1412. line-height: 30px;
  1413. ">
  1414. 透析后情况
  1415. </td>
  1416. </tr>
  1417. <tr>
  1418. <td colspan="7">
  1419. <div class="row" style="
  1420. padding: 2px 0;
  1421. line-height: 23px;
  1422. display: flex;
  1423. ">
  1424. <div class="inline_block" style="flex: 1">
  1425. T:
  1426. <div class="under_line" style="width: 50px; text-align: center">
  1427. {{
  1428. afterdialysis.temperature
  1429. ? afterdialysis.temperature
  1430. : "/"
  1431. }}
  1432. </div>
  1433. °C
  1434. </div>
  1435. <div class="inline_block" style="margin-left: 10px; flex: 1">
  1436. P:
  1437. <div class="under_line" style="width: 50px; text-align: center">
  1438. {{
  1439. afterdialysis.pulse_frequency
  1440. ? afterdialysis.pulse_frequency
  1441. : "/"
  1442. }}
  1443. </div>
  1444. 次/分
  1445. </div>
  1446. <div class="inline_block" style="margin-left: 10px; flex: 1">
  1447. R:
  1448. <div class="under_line" style="width: 50px; text-align: center">
  1449. {{
  1450. afterdialysis.breathing_rate
  1451. ? afterdialysis.breathing_rate
  1452. : "/"
  1453. }}
  1454. </div>
  1455. 次/分
  1456. </div>
  1457. <div class="inline_block" style="margin-left: 10px; flex: 1.5">
  1458. BP:
  1459. <div class="under_line" style="width: 50px; text-align: center">
  1460. {{
  1461. afterdialysis.systolic_blood_pressure
  1462. ? afterdialysis.systolic_blood_pressure
  1463. : "/"
  1464. }}
  1465. </div>
  1466. /
  1467. <div class="under_line" style="width: 50px; text-align: center">
  1468. {{
  1469. afterdialysis.diastolic_blood_pressure
  1470. ? afterdialysis.diastolic_blood_pressure
  1471. : "/"
  1472. }}
  1473. </div>
  1474. mmHg
  1475. </div>
  1476. <div class="inline_block" style="flex: 1.5">
  1477. 实际治疗时间:
  1478. <div class="under_line" style="width: 30px; text-align: center">
  1479. {{
  1480. afterdialysis.actual_treatment_hour
  1481. ? afterdialysis.actual_treatment_hour
  1482. : "/"
  1483. }}
  1484. </div>
  1485. h
  1486. <div class="under_line" style="width: 30px; text-align: center">
  1487. {{
  1488. afterdialysis.actual_treatment_minute
  1489. ? afterdialysis.actual_treatment_minute
  1490. : 0
  1491. }}
  1492. </div>
  1493. min
  1494. </div>
  1495. </div>
  1496. <div class="row" style="
  1497. padding: 2px 0;
  1498. line-height: 23px;
  1499. display: flex;
  1500. ">
  1501. <div class="inline_block" style="flex: 2.5">
  1502. 透析器凝血:
  1503. <div class="under_line" style="
  1504. width: 170px;
  1505. text-align: center;
  1506. white-space: normal;
  1507. ">
  1508. {{
  1509. dialysisOrder && dialysisOrder.cruor
  1510. ? dialysisOrder.cruor
  1511. : "/"
  1512. }}
  1513. </div>
  1514. </div>
  1515. <!-- <div class="inline_block" style="flex: 2">
  1516. 内瘘:
  1517. <div
  1518. class="under_line"
  1519. style="
  1520. width: 170px;
  1521. text-align: center;
  1522. white-space: normal;
  1523. "
  1524. >
  1525. {{
  1526. dialysisOrder &&
  1527. dialysisOrder.blood_access_internal_fistula
  1528. ? dialysisOrder.blood_access_internal_fistula
  1529. : "/"
  1530. }}
  1531. </div>
  1532. </div> -->
  1533. <!-- <div class="inline_block" style="flex: 4">
  1534. 导管:
  1535. <div
  1536. class="under_line"
  1537. style="min-width: 120px; text-align: center"
  1538. >
  1539. {{
  1540. dialysisOrder && dialysisOrder.catheter
  1541. ? dialysisOrder.catheter
  1542. : "/"
  1543. }}
  1544. </div>
  1545. </div> -->
  1546. </div>
  1547. <div class="row" style="
  1548. padding: 2px 0;
  1549. line-height: 23px;
  1550. display: flex;
  1551. ">
  1552. <div class="inline_block" style="flex: 1">
  1553. 透后体重:
  1554. <div class="under_line" style="width: 70px; text-align: center">
  1555. {{
  1556. afterdialysis.weight_after
  1557. ? parseFloat(
  1558. afterdialysis.weight_after -
  1559. afterdialysis.additional_weight
  1560. ).toFixed(1)
  1561. : "/"
  1562. }}
  1563. </div>
  1564. kg
  1565. </div>
  1566. <!-- <div class="inline_block" style="flex: 1">
  1567. 体重减少:
  1568. <div
  1569. class="under_line"
  1570. style="width: 70px; text-align: center"
  1571. >
  1572. {{
  1573. afterdialysis.weight_loss
  1574. ? afterdialysis.weight_loss
  1575. : "/"
  1576. }}
  1577. </div>
  1578. kg
  1579. </div> -->
  1580. <!-- <div
  1581. class="inline_block"
  1582. style="flex: 1"
  1583. v-if="org_id != 10223"
  1584. >
  1585. 透析中入量:
  1586. <div
  1587. class="under_line"
  1588. style="width: 70px; text-align: center"
  1589. >
  1590. {{
  1591. afterdialysis.dialysis_intakes
  1592. ? afterdialysis.dialysis_intakes
  1593. : "/"
  1594. }}
  1595. </div>
  1596. {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
  1597. </div> -->
  1598. <div class="inline_block" style="flex: 1">
  1599. 实际超滤量:
  1600. <div class="under_line" style="width: 70px; text-align: center">
  1601. {{
  1602. afterdialysis.actual_ultrafiltration
  1603. ? afterdialysis.actual_ultrafiltration
  1604. : "/"
  1605. }}
  1606. </div>
  1607. ml
  1608. </div>
  1609. </div>
  1610. <div class="row" style="
  1611. padding: 2px 0;
  1612. line-height: 23px;
  1613. display: flex;
  1614. " v-if="org_id == 10223">
  1615. <div class="inline_block" style="flex: 1">
  1616. 动脉管道:
  1617. <div class="under_line" style="width: 100px; text-align: center">
  1618. <span v-if="afterdialysis.arterial_tube == 0">/</span>
  1619. <span v-if="afterdialysis.arterial_tube == 1">动脉管道0</span>
  1620. <span v-if="afterdialysis.arterial_tube == 2">动脉管道+</span>
  1621. <span v-if="afterdialysis.arterial_tube == 3">动脉管道++</span>
  1622. <span v-if="afterdialysis.arterial_tube == 4">动脉管道+++</span>
  1623. </div>
  1624. </div>
  1625. <div class="inline_block" style="flex: 1">
  1626. 静脉管道:
  1627. <div class="under_line" style="width: 100px; text-align: center">
  1628. <span v-if="afterdialysis.intravenous_tube == 0">/</span>
  1629. <span v-if="afterdialysis.intravenous_tube == 1">静脉管道0</span>
  1630. <span v-if="afterdialysis.intravenous_tube == 2">静脉管道+</span>
  1631. <span v-if="afterdialysis.intravenous_tube == 3">静脉管道++</span>
  1632. <span v-if="afterdialysis.intravenous_tube == 4">静脉管道+++</span>
  1633. </div>
  1634. </div>
  1635. <div class="inline_block" style="flex: 1">
  1636. 并发症:
  1637. <div class="under_line" style="width: 170px; text-align: center">
  1638. {{
  1639. afterdialysis.complication
  1640. ? afterdialysis.complication
  1641. : "/"
  1642. }}
  1643. </div>
  1644. </div>
  1645. </div>
  1646. <div class="row" style="
  1647. padding: 2px 0;
  1648. line-height: 23px;
  1649. display: flex;
  1650. " v-if="org_id == 10223">
  1651. <div class="inline_block" style="flex: 1">
  1652. 穿刺处血肿:
  1653. <div class="under_line" style="width: 50px; text-align: center">
  1654. <span v-if="
  1655. afterdialysis.puncture_point_haematoma == 0
  1656. ">/</span>
  1657. <span v-if="
  1658. afterdialysis.puncture_point_haematoma == 1
  1659. ">有</span>
  1660. <span v-if="
  1661. afterdialysis.puncture_point_haematoma == 2
  1662. ">无</span>
  1663. </div>
  1664. </div>
  1665. <div class="inline_block" style="flex: 1">
  1666. 中心静脉封管(肝素-A端):
  1667. <div class="under_line" style="width: 70px; text-align: center">
  1668. {{
  1669. afterdialysis.cvc_a
  1670. ? afterdialysis.cvc_a
  1671. : "/"
  1672. }}
  1673. </div>
  1674. </div>
  1675. <div class="inline_block" style="flex: 1">
  1676. 中心静脉封管(肝素-V端):
  1677. <div class="under_line" style="width: 70px; text-align: center">
  1678. {{
  1679. afterdialysis.cvc_v
  1680. ? afterdialysis.cvc_v
  1681. : "/"
  1682. }}
  1683. </div>
  1684. </div>
  1685. </div>
  1686. <div class="row" style="
  1687. padding: 2px 0;
  1688. line-height: 23px;
  1689. display: flex;
  1690. ">
  1691. <div class="inline_block" style="flex: 1; display: inline-block">
  1692. 治疗小结:
  1693. <div class="under_line" style="
  1694. width: 860px;
  1695. line-height: 25px;
  1696. text-align: left;
  1697. margin-left: 2px;
  1698. display: inline-block;
  1699. white-space: normal;
  1700. ">
  1701. {{
  1702. summary.dialysis_summary
  1703. ? summary.dialysis_summary
  1704. : "/"
  1705. }}
  1706. </div>
  1707. </div>
  1708. </div>
  1709. <div class="row" style="
  1710. padding: 2px 0;
  1711. line-height: 23px;
  1712. display: flex;
  1713. " v-if="org_id != 10223">
  1714. <div class="inline_block" style="flex: 1; display: inline-block">
  1715. 备注:
  1716. <div class="under_line" style="
  1717. width: 860px;
  1718. line-height: 25px;
  1719. text-align: left;
  1720. margin-left: 2px;
  1721. display: inline-block;
  1722. white-space: normal;
  1723. ">
  1724. {{
  1725. afterdialysis.remark
  1726. ? afterdialysis.remark
  1727. : "/"
  1728. }}
  1729. </div>
  1730. </div>
  1731. </div>
  1732. </td>
  1733. </tr>
  1734. </tbody>
  1735. </table>
  1736. </div>
  1737. </td>
  1738. </tr>
  1739. <tr>
  1740. <td>
  1741. <div class="row">
  1742. <table class="proj_table">
  1743. <tbody>
  1744. <tr>
  1745. <td colspan="7">
  1746. <div class="row" style="
  1747. padding: 2px 0;
  1748. line-height: 23px;
  1749. display: flex;">
  1750. <div class="inline_block" style="flex: 1">
  1751. 穿刺护士:
  1752. <div class="under_line" style="width: 80px; text-align: center">
  1753. <span style="height: 30px; display: inline-block" v-if="
  1754. setAdminUserES(
  1755. dialysisOrder == null
  1756. ? 0
  1757. : dialysisOrder.puncture_nurse
  1758. ) == ''
  1759. ">
  1760. {{
  1761. getAdminUser(
  1762. dialysisOrder == null
  1763. ? 0
  1764. : dialysisOrder.puncture_nurse
  1765. )
  1766. }}</span>
  1767. <img style="height: 30px" :src="setAdminUserES(
  1768. dialysisOrder == null
  1769. ? 0
  1770. : dialysisOrder.puncture_nurse
  1771. )
  1772. " alt="" srcset="" v-else />
  1773. </div>
  1774. </div>
  1775. <div class="inline_block" style="flex: 1">
  1776. 治疗护士:
  1777. <div class="under_line" style="width: 80px; text-align: center">
  1778. <span style="height: 30px; display: inline-block" v-if="
  1779. setAdminUserES(
  1780. dialysisOrder == null
  1781. ? 0
  1782. : dialysisOrder.start_nurse
  1783. ) == ''
  1784. ">
  1785. {{
  1786. getAdminUser(
  1787. dialysisOrder == null
  1788. ? 0
  1789. : dialysisOrder.start_nurse
  1790. )
  1791. }}</span>
  1792. <img style="height: 30px" :src="setAdminUserES(
  1793. dialysisOrder == null
  1794. ? 0
  1795. : dialysisOrder.start_nurse
  1796. )
  1797. " alt="" srcset="" v-else />
  1798. </div>
  1799. </div>
  1800. <div class="inline_block" style="flex: 1">
  1801. 核对人员:
  1802. <div class="under_line" style="width: 80px; text-align: center"
  1803. v-if="dialysisOrder == null">
  1804. <span style="height: 30px; display: inline-block" v-if="
  1805. setAdminUserES(
  1806. check == null ? 0 : check.creater
  1807. ) == ''
  1808. ">
  1809. {{
  1810. getAdminUser(
  1811. check == null ? 0 : check.creater
  1812. )
  1813. }}
  1814. </span>
  1815. <img style="height: 30px" :src="setAdminUserES(
  1816. check == null ? 0 : check.creater
  1817. )
  1818. " alt="" srcset="" v-else />
  1819. </div>
  1820. <div class="under_line" style="width: 80px; text-align: center" v-if="
  1821. dialysisOrder != null &&
  1822. dialysisOrder.start_nurse == check.modifier
  1823. ">
  1824. <span style="height: 30px; display: inline-block" v-if="
  1825. setAdminUserES(
  1826. check == null ? 0 : check.creater
  1827. ) == ''
  1828. ">
  1829. {{
  1830. getAdminUser(
  1831. check == null ? 0 : check.creater
  1832. )
  1833. }}
  1834. </span>
  1835. <img style="height: 30px" :src="setAdminUserES(
  1836. check == null ? 0 : check.creater
  1837. )
  1838. " alt="" srcset="" v-else />
  1839. </div>
  1840. <div class="under_line" style="width: 80px; text-align: center" v-if="
  1841. dialysisOrder != null &&
  1842. dialysisOrder.start_nurse == check.creater
  1843. ">
  1844. <span style="height: 30px; display: inline-block" v-if="
  1845. setAdminUserES(
  1846. check == null ? 0 : check.modifier
  1847. ) == ''
  1848. ">
  1849. {{
  1850. getAdminUser(
  1851. check == null ? 0 : check.modifier
  1852. )
  1853. }}
  1854. </span>
  1855. <img style="height: 30px" :src="setAdminUserES(
  1856. check == null ? 0 : check.modifier
  1857. )
  1858. " alt="" srcset="" v-else />
  1859. </div>
  1860. <div class="under_line" style="width: 80px; text-align: center" v-if="
  1861. dialysisOrder != null &&
  1862. dialysisOrder.start_nurse != check.creater &&
  1863. dialysisOrder.start_nurse != check.modifier
  1864. ">
  1865. <span style="height: 30px; display: inline-block" v-if="
  1866. setAdminUserES(
  1867. check == null ? 0 : check.creater
  1868. ) == ''
  1869. ">
  1870. {{
  1871. getAdminUser(
  1872. check == null ? 0 : check.creater
  1873. )
  1874. }}
  1875. </span>
  1876. <img style="height: 30px" :src="setAdminUserES(
  1877. check == null ? 0 : check.creater
  1878. )
  1879. " alt="" srcset="" v-else />
  1880. </div>
  1881. </div>
  1882. <!-- <div class="inline_block" style="flex: 1">
  1883. 下机护士:
  1884. <div
  1885. class="under_line"
  1886. style="width: 80px; text-align: center"
  1887. >
  1888. <span
  1889. style="height: 30px; display: inline-block"
  1890. v-if="
  1891. setAdminUserES(
  1892. dialysisOrder == null
  1893. ? 0
  1894. : dialysisOrder.finish_nurse
  1895. ) == ''
  1896. "
  1897. >
  1898. {{
  1899. getAdminUser(
  1900. dialysisOrder == null
  1901. ? 0
  1902. : dialysisOrder.finish_nurse
  1903. )
  1904. }}
  1905. </span>
  1906. <img
  1907. style="height: 30px"
  1908. :src="
  1909. setAdminUserES(
  1910. dialysisOrder == null
  1911. ? 0
  1912. : dialysisOrder.finish_nurse
  1913. )
  1914. "
  1915. alt=""
  1916. srcset=""
  1917. v-else
  1918. />
  1919. </div>
  1920. </div> -->
  1921. <div class="inline_block" style="flex: 1">
  1922. 患者签名:
  1923. <div class="under_line" style="width: 80px; text-align: center">
  1924. <img style="height: 30px" :src="dialysisOrder == null ? 0 : dialysisOrder.url" alt=""
  1925. srcset="" />
  1926. </div>
  1927. </div>
  1928. <div class="inline_block" style="flex: 1">
  1929. 治疗医生:
  1930. <div class="under_line" style="width: 80px; text-align: center">
  1931. <span style="height: 30px; display: inline-block" v-if="
  1932. setAdminUserES(prescription.creater) == ''
  1933. ">
  1934. {{ getAdminUser(prescription.creater) }}
  1935. </span>
  1936. <img style="height: 30px" :src="setAdminUserES(prescription.creater)" alt="" srcset=""
  1937. v-else />
  1938. </div>
  1939. </div>
  1940. </div>
  1941. </td>
  1942. </tr>
  1943. </tbody>
  1944. </table>
  1945. </div>
  1946. </td>
  1947. </tr>
  1948. </tbody>
  1949. </table>
  1950. </div>
  1951. </div>
  1952. </div>
  1953. </template>
  1954. <script>
  1955. import CheckBox from "../batch_print/option_check_box";
  1956. import { getDialysisRecord } from "@/api/dialysis";
  1957. import { getDataConfig } from "@/utils/data";
  1958. import { jsGetAge, uParseTime } from "@/utils/tools";
  1959. import LabelBox from "../printItem/LabelBox";
  1960. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  1961. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1962. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1963. import print from "print-js";
  1964. export default {
  1965. name: "dialysisPrintOrderSix",
  1966. props: ["childResponse"],
  1967. components: {
  1968. // DialysisPrintOrderOne,
  1969. // DialysisPrintOrderTwo,
  1970. CheckBox,
  1971. LabelBox,
  1972. BreadCrumb,
  1973. },
  1974. data() {
  1975. return {
  1976. way_arr: [],
  1977. consciousness_arr: [],
  1978. appetite_arr: [],
  1979. posture_arr: [],
  1980. sick_condition_arr: [],
  1981. precaution_arr: [],
  1982. intake_arr: [],
  1983. nutrition_arr: [],
  1984. crumbs: [
  1985. { path: false, name: "透析管理" },
  1986. { path: false, name: "打印单" },
  1987. ],
  1988. operators: [],
  1989. adminUser: [],
  1990. check: {},
  1991. xtdate: "",
  1992. dialysisOrder: {
  1993. DeviceNumber: [],
  1994. },
  1995. displaceLiquiPartOptions: [],
  1996. operatorMaps: {},
  1997. complications: [
  1998. "低血压",
  1999. "高血压",
  2000. "心律失常",
  2001. "头晕",
  2002. "头痛",
  2003. "呕吐",
  2004. "抽搐",
  2005. "出血",
  2006. "心衰",
  2007. "腹痛",
  2008. ],
  2009. jilurow: 0,
  2010. advice_jilurow: 0,
  2011. loading: false,
  2012. orgname: "",
  2013. patientInfo_gender_1: false,
  2014. patientInfo_gender_2: false,
  2015. patientInfo_source_2: false,
  2016. patientInfo_source_1: false,
  2017. modeOptions: {},
  2018. replacementWays: [],
  2019. perfusionApparatus: [],
  2020. anticoagulantsConfit: {},
  2021. bloodAccessParOpera: {},
  2022. dialysateFormulationOptions: {},
  2023. totollength: 0,
  2024. queryParams: {
  2025. xtdate: "",
  2026. xtno: "",
  2027. patient_id: 0,
  2028. },
  2029. patientInfo: {
  2030. birth: "",
  2031. age: "",
  2032. DialysisSchedule: {
  2033. device_number: { number: "" },
  2034. device_zone: { name: "" },
  2035. },
  2036. gender: 0,
  2037. },
  2038. predialysis: {
  2039. score: "",
  2040. internal_fistula: "",
  2041. internal_fistula_skin: "",
  2042. catheter: "",
  2043. blood_access_part_opera_name: "",
  2044. },
  2045. afterdialysis: {
  2046. complications_index: "",
  2047. },
  2048. lastafterdialysis: {},
  2049. prescription: {
  2050. dialysate_formulation_name: "",
  2051. device: {},
  2052. },
  2053. advices: [],
  2054. users: [],
  2055. monitors: [],
  2056. monitors2: [],
  2057. summary: {},
  2058. receiverTreatmentAccess: {},
  2059. org_template_info: {},
  2060. doctor_advices: [],
  2061. doctor_advices_2: [],
  2062. advice_groups: [],
  2063. advice_groups_2: [],
  2064. print_length: 0,
  2065. blood_access_part: [],
  2066. blood_access_part_opera: [],
  2067. AlPanel: {
  2068. id: 0,
  2069. name: "",
  2070. type: 1,
  2071. shouji: 2,
  2072. weichi: 2,
  2073. zongliang: 2,
  2074. gaimingcheng: -1,
  2075. gaijiliang: -1,
  2076. shouji_unit: "mg",
  2077. weichi_unit: "mg/h",
  2078. zongliang_unit: "mg",
  2079. gaimingcheng_unit: "",
  2080. gaijiliang_unit: "",
  2081. },
  2082. org_id: 0,
  2083. };
  2084. },
  2085. methods: {
  2086. checkData() {
  2087. var checkData=[]
  2088. if(this.predialysis.symptom_before_dialysis == ""){
  2089. const obj='透前症状'
  2090. checkData.push(obj)
  2091. }if (this.predialysis.temperature == "") {
  2092. const obj1='透前体温'
  2093. checkData.push(obj1)
  2094. }if (this.predialysis.pulse_frequency == "") {
  2095. const obj2='透前脉搏'
  2096. checkData.push(obj2)
  2097. }if (this.predialysis.breathing_rate == "") {
  2098. const obj3='透前呼吸频率'
  2099. checkData.push(obj3)
  2100. }if (
  2101. this.predialysis.systolic_blood_pressure == 0 ||
  2102. this.predialysis.diastolic_blood_pressure == 0
  2103. ) {
  2104. const obj4='透前血压'
  2105. checkData.push(obj4)
  2106. }if (this.dialysisOrder && this.dialysisOrder.blood_access_id == ""
  2107. ) {
  2108. const obj5='血管通路'
  2109. checkData.push(obj5)
  2110. }if(this.prescription.mode_id == "") {
  2111. const obj6='透析方式'
  2112. checkData.push(obj6)
  2113. }if (
  2114. this.prescription.displace_liqui_part == 0 &&
  2115. this.prescription.mode_id == 2
  2116. ) {
  2117. const obj7='置换方式'
  2118. checkData.push(obj7)
  2119. }if (
  2120. this.prescription.displace_liqui_value == 0 &&
  2121. this.prescription.mode_id == 2
  2122. ) {
  2123. const obj7='置换量'
  2124. checkData.push(obj7)
  2125. }if (
  2126. this.prescription.dialysis_duration_hour == 0 &&
  2127. this.prescription.dialysis_duration_minute == 0
  2128. ) {
  2129. const obj8='透析时间'
  2130. checkData.push(obj8)
  2131. }if (
  2132. this.prescription.dialyzer_perfusion_apparatus == "" &&
  2133. this.prescription.dialysis_dialyszers == "" &&
  2134. this.prescription.dialysis_irrigation == ""
  2135. ) {
  2136. const obj9='透析器/灌流器'
  2137. checkData.push(obj9)
  2138. }if(this.predialysis.weight_before==''){
  2139. const obj10='透前体重'
  2140. checkData.push(obj10)
  2141. }if(this.prescription.target_ultrafiltration==''){
  2142. const obj11='计划超滤量'
  2143. checkData.push(obj11)
  2144. }if(this.predialysis.dry_weight == 0) {
  2145. const obj12='干体重'
  2146. checkData.push(obj12)
  2147. }if(this.prescription.calcium == 0) {
  2148. const obj13='钙'
  2149. checkData.push(obj13)
  2150. }if(this.prescription.sodium == 0) {
  2151. const obj14='钠'
  2152. checkData.push(obj14)
  2153. }if(this.prescription.kalium == 0) {
  2154. const obj15='钾'
  2155. checkData.push(obj15)
  2156. }if(this.prescription.bicarbonate == 0) {
  2157. const obj16='碳酸氢根'
  2158. checkData.push(obj16)
  2159. }if (this.prescription.anticoagulant == 0) {
  2160. const obj17='抗凝剂'
  2161. checkData.push(obj17)
  2162. }if (
  2163. this.prescription.anticoagulant_gaimingcheng == "" &&
  2164. this.prescription.anticoagulant == 5
  2165. ) {
  2166. const obj18='钙名称'
  2167. checkData.push(obj18)
  2168. } if (
  2169. this.prescription.anticoagulant_gaijiliang == "" &&
  2170. this.prescription.anticoagulant == 5
  2171. ) {
  2172. const obj19='钙剂量'
  2173. checkData.push(obj19)
  2174. } if(this.prescription.anticoagulant_shouji==''){
  2175. const obj20='首剂'
  2176. checkData.push(obj20)
  2177. } if(this.prescription.anticoagulant_zongliang==''){
  2178. const obj21='总量'
  2179. checkData.push(obj21)
  2180. } if (this.afterdialysis.temperature == 0) {
  2181. const obj22='透后体温'
  2182. checkData.push(obj22)
  2183. } if (this.afterdialysis.pulse_frequency == 0) {
  2184. const obj23='透后脉搏'
  2185. checkData.push(obj23)
  2186. } if (this.afterdialysis.breathing_rate == 0) {
  2187. const obj24='透后呼吸频率'
  2188. checkData.push(obj24)
  2189. } if (
  2190. this.afterdialysis.systolic_blood_pressure == 0 ||
  2191. this.afterdialysis.diastolic_blood_pressure == 0
  2192. ) {
  2193. const obj25='透后血压'
  2194. checkData.push(obj25)
  2195. }if (
  2196. this.afterdialysis.actual_treatment_hour == 0 &&
  2197. this.afterdialysis.actual_treatment_minute == 0
  2198. ) {
  2199. const obj26='实际治疗时间'
  2200. checkData.push(obj26)
  2201. }if (this.dialysisOrder&&this.dialysisOrder.cruor == "") {
  2202. const obj27='透析器凝血'
  2203. checkData.push(obj27)
  2204. }if (this.afterdialysis.weight_after == 0) {
  2205. const obj30='透后体重'
  2206. checkData.push(obj30)
  2207. }if (this.afterdialysis.actual_ultrafiltration == 0) {
  2208. const obj33='实际超滤量'
  2209. checkData.push(obj33)
  2210. } if (this.summary.dialysis_summary == "") {
  2211. const obj34='透析小结'
  2212. checkData.push(obj34)
  2213. } if(this.afterdialysis.remark==''){
  2214. const obj35='备注'
  2215. checkData.push(obj35)
  2216. } if (
  2217. this.dialysisOrder == null ||
  2218. this.dialysisOrder.puncture_nurse == 0
  2219. ) {
  2220. const obj36='穿刺护士'
  2221. checkData.push(obj36)
  2222. } if (
  2223. this.dialysisOrder == null ||
  2224. this.dialysisOrder.start_nurse == 0
  2225. ) {
  2226. const obj36='治疗护士'
  2227. checkData.push(obj36)
  2228. } if (this.dialysisOrder == null && this.check.creater == 0) {
  2229. const obj37='核对人员'
  2230. checkData.push(obj37)
  2231. } else if (
  2232. this.dialysisOrder != null &&
  2233. this.dialysisOrder.start_nurse == this.check.modifier &&
  2234. this.check.creater == 0
  2235. ) {
  2236. const obj37='核对人员'
  2237. checkData.push(obj37)
  2238. } else if (
  2239. this.dialysisOrder != null &&
  2240. this.dialysisOrder.start_nurse == this.check.creater &&
  2241. this.check.modifier == 0
  2242. ) {
  2243. const obj37='核对人员'
  2244. checkData.push(obj37)
  2245. } else if (
  2246. this.dialysisOrder != null &&
  2247. this.dialysisOrder.start_nurse != this.check.creater &&
  2248. this.dialysisOrder.start_nurse != this.check.modifier &&
  2249. this.check.creater == 0
  2250. ) {
  2251. const obj37='核对人员'
  2252. checkData.push(obj37)
  2253. } if(this.dialysisOrder ==null||this.dialysisOrder.url==''){
  2254. const obj38='患者签名'
  2255. checkData.push(obj38)
  2256. }if (this.prescription.creater == 0) {
  2257. const obj39='医生签名'
  2258. checkData.push(obj39)
  2259. }if(this.doctor_advices.length !=0){
  2260. this.doctor_advices.map((item) => {
  2261. if (item.execution_staff == 0 && item.checker == 0 &&item.advice_doctor==0) {
  2262. const obj40 = '医生签名,医嘱执行护士签名,核对签名'
  2263. checkData.push(obj40)
  2264. }
  2265. })
  2266. }if (this.monitors.length != 0) {
  2267. for (let i in this.monitors) {
  2268. if(this.monitors[i].systolic_blood_pressure=='' &&
  2269. this.monitors[i].diastolic_blood_pressure==''
  2270. ){
  2271. const obj41 = '监测第' + ((i * 1) + 1) + '行血压'
  2272. checkData.push(obj41)
  2273. }if(this.monitors[i].pulse_frequency==''){
  2274. const obj42 = '监测第' + ((i * 1) + 1) + '行脉搏'
  2275. checkData.push(obj42)
  2276. }if(this.monitors[i].breathing_rate==''){
  2277. const obj43 = '监测第' + ((i * 1) + 1) + '行呼吸'
  2278. checkData.push(obj43)
  2279. }if(this.monitors[i].blood_flow_volume ==''){
  2280. const obj44 = '监测第' + ((i * 1) + 1) + '行血流量'
  2281. checkData.push(obj44)
  2282. }if (this.monitors[i].venous_pressure ==''){
  2283. const obj45 = '监测第' + ((i * 1) + 1) + '行静脉压'
  2284. checkData.push(obj45)
  2285. }if(this.monitors[i].arterial_pressure==''){
  2286. const obj46 = '监测第' + ((i * 1) + 1) + '行动脉压'
  2287. checkData.push(obj46)
  2288. }if(this.monitors[i].transmembrane_pressure ==''){
  2289. const obj47 = '监测第' + ((i * 1) + 1) + '行跨膜压'
  2290. checkData.push(obj47)
  2291. }if(this.monitors[i].dialysate_temperature ==''){
  2292. const obj48 = '监测第' + ((i * 1) + 1) + '行透析液温度'
  2293. checkData.push(obj48)
  2294. }if(this.monitors[i].conductivity ==''){
  2295. const obj49 = '监测第' + ((i * 1) + 1) + '行电导度'
  2296. checkData.push(obj49)
  2297. }if(this.monitors[i].ultrafiltration_volume ==''){
  2298. const obj50 = '监测第' + ((i * 1) + 1) + '行超滤量'
  2299. checkData.push(obj50)
  2300. }if((this.prescription.mode_id == 2 ||
  2301. this.prescription.mode_id == 5 ||
  2302. this.prescription.mode_id == 12) &&
  2303. this.monitors[i].displacement_quantity == ''
  2304. ){
  2305. const obj51 = '监测第' + ((i * 1) + 1) + '行置换量'
  2306. checkData.push(obj51)
  2307. }
  2308. }
  2309. }
  2310. this.getcheckData(checkData)
  2311. },
  2312. getDisplaceLiquiPart: function (val) {
  2313. let displace_liqui_part_name = "/";
  2314. const displace_liqui_part = this.displaceLiquiPartOptions;
  2315. for (let i = 0; i < displace_liqui_part.length; i++) {
  2316. if (displace_liqui_part[i].id == val) {
  2317. displace_liqui_part_name = displace_liqui_part[i].name;
  2318. }
  2319. }
  2320. return displace_liqui_part_name;
  2321. },
  2322. replacementWaysById: function (val) {
  2323. let replacementWaysname = "/";
  2324. // let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  2325. for (let i = 0; i < this.replacementWays.length; i++) {
  2326. if (this.replacementWays[i].id == val) {
  2327. replacementWaysname = this.replacementWays[i].name;
  2328. }
  2329. }
  2330. return replacementWaysname;
  2331. },
  2332. QueryPartById: function (val) {
  2333. let vascular_access_part_name = "/";
  2334. const vascular_access = getDataConfig(
  2335. "hemodialysis",
  2336. "vascular_access_desc"
  2337. );
  2338. for (let i = 0; i < vascular_access.length; i++) {
  2339. if (vascular_access[i].id == val) {
  2340. vascular_access_part_name = vascular_access[i].name;
  2341. }
  2342. }
  2343. return vascular_access_part_name;
  2344. },
  2345. getAdminUser(id) {
  2346. if (id == 0) {
  2347. return "";
  2348. }
  2349. if (id == undefined) {
  2350. return "";
  2351. }
  2352. for (let i = 0; i < this.adminUser.length; i++) {
  2353. if (this.adminUser[i].id == id) {
  2354. return this.adminUser[i].name;
  2355. }
  2356. }
  2357. },
  2358. getTime(value, temp) {
  2359. if (value == 0) {
  2360. return "";
  2361. }
  2362. if (value != undefined) {
  2363. return uParseTime(value, temp);
  2364. }
  2365. return "";
  2366. },
  2367. getUnit: function (val) {
  2368. switch (val) {
  2369. case 1:
  2370. return "g";
  2371. break;
  2372. case 2:
  2373. return "ml";
  2374. break;
  2375. }
  2376. },
  2377. printThisPage() {
  2378. var ptime = Math.round(new Date().getTime() / 1000);
  2379. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  2380. const style =
  2381. '@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}.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:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
  2382. if (this.org_template_info.template_id == 1) {
  2383. printJS({
  2384. printable: "dialysis-print-box",
  2385. type: "html",
  2386. style: style,
  2387. scanStyles: false,
  2388. });
  2389. } else if (
  2390. this.org_template_info.template_id == 2 ||
  2391. this.org_template_info.template_id == 0
  2392. ) {
  2393. printJS({
  2394. printable: "dialysis-print-box-1",
  2395. type: "html",
  2396. style: style,
  2397. scanStyles: false,
  2398. });
  2399. }
  2400. },
  2401. getNumber() {
  2402. if (this.dialysisOrder != null) {
  2403. return (
  2404. this.patientInfo.DialysisSchedule.device_zone.name +
  2405. this.dialysisOrder.DeviceNumber.number
  2406. );
  2407. } else {
  2408. return (
  2409. this.patientInfo.DialysisSchedule.device_zone.name +
  2410. this.patientInfo.DialysisSchedule.device_number.number
  2411. );
  2412. }
  2413. },
  2414. getXuserName(id) {
  2415. if (id <= 0) {
  2416. return "";
  2417. }
  2418. var name = "";
  2419. if (this.users == null || typeof this.users.length === "undefined") {
  2420. return name;
  2421. }
  2422. var leng = this.users.length;
  2423. if (leng == 0) {
  2424. return name;
  2425. }
  2426. for (let index = 0; index < leng; index++) {
  2427. if (this.users[index].id == id) {
  2428. name = this.users[index].name;
  2429. break;
  2430. }
  2431. }
  2432. return name;
  2433. },
  2434. setAdminUserES(id) {
  2435. if (id == 0) {
  2436. return "";
  2437. }
  2438. if (id in this.operatorMaps) {
  2439. return this.operatorMaps[id].url;
  2440. } else {
  2441. return "";
  2442. }
  2443. },
  2444. modeName(mode_id) {
  2445. return typeof this.modeOptions[mode_id] !== "undefined" &&
  2446. typeof this.modeOptions[mode_id].name !== "undefined"
  2447. ? this.modeOptions[mode_id].name
  2448. : "";
  2449. },
  2450. getDialysisRecord() {
  2451. this.loading = true;
  2452. // getDialysisRecord(this.queryParams).then(response => {
  2453. var response = this.childResponse;
  2454. if (response.data.state == 1) {
  2455. this.adminUser = response.data.data.users;
  2456. this.users = response.data.data.users;
  2457. this.patientInfo = response.data.data.patientInfo;
  2458. this.patientInfo.birth = uParseTime(
  2459. this.patientInfo.birthday,
  2460. "{y}-{m}-{d}"
  2461. );
  2462. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  2463. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  2464. this.patientInfo.first_dialysis_date = uParseTime(
  2465. response.data.data.patientInfo.first_dialysis_date,
  2466. "{y}-{m}-{d}"
  2467. );
  2468. } else {
  2469. this.patientInfo.first_dialysis_date = "";
  2470. }
  2471. this.check = response.data.data.check;
  2472. this.xtdate = response.data.data.xtdate;
  2473. this.predialysis = response.data.data.PredialysisEvaluation;
  2474. // console.log('透前评估', this.predialysis)
  2475. this.predialysis.blood_access_part_opera_name =
  2476. this.bloodAccessParOperaName(
  2477. this.predialysis.blood_access_part_opera_id
  2478. );
  2479. this.afterdialysis = response.data.data.AssessmentAfterDislysis;
  2480. // console.log('透后体重', this.afterdialysis)
  2481. this.lastafterdialysis = response.data.data.assessmentAfterDislysis;
  2482. console.log("上次透后体重", this.lastafterdialysis.weight_after);
  2483. this.operators = response.data.data.operators;
  2484. console.log("operators", this.operators);
  2485. this.dialysisOrder =
  2486. response.data.data.dialysisOrder === null
  2487. ? null
  2488. : response.data.data.dialysisOrder;
  2489. console.log("上机233232323232", this.dialysisOrder);
  2490. if (this.operators.length > 0) {
  2491. var operatorsLen = this.operators.length;
  2492. for (var index = 0; index < operatorsLen; index++) {
  2493. this.$set(
  2494. this.operatorMaps,
  2495. this.operators[index].creator,
  2496. this.operators[index]
  2497. );
  2498. }
  2499. }
  2500. this.afterdialysis.txqnx = -1;
  2501. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  2502. this.afterdialysis.txqnx = 0;
  2503. }
  2504. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  2505. this.afterdialysis.txqnx = 1;
  2506. }
  2507. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  2508. this.afterdialysis.txqnx = 2;
  2509. }
  2510. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  2511. this.afterdialysis.txqnx = 3;
  2512. }
  2513. this.afterdialysis.complications =
  2514. this.afterdialysis.complication.split(",");
  2515. this.afterdialysis.complications_other = [];
  2516. this.afterdialysis.complications_index = [];
  2517. var acllen = this.afterdialysis.complications.length;
  2518. for (let index = 0; index < acllen; index++) {
  2519. if (
  2520. this.complications.indexOf(
  2521. this.afterdialysis.complications[index]
  2522. ) >= 0
  2523. ) {
  2524. this.afterdialysis.complications_index.push(
  2525. this.afterdialysis.complications[index]
  2526. );
  2527. } else if (
  2528. this.complications.indexOf(
  2529. this.afterdialysis.complications[index]
  2530. ) < 0 &&
  2531. this.afterdialysis.complications_other.indexOf(
  2532. this.afterdialysis.complications[index]
  2533. ) < 0
  2534. ) {
  2535. this.afterdialysis.complications_other.push(
  2536. this.afterdialysis.complications[index]
  2537. );
  2538. }
  2539. }
  2540. this.afterdialysis.complications_other =
  2541. this.afterdialysis.complications_other.join(",");
  2542. this.prescription = response.data.data.dialysisPrescription;
  2543. console.log("透析处方", this.prescription);
  2544. this.receiverTreatmentAccess =
  2545. response.data.data.receiverTreatmentAccess;
  2546. this.prescription.mode = this.modeName(this.prescription.mode_id);
  2547. var rwLen = this.replacementWays.length;
  2548. this.prescription.replacement = "";
  2549. for (let index = 0; index < rwLen; index++) {
  2550. if (
  2551. this.replacementWays[index].id == this.prescription.replacement_way
  2552. ) {
  2553. this.prescription.replacement = this.replacementWays[index].name;
  2554. break;
  2555. }
  2556. }
  2557. this.prescription.dialysate_formulation_name =
  2558. this.dialysateFormulationName(
  2559. this.prescription.dialysate_formulation
  2560. );
  2561. var paLen = this.perfusionApparatus.length;
  2562. this.prescription.perfusion_apparatus_name = "";
  2563. for (let index = 0; index < paLen; index++) {
  2564. if (
  2565. this.perfusionApparatus[index].id ==
  2566. this.prescription.perfusion_apparatus
  2567. ) {
  2568. this.prescription.perfusion_apparatus_name =
  2569. this.perfusionApparatus[index].name;
  2570. break;
  2571. }
  2572. }
  2573. var acLen = this.anticoagulantsConfit.length;
  2574. var thisALID = this.prescription.anticoagulant;
  2575. this.prescription.anticoagulant_name = "";
  2576. if (
  2577. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  2578. this.anticoagulantsConfit[thisALID] != null
  2579. ) {
  2580. this.prescription.anticoagulant_name =
  2581. this.anticoagulantsConfit[thisALID].name;
  2582. this.AlPanel = this.anticoagulantsConfit[thisALID];
  2583. }
  2584. this.advices = response.data.data.advices;
  2585. this.tableAdvice = response.data.data.advices;
  2586. console.log("医嘱数据2222222222", this.advices);
  2587. this.monitors = response.data.data.monitors;
  2588. this.summary = response.data.data.summary;
  2589. this.org_template_info = response.data.data.org_template_info;
  2590. if (this.monitors.length <= 6) {
  2591. var nl = 6;
  2592. this.print_length = 6;
  2593. for (let index = 0; index < nl; index++) {
  2594. if (
  2595. this.monitors[index] == undefined ||
  2596. this.monitors[index].length <= 0
  2597. ) {
  2598. this.monitors2.push([]);
  2599. } else {
  2600. continue;
  2601. }
  2602. }
  2603. }
  2604. var tempmonitorflag = true;
  2605. for (let index = 0; index < this.monitors.length; index++) {
  2606. const monitor = this.monitors[index];
  2607. this.monitors[index].end = "";
  2608. this.monitors[index].accumulated_blood_volume_name = ""
  2609. if (Object.keys(monitor).length > 0 && index > 1) {
  2610. if (
  2611. this.dialysisOrder &&
  2612. monitor.operate_time == this.dialysisOrder.end_time
  2613. ) {
  2614. this.monitors[index].end = "【结束透析】";
  2615. this.monitors[index].accumulated_blood_volume_name = "累计血容量:" + this.monitors[index].accumulated_blood_volume + "L"
  2616. tempmonitorflag = false;
  2617. }
  2618. if (tempmonitorflag && index == this.monitors.length - 1) {
  2619. this.monitors[index].end = "【结束透析】";
  2620. this.monitors[index].accumulated_blood_volume_name = "累计血容量:" + this.monitors[index].accumulated_blood_volume + "L"
  2621. }
  2622. }
  2623. }
  2624. this.jilurow = this.monitors.length + 1;
  2625. this.advice_jilurow = this.advices.length + 1;
  2626. var childMap = {};
  2627. for (const index in this.advices) {
  2628. if (this.advices[index].parent_id == 0) {
  2629. continue;
  2630. }
  2631. if (!(this.advices[index].parent_id in childMap)) {
  2632. childMap[this.advices[index].parent_id] = [];
  2633. }
  2634. childMap[this.advices[index].parent_id].push(this.advices[index]);
  2635. }
  2636. var advices = [];
  2637. for (const index in this.advices) {
  2638. if (this.advices[index].parent_id > 0) {
  2639. continue;
  2640. }
  2641. var item = this.advices[index];
  2642. if (item.id in childMap) {
  2643. item.children = childMap[item.id];
  2644. } else {
  2645. item.children = [];
  2646. }
  2647. advices.push(item);
  2648. }
  2649. var leftAdvice = [];
  2650. var rightAdvice = [];
  2651. var adlen = advices.length;
  2652. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  2653. for (var i = 0; i < halfLen; i++) {
  2654. leftAdvice.push(advices[i]);
  2655. rightAdvice.push(advices[i + halfLen]);
  2656. }
  2657. if (halfLen < 5) {
  2658. var nl = 5 - leftAdvice.length;
  2659. for (let index = 0; index < nl; index++) {
  2660. leftAdvice.push([]);
  2661. }
  2662. var nl = 5 - rightAdvice.length;
  2663. for (let index = 0; index < nl; index++) {
  2664. rightAdvice.push([]);
  2665. }
  2666. }
  2667. this.advices = [];
  2668. for (var i = 0; i < halfLen; i++) {
  2669. var item = [];
  2670. item.push(leftAdvice[i]);
  2671. item.push(rightAdvice[i]);
  2672. this.advices.push(item);
  2673. }
  2674. this.loading = false;
  2675. this.doctor_advices =
  2676. response.data.data.advices == null ? [] : response.data.data.advices;
  2677. for (let index = 0; index < this.doctor_advices.length; index++) {
  2678. this.doctor_advices[index]["isShow"] = 2;
  2679. }
  2680. // if (this.doctor_advices.length > 0) {
  2681. // var group = this.newAdviceGroupObject()
  2682. // var initGroupBlock = function(group, advice) {
  2683. // group.group_no = advice.groupno
  2684. // }
  2685. // for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  2686. // var new_advice_index = 0
  2687. // if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  2688. // new_advice_index = index + this.doctor_advices[index].children.length + 1
  2689. // var doctor_advice = {
  2690. // delivery_way: this.doctor_advices[index].delivery_way,
  2691. // execution_frequency: this.doctor_advices[index].execution_frequency,
  2692. // groupno: this.doctor_advices[index].groupno,
  2693. // id: this.doctor_advices[index].id,
  2694. // parent_id: this.doctor_advices[index].parent_id,
  2695. // children: this.doctor_advices[index].children,
  2696. // remark: this.doctor_advices[index].remark,
  2697. // execution_staff: this.doctor_advices[index].execution_staff,
  2698. // checker: this.doctor_advices[index].checker,
  2699. // execution_time: this.doctor_advices[index].execution_time,
  2700. // advice_doctor: this.doctor_advices[index].advice_doctor
  2701. // }
  2702. // doctor_advice['isShow'] = 1
  2703. // this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  2704. // // this.doctor_advices.push(doctor_advice)
  2705. // }
  2706. // }
  2707. // for (let index = 0; index < this.doctor_advices.length; index++) {
  2708. // const advice = this.doctor_advices[index]
  2709. // if (advice.groupno == 0) {
  2710. // // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2711. // if (advice.parent_id > 0) {
  2712. // if (this.advice_groups.length > 0) {
  2713. // var parent_group = this.advice_groups[
  2714. // this.advice_groups.length - 1
  2715. // ]
  2716. // if (parent_group.advices.length > 0) {
  2717. // if (parent_group.advices[0].id == advice.parent_id) {
  2718. // parent_group.advices.push(advice)
  2719. // }
  2720. // }
  2721. // }
  2722. // continue
  2723. // } else {
  2724. // if (group.group_no > 0) {
  2725. // this.advice_groups.push(group)
  2726. // group = this.newAdviceGroupObject()
  2727. // }
  2728. // initGroupBlock(group, advice)
  2729. // group.advices.push(advice)
  2730. // this.advice_groups.push(group)
  2731. // group = this.newAdviceGroupObject()
  2732. // continue
  2733. // }
  2734. // }
  2735. // if (group.group_no > 0 && group.group_no != advice.groupno) {
  2736. // this.advice_groups.push(group)
  2737. // group = this.newAdviceGroupObject()
  2738. // }
  2739. // if (group.group_no == 0) {
  2740. // initGroupBlock(group, advice)
  2741. // }
  2742. // if (group.group_no == advice.groupno) {
  2743. // group.advices.push(advice)
  2744. // }
  2745. // }
  2746. // if (group.group_no > 0) {
  2747. // // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2748. // this.advice_groups.push(group)
  2749. // }
  2750. // }
  2751. if (this.doctor_advices.length <= 6) {
  2752. var nl = 6;
  2753. this.print_length = 6;
  2754. for (let index = 0; index < nl; index++) {
  2755. if (
  2756. this.doctor_advices[index] == undefined ||
  2757. this.doctor_advices[index].length <= 0
  2758. ) {
  2759. this.doctor_advices.push([]);
  2760. } else {
  2761. continue;
  2762. }
  2763. }
  2764. }
  2765. this.totollength = this.doctor_advices.length + this.monitors.length;
  2766. if (this.totollength > 32) {
  2767. var temp_advice_length = 31 - this.monitors.length;
  2768. var doctor_advices_1 = [];
  2769. var doctor_advices_2 = [];
  2770. for (let index = 0; index < this.doctor_advices.length; index++) {
  2771. const element = this.doctor_advices[index];
  2772. if (temp_advice_length > index) {
  2773. doctor_advices_1.push(element);
  2774. } else {
  2775. doctor_advices_2.push(element);
  2776. }
  2777. }
  2778. this.doctor_advices = doctor_advices_1;
  2779. this.doctor_advices_2 = doctor_advices_2;
  2780. }
  2781. this.patientInfo.name = this.nameSplit(this.patientInfo.name);
  2782. } else {
  2783. this.loading = false;
  2784. this.$message.error("请求数据失败");
  2785. return false;
  2786. }
  2787. // })
  2788. },
  2789. // 切割患者姓名
  2790. nameSplit(val) {
  2791. var reg = /[\u4e00-\u9fa5]/g;
  2792. let name = val;
  2793. name = name.substr(-3);
  2794. var names = name.match(reg);
  2795. name = names.join("");
  2796. if (name.includes("区")) {
  2797. name = name.replace("区", "");
  2798. }
  2799. if (name.includes("右")) {
  2800. name = name.replace("右", "");
  2801. }
  2802. return name;
  2803. },
  2804. bloodAccessParOperaName(id) {
  2805. if (id in this.bloodAccessParOpera) {
  2806. return this.bloodAccessParOpera[id].name;
  2807. }
  2808. return "";
  2809. },
  2810. dialysateFormulationName(id) {
  2811. if (id in this.dialysateFormulationOptions) {
  2812. return this.dialysateFormulationOptions[id].name;
  2813. }
  2814. return "";
  2815. },
  2816. // getAge: function (val) {
  2817. // if (
  2818. // this.org_template_info.template_id == 2 ||
  2819. // this.org_template_info.template_id == 0
  2820. // ) {
  2821. // if (val.age == 0) {
  2822. // return jsGetAge(val.birth, "-");
  2823. // } else {
  2824. // return val.age;
  2825. // }
  2826. // } else {
  2827. // return jsGetAge(val.birth, "-");
  2828. // }
  2829. // },
  2830. getAge: function (val) {
  2831. var thisLen = val.id_card_no.length;
  2832. var birth = "";
  2833. if (thisLen == 15) {
  2834. birth = "19" + val.id_card_no.substr(6, 6);
  2835. } else {
  2836. birth = val.id_card_no.substr(6, 8);
  2837. }
  2838. var birthtwo =
  2839. birth.substr(0, 4) +
  2840. "-" +
  2841. birth.substr(4, 2) +
  2842. "-" +
  2843. birth.substr(6, 2);
  2844. var age = jsGetAge(birthtwo, "-");
  2845. return age;
  2846. },
  2847. newAdviceGroupObject: function () {
  2848. return Object.assign(
  2849. {},
  2850. {
  2851. group_no: 0,
  2852. // advice_doctor: 0,
  2853. // start_time: 0,
  2854. advices: [],
  2855. // exec_staff: 0,
  2856. // exec_time: 0,
  2857. // checker: 0,
  2858. }
  2859. );
  2860. },
  2861. getFloat: function (x) {
  2862. if (x == 0) {
  2863. return "/";
  2864. }
  2865. if (x != ".") {
  2866. var f = Math.round(x * 100) / 100;
  2867. var s = f.toString();
  2868. var rs = s.indexOf(".");
  2869. if (rs <= 0) {
  2870. rs = s.length;
  2871. s += ".";
  2872. }
  2873. while (s.length <= rs + 1) {
  2874. s += "0";
  2875. }
  2876. return s;
  2877. } else {
  2878. return "0.0";
  2879. }
  2880. },
  2881. getcheckData(val) {
  2882. if (val.length > 0) {
  2883. let message = `记录单未填数据:<br/>&nbsp;${val.join("<br/>&nbsp;")}`;
  2884. this.$alert(message, '提示', {
  2885. confirmButtonText: '确定',
  2886. type: 'warning',
  2887. dangerouslyUseHTMLString: true,
  2888. });
  2889. } else {
  2890. this.$message.success('核对完成')
  2891. }
  2892. }
  2893. },
  2894. watch: {
  2895. "patientInfo.gender": function () {
  2896. if (this.patientInfo.gender == 1) {
  2897. this.patientInfo_gender_1 = true;
  2898. this.patientInfo_gender_2 = false;
  2899. } else if (this.patientInfo.gender == 2) {
  2900. this.patientInfo_gender_2 = true;
  2901. this.patientInfo_gender_1 = false;
  2902. } else {
  2903. this.patientInfo_gender_2 = false;
  2904. this.patientInfo_gender_1 = false;
  2905. }
  2906. },
  2907. "patientInfo.source": function () {
  2908. if (this.patientInfo.source == 1) {
  2909. this.patientInfo_source_1 = true;
  2910. this.patientInfo_source_2 = false;
  2911. } else if (this.patientInfo.source == 2) {
  2912. this.patientInfo_source_2 = true;
  2913. this.patientInfo_source_1 = false;
  2914. } else {
  2915. this.patientInfo_source_2 = false;
  2916. this.patientInfo_source_1 = false;
  2917. }
  2918. },
  2919. },
  2920. created() {
  2921. this.way_arr = getDataConfig("hemodialysis", "way");
  2922. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  2923. this.appetite_arr = getDataConfig("hemodialysis", "appetite");
  2924. this.posture_arr = getDataConfig("hemodialysis", "posture");
  2925. this.sick_condition_arr = getDataConfig("hemodialysis", "sick_condition");
  2926. this.precaution_arr = getDataConfig("hemodialysis", "precaution");
  2927. this.intake_arr = getDataConfig("hemodialysis", "intake");
  2928. this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
  2929. var xtuser = this.$store.getters.xt_user;
  2930. this.orgname = xtuser.org.org_name;
  2931. // this.orgname = "遂溪方济医院";
  2932. this.modeOptions = this.$store.getters.treatment_mode;
  2933. this.replacementWays = this.$store.getters.replacement_ways;
  2934. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  2935. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  2936. this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
  2937. this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
  2938. this.blood_access_part_opera = getDataConfig(
  2939. "hemodialysis",
  2940. "vascular_access_desc"
  2941. );
  2942. this.org_id = this.$store.getters.xt_user.org.id;
  2943. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  2944. var bloodAccessParOpera = getDataConfig(
  2945. "hemodialysis",
  2946. "vascular_access_desc"
  2947. );
  2948. for (var key in bloodAccessParOpera) {
  2949. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2950. bloodAccessParOpera[key];
  2951. }
  2952. var dialysateFormulationOptions = getDataConfig(
  2953. "hemodialysis",
  2954. "dialysate_formulation"
  2955. );
  2956. for (var key in dialysateFormulationOptions) {
  2957. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2958. dialysateFormulationOptions[key];
  2959. }
  2960. const xtdate = this.$route.query && this.$route.query.xtdate;
  2961. console.log("xtdate", xtdate);
  2962. const xtno = this.$route.query && this.$route.query.xtno;
  2963. console.log("xtno", xtno);
  2964. if (
  2965. typeof xtdate === "string" &&
  2966. xtdate.length > 0 &&
  2967. typeof xtno === "string" &&
  2968. xtno.length > 0
  2969. ) {
  2970. this.queryParams.xtdate = xtdate;
  2971. this.queryParams.xtno = xtno;
  2972. this.getDialysisRecord();
  2973. } else {
  2974. this.$message.error("参数不齐");
  2975. return false;
  2976. }
  2977. },
  2978. };
  2979. </script>
  2980. <style>
  2981. .print_page_main_content {
  2982. background-color: white;
  2983. width: 960px;
  2984. margin: 0 auto 50px;
  2985. padding: 0 0 0 0;
  2986. page-break-after: always;
  2987. }
  2988. .print_page_main_content .order-yy-name {
  2989. margin: auto;
  2990. text-align: center;
  2991. font-size: 20px;
  2992. letter-spacing: 5px;
  2993. }
  2994. .dialysis-print-order .order-title {
  2995. margin: auto;
  2996. font-weight: 600;
  2997. text-align: center;
  2998. font-size: 22px;
  2999. padding: 10px;
  3000. }
  3001. .print_page_main_content .order_title {
  3002. text-align: center;
  3003. font-size: 23px;
  3004. line-height: 50px;
  3005. font-weight: 500;
  3006. }
  3007. .dialysis-print-order .print-table {
  3008. width: 100%;
  3009. text-align: left;
  3010. border-collapse: collapse;
  3011. line-height: 39px;
  3012. font-size: 14px;
  3013. }
  3014. .row {
  3015. font-size: 14px;
  3016. line-height: 20px;
  3017. padding: 5px 0;
  3018. }
  3019. .inline_block {
  3020. display: inline-block;
  3021. }
  3022. .under_line_two {
  3023. display: inline-block;
  3024. border-bottom: 1px solid #999;
  3025. text-align: left;
  3026. white-space: nowrap;
  3027. width: 50%;
  3028. }
  3029. .under_line_two::before {
  3030. content: "\00A0";
  3031. }
  3032. .under_line_two::after {
  3033. content: "\00A0";
  3034. }
  3035. .under_line {
  3036. display: inline-block;
  3037. border-bottom: 1px solid #999;
  3038. text-align: center;
  3039. white-space: nowrap;
  3040. width: 50%;
  3041. }
  3042. .under_line::before {
  3043. content: "\00A0";
  3044. }
  3045. .under_line::after {
  3046. content: "\00A0";
  3047. }
  3048. .flex {
  3049. display: -webkit-box;
  3050. display: -moz-box;
  3051. display: -ms-flexbox;
  3052. display: -webkit-flex;
  3053. display: flex;
  3054. align-items: center;
  3055. -webkit-align-items: center;
  3056. box-align: center;
  3057. -moz-box-align: center;
  3058. -webkit-box-align: center;
  3059. text-align: center;
  3060. -webkit-justify-content: space-between;
  3061. justify-content: space-between;
  3062. -moz-box-pack: space-between;
  3063. -webkit--moz-box-pack: space-between;
  3064. box-pack: space-between;
  3065. }
  3066. .print_page_main_content .proj_table {
  3067. width: 100%;
  3068. border: 1px solid;
  3069. border-collapse: collapse;
  3070. padding: 2px;
  3071. }
  3072. .print_page_main_content .proj_table tbody tr td {
  3073. border: 1px solid;
  3074. /* text-align: center; */
  3075. font-size: 16px;
  3076. padding: 5px 8px;
  3077. line-height: 30px;
  3078. }
  3079. .print_page_main_content .proj_table .inside_table {
  3080. width: 100%;
  3081. border: hidden;
  3082. /* 解决边框冲突 */
  3083. border-collapse: collapse;
  3084. }
  3085. .print_page_main_content .proj_table .inside_table tr td {
  3086. border: 1px solid;
  3087. text-align: center;
  3088. font-size: 14px;
  3089. padding: 6px 5px;
  3090. line-height: 16px;
  3091. }
  3092. .print-table-no {
  3093. width: 100%;
  3094. text-align: center;
  3095. border-collapse: collapse;
  3096. font-size: 14px;
  3097. }
  3098. .es-img {
  3099. height: 20px;
  3100. }
  3101. .advice-name {
  3102. text-align: left !important;
  3103. line-height: 16px !important;
  3104. }
  3105. .advice-children {
  3106. display: flex;
  3107. }
  3108. .margin-bottom-50 {}
  3109. .margin-bottom-300 {
  3110. margin-bottom: 450px;
  3111. }
  3112. .margin-bottom-600 {
  3113. margin-bottom: 600px;
  3114. }
  3115. .margin-bottom-900 {
  3116. margin-bottom: 900px;
  3117. }
  3118. .print-yema {
  3119. position: absolute;
  3120. left: 50%;
  3121. }
  3122. .print-yema2 {
  3123. position: absolute;
  3124. left: 50%;
  3125. }
  3126. .print-yema3 {
  3127. position: absolute;
  3128. left: 50%;
  3129. }
  3130. .print-yema4 {
  3131. position: absolute;
  3132. left: 50%;
  3133. }
  3134. .check_box_panel .did_checke::after {
  3135. font-size: 8px;
  3136. margin-left: 2px;
  3137. margin-top: 2px;
  3138. position: absolute;
  3139. }
  3140. </style>