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

DialysisPrintOrderEight.vue 92KB

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