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

DialysisPrintOrderTwentyOne.vue 91KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067
  1. <template>
  2. <div id="dialysis-print-box">
  3. <div id='new-dialysis-1' class="dialysis-print-order">
  4. <div class="order-yy-name"></div>
  5. <div class="order-title">{{ orgname }} 血液净化治疗记录单</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" style="text-align: center;">
  17. {{ patientInfo_gender_1 ? "男" : "女" }}
  18. </div>
  19. </td>
  20. <td width="20"></td>
  21. <td width="50">年 龄:</td>
  22. <td width="40">
  23. <div class="under-line">{{ getNewAge(patientInfo.id_card_no) }}</div>
  24. </td>
  25. <td width="20"></td>
  26. <td width="40">诊 断:</td>
  27. <td width="160">
  28. <div class="under-line">&nbsp;{{ patientInfo.diagnose }}</div>
  29. </td>
  30. <td width="20"></td>
  31. <td width="60">住院号:</td>
  32. <td width="80">
  33. <div class="under-line">
  34. &nbsp;{{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number : "" }}
  35. </div>
  36. </td>
  37. <td width="20"></td>
  38. <td width="50">日期:</td>
  39. <td width="130">
  40. <div class="under-line">
  41. {{ queryParams.xtdate ? queryParams.xtdate : "/" }}
  42. </div>
  43. </td>
  44. <td></td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. <table class="print-table" border="1">
  49. <tbody>
  50. <tr>
  51. <td width="30px" class="title-box">一般情况</td>
  52. <td>
  53. <table class="table-box">
  54. <tbody>
  55. <tr>
  56. <td width="70">入科方式:</td>
  57. <td width="250">
  58. <div>
  59. <label-box style="margin-left:15px;" v-for="(item, index) in way_arr" :key="index" :isChecked="receiverTreatmentAccess.way == item.id ? true : false" :showValue="item.name"></label-box>
  60. <!--&nbsp-->
  61. <!--<label-box :isChecked='receiverTreatmentAccess.way==2?true:false' showValue='扶行'></label-box>-->
  62. <!--&nbsp;-->
  63. <!--<label-box :isChecked='receiverTreatmentAccess.way==3?true:false' showValue='轮椅'></label-box>-->
  64. <!--&nbsp;-->
  65. <!--<label-box :isChecked='receiverTreatmentAccess.way==4?true:false' showValue='平车'></label-box>-->
  66. </div>
  67. </td>
  68. <td width='50'></td>
  69. <td width="50">意识:</td>
  70. <td width="350">
  71. <div style="display:flex;">
  72. <label-box style="margin-left:15px;" v-for="(item, index) in consciousness_arr" :key="index" :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false" :showValue="item.name"></label-box>
  73. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'-->
  74. <!--showValue='清醒'></label-box>-->
  75. <!--&nbsp;-->
  76. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==2?true:false'-->
  77. <!--showValue='嗜睡'></label-box>-->
  78. <!--&nbsp;-->
  79. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'-->
  80. <!--showValue='昏迷'></label-box>-->
  81. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'-->
  82. <!--showValue='模糊'></label-box>-->
  83. </div>
  84. </td>
  85. <td></td>
  86. </tr>
  87. </tbody>
  88. </table>
  89. <table class="table-box">
  90. <tbody>
  91. <tr>
  92. <td width='70'>生命体征:</td>
  93. <td width='10'>T:</td>
  94. <td width='50'>
  95. <div class="under-line">&nbsp;{{ predialysis.temperature ? predialysis.temperature : "" }}</div>
  96. </td>
  97. <td width="35">℃</td>
  98. <td width='10'>P:</td>
  99. <td width='50'>
  100. <div class="under-line">&nbsp;{{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "" }}</div>
  101. </td>
  102. <td width="35">次/分</td>
  103. <td width='30'></td>
  104. <td width='10'>R:</td>
  105. <td width='50'>
  106. <div class="under-line">&nbsp;{{ predialysis.breathing_rate ? predialysis.breathing_rate : "" }}</div>
  107. </td>
  108. <td width="35">次/分</td>
  109. <td width='30'></td>
  110. <td width='10'>BP:</td>
  111. <td width='50'>
  112. <div class="under-line">&nbsp;{{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "" }}</div>
  113. </td>
  114. <td width='10'>/</td>
  115. <td width='50'>
  116. <div class="under-line">&nbsp;{{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "" }}</div>
  117. </td>
  118. <td width="35">mmHg</td>
  119. <td></td>
  120. </tr>
  121. </tbody>
  122. </table>
  123. <table class="table-box">
  124. <tbody>
  125. <tr>
  126. <td width="40">体位:</td>
  127. <td width="420">
  128. <div style="display:flex;">
  129. <label-box style="margin-right:15px;" v-for="(item, index) in posture_arr" :key="index" :isChecked="receiverTreatmentAccess.posture == item.id ? true : false" :showValue="item.name"></label-box>
  130. </div>
  131. </td>
  132. <td width="80">导管穿刺:</td>
  133. <td width="250">
  134. <div>
  135. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-干洁') > -1 ? true : false" showValue="干洁"></label-box>
  136. &nbsp;
  137. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-红肿') > -1 ? true : false" showValue="红肿"></label-box>
  138. &nbsp;
  139. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-分泌物') > -1 ? true : false" showValue="分泌物"></label-box>
  140. &nbsp;
  141. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-渗血') > -1 ? true : false" showValue="渗血"></label-box>
  142. </div>
  143. </td>
  144. <td></td>
  145. </tr>
  146. </tbody>
  147. </table>
  148. <table class="table-box">
  149. <tbody>
  150. <tr>
  151. <td width="40">皮肤:</td>
  152. <td width="330">
  153. <div>
  154. <!-- <label-box showValue="完整" :isChecked="predialysis.skin == 1 ? true : false"></label-box>&nbsp;
  155. <label-box showValue="干燥" :isChecked="predialysis.skin == 2 ? true : false"></label-box>&nbsp;
  156. <label-box showValue="瘙痒" :isChecked="predialysis.skin == 3 ? true : false"></label-box>&nbsp;
  157. <label-box showValue="脱屑" :isChecked="predialysis.skin == 6 ? true : false"></label-box>&nbsp;
  158. <label-box showValue="菲薄" :isChecked="predialysis.skin == 4 ? true : false"></label-box>&nbsp;
  159. <label-box showValue="水肿" :isChecked="predialysis.skin == 5 ? true : false"></label-box>&nbsp; -->
  160. <label-box showValue="完整" :isChecked="predialysis.skin.indexOf('完整')>-1? true : false"></label-box>&nbsp;
  161. <label-box showValue="干燥" :isChecked="predialysis.skin.indexOf('干燥')>-1? true : false"></label-box>&nbsp;
  162. <label-box showValue="瘙痒" :isChecked="predialysis.skin.indexOf('瘙痒')>-1? true : false"></label-box>&nbsp;
  163. <label-box showValue="脱屑" :isChecked="predialysis.skin.indexOf('脱屑')>-1? true : false"></label-box>&nbsp;
  164. <label-box showValue="菲薄" :isChecked="predialysis.skin.indexOf('菲薄')>-1? true : false"></label-box>&nbsp;
  165. <label-box showValue="水肿" :isChecked="predialysis.skin.indexOf('水肿')>-1? true : false"></label-box>&nbsp;
  166. </div>
  167. </td>
  168. <td width="35">其它</td>
  169. <td width="150">
  170. <div class="under-line">
  171. &nbsp;
  172. <span>{{ predialysis.skin_other ? predialysis.skin_other : '' }}</span>
  173. </div>
  174. </td>
  175. <td></td>
  176. </tr>
  177. </tbody>
  178. </table>
  179. <table class="table-box">
  180. <tbody>
  181. <tr>
  182. <td width="80">活动性出血:</td>
  183. <td width="40">
  184. <div>
  185. <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
  186. </div>
  187. </td>
  188. <td width="400">
  189. <div>
  190. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
  191. &nbsp;
  192. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('消化道出血') > -1 ? true : false" showValue="消化道出血"></label-box>
  193. &nbsp;
  194. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage == '穿刺' ? true : false" showValue="穿刺"></label-box>
  195. &nbsp;
  196. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage == '渗血' ? true : false" showValue="渗血"></label-box>
  197. &nbsp;
  198. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('女性经期') > -1 ? true : false" showValue="女性经期"></label-box>
  199. </div>
  200. </td>
  201. <td width="35">其它</td>
  202. <td width="200">
  203. <div class="under-line">
  204. &nbsp;
  205. <span v-if="predialysis.is_hemorrhage == 1">{{ predialysis.hemorrhage ? getHemorrhage(predialysis.hemorrhage) : '' }}</span>
  206. </div>
  207. </td>
  208. <td></td>
  209. </tr>
  210. </tbody>
  211. </table>
  212. <table class="table-box">
  213. <tbody>
  214. <tr>
  215. <td width="70">血管通路:</td>
  216. <td width='380'>
  217. <div>
  218. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘') > -1 ? true : false" showValue="内瘘"></label-box>
  219. (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-自体') > -1 ? true : false" showValue="自体"></label-box>
  220. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘-移植') > -1 ? true : false" showValue="移植"></label-box>)
  221. &nbsp;
  222. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('动脉直穿') > -1 ? true : false" showValue="动脉直穿"></label-box>
  223. (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('动脉直穿-左') > -1 ? true : false" showValue="左"></label-box>
  224. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('动脉直穿-右') > -1 ? true : false" showValue="右"></label-box>)
  225. &nbsp;
  226. </div>
  227. </td>
  228. <td width='100'>内瘘穿刺位置:</td>
  229. <td width='10'>A:</td>
  230. <td width='150'>
  231. <div class="under-line">
  232. <!-- &nbsp;{{ predialysis.puncture_way ? getPunctureWay(predialysis.puncture_way) : '' }} -->
  233. &nbsp;<span v-if="predialysis.puncture_way.indexOf('A1')>-1">A1,</span>
  234. <span v-if="predialysis.puncture_way.indexOf('A2')>-1">A2,</span>
  235. <span v-if="predialysis.puncture_way.indexOf('A3')>-1">A3,</span>
  236. <span v-if="predialysis.puncture_way.indexOf('A4')>-1">A4,</span>
  237. <span v-if="predialysis.puncture_way.indexOf('A5')>-1">A5,</span>
  238. <span v-if="predialysis.puncture_way.indexOf('A6')>-1">A6</span>
  239. </div>
  240. </td>
  241. <td width="10">V:</td>
  242. <td width='150'>
  243. <div class="under-line">
  244. <!-- &nbsp;{{ predialysis.puncture_way ? getPunctureWay(predialysis.puncture_way) : '' }} -->
  245. &nbsp;
  246. <span v-if="predialysis.puncture_way.indexOf('V1')>-1">V1,</span>
  247. <span v-if="predialysis.puncture_way.indexOf('V2')>-1">V2,</span>
  248. <span v-if="predialysis.puncture_way.indexOf('V3')>-1">V3,</span>
  249. <span v-if="predialysis.puncture_way.indexOf('V4')>-1">V4,</span>
  250. <span v-if="predialysis.puncture_way.indexOf('V5')>-1">V5,</span>
  251. <span v-if="predialysis.puncture_way.indexOf('V6')>-1">V6</span>
  252. </div>
  253. </td>
  254. <td></td>
  255. </tr>
  256. </tbody>
  257. </table>
  258. <table class="table-box">
  259. <tbody>
  260. <tr>
  261. <td width="70"></td>
  262. <td width='510'>
  263. <div>
  264. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内V') > -1 ? true : false" showValue="颈内V"></label-box>
  265. (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内V-左') > -1 ? true : false" showValue="左"></label-box>
  266. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内V-右') > -1 ? true : false" showValue="右"></label-box>)
  267. &nbsp;
  268. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('锁骨下V') > -1 ? true : false" showValue="锁骨下V"></label-box>
  269. (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('锁骨下V-左') > -1 ? true : false" showValue="左"></label-box>
  270. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('锁骨下V-右') > -1 ? true : false" showValue="右"></label-box>)
  271. &nbsp;
  272. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股V') > -1 ? true : false" showValue="股V"></label-box>
  273. (<label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股V-左') > -1 ? true : false" showValue="左"></label-box>
  274. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股V-右') > -1 ? true : false" showValue="右"></label-box>)
  275. &nbsp;
  276. </div>
  277. </td>
  278. <td></td>
  279. </tr>
  280. </tbody>
  281. </table>
  282. <table class="table-box">
  283. <tbody>
  284. <tr>
  285. <td width="70">内瘘评估:</td>
  286. <td width="40">震颤:</td>
  287. <td width="180">
  288. <div>
  289. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
  290. &nbsp;
  291. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
  292. &nbsp;
  293. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-不存在') > -1 ? true : false" showValue="不存在"></label-box>
  294. </div>
  295. </td>
  296. <td width="30"></td>
  297. <td width="100">内瘘皮肤情况:</td>
  298. <td width="220">
  299. <div>
  300. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('正常') > -1 ? true : false" showValue="正常"></label-box>
  301. &nbsp;
  302. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('瘀斑') > -1 ? true : false" showValue="瘀斑"></label-box>
  303. &nbsp;
  304. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红') > -1 ? true : false" showValue="红"></label-box>
  305. &nbsp;
  306. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('肿') > -1 ? true : false" showValue="肿"></label-box>
  307. </div>
  308. </td>
  309. <td></td>
  310. </tr>
  311. </tbody>
  312. </table>
  313. </td>
  314. </tr>
  315. </tbody>
  316. </table>
  317. <table class="print-table" border="1">
  318. <tbody>
  319. <tr>
  320. <td width="30px" class="title-box">专科记录</td>
  321. <td>
  322. <table class="table-box">
  323. <tbody>
  324. <tr>
  325. <td width="45">干体重</td>
  326. <td width="50">
  327. <div class="under-line">
  328. &nbsp;{{ predialysis.dry_weight ? predialysis.dry_weight : "" }}
  329. </div>
  330. </td>
  331. <td width="20">Kg</td>
  332. <td width='30'></td>
  333. <td width="70">透前体重:</td>
  334. <td width="50">
  335. <div class="under-line">
  336. &nbsp;{{ predialysis.weight_before ? parseFloat(predialysis.weight_before - predialysis.additional_weight).toFixed(2) : "/" }}
  337. </div>
  338. </td>
  339. <td width="20">Kg</td>
  340. <td width='30'></td>
  341. <td width="70">透后体重:</td>
  342. <td width="50">
  343. <div class="under-line">
  344. &nbsp;{{ afterdialysis.weight_after ? (afterdialysis.weight_after - afterdialysis.additional_weight) : "/" }}
  345. </div>
  346. </td>
  347. <td width="20">Kg</td>
  348. <td width='30'></td>
  349. <td width="70">体重下降:</td>
  350. <td width="50">
  351. <div class="under-line">
  352. &nbsp;{{ afterdialysis.weight_loss ? afterdialysis.weight_loss : "" }}
  353. </div>
  354. </td>
  355. <td width="20">Kg</td>
  356. <td width='30'></td>
  357. <td width="30">Kt/V:</td>
  358. <td width="50">
  359. <div class="under-line">
  360. &nbsp;{{ monitors[0] && monitors[0].ktv ? monitors[0].ktv : '' }}
  361. </div>
  362. </td>
  363. <td></td>
  364. </tr>
  365. </tbody>
  366. </table>
  367. <table class="table-box">
  368. <tbody>
  369. <tr>
  370. <td width="70">超滤总量:</td>
  371. <td width="40">计划</td>
  372. <td width="50">
  373. <div class="under-line">
  374. &nbsp;{{ afterdialysis.actual_displacement ? afterdialysis.actual_displacement : "" }}
  375. </div>
  376. </td>
  377. <td width="20">ml</td>
  378. <td width='30'></td>
  379. <td width="40">实际</td>
  380. <td width="50">
  381. <div class="under-line">
  382. &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }}
  383. </div>
  384. </td>
  385. <td width="20">ml</td>
  386. <td width='30'></td>
  387. <td width="50">置换量</td>
  388. <td width='10'>(</td>
  389. <td width='80'>
  390. <label-box :isChecked="prescription.mode_id == 2 && prescription.displace_liqui_part == 1 ? true : false" showValue="前"></label-box>
  391. <label-box :isChecked="prescription.mode_id == 2 && prescription.displace_liqui_part == 2 ? true : false" showValue="后"></label-box>
  392. </td>
  393. <td width='10'>)</td>
  394. <td width="50">
  395. <div class="under-line">
  396. &nbsp;{{ prescription.displace_liqui_value ? prescription.displace_liqui_value : '' }}
  397. </div>
  398. </td>
  399. <td width="20">ml</td>
  400. <td width='30'></td>
  401. <td width="80">透析机编号:</td>
  402. <td width="100">
  403. <div class="under-line">
  404. &nbsp;{{ getNumber() }}
  405. </div>
  406. </td>
  407. <td></td>
  408. </tr>
  409. </tbody>
  410. </table>
  411. <table class="table-box">
  412. <tbody>
  413. <tr>
  414. <td width="70">治疗时间:</td>
  415. <td width="40">计划</td>
  416. <td width="40">
  417. <div class="under-line">
  418. &nbsp;{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}
  419. </div>
  420. </td>
  421. <td width="10">h</td>
  422. <td width="40">
  423. <div class="under-line">
  424. &nbsp;{{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}
  425. </div>
  426. </td>
  427. <td width="35">min</td>
  428. <td width='30'></td>
  429. <td width="40">实际</td>
  430. <td width="40">
  431. <div class="under-line">
  432. &nbsp;{{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : "0" }}
  433. </div>
  434. </td>
  435. <td width="10">h</td>
  436. <td width="40">
  437. <div class="under-line">
  438. &nbsp;{{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : "0" }}
  439. </div>
  440. </td>
  441. <td width="35">min</td>
  442. <td width='30'></td>
  443. <td width="80">透析器型号:</td>
  444. <td width="80">
  445. <div class="under-line">
  446. &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : '' }}
  447. </div>
  448. </td>
  449. <td width='30'></td>
  450. <td width="70">透析方式:</td>
  451. <td width="100">
  452. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="!prescription.mode_id">
  453. /
  454. </div>
  455. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 1">
  456. HD
  457. </div>
  458. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 2">
  459. HDF
  460. </div>
  461. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 3">
  462. HD+HP
  463. </div>
  464. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 4">
  465. HP
  466. </div>
  467. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 5">
  468. HF
  469. </div>
  470. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 6">
  471. SCUF
  472. </div>
  473. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 7">
  474. IUF
  475. </div>
  476. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 8">
  477. HFHD
  478. </div>
  479. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 9">
  480. HFHD+HP
  481. </div>
  482. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 10">
  483. PHF
  484. </div>
  485. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 11">
  486. HFR
  487. </div>
  488. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 12">
  489. HDF+HP
  490. </div>
  491. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 13">
  492. CRRT
  493. </div>
  494. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 14">
  495. 腹水回输
  496. </div>
  497. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 15">
  498. HD前置换
  499. </div>
  500. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 16">
  501. HD后置换
  502. </div>
  503. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 17">
  504. HDF前置换
  505. </div>
  506. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 18">
  507. HDF后置换
  508. </div>
  509. <div class="under-line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 19">
  510. IUF+HD
  511. </div>
  512. </td>
  513. <td></td>
  514. </tr>
  515. </tbody>
  516. </table>
  517. <table class="table-box">
  518. <tbody>
  519. <tr>
  520. <td width="40">肝素:</td>
  521. <td width="80">
  522. <label-box :isChecked="prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
  523. </td>
  524. <td width="80">
  525. <div class="under-line">
  526. &nbsp;
  527. <span v-if="prescription.anticoagulant == 1">{{ prescription.no_heparin_remarks }}</span>
  528. </div>
  529. </td>
  530. <td width="80">
  531. <label-box :isChecked="prescription.anticoagulant == 2 ? true : false" showValue="普通:"></label-box>
  532. </td>
  533. <td width="35">首剂</td>
  534. <td width="50">
  535. <div class="under-line">
  536. &nbsp;
  537. <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_shouji }}</span>
  538. </div>
  539. </td>
  540. <td width="10">mg</td>
  541. <td width="10"></td>
  542. <td width="50">追加</td>
  543. <td width="50">
  544. <div class="under-line">
  545. &nbsp;
  546. <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_weichi }}</span>
  547. </div>
  548. </td>
  549. <td width="40">mg/h</td>
  550. <td width="50">总量</td>
  551. <td width="50">
  552. <div class="under-line">
  553. &nbsp;
  554. <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_zongliang }}</span>
  555. </div>
  556. </td>
  557. <td width="40">mg</td>
  558. <td width='280'>
  559. <label-box :isChecked="prescription.anticoagulant == 6 ? true:false" showValue="低分子肝素钙"></label-box>
  560. <label-box :isChecked="prescription.anticoagulant == 8 ? true:false" showValue="依诺肝素"></label-box>
  561. </td>
  562. <td width="60">
  563. <div class="under-line">
  564. &nbsp;
  565. <span v-if="prescription.anticoagulant == 6 || prescription.anticoagulant == 8|| prescription.anticoagulant == 9">{{ prescription.anticoagulant_zongliang }}</span>
  566. </div>
  567. </td>
  568. <td width="20">iu</td>
  569. <td></td>
  570. </tr>
  571. </tbody>
  572. </table>
  573. <table class="table-box">
  574. <tr>
  575. <td width="80">
  576. <label-box :isChecked="prescription.anticoagulant == 9 ? true:false" showValue="达肝素"></label-box>
  577. </td>
  578. <td width="120">
  579. <label-box :isChecked="prescription.anticoagulant == 10 ? true:false" showValue="体外抗凝"></label-box>
  580. </td>
  581. <td width="60">肝素钠</td>
  582. <td width="60">
  583. <div class="under-line">
  584. &nbsp;
  585. <span v-if="prescription.anticoagulant == 10 ">{{ prescription.heparin_sodium }}</span>
  586. </div>
  587. </td>
  588. <td width="20">mg/h</td>
  589. <td width="100">鱼精蛋白</td>
  590. <td width="60">
  591. <div class="under-line">
  592. &nbsp;
  593. <span v-if="prescription.anticoagulant == 10 ">{{ prescription.nucleoprotamine }} </span>
  594. </div>
  595. </td>
  596. <td width="20">mg/h</td>
  597. <td width="160">下机前推注鱼精蛋白</td>
  598. <td width="60">
  599. <div class="under-line">
  600. &nbsp;
  601. <span v-if="prescription.anticoagulant == 10">{{ prescription.push_the_protamine }}</span>
  602. </div>
  603. </td>
  604. <td width="20">mg</td>
  605. <td></td>
  606. </tr>
  607. </table>
  608. <table class="table-box">
  609. <tbody>
  610. <tr>
  611. <td width="85">透析液配方:</td>
  612. <td width="400">
  613. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('普通') > -1 ? true : false" showValue="普通"></label-box>&nbsp;
  614. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙(1.25mmol/L)') > -1 ? true : false" showValue="低钙(1.25mmol/L)"></label-box>&nbsp;
  615. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钙(1.75mmol/L)') > -1 ? true : false" showValue="高钙(1.75mmol/L)"></label-box>&nbsp;
  616. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钾') > -1 ? true : false" showValue="高钾"></label-box>&nbsp;
  617. </td>
  618. <td width='10'>(</td>
  619. <td width='40'>
  620. <div class="under-line">
  621. &nbsp;<span v-if="prescription.dialysate_formulation_name.indexOf('高钾') > -1">{{ prescription.kalium ? prescription.kalium : "" }}</span>
  622. </div>
  623. </td>
  624. <td width='20'>mmol/L</td>
  625. <td width='10'>)</td>
  626. <td width='50'>透析液:</td>
  627. <td width='40'>温度</td>
  628. <td width='40'>
  629. <div class="under-line">
  630. &nbsp;{{ prescription.dialysate_temperature ? prescription.dialysate_temperature : '' }}
  631. </div>
  632. </td>
  633. <td width='20'>℃</td>
  634. <td></td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. <table class="table-box">
  639. <tbody>
  640. <tr>
  641. <td width="20">钠:</td>
  642. <td width='50'>
  643. <div class="under-line">
  644. &nbsp;{{ prescription.sodium ? prescription.sodium : "" }}
  645. </div>
  646. </td>
  647. <td width='20'>mmol/L</td>
  648. <td width='30'></td>
  649. <td width="70">碳酸氢根:</td>
  650. <td width='50'>
  651. <div class="under-line">
  652. &nbsp;{{ prescription.bicarbonate ? prescription.bicarbonate : "" }}
  653. </div>
  654. </td>
  655. <td width='20'>mmol/L</td>
  656. <td width='30'></td>
  657. <td width="40">流量:</td>
  658. <td width='50'>
  659. <div class="under-line">
  660. &nbsp;{{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }}
  661. </div>
  662. </td>
  663. <td width='20'>ml/min</td>
  664. <td width='30'></td>
  665. <td width="40">其他:</td>
  666. <td width='100'>
  667. <div class="under-line">
  668. &nbsp;
  669. </div>
  670. </td>
  671. <td></td>
  672. </tr>
  673. </tbody>
  674. </table>
  675. </td>
  676. </tr>
  677. </tbody>
  678. </table>
  679. <table class="print-table" border="1">
  680. <tbody>
  681. <tr>
  682. <td :rowspan="jilurow+4" width="30px" class="title-box">
  683. 透析治疗记录
  684. </td>
  685. <td style="line-height:20px;" width="50">时<br />间</td>
  686. <td style="line-height:20px;" width="40">体<br />温<br /><span style="font-size:10px; !important">℃</span></td>
  687. <td style="line-height:20px;" width="70">血<br />压<br /><span style="font-size:10px; !important">mmHg</span></td>
  688. <td style="line-height:20px;" width="40">脉<br />搏<br /><span style="font-size:10px; !important">次/分</span></td>
  689. <td style="line-height:20px;" width="40">呼<br />吸<br /><span style="font-size:10px; !important">次/分</span></td>
  690. <td style="line-height:20px;" width="50">动<br />脉<br />压<br /><span style="font-size:10px; !important">mmHg</span></td>
  691. <td style="line-height:20px;" width="50">静<br />脉<br />压<br /><span style="font-size:10px; !important">mmHg</span></td>
  692. <td style="line-height:20px;" width="50">跨<br />膜<br />压<br /><span style="font-size:10px; !important">mmHg</span></td>
  693. <td style="line-height:20px;" width="50">血<br />流<br />量<br /><span style="font-size:10px; !important">ml/min</span></td>
  694. <td style="line-height:20px;" width="40">电<br />导<br />度<br /><span style="font-size:10px; !important">ms/cm</span></td>
  695. <td style="line-height:20px;" width="40">超<br />滤<br />率<br /><span style="font-size:10px; !important">ml/h</span></td>
  696. <td style="line-height:20px;" width="40">超<br />滤<br />量<br /><span style="font-size:10px; !important">ml</span></td>
  697. <td style="line-height:20px;" width="35">Spo<sub>2</sub><br /><span style="font-size:10px; !important">%</span></td>
  698. <td style="line-height:20px;" width="35">血<br />糖<br /><span style="font-size:10px; !important">mmol/L</span></td>
  699. <td style="line-height:20px;" width="">病情变化及处理</td>
  700. <td style="line-height:20px;" width="60">签名</td>
  701. </tr>
  702. <tr v-for="monitor in monitors" :key="monitor.id">
  703. <td style="height:40px;">
  704. &nbsp;
  705. <!-- <template>
  706. <span v-if="monitor.monitoring_date">
  707. {{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}}
  708. </span>
  709. </template> -->
  710. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  711. </td>
  712. <td >&nbsp;{{ monitor.temperature ? monitor.temperature : '' }}</td>
  713. <td>
  714. &nbsp;
  715. <span v-if='monitor.operate_time'>
  716. {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
  717. {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
  718. </span>
  719. </td>
  720. <td>
  721. &nbsp;{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
  722. </td>
  723. <td>
  724. &nbsp;{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
  725. </td>
  726. <td>
  727. &nbsp; <span v-if='getTime(monitor.operate_time, "{h}:{i}")'>{{ monitor.arterial_pressure ? monitor.arterial_pressure : "/" }}</span>
  728. </td>
  729. <td>
  730. &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
  731. </td>
  732. <td>
  733. &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
  734. </td>
  735. <td>
  736. &nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
  737. </td>
  738. <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
  739. <td>&nbsp;{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "" }}</td>
  740. <td>
  741. &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
  742. </td>
  743. <td>
  744. &nbsp;{{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }}
  745. </td>
  746. <td>&nbsp;{{monitor.blood_sugar?monitor.blood_sugar:""}}</td>
  747. <td style="text-align:left;line-height:20px;">
  748. &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
  749. </td>
  750. <td>
  751. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
  752. {{ getAdminUser(monitor.monitoring_nurse) }}
  753. </span>
  754. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  755. <img style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
  756. </span>
  757. </td>
  758. </tr>
  759. <tr>
  760. <td colspan="16">
  761. <table class="table-box">
  762. <tbody>
  763. <tr>
  764. <td width="70">拔针压迫:</td>
  765. <td width="300">
  766. <div style="display:flex;justify-content:space-between;">
  767. <label-box showValue="自己压迫" :isChecked="afterdialysis.hemostasis_opera == 3 ? true : false"></label-box>
  768. &nbsp;
  769. <label-box showValue="他人协助" :isChecked="afterdialysis.hemostasis_opera == 2 ? true : false"></label-box>
  770. &nbsp;
  771. <label-box showValue="内瘘止血带" :isChecked="afterdialysis.hemostasis_opera == 4 ? true : false"></label-box>
  772. </div>
  773. </td>
  774. <td></td>
  775. </tr>
  776. </tbody>
  777. </table>
  778. <table class="table-box">
  779. <tbody>
  780. <tr>
  781. <td width="70">内瘘震颤:</td>
  782. <td width="180">
  783. <div>
  784. <label-box :isChecked="afterdialysis.internal_fistula ? afterdialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false : false" showValue="存在"></label-box>
  785. &nbsp;
  786. <label-box :isChecked="afterdialysis.internal_fistula ? afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false : false" showValue="减弱"></label-box>
  787. &nbsp;
  788. <label-box :isChecked="afterdialysis.internal_fistula ? afterdialysis.internal_fistula.indexOf('震颤-不存在') > -1 ? true : false : false" showValue="不存在"></label-box>
  789. </div>
  790. </td>
  791. <td width='10'></td>
  792. <td width="130">拔针后穿刺点渗血:</td>
  793. <td width="80">
  794. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 1 ? true : false" showValue="有"></label-box>&nbsp;
  795. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="无"></label-box>
  796. </td>
  797. <td width="10"></td>
  798. <td width="85">穿刺处血肿:</td>
  799. <td width="80">
  800. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 1 ? true : false" showValue="有"></label-box>&nbsp;
  801. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 2 ? true : false" showValue="无"></label-box>
  802. </td>
  803. <td></td>
  804. </tr>
  805. </tbody>
  806. </table>
  807. <table class="table-box">
  808. <tbody>
  809. <tr>
  810. <td width='100'>中心静脉封管:</td>
  811. <td width='30'>A端</td>
  812. <td width='50'>
  813. <div class="under-line">
  814. &nbsp;{{ afterdialysis.cvc_a ? afterdialysis.cvc_a : '' }}
  815. </div>
  816. </td>
  817. <td width='10'>ml</td>
  818. <td width='30'>V端</td>
  819. <td width='50'>
  820. <div class="under-line">
  821. &nbsp;{{ afterdialysis.cvc_v ? afterdialysis.cvc_v : '' }}
  822. </div>
  823. </td>
  824. <td width='10'>ml</td>
  825. <td></td>
  826. </tr>
  827. </tbody>
  828. </table>
  829. <table class="table-box">
  830. <tbody>
  831. <tr>
  832. <td width='95' style="text-align:right;">封管液:</td>
  833. <td width='370'>
  834. <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? afterdialysis.sealing_fluid_dispose.indexOf('纯肝素') > -1 : false" showValue="纯肝素"></label-box>&nbsp;
  835. <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? afterdialysis.sealing_fluid_dispose.indexOf('尿激酶加生理盐水') > -1 : false" showValue="尿激酶加生理盐水"></label-box>&nbsp;
  836. <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? afterdialysis.sealing_fluid_dispose.indexOf('生理盐水+肝素钠2ml') > -1 : false" showValue="生理盐水+肝素钠2ml"></label-box>&nbsp;
  837. </td>
  838. <td width='40'>其他</td>
  839. <td width='160'>
  840. <div class="under-line">
  841. &nbsp;<span v-if="afterdialysis.sealing_fluid_dispose ?afterdialysis.sealing_fluid_dispose.indexOf('特殊') > -1 : false">{{ afterdialysis.sealing_fluid_special ? afterdialysis.sealing_fluid_special : '' }}</span>
  842. </div>
  843. </td>
  844. <td></td>
  845. </tr>
  846. </tbody>
  847. </table>
  848. <table class="table-box">
  849. <tbody>
  850. <tr>
  851. <td width="90">透析并发症:</td>
  852. <td width="700">
  853. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('无') > -1 ? true : false" showValue="无"></label-box>&nbsp;
  854. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('头晕') > -1 ? true : false" showValue="头晕"></label-box>&nbsp;
  855. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('头痛') > -1 ? true : false" showValue="头痛"></label-box>&nbsp;
  856. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('呕吐') > -1 ? true : false" showValue="呕吐"></label-box>&nbsp;
  857. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('低血压') > -1 ? true : false" showValue="低血压"></label-box>&nbsp;
  858. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('发热') > -1 ? true : false" showValue="发热"></label-box>&nbsp;
  859. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('抽搐') > -1 ? true : false" showValue="抽搐"></label-box>&nbsp;
  860. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('高血压') > -1 ? true : false" showValue="高血压"></label-box>&nbsp;
  861. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('心律失常') > -1 ? true : false" showValue="心律失常"></label-box>&nbsp;
  862. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('低血糖') > -1 ? true : false" showValue="低血糖"></label-box>&nbsp;
  863. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('肌肉痉挛') > -1 ? true : false" showValue="肌肉痉挛"></label-box>&nbsp;
  864. </td>
  865. <td></td>
  866. </tr>
  867. </tbody>
  868. </table>
  869. <table class="table-box">
  870. <tbody>
  871. <tr>
  872. <td width="40">凝血:</td>
  873. <td width="50">透析器:</td>
  874. <td width="200">
  875. <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false : false" showValue="无"></label-box>&nbsp;
  876. <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false : false" showValue="+"></label-box>&nbsp;
  877. <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false : false" showValue="+ +"></label-box>&nbsp;
  878. <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false : false" showValue="+ + +"></label-box>&nbsp;
  879. </td>
  880. <td width="70">静脉管道:</td>
  881. <td width="200">
  882. <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
  883. <label-box :isChecked="afterdialysis.intravenous_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
  884. <label-box :isChecked="afterdialysis.intravenous_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
  885. <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
  886. </td>
  887. <td width="70">动脉管道:</td>
  888. <td width="200">
  889. <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
  890. <label-box :isChecked="afterdialysis.arterial_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
  891. <label-box :isChecked="afterdialysis.arterial_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
  892. <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
  893. </td>
  894. <td></td>
  895. </tr>
  896. </tbody>
  897. </table>
  898. <table class="table-box">
  899. <tbody>
  900. <tr>
  901. <td width="70">患者去向:</td>
  902. <td width="160">
  903. <label-box :isChecked="afterdialysis.patient_gose == 1 ? true : false" showValue="回家"></label-box>
  904. <label-box :isChecked="afterdialysis.patient_gose == 2 ? true : false" showValue="留观"></label-box>
  905. <label-box :isChecked="afterdialysis.patient_gose == 3 ? true : false" showValue="住院"></label-box>
  906. </td>
  907. <td width="100">
  908. <div class="under-line">
  909. &nbsp;
  910. <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.inpatient_department }}</span>
  911. </div>
  912. </td>
  913. <td></td>
  914. </tr>
  915. </tbody>
  916. </table>
  917. </td>
  918. </tr>
  919. </tbody>
  920. </table>
  921. <div style="display:flex;justify-content: space-around;margin-top: 20px;">
  922. <div style="display:flex;align-items:center;">
  923. <span>上机护士:</span>
  924. <span style="width:100px;display: inline-block;" class="under-line">&nbsp;
  925. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  926. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  927. </span>
  928. </div>
  929. <div style="display:flex;align-items:center;">
  930. <span>核对:</span>
  931. <span style="width:100px;display: inline-block;" class="under-line">&nbsp;
  932. <span v-if="dialysisOrder ? dialysisOrder.start_nurse != check.modifier : false">
  933. <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''" style="height:30px;display: inline-block;">
  934. {{ getAdminUser(check == null ? 0 : check.modifier) }}
  935. </span>
  936. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
  937. </span>
  938. <span v-else>
  939. <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''" style="height:30px;display: inline-block;">
  940. {{ getAdminUser(check == null ? 0 : check.creater) }}
  941. </span>
  942. <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt srcset v-else />
  943. </span>
  944. </span>
  945. </div>
  946. <div style="display:flex;align-items:center;">
  947. <span>下机护士:</span>
  948. <span style="width:100px;display: inline-block;" class="under-line">&nbsp;
  949. <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
  950. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}</span>
  951. <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
  952. </span>
  953. </div>
  954. <div style="display:flex;align-items:center;">
  955. <span>医生:</span>
  956. <span style="width:100px;display: inline-block;" class="under-line">&nbsp;
  957. <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
  958. <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  959. </span>
  960. </div>
  961. </div>
  962. </div>
  963. <div style="page-break-after: always;"></div>
  964. <div id='new-dialysis-2' class="dialysis-print-order">
  965. <div class="order-yy-name"></div>
  966. <div class="order-title">血液净化记录单续页</div>
  967. <table class="print-table" border="1">
  968. <tr>
  969. <td>时间</td>
  970. <td width='470'>临时医嘱</td>
  971. <td>医生签名</td>
  972. <td>执行护士</td>
  973. <td>执行时间</td>
  974. <td>核对护士</td>
  975. </tr>
  976. <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
  977. <td style="height:40px;line-height:40px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  978. <td class="parent" style="text-align:left;padding-left: 20px !important;">
  979. <span v-if="advice.parent_id > 0">&nbsp;&nbsp;&nbsp;</span>
  980. <span>{{ advice.advice_name }}</span>
  981. <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
  982. <span v-if="advice.prescribing_number">
  983. &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}
  984. </span>
  985. <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
  986. <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
  987. <span v-if="advice.parent_id == 0">
  988. {{ advice.execution_frequency }}
  989. </span>
  990. <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
  991. </td>
  992. <td>
  993. <span v-if="setAdminUserES(advice.advice_doctor) == ''">
  994. {{ getAdminUser(advice.advice_doctor) }}
  995. </span>
  996. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  997. <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
  998. </span>
  999. </td>
  1000. <td>
  1001. <span v-if="setAdminUserES(advice.execution_staff) == ''">
  1002. {{ getAdminUser(advice.execution_staff) }}
  1003. </span>
  1004. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  1005. <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
  1006. </span>
  1007. </td>
  1008. <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  1009. <td>
  1010. <span v-if="setAdminUserES(advice.checker) == ''">
  1011. {{ getAdminUser(advice.checker) }}
  1012. </span>
  1013. <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
  1014. <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt srcset />
  1015. </span>
  1016. </td>
  1017. </tr>
  1018. </table>
  1019. <table class="print-table" border="1">
  1020. <tbody>
  1021. <tr>
  1022. <td width="" style="border:none;display:flex;">
  1023. <div style="width:70px;line-height: 25px;padding-left:5px;">透析小结:</div>
  1024. <div style="width: 90%;line-height: 25px;height:150px;text-align: left;margin-left: 5px;">
  1025. {{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
  1026. </div>
  1027. </td>
  1028. </tr>
  1029. </tbody>
  1030. </table>
  1031. </div>
  1032. </div>
  1033. </template>
  1034. <script>
  1035. import { getDialysisRecord } from '@/api/dialysis'
  1036. import { getDataConfig } from '@/utils/data'
  1037. import { jsGetAge, uParseTime } from '@/utils/tools'
  1038. import LabelBox from '../printItem/LabelBox'
  1039. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  1040. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1041. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1042. import print from 'print-js'
  1043. export default {
  1044. name: 'dialysisPrintOrderOne',
  1045. components: {
  1046. // DialysisPrintOrderOne,
  1047. // DialysisPrintOrderTwo,
  1048. LabelBox,
  1049. BreadCrumb
  1050. },
  1051. data() {
  1052. return {
  1053. way_arr: [],
  1054. consciousness_arr: [],
  1055. appetite_arr: [],
  1056. posture_arr: [],
  1057. sick_condition_arr: [],
  1058. precaution_arr: [],
  1059. intake_arr: [],
  1060. nutrition_arr: [],
  1061. crumbs: [
  1062. { path: false, name: '透析管理' },
  1063. { path: false, name: '打印单' }
  1064. ],
  1065. operators: [],
  1066. adminUser: [],
  1067. check: {},
  1068. dialysisOrder: {
  1069. DeviceNumber: []
  1070. },
  1071. operatorMaps: {},
  1072. complications: [
  1073. '低血压',
  1074. '高血压',
  1075. '心律失常',
  1076. '头晕',
  1077. '头痛',
  1078. '呕吐',
  1079. '抽搐',
  1080. '出血',
  1081. '心衰',
  1082. '腹痛',
  1083. '无'
  1084. ],
  1085. jilurow: 0,
  1086. advice_jilurow: 0,
  1087. loading: false,
  1088. orgname: '',
  1089. patientInfo_gender_1: false,
  1090. patientInfo_gender_2: false,
  1091. patientInfo_source_2: false,
  1092. patientInfo_source_1: false,
  1093. modeOptions: {},
  1094. replacementWays: [],
  1095. perfusionApparatus: [],
  1096. anticoagulantsConfit: {},
  1097. bloodAccessParOpera: {},
  1098. dialysateFormulationOptions: {},
  1099. queryParams: {
  1100. xtdate: '',
  1101. xtno: '',
  1102. patient_id:0,
  1103. },
  1104. patientInfo: {
  1105. birth: '',
  1106. age: '',
  1107. DialysisSchedule: {
  1108. device_number: { number: '' },
  1109. device_zone: { name: '' }
  1110. },
  1111. gender: 0
  1112. },
  1113. predialysis: {
  1114. score: '',
  1115. internal_fistula: '',
  1116. internal_fistula_skin: '',
  1117. catheter: '',
  1118. blood_access_part_opera_name: ''
  1119. },
  1120. afterdialysis: {
  1121. complications_index: ''
  1122. },
  1123. prescription: {
  1124. dialysate_formulation_name: '',
  1125. device: {}
  1126. },
  1127. advices: [],
  1128. users: [],
  1129. monitors: [],
  1130. summary: {},
  1131. receiverTreatmentAccess: {},
  1132. org_template_info: {},
  1133. isShowZero: false,
  1134. doctor_advices: [],
  1135. advice_groups: [],
  1136. AlPanel: {
  1137. id: 0,
  1138. name: '',
  1139. type: 1,
  1140. shouji: 2,
  1141. weichi: 2,
  1142. zongliang: 2,
  1143. gaimingcheng: -1,
  1144. gaijiliang: -1,
  1145. shouji_unit: 'mg',
  1146. weichi_unit: 'mg/h',
  1147. zongliang_unit: 'mg',
  1148. gaimingcheng_unit: '',
  1149. gaijiliang_unit: ''
  1150. },
  1151. tableAdvice:[]
  1152. }
  1153. },
  1154. methods: {
  1155. getNewAge(UUserCard) {
  1156. if (UUserCard != null && UUserCard != '') {
  1157. // 获取年龄
  1158. var myDate = new Date()
  1159. var month = myDate.getMonth() + 1
  1160. var day = myDate.getDate()
  1161. var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
  1162. if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
  1163. age++
  1164. }
  1165. return age
  1166. }
  1167. },
  1168. getHemorrhage(hemorrhage){
  1169. if(hemorrhage.indexOf(',') == -1){
  1170. let str = hemorrhage
  1171. if(['无','牙龈出血','消化道出血','穿刺','渗血','女性经期'].indexOf(str) == -1){
  1172. return str
  1173. }
  1174. }else if(hemorrhage.indexOf(',') > -1){
  1175. let str = hemorrhage
  1176. if(['无','牙龈出血','消化道出血','穿刺','渗血','女性经期'].indexOf(str) == -1){
  1177. let newStr = ''
  1178. str.split(',').map(item => {
  1179. if(['无','牙龈出血','消化道出血','穿刺','渗血','女性经期'].indexOf(item) == -1){
  1180. newStr += item + ','
  1181. }
  1182. })
  1183. return newStr.substring(0, newStr.length - 1)
  1184. }
  1185. }
  1186. },
  1187. QueryPartById: function(val) {
  1188. let vascular_access_part_name = '/'
  1189. const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
  1190. for (let i = 0; i < vascular_access.length; i++) {
  1191. if (vascular_access[i].id == val) {
  1192. vascular_access_part_name = vascular_access[i].name
  1193. }
  1194. }
  1195. return vascular_access_part_name
  1196. },
  1197. getPunctureWay: function(val) {
  1198. let puncture_method_name = '/'
  1199. const puncture_method = getDataConfig("hemodialysis", "puncture_method")
  1200. for (let i = 0; i < puncture_method.length; i++) {
  1201. if (puncture_method[i].id == val) {
  1202. puncture_method_name = puncture_method[i].name
  1203. }
  1204. }
  1205. return puncture_method_name
  1206. },
  1207. getSealingFluidDispose: function(val) {
  1208. let sealing_fluid_dispose_name = '/'
  1209. const sealing_fluid_dispose = getDataConfig("hemodialysis", "sealing_fluid_dispose")
  1210. for (let i = 0; i < sealing_fluid_dispose.length; i++) {
  1211. if (sealing_fluid_dispose[i].id == val) {
  1212. sealing_fluid_dispose_name = sealing_fluid_dispose[i].name
  1213. }
  1214. }
  1215. return sealing_fluid_dispose_name
  1216. },
  1217. getAdminUser(id) {
  1218. if (id == 0) {
  1219. return ''
  1220. }
  1221. if (id == undefined) {
  1222. return ''
  1223. }
  1224. for (let i = 0; i < this.adminUser.length; i++) {
  1225. if (this.adminUser[i].id == id) {
  1226. return this.adminUser[i].name
  1227. }
  1228. }
  1229. },
  1230. getTime(value, temp) {
  1231. if (value == 0) {
  1232. return ''
  1233. }
  1234. if (value != undefined) {
  1235. return uParseTime(value, temp)
  1236. }
  1237. return ''
  1238. },
  1239. printThisPage() {
  1240. var ptime = Math.round(new Date().getTime() / 1000)
  1241. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1242. const style =
  1243. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 30px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
  1244. if (this.org_template_info.template_id == 1) {
  1245. printJS({
  1246. printable: 'dialysis-print-box',
  1247. type: 'html',
  1248. style: style,
  1249. scanStyles: false
  1250. })
  1251. } else if (
  1252. this.org_template_info.template_id == 2 ||
  1253. this.org_template_info.template_id == 0
  1254. ) {
  1255. printJS({
  1256. printable: 'dialysis-print-box-1',
  1257. type: 'html',
  1258. style: style,
  1259. scanStyles: false
  1260. })
  1261. }
  1262. },
  1263. getNumber() {
  1264. if (this.dialysisOrder != null) {
  1265. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1266. return (
  1267. this.patientInfo.DialysisSchedule.device_zone.name +
  1268. this.dialysisOrder.DeviceNumber.number
  1269. );
  1270. } else {
  1271. return (
  1272. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1273. this.dialysisOrder.DeviceNumber.number
  1274. );
  1275. }
  1276. } else {
  1277. if(this.patientInfo.DialysisSchedule.device_zone.name.indexOf("区") > -1){
  1278. return (
  1279. this.patientInfo.DialysisSchedule.device_zone.name +
  1280. this.patientInfo.DialysisSchedule.device_number.number
  1281. );
  1282. }else{
  1283. return (
  1284. this.patientInfo.DialysisSchedule.device_zone.name + "区" +
  1285. this.patientInfo.DialysisSchedule.device_number.number
  1286. );
  1287. }
  1288. }
  1289. },
  1290. getXuserName(id) {
  1291. if (id <= 0) {
  1292. return ''
  1293. }
  1294. var name = ''
  1295. if (this.users == null || typeof this.users.length === 'undefined') {
  1296. return name
  1297. }
  1298. var leng = this.users.length
  1299. if (leng == 0) {
  1300. return name
  1301. }
  1302. for (let index = 0; index < leng; index++) {
  1303. if (this.users[index].id == id) {
  1304. name = this.users[index].name
  1305. break
  1306. }
  1307. }
  1308. return name
  1309. },
  1310. setAdminUserES(id) {
  1311. if (id == 0) {
  1312. return ''
  1313. }
  1314. if (id in this.operatorMaps) {
  1315. return this.operatorMaps[id].url
  1316. } else {
  1317. return ''
  1318. }
  1319. },
  1320. modeName(mode_id) {
  1321. return typeof this.modeOptions[mode_id] !== 'undefined' &&
  1322. typeof this.modeOptions[mode_id].name !== 'undefined'
  1323. ? this.modeOptions[mode_id].name
  1324. : ''
  1325. },
  1326. getDialysisRecord() {
  1327. this.loading = true
  1328. this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
  1329. getDialysisRecord(this.queryParams).then(response => {
  1330. if (response.data.state == 1) {
  1331. this.adminUser = response.data.data.users
  1332. this.users = response.data.data.users
  1333. this.patientInfo = response.data.data.patientInfo
  1334. this.patientInfo.birth = uParseTime(
  1335. this.patientInfo.birthday,
  1336. '{y}-{m}-{d}'
  1337. )
  1338. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1339. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1340. this.patientInfo.first_dialysis_date = uParseTime(
  1341. response.data.data.patientInfo.first_dialysis_date,
  1342. '{y}-{m}-{d}'
  1343. )
  1344. } else {
  1345. this.patientInfo.first_dialysis_date = ''
  1346. }
  1347. this.check = response.data.data.check
  1348. this.predialysis = response.data.data.PredialysisEvaluation
  1349. console.log('透前评估', this.predialysis)
  1350. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1351. this.predialysis.blood_access_part_opera_id
  1352. )
  1353. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1354. console.log('透后评估数据', this.afterdialysis)
  1355. this.operators = response.data.data.operators
  1356. this.dialysisOrder =
  1357. response.data.data.dialysisOrder === null
  1358. ? null
  1359. : response.data.data.dialysisOrder
  1360. if (this.operators.length > 0) {
  1361. var operatorsLen = this.operators.length
  1362. for (var index = 0; index < operatorsLen; index++) {
  1363. this.$set(
  1364. this.operatorMaps,
  1365. this.operators[index].creator,
  1366. this.operators[index]
  1367. )
  1368. }
  1369. }
  1370. this.afterdialysis.txqnx = -1
  1371. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1372. this.afterdialysis.txqnx = 0
  1373. }
  1374. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1375. this.afterdialysis.txqnx = 1
  1376. }
  1377. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1378. this.afterdialysis.txqnx = 2
  1379. }
  1380. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1381. this.afterdialysis.txqnx = 3
  1382. }
  1383. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1384. ','
  1385. )
  1386. this.afterdialysis.complications_other = []
  1387. this.afterdialysis.complications_index = []
  1388. var acllen = this.afterdialysis.complications.length
  1389. for (let index = 0; index < acllen; index++) {
  1390. if (
  1391. this.complications.indexOf(
  1392. this.afterdialysis.complications[index]
  1393. ) >= 0
  1394. ) {
  1395. this.afterdialysis.complications_index.push(
  1396. this.afterdialysis.complications[index]
  1397. )
  1398. } else if (
  1399. this.complications.indexOf(
  1400. this.afterdialysis.complications[index]
  1401. ) < 0 &&
  1402. this.afterdialysis.complications_other.indexOf(
  1403. this.afterdialysis.complications[index]
  1404. ) < 0
  1405. ) {
  1406. this.afterdialysis.complications_other.push(
  1407. this.afterdialysis.complications[index]
  1408. )
  1409. }
  1410. }
  1411. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1412. ','
  1413. )
  1414. this.prescription = response.data.data.dialysisPrescription
  1415. console.log('透析处方', this.prescription)
  1416. this.receiverTreatmentAccess =
  1417. response.data.data.receiverTreatmentAccess
  1418. console.log('接诊',this.receiverTreatmentAccess)
  1419. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1420. var rwLen = this.replacementWays.length
  1421. this.prescription.replacement = ''
  1422. for (let index = 0; index < rwLen; index++) {
  1423. if (
  1424. this.replacementWays[index].id ==
  1425. this.prescription.replacement_way
  1426. ) {
  1427. this.prescription.replacement = this.replacementWays[index].name
  1428. break
  1429. }
  1430. }
  1431. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1432. this.prescription.dialysate_formulation
  1433. )
  1434. var paLen = this.perfusionApparatus.length
  1435. this.prescription.perfusion_apparatus_name = ''
  1436. for (let index = 0; index < paLen; index++) {
  1437. if (
  1438. this.perfusionApparatus[index].id ==
  1439. this.prescription.perfusion_apparatus
  1440. ) {
  1441. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1442. index
  1443. ].name
  1444. break
  1445. }
  1446. }
  1447. var acLen = this.anticoagulantsConfit.length
  1448. var thisALID = this.prescription.anticoagulant
  1449. this.prescription.anticoagulant_name = ''
  1450. if (
  1451. typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
  1452. this.anticoagulantsConfit[thisALID] != null
  1453. ) {
  1454. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1455. thisALID
  1456. ].name
  1457. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1458. }
  1459. var tableAdvice = response.data.data.doctorAdevieInfo
  1460. console.log('tableAdvice', tableAdvice)
  1461. // console.log('医生', tableAdvice.length)
  1462. if (tableAdvice.length === 0) {
  1463. var obj = { advice_name: '', start_time: '' }
  1464. var obj1 = { advice_name: '', start_time: '' }
  1465. var obj2 = { advice_name: '', start_time: '' }
  1466. var obj3 = { advice_name: '', start_time: '' }
  1467. var obj4 = { advice_name: '', start_time: '' }
  1468. var obj5 = { advice_name: '', start_time: '' }
  1469. tableAdvice.push(obj)
  1470. tableAdvice.push(obj1)
  1471. tableAdvice.push(obj2)
  1472. tableAdvice.push(obj3)
  1473. tableAdvice.push(obj4)
  1474. tableAdvice.push(obj5)
  1475. tableAdvice.push(obj1)
  1476. tableAdvice.push(obj2)
  1477. tableAdvice.push(obj3)
  1478. tableAdvice.push(obj4)
  1479. this.tableAdvice = tableAdvice
  1480. }
  1481. if (tableAdvice.length === 1) {
  1482. var obj = { advice_name: '', start_time: '' }
  1483. var obj1 = { advice_name: '', start_time: '' }
  1484. var obj2 = { advice_name: '', start_time: '' }
  1485. var obj3 = { advice_name: '', start_time: '' }
  1486. var obj4 = { advice_name: '', start_time: '' }
  1487. tableAdvice.push(obj)
  1488. tableAdvice.push(obj1)
  1489. tableAdvice.push(obj2)
  1490. tableAdvice.push(obj3)
  1491. tableAdvice.push(obj4)
  1492. tableAdvice.push(obj1)
  1493. tableAdvice.push(obj2)
  1494. tableAdvice.push(obj3)
  1495. tableAdvice.push(obj4)
  1496. this.tableAdvice = tableAdvice
  1497. }
  1498. if (tableAdvice.length === 2) {
  1499. var obj = { advice_name: '', start_time: '' }
  1500. var obj1 = { advice_name: '', start_time: '' }
  1501. var obj2 = { advice_name: '', start_time: '' }
  1502. var obj3 = { advice_name: '', start_time: '' }
  1503. tableAdvice.push(obj)
  1504. tableAdvice.push(obj1)
  1505. tableAdvice.push(obj2)
  1506. tableAdvice.push(obj3)
  1507. tableAdvice.push(obj1)
  1508. tableAdvice.push(obj2)
  1509. tableAdvice.push(obj3)
  1510. tableAdvice.push(obj3)
  1511. this.tableAdvice = tableAdvice
  1512. }
  1513. if (tableAdvice.length === 3) {
  1514. // eslint-disable-next-line no-redeclare
  1515. var obj = { advice_name: '', start_time: '' }
  1516. // eslint-disable-next-line no-redeclare
  1517. var obj1 = { advice_name: '', start_time: '' }
  1518. // eslint-disable-next-line no-redeclare
  1519. var obj2 = { advice_name: '', start_time: '' }
  1520. // eslint-disable-next-line no-redeclare
  1521. tableAdvice.push(obj)
  1522. tableAdvice.push(obj1)
  1523. tableAdvice.push(obj2)
  1524. tableAdvice.push(obj1)
  1525. tableAdvice.push(obj2)
  1526. tableAdvice.push(obj2)
  1527. tableAdvice.push(obj2)
  1528. this.tableAdvice = tableAdvice
  1529. }
  1530. if (tableAdvice.length === 4) {
  1531. // eslint-disable-next-line no-redeclare
  1532. var obj = { advice_name: '', start_time: '' }
  1533. // eslint-disable-next-line no-redeclare
  1534. var obj1 = { advice_name: '', start_time: '' }
  1535. // eslint-disable-next-line no-redeclare
  1536. tableAdvice.push(obj)
  1537. tableAdvice.push(obj1)
  1538. tableAdvice.push(obj1)
  1539. tableAdvice.push(obj1)
  1540. tableAdvice.push(obj1)
  1541. tableAdvice.push(obj1)
  1542. this.tableAdvice = tableAdvice
  1543. }
  1544. if (tableAdvice.length === 5) {
  1545. // eslint-disable-next-line no-redeclare
  1546. var obj = { advice_name: '', start_time: '' }
  1547. // eslint-disable-next-line no-redeclare
  1548. var obj1 = { advice_name: '', start_time: '' }
  1549. tableAdvice.push(obj)
  1550. tableAdvice.push(obj1)
  1551. tableAdvice.push(obj1)
  1552. tableAdvice.push(obj1)
  1553. tableAdvice.push(obj1)
  1554. this.tableAdvice = tableAdvice
  1555. }
  1556. if (tableAdvice.length >= 6 && tableAdvice.length <= 10) {
  1557. const length = 10 - tableAdvice.length
  1558. var obj = { advice_name: '', start_time: '' }
  1559. for (i = 0; i < length; i++) {
  1560. console.log(1)
  1561. tableAdvice.push(obj)
  1562. }
  1563. this.tableAdvice = tableAdvice
  1564. }else{
  1565. this.tableAdvice = tableAdvice
  1566. }
  1567. this.advices = response.data.data.advices
  1568. this.monitors = response.data.data.monitors
  1569. this.summary = response.data.data.summary
  1570. this.org_template_info = response.data.data.org_template_info
  1571. // 配置超滤量和置换量是否要显示0还是空
  1572. if (this.org_template_info.org_id == 9535) {
  1573. this.isShowZero = true
  1574. }
  1575. if (this.monitors.length < 12) {
  1576. var nl = 12 - this.monitors.length
  1577. for (let index = 0; index < nl; index++) {
  1578. this.monitors.push([])
  1579. }
  1580. }
  1581. this.jilurow = this.monitors.length + 1
  1582. this.advice_jilurow = this.advices.length + 1
  1583. var childMap = {}
  1584. for (const index in this.advices) {
  1585. if (this.advices[index].parent_id == 0) {
  1586. continue
  1587. }
  1588. if (!(this.advices[index].parent_id in childMap)) {
  1589. childMap[this.advices[index].parent_id] = []
  1590. }
  1591. childMap[this.advices[index].parent_id].push(this.advices[index])
  1592. }
  1593. var advices = []
  1594. for (const index in this.advices) {
  1595. if (this.advices[index].parent_id > 0) {
  1596. continue
  1597. }
  1598. var item = this.advices[index]
  1599. if (item.id in childMap) {
  1600. item.children = childMap[item.id]
  1601. } else {
  1602. item.children = []
  1603. }
  1604. advices.push(item)
  1605. }
  1606. var leftAdvice = []
  1607. var rightAdvice = []
  1608. var adlen = advices.length
  1609. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1610. for (var i = 0; i < halfLen; i++) {
  1611. leftAdvice.push(advices[i])
  1612. rightAdvice.push(advices[i + halfLen])
  1613. }
  1614. if (halfLen < 5) {
  1615. var nl = 5 - leftAdvice.length
  1616. for (let index = 0; index < nl; index++) {
  1617. leftAdvice.push([])
  1618. }
  1619. var nl = 5 - rightAdvice.length
  1620. for (let index = 0; index < nl; index++) {
  1621. rightAdvice.push([])
  1622. }
  1623. }
  1624. this.advices = []
  1625. for (var i = 0; i < halfLen; i++) {
  1626. var item = []
  1627. item.push(leftAdvice[i])
  1628. item.push(rightAdvice[i])
  1629. this.advices.push(item)
  1630. }
  1631. this.loading = false
  1632. this.doctor_advices =
  1633. response.data.data.advices == null
  1634. ? []
  1635. : response.data.data.advices
  1636. for (let index = 0; index < this.doctor_advices.length; index++) {
  1637. this.doctor_advices[index]['isShow'] = 2
  1638. }
  1639. if (this.doctor_advices.length > 0) {
  1640. var group = this.newAdviceGroupObject()
  1641. var initGroupBlock = function(group, advice) {
  1642. group.group_no = advice.groupno
  1643. }
  1644. for (
  1645. let index = this.doctor_advices.length - 1;
  1646. index >= 0;
  1647. index--
  1648. ) {
  1649. var new_advice_index = 0
  1650. if (
  1651. 'children' in this.doctor_advices[index] &&
  1652. this.doctor_advices[index].children.length > 0
  1653. ) {
  1654. new_advice_index =
  1655. index + this.doctor_advices[index].children.length + 1
  1656. var doctor_advice = {
  1657. delivery_way: this.doctor_advices[index].delivery_way,
  1658. execution_frequency: this.doctor_advices[index]
  1659. .execution_frequency,
  1660. groupno: this.doctor_advices[index].groupno,
  1661. id: this.doctor_advices[index].id,
  1662. parent_id: this.doctor_advices[index].parent_id,
  1663. children: this.doctor_advices[index].children,
  1664. remark: this.doctor_advices[index].remark
  1665. }
  1666. doctor_advice['isShow'] = 1
  1667. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  1668. // this.doctor_advices.push(doctor_advice)
  1669. }
  1670. }
  1671. for (let index = 0; index < this.doctor_advices.length; index++) {
  1672. const advice = this.doctor_advices[index]
  1673. if (advice.groupno == 0) {
  1674. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1675. if (advice.parent_id > 0) {
  1676. if (this.advice_groups.length > 0) {
  1677. var parent_group = this.advice_groups[
  1678. this.advice_groups.length - 1
  1679. ]
  1680. if (parent_group.advices.length > 0) {
  1681. if (parent_group.advices[0].id == advice.parent_id) {
  1682. parent_group.advices.push(advice)
  1683. }
  1684. }
  1685. }
  1686. continue
  1687. } else {
  1688. if (group.group_no > 0) {
  1689. this.advice_groups.push(group)
  1690. group = this.newAdviceGroupObject()
  1691. }
  1692. initGroupBlock(group, advice)
  1693. group.advices.push(advice)
  1694. this.advice_groups.push(group)
  1695. group = this.newAdviceGroupObject()
  1696. continue
  1697. }
  1698. }
  1699. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1700. this.advice_groups.push(group)
  1701. group = this.newAdviceGroupObject()
  1702. }
  1703. if (group.group_no == 0) {
  1704. initGroupBlock(group, advice)
  1705. }
  1706. if (group.group_no == advice.groupno) {
  1707. group.advices.push(advice)
  1708. }
  1709. }
  1710. if (group.group_no > 0) {
  1711. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1712. this.advice_groups.push(group)
  1713. }
  1714. }
  1715. console.log(this.advice_groups)
  1716. } else {
  1717. this.loading = false
  1718. this.$message.error('请求数据失败')
  1719. return false
  1720. }
  1721. })
  1722. },
  1723. bloodAccessParOperaName(id) {
  1724. if (id in this.bloodAccessParOpera) {
  1725. return this.bloodAccessParOpera[id].name
  1726. }
  1727. return ''
  1728. },
  1729. dialysateFormulationName(id) {
  1730. if (id in this.dialysateFormulationOptions) {
  1731. return this.dialysateFormulationOptions[id].name
  1732. }
  1733. return ''
  1734. },
  1735. getAge: function(val) {
  1736. if (val.birthday != 0) {
  1737. return jsGetAge(val.birth, '-')
  1738. }
  1739. return ''
  1740. },
  1741. newAdviceGroupObject: function() {
  1742. return Object.assign(
  1743. {},
  1744. {
  1745. group_no: 0,
  1746. // advice_doctor: 0,
  1747. // start_time: 0,
  1748. advices: []
  1749. // exec_staff: 0,
  1750. // exec_time: 0,
  1751. // checker: 0,
  1752. }
  1753. )
  1754. }
  1755. },
  1756. watch: {
  1757. 'patientInfo.gender': function() {
  1758. if (this.patientInfo.gender == 1) {
  1759. this.patientInfo_gender_1 = true
  1760. this.patientInfo_gender_2 = false
  1761. } else if (this.patientInfo.gender == 2) {
  1762. this.patientInfo_gender_2 = true
  1763. this.patientInfo_gender_1 = false
  1764. } else {
  1765. this.patientInfo_gender_2 = false
  1766. this.patientInfo_gender_1 = false
  1767. }
  1768. },
  1769. 'patientInfo.source': function() {
  1770. if (this.patientInfo.source == 1) {
  1771. this.patientInfo_source_1 = true
  1772. this.patientInfo_source_2 = false
  1773. } else if (this.patientInfo.source == 2) {
  1774. this.patientInfo_source_2 = true
  1775. this.patientInfo_source_1 = false
  1776. } else {
  1777. this.patientInfo_source_2 = false
  1778. this.patientInfo_source_1 = false
  1779. }
  1780. }
  1781. },
  1782. created() {
  1783. var xtuser = this.$store.getters.xt_user
  1784. this.orgname = xtuser.org.org_name
  1785. // this.orgname = "遂溪方济医院";
  1786. this.modeOptions = this.$store.getters.treatment_mode
  1787. this.replacementWays = this.$store.getters.replacement_ways
  1788. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  1789. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  1790. this.way_arr = getDataConfig('hemodialysis', 'way')
  1791. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  1792. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  1793. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  1794. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  1795. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  1796. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  1797. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  1798. console.log('穿刺',getDataConfig("hemodialysis", "sealing_fluid_dispose"))
  1799. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1800. var bloodAccessParOpera = getDataConfig(
  1801. 'hemodialysis',
  1802. 'vascular_access_desc'
  1803. )
  1804. for (var key in bloodAccessParOpera) {
  1805. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  1806. bloodAccessParOpera[key]
  1807. }
  1808. var dialysateFormulationOptions = getDataConfig(
  1809. 'hemodialysis',
  1810. 'dialysate_formulation'
  1811. )
  1812. for (var key in dialysateFormulationOptions) {
  1813. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1814. dialysateFormulationOptions[key]
  1815. }
  1816. const xtdate = this.$route.query && this.$route.query.xtdate
  1817. const xtno = this.$route.query && this.$route.query.xtno
  1818. if (
  1819. typeof xtdate === 'string' &&
  1820. xtdate.length > 0 &&
  1821. typeof xtno === 'string' &&
  1822. xtno.length > 0
  1823. ) {
  1824. this.queryParams.xtdate = xtdate
  1825. this.queryParams.xtno = xtno
  1826. this.getDialysisRecord()
  1827. } else {
  1828. this.$message.error('参数不齐')
  1829. return false
  1830. }
  1831. }
  1832. }
  1833. </script>
  1834. <style>
  1835. .dialysis-print-order {
  1836. width: 960px;
  1837. margin: 0 auto;
  1838. }
  1839. .dialysis-print-order .order-yy-name {
  1840. margin: auto;
  1841. text-align: center;
  1842. font-size: 20px;
  1843. letter-spacing: 5px;
  1844. }
  1845. .dialysis-print-order .order-title {
  1846. margin: auto;
  1847. font-weight: 600;
  1848. text-align: center;
  1849. font-size: 22px;
  1850. padding: 10px 20px 20px 20px;
  1851. }
  1852. .dialysis-print-order .table-box {
  1853. width: 100%;
  1854. line-height: 23px;
  1855. font-size: 14px;
  1856. }
  1857. .dialysis-print-order .print-table {
  1858. width: 100%;
  1859. text-align: center;
  1860. border-collapse: collapse;
  1861. line-height: 40px;
  1862. font-size: 14px;
  1863. }
  1864. .dialysis-print-order .print-table-no {
  1865. width: 100%;
  1866. text-align: center;
  1867. border-collapse: collapse;
  1868. font-size: 14px;
  1869. }
  1870. .dialysis-print-order .under-line {
  1871. border-bottom: 1px solid #999;
  1872. width: 95%;
  1873. text-align: center;
  1874. margin-left: 2px;
  1875. }
  1876. .dialysis-print-order .title-box {
  1877. text-align: center;
  1878. font-size: 16px;
  1879. }
  1880. .dialysis-print-order .radio-lebel-box {
  1881. font-weight: 400;
  1882. cursor: pointer;
  1883. }
  1884. .dialysis-print-order .radio-no {
  1885. opacity: 0;
  1886. outline: none;
  1887. position: absolute;
  1888. margin: 0;
  1889. width: 0;
  1890. height: 0;
  1891. z-index: -1;
  1892. }
  1893. .dialysis-print-order .radio-inner {
  1894. white-space: nowrap;
  1895. cursor: pointer;
  1896. outline: none;
  1897. display: inline-block;
  1898. line-height: 1;
  1899. position: relative;
  1900. vertical-align: middle;
  1901. }
  1902. .dialysis-print-order .radio-fang {
  1903. display: inline-block;
  1904. position: relative;
  1905. border: 1px solid #000;
  1906. box-sizing: border-box;
  1907. width: 14px;
  1908. height: 14px;
  1909. background-color: #fff;
  1910. z-index: 1;
  1911. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  1912. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  1913. }
  1914. .dialysis-print-order .is-checked-radio::after {
  1915. content: "√";
  1916. font-size: 15px;
  1917. }
  1918. .dialysis-print-order .print-table-no tr td {
  1919. padding: 8px 5px;
  1920. line-height: 25px;
  1921. }
  1922. .dialysis-print-order .print-table tr td {
  1923. padding: 1px 1px;
  1924. /*line-height: 25px;*/
  1925. }
  1926. .es-img {
  1927. height: 30px;
  1928. }
  1929. .advice-name {
  1930. text-align: left;
  1931. }
  1932. .advice-children {
  1933. display: flex;
  1934. }
  1935. .title-box-pro {
  1936. border: 0 #fff;
  1937. line-height: 25px;
  1938. height: 25px;
  1939. text-align: left;
  1940. padding-left: 10px !important;
  1941. }
  1942. .title-box-pro-tr {
  1943. border: 0 #fff;
  1944. }
  1945. .text-align-left {
  1946. text-align: left !important;
  1947. padding-left: 10px !important;
  1948. font-size: 14px !important;
  1949. line-height: 25px;
  1950. }
  1951. .print-table-tr-new td {
  1952. line-height: 20px !important;
  1953. }
  1954. .border-top-solid {
  1955. border: solid 1px #000;
  1956. }
  1957. .print-template-two tr {
  1958. line-height: 30px;
  1959. }
  1960. </style>