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

DialysisPrintOrderThirtyFive.vue 84KB

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