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

DialysisPrintOrderFortyTwo.vue 99KB

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