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

DialysisPrintOrderNine.vue 112KB

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