血透系统pad前端

DialysisPrintOrderTwo.vue 89KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848
  1. <template>
  2. <div id="dialysis-print-box-1">
  3. <div class="dialysis-print-order print-template-two print_page_main_content">
  4. <div class="order-yy-name">{{orgname}}</div>
  5. <div class="order-title">血液净化专科护理记录单</div>
  6. <div class="row">
  7. <div class="inline_block">
  8. 科室:
  9. <check-box text="门诊透析" :checked="patientInfo_source_1 "></check-box>
  10. &nbsp;
  11. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  12. </div>
  13. <div class="inline_block" style="margin-left: 5px;">
  14. 住院号:
  15. <div class="under_line" style="width: 70px;text-align: left" v-if="patientInfo.admission_number">
  16. {{patientInfo.admission_number}}
  17. </div>
  18. <div class="under_line" style="width: 70px;text-align: left" v-else>
  19. {{'/'}}
  20. </div>
  21. </div>
  22. <div class="inline_block" style="margin-left:5px;">
  23. 姓名:
  24. <div class="under_line" style="width: 50px;text-align: left">{{patientInfo.name}}</div>
  25. </div>
  26. <div class="inline_block" style="margin-left: 5px;">
  27. 性别:
  28. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  29. &nbsp;
  30. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  31. </div>
  32. <div class="inline_block" style="margin-left: 5px;">
  33. 年龄:
  34. <div class="under_line" style="width: 30px;text-align: left">{{getAge(patientInfo)}}</div>
  35. </div>
  36. <div class="inline_block" style="margin-left: 5px;">
  37. 诊断:
  38. <div class="under_line" style="width: 190px;text-align: left">{{patientInfo.diagnose}}</div>
  39. </div>
  40. </div>
  41. <div class="row">
  42. <table class="proj_table" >
  43. <tbody>
  44. <tr><td colspan="2">一、透析前护理评估:</td></tr>
  45. <tr>
  46. <td colspan="2">
  47. <div class="row" style="padding: 2px 0;line-height:19px;">
  48. <div class="inline_block">
  49. 入科方式:
  50. <check-box v-for="item,index in way_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.way==item.id?true:false"></check-box>
  51. <!--<check-box text="步行" :checked="receiverTreatmentAccess.way==1?true:false"></check-box>-->
  52. <!--<check-box text="扶行" :checked="receiverTreatmentAccess.way==2?true:false"></check-box>-->
  53. <!--<check-box text="轮椅" :checked="receiverTreatmentAccess.way==3?true:false"></check-box>-->
  54. <!--<check-box text="平车" :checked="receiverTreatmentAccess.way==4?true:false"></check-box>-->
  55. </div>
  56. <div class="inline_block" style="margin-left: 5px;">
  57. 透析频次:
  58. <div class="under_line" style="width: 50px;text-align: left">
  59. {{predialysis.dialysis_count?predialysis.dialysis_count:''}}
  60. </div>
  61. 次/周
  62. </div>
  63. <div class="inline_block" style="margin-left: 5px;">
  64. 透析机编号:
  65. <div class="under_line" style="width: 40px;text-align: left">{{dialysisOrder&&dialysisOrder.DeviceNumber&&dialysisOrder.DeviceNumber.number.length > 0?dialysisOrder.DeviceNumber.number:patientInfo.DialysisSchedule.device_number.number}}</div>
  66. 型号
  67. <div class="under_line" style="width: 70px;text-align: left">{{predialysis?predialysis.machine_type:''}}</div>
  68. </div>
  69. </div>
  70. <div class="row" style="padding: 2px 0;line-height:19px;">
  71. <div class="inline_block" >
  72. 意识:
  73. <check-box v-for="item,index in consciousness_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.consciousness==item.id?true:false"></check-box>
  74. <!--<check-box text="清醒" :checked="receiverTreatmentAccess.consciousness==1?true:false"></check-box>-->
  75. <!--<check-box text="嗜睡" :checked="receiverTreatmentAccess.consciousness==2?true:false"></check-box>-->
  76. <!--<check-box text="昏迷" :checked="receiverTreatmentAccess.consciousness==3?true:false"></check-box>-->
  77. <!--<check-box text="模糊" :checked="receiverTreatmentAccess.consciousness==4?true:false"></check-box>-->
  78. </div>
  79. <div class="inline_block" >
  80. 活动性出血:
  81. <check-box text="无" :checked="predialysis.is_hemorrhage==2?true:false"></check-box>
  82. <check-box text="异常" :checked="predialysis.is_hemorrhage==1?true:false"></check-box>
  83. (&nbsp;
  84. <check-box text="穿刺点渗血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('穿刺点渗血')>-1?true:false"></check-box>
  85. <check-box text="牙龈出血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('牙龈出血')>-1?true:false"></check-box>
  86. <check-box text="消化道出血" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('消化道出血')>-1?true:false"></check-box>
  87. <check-box text="女性经期" :checked="predialysis.is_hemorrhage==1&&predialysis.hemorrhage.indexOf('女性经期')>-1?true:false"></check-box>
  88. 其他:
  89. <div class="under_line" style="width: 100px;text-align: left">
  90. <span v-if="predialysis.is_hemorrhage==1">
  91. {{predialysis.hemorrhage_other}}
  92. </span>
  93. </div>
  94. &nbsp;)
  95. </div>
  96. </div>
  97. <div class="row" style="padding: 2px 0;line-height:19px;">
  98. <div class="inline_block">
  99. 血管通路(内瘘):
  100. <check-box text="正常" :checked="predialysis.blood_access_internal_fistula.indexOf('正常')>-1?true:false"></check-box>
  101. <check-box text="震颤" :checked="predialysis.blood_access_internal_fistula.indexOf('震颤')>-1?true:false"></check-box>
  102. <check-box text="堵塞" :checked="predialysis.blood_access_internal_fistula.indexOf('堵塞')>-1?true:false"></check-box>
  103. <check-box text="血肿" :checked="predialysis.blood_access_internal_fistula.indexOf('血肿')>-1?true:false"></check-box>
  104. <check-box text="淤血" :checked="predialysis.blood_access_internal_fistula.indexOf('淤血')>-1?true:false"></check-box>
  105. <check-box text="感染" :checked="predialysis.blood_access_internal_fistula.indexOf('感染')>-1?true:false"></check-box>
  106. </div>
  107. <div class="inline_block">
  108. 其它:
  109. <div class="under_line" style="width: 300px;text-align: left">{{predialysis.internal_fistula_other}}
  110. </div>
  111. </div>
  112. </div>
  113. <div class="row" style="padding: 2px 0;line-height:19px;">
  114. <div class="inline_block">
  115. 血管杂音:
  116. <!-- <check-box text="震颤" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula', '震颤-存在')"></check-box> -->
  117. <check-box text="存在" :checked="predialysis.blood_access_noise == 1?true:false"></check-box>
  118. <check-box text="不存在" :checked="predialysis.blood_access_noise == 2?true:false"></check-box>
  119. <check-box text="减弱" :checked="predialysis.blood_access_noise == 3?true:false"></check-box>
  120. &emsp;穿刺方式:
  121. <check-box text="绳梯" :checked="predialysis.puncture_way == 1?true:false"></check-box>
  122. <check-box text="扣眼" :checked="predialysis.puncture_way == 2?true:false"></check-box>
  123. <check-box text="区域" :checked="predialysis.puncture_way == 3?true:false"></check-box>
  124. </div>
  125. </div>
  126. <div class="row" style="padding: 2px 0;line-height:19px;">
  127. <div class="inline_block">
  128. 中心静脉置管:
  129. <check-box text="长期" :checked="predialysis.venous_catheterization == 1?true:false"></check-box>
  130. <check-box text="临时" :checked="predialysis.venous_catheterization == 2?true:false"></check-box>
  131. &emsp;位置:
  132. <check-box text="锁骨下" :checked="predialysis.venous_catheterization_part == 1?true:false"></check-box>
  133. <check-box text="颈静脉" :checked="predialysis.venous_catheterization_part == 2?true:false"></check-box>
  134. <check-box text="股静脉" :checked="predialysis.venous_catheterization_part == 3?true:false"></check-box>
  135. <div class="inline_block">
  136. 其它:
  137. <div class="under_line" style="width: 50px;text-align: left">
  138. <span>{{predialysis.venous_catheterization_part_other}}</span>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. <div class="row" style="padding: 2px 0;line-height:19px;">
  144. <div class="inline_block">
  145. 中心静脉导管:
  146. <check-box text="正常" :checked="predialysis.ductus_arantii.indexOf('正常')>-1?true:false"></check-box>
  147. <check-box text="不畅" :checked="predialysis.ductus_arantii.indexOf('不畅')>-1?true:false"></check-box>
  148. <check-box text="血流不足" :checked="predialysis.ductus_arantii.indexOf('血流不足')>-1?true:false"></check-box>
  149. (<check-box text="正接" :checked="predialysis.ductus_arantii.indexOf('正接')>-1?true:false"></check-box>/
  150. <check-box text="反接" :checked="predialysis.ductus_arantii.indexOf('反接')>-1?true:false"></check-box>)
  151. <check-box text="血栓" :checked="predialysis.ductus_arantii.indexOf('血栓')>-1?true:false"></check-box>
  152. <check-box text="缝线脱落" :checked="predialysis.ductus_arantii.indexOf('缝线脱落')>-1?true:false"></check-box>
  153. <check-box text="导管脱落" :checked="predialysis.ductus_arantii.indexOf('导管脱落')>-1?true:false"></check-box>
  154. <check-box text="感染" :checked="predialysis.ductus_arantii.indexOf('感染')>-1?true:false"></check-box>
  155. <check-box text="破损" :checked="predialysis.ductus_arantii.indexOf('破损')>-1?true:false"></check-box>
  156. </div>
  157. </div>
  158. <div class="row" style="padding: 2px 0;line-height:19px;">
  159. <div class="inline_block">
  160. 急诊:
  161. <check-box text="急性心衰" :checked="predialysis.emergency_treatment == 1?true:false"></check-box>
  162. <check-box text="高血钾" :checked="predialysis.emergency_treatment == 2?true:false"></check-box>
  163. <check-box text="重症酸中毒" :checked="predialysis.emergency_treatment == 3?true:false"></check-box>
  164. <div class="inline_block">
  165. 其它:
  166. <div class="under_line" style="width: 100px;text-align: left">
  167. <span v-if="predialysis.emergency_treatment == -1">{{predialysis.emergency_treatment_other}}</span>
  168. </div>
  169. </div>
  170. </div>
  171. <div class="inline_block">
  172. 病情:
  173. <check-box v-for="item, index in sick_condition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.sick_condition == item.id?true:false"></check-box>
  174. <!--<check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>-->
  175. <!--<check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>-->
  176. <!--<check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>-->
  177. </div>
  178. </div>
  179. </td>
  180. </tr>
  181. <tr>
  182. <td colspan="2">
  183. <div class="row" style="padding: 2px 0;line-height:19px;">
  184. <div class="inline_block">
  185. 跌倒风险评估:&nbsp;评分:
  186. <div class="under_line" style="width: 50px;text-align: left"> {{receiverTreatmentAccess.score}}</div>分
  187. &emsp;风险程度:
  188. <check-box text="无" :checked="receiverTreatmentAccess.danger_level == 1?true:false"></check-box>
  189. <check-box text="低风险" :checked="receiverTreatmentAccess.danger_level == 2?true:false"></check-box>
  190. <check-box text="中度风险" :checked="receiverTreatmentAccess.danger_level == 3?true:false"></check-box>
  191. <check-box text="高风险" :checked="receiverTreatmentAccess.danger_level == 4?true:false"></check-box>
  192. </div>
  193. </div>
  194. <div class="row" style="padding: 2px 0;line-height:19px;">
  195. <div class="inline_block">
  196. 营养状况评估:&nbsp;食欲:
  197. <check-box v-for="item, index in appetite_arr" :key="item.id" :text="item.name" :checked="receiverTreatmentAccess.appetite == item.id?true:false"></check-box>
  198. <!--<check-box text="正常" :checked="receiverTreatmentAccess.appetite == 1?true:false"></check-box>-->
  199. <!--<check-box text="下降" :checked="receiverTreatmentAccess.appetite == 2?true:false"></check-box>-->
  200. </div>
  201. <div class="inline_block">
  202. &emsp; 摄入量:
  203. <check-box v-for="item, index in intake_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.intake == item.id?true:false"></check-box>
  204. <!--<check-box text="正常" :checked="receiverTreatmentAccess.intake == 1?true:false"></check-box>-->
  205. <!--<check-box text="减少" :checked="receiverTreatmentAccess.intake == 2?true:false"></check-box>-->
  206. </div>
  207. <div class="inline_block">
  208. &emsp;营养状况:
  209. <check-box v-for="item, index in nutrition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.nutrition == item.id?true:false"></check-box>
  210. <!--<check-box text="正常" :checked="receiverTreatmentAccess.nutrition == 1?true:false"></check-box>-->
  211. <!--<check-box text="营养不良" :checked="receiverTreatmentAccess.nutrition == 2?true:false"></check-box>-->
  212. </div>
  213. </div>
  214. <div class="row" style="padding: 2px 0; line-height:19px;">
  215. <div class="inline_block">
  216. 心理评估:
  217. <check-box text="正常" :checked="receiverTreatmentAccess.psychological_assessment == 1?true:false"></check-box>
  218. <check-box text="异常" :checked="receiverTreatmentAccess.psychological_assessment == 2?true:false"></check-box>
  219. </div>
  220. <div class="inline_block">
  221. <div class="under_line" style="width: 100px;">
  222. <span v-if="receiverTreatmentAccess.psychological_assessment == 2">{{receiverTreatmentAccess.psychological_assessment_other}}</span>
  223. </div>
  224. </div>
  225. </div>
  226. </td>
  227. </tr>
  228. <tr>
  229. <td style="padding: 0;" colspan="2">
  230. <table class="inside_table">
  231. <tbody>
  232. <tr><td colspan="10" style="font-size:16px;padding: 6px 8px;line-height: 30px;text-align:left;">二、透析中护理记录:</td></tr>
  233. <tr>
  234. <td width="100">时间</td>
  235. <td width="30">T<br>C°</td>
  236. <td width="30">P<br/>次/分</td>
  237. <td width="30">R<br/>次/分</td>
  238. <td width="100">BP<br/>mmHg</td>
  239. <td width="60">静脉压/动脉压<br/>mmHg</td>
  240. <td width="80">血流量<br/>ml/min</td>
  241. <td width="90">超滤量累计L</td>
  242. <td width="80">钠浓度<br/>mmol/L</td>
  243. <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
  244. <td width="100">护士签名</td>
  245. </tr>
  246. <tr v-if="this.predialysis.systolic_blood_pressure != 0&&this.predialysis.diastolic_blood_pressure != 0||this.predialysis.remark.length > 0 || predialysis.pulse_frequency != 0 || predialysis.breathing_rate != 0 || predialysis.temperature != 0">
  247. <td>{{'透析前'}}</td>
  248. <td>{{predialysis.temperature?predialysis.temperature:''}}</td>
  249. <td>{{predialysis.pulse_frequency?predialysis.pulse_frequency:''}}</td>
  250. <td>{{predialysis.breathing_rate?predialysis.breathing_rate:''}}</td>
  251. <td>{{predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:''}}/{{predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:''}}</td>
  252. <td>{{''}}/{{''}}</td>
  253. <td>{{''}}</td>
  254. <td>{{''}}</td>
  255. <td>{{''}}</td>
  256. <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{predialysis.remark}}</span></div></td>
  257. <td>
  258. <span v-if="setAdminUserES(predialysis.creater) == ''">{{getAdminUser(predialysis.creater)}}</span>
  259. <img class="es-img" :src="setAdminUserES(predialysis.creater)" alt="" srcset="" v-else>
  260. </td>
  261. </tr>
  262. <tr v-for="(monitor,index) in monitors" :key="index">
  263. <td>{{getTime(monitor.operate_time,'{h}:{i}')}}</td>
  264. <td>{{monitor.temperature?monitor.temperature:''}}</td>
  265. <td>{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
  266. <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
  267. <td>{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}}/{{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
  268. <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
  269. <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
  270. <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'/'}}</td>
  271. <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
  272. <td style="line-height:16px;padding:0px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}} &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} </span> </div></td>
  273. <td>
  274. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
  275. <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)" alt="" srcset="" v-else>
  276. </td>
  277. </tr>
  278. </tbody>
  279. </table>
  280. </td>
  281. </tr>
  282. </tbody>
  283. </table>
  284. </div>
  285. <div v-if="this.monitors.length > 8 " :class="this.monitors.length > 8 ? 'margin-bottom-300': ''" style="text-align:center;margin-top:10px;">1</div>
  286. <template v-if="this.monitors.length > 8 ">
  287. <div class="order-yy-name">{{orgname}}</div>
  288. <div class="order-title">血液净化专科护理记录单</div>
  289. <div class="row">
  290. <div class="inline_block">
  291. 科室:
  292. <check-box text="门诊透析" :checked="patientInfo_source_1 "></check-box>
  293. &nbsp;
  294. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  295. </div>
  296. <div class="inline_block" style="margin-left: 5px;">
  297. 住院号:
  298. <div class="under_line" style="width: 70px;text-align: left" v-if="patientInfo.admission_number">
  299. {{patientInfo.admission_number}}
  300. </div>
  301. <div class="under_line" style="width: 70px;text-align: left" v-else>
  302. {{'/'}}
  303. </div>
  304. </div>
  305. <div class="inline_block" style="margin-left:5px;">
  306. 姓名:
  307. <div class="under_line" style="width: 50px;text-align: left">{{patientInfo.name}}</div>
  308. </div>
  309. <div class="inline_block" style="margin-left: 5px;">
  310. 性别:
  311. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  312. &nbsp;
  313. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  314. </div>
  315. <div class="inline_block" style="margin-left: 5px;">
  316. 年龄:
  317. <div class="under_line" style="width: 30px;text-align: left">{{getAge(patientInfo)}}</div>
  318. </div>
  319. <div class="inline_block" style="margin-left: 5px;">
  320. 诊断:
  321. <div class="under_line" style="width: 190px;text-align: left">{{patientInfo.diagnose}}</div>
  322. </div>
  323. </div>
  324. </template>
  325. <div class="row" :style="this.monitors.length <= 8 ? 'margin-top:-11px':''">
  326. <table class="proj_table">
  327. <tbody>
  328. <tr v-if="this.monitors2.length > 0">
  329. <td style="padding: 0;" colspan="2">
  330. <table class="inside_table">
  331. <tbody>
  332. <tr><td colspan="10" style="font-size:16px;padding: 6px 8px;line-height: 30px;text-align:left;">二、透析中护理记录:</td></tr>
  333. <tr>
  334. <td width="100">时间</td>
  335. <td width="30">T<br>C°</td>
  336. <td width="30">P<br/>次/分</td>
  337. <td width="30">R<br/>次/分</td>
  338. <td width="100">BP<br/>mmHg</td>
  339. <td width="60">静脉压/动脉压<br/>mmHg</td>
  340. <td width="80">血流量<br/>ml/min</td>
  341. <td width="90">超滤量累计L</td>
  342. <td width="80">钠浓度<br/>mmol/L</td>
  343. <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
  344. <td width="100">护士签名</td>
  345. </tr>
  346. <tr v-for="(monitor,index) in monitors2" :key="index">
  347. <td>{{getTime(monitor.operate_time,'{h}:{i}')}}</td>
  348. <td>{{monitor.temperature?monitor.temperature:''}}</td>
  349. <td>{{monitor.pulse_frequency?monitor.pulse_frequency:''}}</td>
  350. <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
  351. <td>{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}}/{{monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:''}}</td>
  352. <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
  353. <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
  354. <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'/'}}</td>
  355. <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
  356. <td style="line-height:16px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}} &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}}</span></div> </td>
  357. <td>
  358. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{getAdminUser(monitor.monitoring_nurse)}}</span>
  359. <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)" alt="" srcset="" v-else>
  360. </td>
  361. </tr>
  362. </tbody>
  363. </table>
  364. </td>
  365. </tr>
  366. <tr><td colspan="2" style="font-size:16px;padding: 6px 8px;line-height: 30px;text-align:left;">三、透析后护理记录</td></tr>
  367. <tr>
  368. <td>
  369. <div class="row" style="padding: 2px 0;line-height:19px;">
  370. <div class="inline_block">
  371. 透析过程:
  372. <check-box text="完成" :checked="afterdialysis.dialysis_process==1?true:false"></check-box>
  373. <check-box text="提前" :checked="afterdialysis.dialysis_process==2?true:false"></check-box>
  374. <div class="inline_block">
  375. <div class="under_line" style="width: 30px;text-align: left">
  376. <span v-if="afterdialysis.dialysis_process==2">{{afterdialysis.in_advance_minute}}</span>
  377. </div>
  378. min
  379. </div>
  380. </div>
  381. <div class="inline_block">
  382. &emsp;原因:
  383. <check-box text="心梗" :checked="afterdialysis.in_advance_reason.indexOf('心梗')>-1?true:false"></check-box>
  384. <check-box text="心律失常" :checked="afterdialysis.in_advance_reason.indexOf('心律失常')>-1?true:false"></check-box>
  385. <check-box text="低血压" :checked="afterdialysis.in_advance_reason.indexOf('低血压')>-1?true:false"></check-box>
  386. <check-box text="血流不止" :checked="afterdialysis.in_advance_reason.indexOf('血流不止')>-1?true:false"></check-box>
  387. </div>
  388. <div class="inline_block">
  389. &emsp; 其他原因:
  390. <div class="inline_block">
  391. <div class="under_line" style="width: 150px;text-align: left">
  392. <span v-if="afterdialysis.in_advance_reason.length > 0">{{afterdialysis.in_advance_reason_other}}</span>
  393. </div>
  394. </div>
  395. </div>
  396. </div>
  397. <div class="row" style="padding: 2px 0;line-height:19px;">
  398. <div class="inline_block">
  399. 内瘘管拔针后压迫止血时间:
  400. <div class="inline_block">
  401. <div class="under_line" style="width: 30px;text-align: left">
  402. <span v-if="afterdialysis.hemostasis_minute">{{afterdialysis.hemostasis_minute}}</span>
  403. </div>
  404. min
  405. </div>
  406. </div>
  407. <div class="inline_block">
  408. <check-box text="需要护士" :checked="afterdialysis.hemostasis_opera == 1?true:false"></check-box>
  409. <check-box text="他人协助" :checked="afterdialysis.hemostasis_opera == 2?true:false"></check-box>
  410. <check-box text="自己压迫" :checked="afterdialysis.hemostasis_opera == 3?true:false"></check-box>
  411. </div>
  412. <!--<div class="inline_block" style="margin-left: 30px;">-->
  413. <!--实际超滤量:-->
  414. <!--<div class="under_line" style="width: 50px;">-->
  415. <!--{{afterdialysis.actual_ultrafiltration?afterdialysis.actual_ultrafiltration:'/'}}-->
  416. <!--</div>-->
  417. <!--L-->
  418. <!--</div>-->
  419. </div>
  420. <div class="row" style="padding: 2px 0;line-height:19px;">
  421. <div class="inline_block">
  422. 内瘘震颤和血管杂音:
  423. <check-box text="存在" :checked="afterdialysis.tremor_noise==1?true:false"></check-box>
  424. <check-box text="减弱" :checked="afterdialysis.tremor_noise==2?true:false"></check-box>
  425. <check-box text="不存在" :checked="afterdialysis.tremor_noise==3?true:false"></check-box>
  426. </div>
  427. <div class="inline_block">
  428. &emsp;失衡综合症:
  429. <check-box text="无" :checked="afterdialysis.disequilibrium_syndrome==1?true:false"></check-box>
  430. <check-box text="有" :checked="afterdialysis.disequilibrium_syndrome==2?true:false"></check-box>
  431. </div>
  432. <div class="inline_block">
  433. <check-box text="头晕" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('头晕')>-1?true:false"></check-box>
  434. <check-box text="头痛" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('头痛')>-1?true:false"></check-box>
  435. <check-box text="呕吐" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('呕吐')>-1?true:false"></check-box>
  436. <check-box text="低血压" :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('低血压')>-1?true:false"></check-box>
  437. </div>
  438. </div>
  439. <div class="row" style="padding: 2px 0;line-height:19px;">
  440. <div class="inline_block">
  441. 透析器及血路管凝血情况: &emsp;动脉管道:
  442. <check-box text="0" :checked="afterdialysis.arterial_tube == 1?true:false"></check-box>
  443. <check-box text="+" :checked="afterdialysis.arterial_tube == 2?true:false"></check-box>
  444. <check-box text="++" :checked="afterdialysis.arterial_tube == 3?true:false"></check-box>
  445. <check-box text="+++" :checked="afterdialysis.arterial_tube == 4?true:false"></check-box>
  446. </div>
  447. <div class="inline_block">
  448. &emsp; 静脉管道:
  449. <check-box text="0" :checked="afterdialysis.intravenous_tube == 1?true:false"></check-box>
  450. <check-box text="+" :checked="afterdialysis.intravenous_tube == 2?true:false"></check-box>
  451. <check-box text="++" :checked="afterdialysis.intravenous_tube == 3?true:false"></check-box>
  452. <check-box text="+++" :checked="afterdialysis.intravenous_tube == 4?true:false"></check-box>
  453. </div>
  454. <div class="inline_block">
  455. &emsp;透析器:
  456. <check-box text="0" :checked="afterdialysis.dialyzer == 1?true:false"></check-box>
  457. <check-box text="+" :checked="afterdialysis.dialyzer == 2?true:false"></check-box>
  458. <check-box text="++" :checked="afterdialysis.dialyzer == 3?true:false"></check-box>
  459. <check-box text="+++" :checked="afterdialysis.dialyzer == 4?true:false"></check-box>
  460. </div>
  461. </div>
  462. </td>
  463. </tr>
  464. <tr>
  465. <td colspan="2">
  466. <div class="row" style="padding: 2px 0;line-height:19px;">
  467. <div class="inline_block" >
  468. 责任护士:
  469. <div class="under_line" style="width: 80px;text-align: left">
  470. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  471. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  472. </div>
  473. </div>
  474. <div class="inline_block" >
  475. 穿刺者:
  476. <div class="under_line" style="width: 80px;text-align: left">
  477. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
  478. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
  479. </div>
  480. </div>
  481. <div class="inline_block" >
  482. &emsp;核对人:
  483. <div class="under_line" style="width: 80px;text-align: left" v-if="dialysisOrder == null">
  484. <span v-if="setAdminUserES(check==null?0:check.creater) == ''">{{getAdminUser(check==null?0:check.creater)}}</span>
  485. <img class="es-img" :src="setAdminUserES(check==null?0:check.creater)" alt="" srcset="" v-else>
  486. </div>
  487. <div class="under_line" style="width: 80px;text-align: left" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.modifier">
  488. <span v-if="setAdminUserES(check==null?0:check.creater) == ''">{{getAdminUser(check==null?0:check.creater)}}</span>
  489. <img class="es-img" :src="setAdminUserES(check==null?0:check.creater)" alt="" srcset="" v-else>
  490. </div>
  491. <div class="under_line" style="width: 100px;text-align: left" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.creater">
  492. <span v-if="setAdminUserES(check==null?0:check.modifier) == ''">{{getAdminUser(check==null?0:check.modifier)}}</span>
  493. <img class="es-img" :src="setAdminUserES(check==null?0:check.modifier)" alt="" srcset="" v-else>
  494. </div>
  495. <div class="under_line" style="width: 80px;text-align: left" v-if="dialysisOrder != null && dialysisOrder.start_nurse != check.creater&&dialysisOrder.start_nurse != check.modifier">
  496. <span v-if="setAdminUserES(check==null?0:check.creater) == ''">{{getAdminUser(check==null?0:check.creater)}}</span>
  497. <img class="es-img" :src="setAdminUserES(check==null?0:check.creater)" alt="" srcset="" v-else>
  498. </div>
  499. </div>
  500. <div class="inline_block">
  501. &emsp;核对时间:
  502. <div class="under_line" style="width: 200px;text-align: left" v-if="check == null">
  503. {{getTime(check.check_time,'{y}年{m}月{d}日 {h}时{i}分')}}
  504. </div>
  505. <div class="under_line" style="width: 200px;text-align: left" v-if="check != null && check.first_check_time < check.check_time">
  506. {{getTime(check.check_time,'{y}年{m}月{d}日 {h}时{i}分')}}
  507. </div>
  508. <div class="under_line" style="width: 200px;text-align: left" v-if="check != null &&check.check_time < check.first_check_time">
  509. {{getTime(check.first_check_time,'{y}年{m}月{d}日 {h}时{i}分')}}
  510. </div>
  511. </div>
  512. <div class="inline_block" >
  513. &emsp;收针者:
  514. <div class="under_line" style="width: 80px;text-align: left">
  515. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
  516. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
  517. </div>
  518. </div>
  519. </div>
  520. </td>
  521. </tr>
  522. <tr>
  523. <td colspan="2">
  524. <div class="row" style="padding: 2px 0; line-height:19px;">
  525. 患者去向:
  526. <check-box text="门诊" :checked="afterdialysis.patient_gose==4?true:false"></check-box>
  527. <check-box text="离院" :checked="afterdialysis.patient_gose==1?true:false"></check-box>
  528. <check-box text="留观" :checked="afterdialysis.patient_gose==2?true:false"></check-box>
  529. <check-box text="住院" :checked="afterdialysis.patient_gose==3?true:false"></check-box>
  530. ( 科室
  531. <div class="under_line" style="width: 200px;">
  532. <span v-if="afterdialysis.patient_gose==3">{{afterdialysis.inpatient_department}}</span>
  533. </div>
  534. </div>
  535. <div class="row" style="padding: 2px 0; line-height:19px;">
  536. <div class="inline_block" >
  537. 血透室护士签名:
  538. <div class="under_line" style="width: 100px;text-align: left">
  539. <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
  540. <img class="es-img" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
  541. </div>
  542. </div>
  543. <div class="inline_block" >
  544. &emsp;病区护士签名:
  545. <div class="under_line" style="width: 100px;text-align: left">
  546. </div>
  547. </div>
  548. <div class="inline_block">
  549. &emsp;时间:
  550. <div class="under_line" style="width: 200px;text-align: left" v-if="dialysisOrder != null">
  551. {{getTime(dialysisOrder.end_time,'{y}年{m}月{d}日 {h}时{i}分')}}
  552. </div>
  553. </div>
  554. </div>
  555. </td>
  556. </tr>
  557. <tr>
  558. <td colspan="2">
  559. <div class="row" style="font-size: 10px;">
  560. 注:透析器及血路管凝血:0级无凝血;
  561. “+”(指Ⅰ级:束状纤维凝血或动/静脉壶/滤网见轻微凝血);“++”(指II级:近半数纤维凝血或动/静脉壶/滤网出现凝血块);“+++”(指III级:压力异常升高,须中途更换透析器/血路管A/V)。
  562. </div>
  563. </td>
  564. </tr>
  565. </tbody>
  566. </table>
  567. <div v-if="this.monitors.length > 8" :class="this.monitors.length > 8 ? 'margin-bottom-900':'margin-bottom-300'" style="text-align:center;margin-top:10px;">2</div>
  568. <div v-else class="margin-bottom-300" style="text-align:center;margin-top:10px;">1</div>
  569. <div class="order-yy-name">{{orgname}}</div>
  570. <div class="order_title"> 血液净化科医嘱及执行单 </div>
  571. <div class="row">
  572. <div class="inline_block">
  573. 科室:
  574. <check-box text="门诊透析" :checked="patientInfo_source_1 "></check-box>
  575. &nbsp;
  576. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  577. </div>
  578. <div class="inline_block" style="margin-left: 5px;">
  579. 住院号:
  580. <div class="under_line" style="width: 70px;text-align: left" v-if="patientInfo.admission_number">
  581. {{patientInfo.admission_number}}
  582. </div>
  583. <div class="under_line" style="width: 70px;text-align: left" v-else>
  584. {{'/'}}
  585. </div>
  586. </div>
  587. <div class="inline_block" style="margin-left:5px;">
  588. 姓名:
  589. <div class="under_line" style="width: 50px;text-align: left">{{patientInfo.name}}</div>
  590. </div>
  591. <div class="inline_block" style="margin-left: 5px;">
  592. 性别:
  593. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  594. &nbsp;
  595. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  596. </div>
  597. <div class="inline_block" style="margin-left: 5px;">
  598. 年龄:
  599. <div class="under_line" style="width: 30px;text-align: left">{{getAge(patientInfo)}}</div>
  600. </div>
  601. <div class="inline_block" style="margin-left: 5px;">
  602. 诊断:
  603. <div class="under_line" style="width: 190px;text-align: left">{{patientInfo.diagnose}}</div>
  604. </div>
  605. </div>
  606. <table class="proj_table">
  607. <tbody>
  608. <tr>
  609. <td>
  610. <!--<div class="row" style="padding: 2px 0;line-height:24px;">-->
  611. <!--<div class="inline_block">-->
  612. <!--诊断:-->
  613. <!--<div class="under_line" style="width: 150px;text-align: left">{{patientInfo.diagnose}}</div>-->
  614. <!--</div>-->
  615. <!--</div>-->
  616. <div class="row" style="padding: 2px 0;line-height:24px;">
  617. <div class="inline_block" style="margin-left: -10px" >
  618. 治疗方式:
  619. <check-box text="HD" :checked="prescription.mode_id==1?true:false"></check-box>
  620. <check-box text="HDF" :checked="prescription.mode_id==2?true:false"></check-box>
  621. <check-box text="HF" :checked="prescription.mode_id==5?true:false"></check-box>
  622. <check-box text="HP" :checked="prescription.mode_id==4?true:false"></check-box>
  623. <check-box text="HD+HP" :checked="prescription.mode_id==3?true:false"></check-box>
  624. </div>
  625. <!--<div class="inline_block" v-if="patientInfo.diagnose.length <= 10">-->
  626. <!--&emsp;治疗方式:-->
  627. <!--<check-box text="HD" :checked="prescription.mode_id==1?true:false"></check-box>-->
  628. <!--<check-box text="HDF" :checked="prescription.mode_id==2?true:false"></check-box>-->
  629. <!--<check-box text="HF" :checked="prescription.mode_id==5?true:false"></check-box>-->
  630. <!--<check-box text="HP" :checked="prescription.mode_id==4?true:false"></check-box>-->
  631. <!--<check-box text="HD+HP" :checked="prescription.mode_id==3?true:false"></check-box>-->
  632. <!--</div>-->
  633. <div class="inline_block" style="margin-left:20px;">
  634. 其它:
  635. <div class="under_line" style="width: 100px;text-align: left">
  636. <span v-if="prescription.mode_id>5">{{prescription.mode}}</span>
  637. </div>
  638. </div>
  639. <div class="inline_block" style="margin-left:20px;">
  640. 治疗时间:
  641. <div class="under_line" style="width: 30px;text-align: left">
  642. {{prescription.dialysis_duration_hour?prescription.dialysis_duration_hour:'0'}}
  643. </div>
  644. h
  645. <div class="under_line" style="width: 30px;text-align: left">
  646. {{prescription.dialysis_duration_minute?prescription.dialysis_duration_minute:'0'}}
  647. </div>
  648. min
  649. </div>
  650. <div class="inline_block">
  651. 病情:
  652. <check-box v-for="item, index in sick_condition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.sick_condition == item.id?true:false"></check-box>
  653. <!--<check-box text="一般" :checked="receiverTreatmentAccess.sick_condition == 1?true:false"></check-box>-->
  654. <!--<check-box text="重" :checked="receiverTreatmentAccess.sick_condition == 2?true:false"></check-box>-->
  655. <!--<check-box text="危" :checked="receiverTreatmentAccess.sick_condition == 3?true:false"></check-box>-->
  656. </div>
  657. </div>
  658. <div class="row" style="padding: 2px 0;line-height:24px;">
  659. <div class="inline_block">
  660. <div class="inline_block">
  661. 体液过多症状:
  662. <check-box text="无" :checked="prescription.body_fluid==1?true:false"></check-box>
  663. <check-box text="下肢水肿+" :checked="prescription.body_fluid==2?true:false"></check-box>
  664. <check-box text="下肢水肿++" :checked="prescription.body_fluid==3?true:false"></check-box>
  665. <check-box text="下肢水肿+++" :checked="prescription.body_fluid==4?true:false"></check-box>
  666. </div>
  667. <div class="inline_block">
  668. 其它:
  669. <div class="under_line" style="width: 100px;">
  670. <span v-if="prescription&&prescription.body_fluid_other.length > 0">&nbsp;{{prescription.body_fluid_other}}</span>
  671. </div>
  672. </div>
  673. <div class="inline_block">
  674. &emsp;透析器型号:
  675. <div class="under_line" style="width: 200px;text-align: left">
  676. {{prescription.dialyzer_perfusion_apparatus}}
  677. </div>
  678. </div>
  679. </div>
  680. </div>
  681. <div class="row" style="padding: 2px 0; line-height:24px;">
  682. <div class="inline_block" style="margin-left:20px;">
  683. 透析前使用特殊药物:
  684. <check-box text="无" :checked="prescription.special_medicine==1?true:false"></check-box>
  685. <check-box text="降压药" :checked="prescription.special_medicine==2?true:false"></check-box>
  686. <check-box text="抗凝" :checked="prescription.special_medicine==3?true:false"></check-box>
  687. </div>
  688. <div class="inline_block">
  689. 其它:
  690. <div class="under_line" style="width: 100px;text-align: left">
  691. <span v-if="prescription.special_medicine == -1">{{prescription.special_medicine_other}}</span>
  692. </div>
  693. </div>
  694. </div>
  695. <div class="row" style="padding: 2px 0;line-height:24px;">
  696. <div class="inline_block">
  697. 透析液(mmol/L): &emsp;Ca<sup>2+</sup>:
  698. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.calcium">
  699. <span>{{getFloat(prescription.calcium)?getFloat(prescription.calcium):'/'}}</span>
  700. </div>
  701. <div class="under_line" style="width: 70px;" v-else>
  702. <span>{{'/'}}</span>
  703. </div>
  704. mmol/L &emsp;Na<sup>+</sup>:
  705. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.sodium">
  706. <span>{{getFloat(prescription.sodium)?getFloat(prescription.sodium):'/'}}</span>
  707. </div>
  708. <div class="under_line" style="width: 70px;" v-else>
  709. <span>{{'/'}}</span>
  710. </div>
  711. mmol/L &emsp;K<sup>+</sup>:
  712. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.kalium">
  713. <span>{{getFloat(prescription.kalium)?getFloat(prescription.kalium):'/'}}</span>
  714. </div>
  715. <div class="under_line" style="width: 70px;" v-else>
  716. <span>{{'/'}}</span>
  717. </div>
  718. mmol/L
  719. </div>
  720. <div class="inline_block" v-if="prescription.displace_liqui_part == 0">
  721. &emsp;置换液后/前稀释 总量:
  722. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.displace_liqui_value">
  723. {{prescription.displace_liqui_value}}
  724. </div>
  725. <div class="under_line" style="width: 70px;" v-else>
  726. {{'/'}}
  727. </div>
  728. L
  729. </div>
  730. <div class="inline_block" v-if="prescription.displace_liqui_part == 1">
  731. &emsp;置换液前稀释 总量:
  732. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.displace_liqui_value">
  733. {{prescription.displace_liqui_value}}
  734. </div>
  735. <div class="under_line" style="width: 70px;" v-else>
  736. {{'/'}}
  737. </div>
  738. L
  739. </div>
  740. <div class="inline_block" v-if="prescription.displace_liqui_part == 2">
  741. &emsp;置换液后稀释 总量:
  742. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.displace_liqui_value">
  743. {{prescription.displace_liqui_value}}
  744. </div>
  745. <div class="under_line" style="width: 70px;" v-else>
  746. {{'/'}}
  747. </div>
  748. L
  749. </div>
  750. </div>
  751. <div class="row" style="padding: 2px 0;line-height:24px;">
  752. <div class="inline_block">
  753. 血管通路:
  754. <check-box text="内瘘" :checked="prescription.blood_access == 1?true:false"></check-box>
  755. <check-box text="直穿" :checked="prescription.blood_access == 2?true:false"></check-box>
  756. <check-box text="导管" :checked="prescription.blood_access == 3?true:false"></check-box>
  757. </div>
  758. <div class="inline_block">
  759. &emsp;血流量:
  760. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.blood_flow_volume">
  761. {{prescription.blood_flow_volume}}
  762. </div>
  763. <div class="under_line" style="width: 70px;text-align: left" v-else>
  764. {{'/'}}
  765. </div>
  766. ml/min
  767. </div>
  768. <div class="inline_block">
  769. &emsp;透析液流量:
  770. <div class="under_line" style="width: 70px;text-align: left" v-if="prescription.dialysate_flow">
  771. {{prescription.dialysate_flow}}
  772. </div>
  773. <div class="under_line" style="width: 70px;" v-else>
  774. {{'/'}}
  775. </div>
  776. ml/min
  777. </div>
  778. </div>
  779. <div class="row" style="padding: 2px 0;line-height:24px;">
  780. <div class="inline_block">
  781. 透前体重:
  782. <div class="under_line" style="width: 70px;text-align: left" v-if="predialysis.weight_before">
  783. {{predialysis.weight_before}}
  784. </div>
  785. <div class="under_line" style="width: 70px;" v-else>
  786. {{'/'}}
  787. </div>
  788. kg
  789. </div>
  790. <div class="inline_block">
  791. &emsp;设定超滤量:
  792. <div class="under_line" style="width: 70px;text-align: left" v-if="getFloat(prescription.target_ultrafiltration)">
  793. {{getFloat(prescription.target_ultrafiltration)}}
  794. </div>
  795. <div class="under_line" style="width: 70px;" v-else>
  796. {{'/'}}
  797. </div>
  798. L
  799. </div>
  800. <div class="inline_block">
  801. &emsp;实际超滤量:
  802. <div class="under_line" style="width: 70px;text-align: left" v-if="getFloat(prescription.actual_ultrafiltration)">
  803. {{getFloat(prescription.ultrafiltration)}}
  804. </div>
  805. <div class="under_line" style="width: 70px;" v-else>
  806. {{'/'}}
  807. </div>
  808. L
  809. </div>
  810. <div class="inline_block">
  811. 透后体重:
  812. <div class="under_line" style="width: 70px;text-align: left" v-if="afterdialysis.weight_after">
  813. {{afterdialysis.weight_after}}
  814. </div>
  815. <div class="under_line" style="width: 70px;" v-else>
  816. {{'/'}}
  817. </div>
  818. kg
  819. </div>
  820. </div>
  821. </td>
  822. </tr>
  823. </tbody>
  824. </table>
  825. <table class="print-table-no" border="1" count="0" >
  826. <tbody>
  827. <tr style="line-height:35px;padding:8px 5px;">
  828. <td colspan="7" style="font-size: 18px">医嘱</td>
  829. </tr>
  830. <tr style="line-height:35px;padding:8px 5px;">
  831. <td colspan="4" style="font-size: 16px">开医嘱</td>
  832. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  833. </tr>
  834. <tr style="line-height:35px;padding:8px 5px;">
  835. <td style="font-size: 16px" width="10%">时间</td>
  836. <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
  837. <td style="font-size: 16px" width="10%">医生签名</td>
  838. <td style="font-size: 16px" width="10%">核对人签名</td>
  839. <td style="font-size: 16px" width="10%">执行人签名</td>
  840. <td style="font-size: 16px" width="10%">时间</td>
  841. </tr>
  842. <template v-for="(group, group_index) in advice_groups" >
  843. <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
  844. <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
  845. <span v-if="advice.start_time">
  846. {{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}
  847. </span>
  848. <span v-else>&nbsp;<br/>&nbsp;</span>
  849. </td>
  850. <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
  851. <span >{{advice.advice_name }}</span>
  852. <span>{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
  853. <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  854. <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
  855. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.delivery_way}}</span>
  856. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.execution_frequency}}</span>
  857. <span v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
  858. </td>
  859. <td colspan="2" height="60px" style="text-align: center" v-else >
  860. <span>{{advice.delivery_way}}</span>
  861. <span>{{advice.execution_frequency}}</span>
  862. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  863. </td>
  864. <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
  865. <td height="60px">
  866. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
  867. <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
  868. </td>
  869. <td height="60px">
  870. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  871. <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  872. </td>
  873. <td height="60px">
  874. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
  875. <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
  876. </td>
  877. <td height="60px">
  878. <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
  879. </td>
  880. </tr>
  881. </template>
  882. </tbody>
  883. </table>
  884. <div :style="this.advice_groups_2.length > 0 ? 'margin-bottom:350px;border-top:0;text-align:center;margin-top:10px;':'border-top:0;text-align:center;margin-top:10px;'" >1</div>
  885. <template v-if="this.advice_groups_2.length > 0">
  886. <div class="order-yy-name">{{orgname}}</div>
  887. <div class="order_title"> 血液净化科医嘱及执行单 </div>
  888. <div class="row">
  889. <div class="inline_block">
  890. 科室:
  891. <check-box text="门诊透析" :checked="patientInfo_source_1 "></check-box>
  892. &nbsp;
  893. <check-box text="住院" :checked="patientInfo_source_2"></check-box>
  894. </div>
  895. <div class="inline_block" style="margin-left: 5px;">
  896. 住院号:
  897. <div class="under_line" style="width: 70px;text-align: left" v-if="patientInfo.admission_number">
  898. {{patientInfo.admission_number}}
  899. </div>
  900. <div class="under_line" style="width: 70px;text-align: left" v-else>
  901. {{'/'}}
  902. </div>
  903. </div>
  904. <div class="inline_block" style="margin-left:5px;">
  905. 姓名:
  906. <div class="under_line" style="width: 50px;text-align: left">{{patientInfo.name}}</div>
  907. </div>
  908. <div class="inline_block" style="margin-left: 5px;">
  909. 性别:
  910. <check-box text="男" :checked="patientInfo_gender_1"></check-box>
  911. &nbsp;
  912. <check-box text="女" :checked="patientInfo_gender_2"></check-box>
  913. </div>
  914. <div class="inline_block" style="margin-left: 5px;">
  915. 年龄:
  916. <div class="under_line" style="width: 30px;text-align: left">{{getAge(patientInfo)}}</div>
  917. </div>
  918. <div class="inline_block" style="margin-left: 5px;">
  919. 诊断:
  920. <div class="under_line" style="width: 190px;text-align: left">{{patientInfo.diagnose}}</div>
  921. </div>
  922. </div>
  923. <table class="print-table-no" border="1" count="0">
  924. <tbody>
  925. <tr style="line-height:35px;padding:8px 5px;">
  926. <td colspan="7" style="font-size: 18px">医嘱</td>
  927. </tr>
  928. <tr style="line-height:35px;padding:8px 5px;">
  929. <td colspan="4" style="font-size: 16px">开医嘱</td>
  930. <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
  931. </tr>
  932. <tr style="line-height:35px;padding:8px 5px;">
  933. <td style="font-size: 16px" width="10%">时间</td>
  934. <td style="font-size: 16px" colspan="2" width="45%">医嘱内容</td>
  935. <td style="font-size: 16px" width="10%">医生签名</td>
  936. <td style="font-size: 16px" width="10%">核对人签名</td>
  937. <td style="font-size: 16px" width="10%">执行人签名</td>
  938. <td style="font-size: 16px" width="10%">时间</td>
  939. </tr>
  940. <template v-for="(group, group_index) in advice_groups_2" >
  941. <tr v-for="(advice, advice_index) in group.advices" :key="advice_index" >
  942. <td height="60px" v-if="advice_index == 0" :rowspan="group.advices.length">
  943. <span v-if="advice.start_time">
  944. {{getTime(advice.start_time,'{y}-{m}-{d} {h}:{i}')}}
  945. </span>
  946. <span v-else>&nbsp;<br/>&nbsp;</span>
  947. </td>
  948. <td height="60px" class="advice-name" style="padding-left:7px;" :colspan="advice.children && advice.children.length > 0 || advice.parent_id > 0 ? 1 :2" v-if="advice.isShow == 2">
  949. <span >{{advice.advice_name }}</span>
  950. <span>{{advice.advice_desc}}{{advice.drug_spec_unit}}</span>
  951. <span v-if="advice.prescribing_number">* {{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
  952. <span v-if="advice.single_dose != 0">单次用量 {{advice.single_dose}}{{advice.single_dose_unit}}</span>
  953. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.delivery_way}}</span>
  954. <span v-if="advice.parent_id == 0 && advice.children.length == 0">{{advice.execution_frequency}}</span>
  955. <span v-if="advice.parent_id == 0 && advice.children && advice.children.length == 0 && advice.remark.length > 0" >({{advice.remark}})</span>
  956. </td>
  957. <td colspan="2" height="60px" style="text-align: center" v-else >
  958. <span>{{advice.delivery_way}}</span>
  959. <span>{{advice.execution_frequency}}</span>
  960. <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
  961. </td>
  962. <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td>
  963. <td height="60px">
  964. <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{getAdminUser(advice.advice_doctor)}}</span>
  965. <img class="es-img" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else>
  966. </td>
  967. <td height="60px">
  968. <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
  969. <img class="es-img" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
  970. </td>
  971. <td height="60px">
  972. <span v-if="setAdminUserES(advice.execution_staff) == ''">{{getAdminUser(advice.execution_staff)}}</span>
  973. <img class="es-img" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else>
  974. </td>
  975. <td height="60px">
  976. <span v-if="advice.execution_time">{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</span>
  977. </td>
  978. </tr>
  979. </template>
  980. </tbody>
  981. </table>
  982. <div style="text-align:center;margin-top:10px;" >2</div>
  983. </template>
  984. </div>
  985. </div>
  986. </div>
  987. </template>
  988. <script>
  989. // import CheckBox from 'option_check_box'
  990. import { getDialysisRecord } from '@/api/dialysis'
  991. import { getDataConfig } from '@/utils/data'
  992. import { jsGetAge, uParseTime } from '@/utils/tools'
  993. import LabelBox from '../printItem/LabelBox'
  994. // import BreadCrumb from 'bread-crumb'
  995. import print from 'print-js'
  996. import { fetchAllAdminUsers } from "@/api/doctor"
  997. import CheckBox from './option_check_box'
  998. export default {
  999. name: 'DialysisPrintOrderTwo',
  1000. props: ['childResponse'],
  1001. components: {
  1002. CheckBox,
  1003. LabelBox,
  1004. // BreadCrumb
  1005. },
  1006. data() {
  1007. return {
  1008. crumbs: [
  1009. { path: false, name: '透析管理' },
  1010. { path: false, name: '打印单' }
  1011. ],
  1012. operators: [],
  1013. adminUser: [],
  1014. check: {},
  1015. dialysisOrder: {
  1016. DeviceNumber: []
  1017. },
  1018. operatorMaps: {},
  1019. complications: ['低血压', '高血压', '心律失常', '头晕', '头痛', '呕吐', '抽搐', '出血', '心衰', '腹痛'],
  1020. jilurow: 0,
  1021. advice_jilurow: 0,
  1022. loading: false,
  1023. orgname: '',
  1024. patientInfo_gender_1: false,
  1025. patientInfo_gender_2: false,
  1026. patientInfo_source_2: false,
  1027. patientInfo_source_1: false,
  1028. modeOptions: {},
  1029. replacementWays: [],
  1030. perfusionApparatus: [],
  1031. anticoagulantsConfit: {},
  1032. bloodAccessParOpera: {},
  1033. dialysateFormulationOptions: {},
  1034. way_arr: [],
  1035. consciousness_arr: [],
  1036. appetite_arr: [],
  1037. posture_arr: [],
  1038. sick_condition_arr: [],
  1039. precaution_arr: [],
  1040. intake_arr: [],
  1041. nutrition_arr: [],
  1042. queryParams: {
  1043. xtdate: '',
  1044. xtno: ''
  1045. },
  1046. patientInfo: {
  1047. birth: '',
  1048. age: '',
  1049. DialysisSchedule: {
  1050. device_number: { number: '' },
  1051. device_zone: { name: '' }
  1052. },
  1053. gender: 0
  1054. },
  1055. predialysis: {
  1056. score: '',
  1057. internal_fistula: '',
  1058. internal_fistula_skin: '',
  1059. catheter: '',
  1060. blood_access_part_opera_name: ''
  1061. },
  1062. afterdialysis: {
  1063. complications_index: ''
  1064. },
  1065. prescription: {
  1066. dialysate_formulation_name: '',
  1067. device: {}
  1068. },
  1069. advices: [],
  1070. users: [],
  1071. monitors: [],
  1072. monitors2: [],
  1073. summary: {},
  1074. receiverTreatmentAccess: {},
  1075. org_template_info: {},
  1076. doctor_advices: [],
  1077. advice_groups: [],
  1078. advice_groups_2: [],
  1079. AlPanel: {
  1080. id: 0,
  1081. name: '',
  1082. type: 1,
  1083. shouji: 2,
  1084. weichi: 2,
  1085. zongliang: 2,
  1086. gaimingcheng: -1,
  1087. gaijiliang: -1,
  1088. shouji_unit: 'mg',
  1089. weichi_unit: 'mg/h',
  1090. zongliang_unit: 'mg',
  1091. gaimingcheng_unit: '',
  1092. gaijiliang_unit: ''
  1093. }
  1094. }
  1095. },
  1096. methods: {
  1097. getUser() {
  1098. fetchAllAdminUsers().then(response => {
  1099. if (response.data.state == 1) {
  1100. this.adminUser = response.data.data.users;
  1101. console.log(this.adminUser);
  1102. this.loading = false;
  1103. } else {
  1104. this.loading = false;
  1105. this.$message.error("请求数据失败23");
  1106. return false;
  1107. }
  1108. });
  1109. },
  1110. getAdminUser(id) {
  1111. if (id == 0) {
  1112. return ''
  1113. }
  1114. if (id == undefined) {
  1115. return ''
  1116. }
  1117. for (let i = 0; i < this.adminUser.length; i++) {
  1118. if (this.adminUser[i].id == id) {
  1119. return this.adminUser[i].name
  1120. }
  1121. }
  1122. },
  1123. getTime(value, temp) {
  1124. if (value == 0) {
  1125. return ''
  1126. }
  1127. if (value != undefined) {
  1128. return uParseTime(value, temp)
  1129. }
  1130. return ''
  1131. },
  1132. printThisPage() {
  1133. var ptime = Math.round(new Date().getTime() / 1000)
  1134. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1135. const style = '@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}.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:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .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;}'
  1136. if (this.org_template_info.template_id == 1) {
  1137. printJS({
  1138. printable: 'dialysis-print-box',
  1139. type: 'html',
  1140. style: style,
  1141. scanStyles: false
  1142. })
  1143. } else if (this.org_template_info.template_id == 2||this.org_template_info.template_id == 0) {
  1144. printJS({
  1145. printable: 'dialysis-print-box-1',
  1146. type: 'html',
  1147. style: style,
  1148. scanStyles: false
  1149. })
  1150. }
  1151. }, getNumber() {
  1152. if (this.dialysisOrder != null) {
  1153. return this.patientInfo.DialysisSchedule.device_zone.name + this.dialysisOrder.DeviceNumber.number
  1154. } else {
  1155. return this.patientInfo.DialysisSchedule.device_zone.name + this.patientInfo.DialysisSchedule.device_number.number
  1156. }
  1157. },
  1158. getXuserName(id) {
  1159. if (id <= 0) {
  1160. return ''
  1161. }
  1162. var name = ''
  1163. if (this.users == null || typeof (this.users.length) === 'undefined') {
  1164. return name
  1165. }
  1166. var leng = this.users.length
  1167. if (leng == 0) {
  1168. return name
  1169. }
  1170. for (let index = 0; index < leng; index++) {
  1171. if (this.users[index].id == id) {
  1172. name = this.users[index].name
  1173. break
  1174. }
  1175. }
  1176. return name
  1177. },
  1178. setAdminUserES(id) {
  1179. if (id == 0) {
  1180. return ''
  1181. }
  1182. if (id in this.operatorMaps) {
  1183. return this.operatorMaps[id].url
  1184. } else {
  1185. return ''
  1186. }
  1187. },
  1188. modeName(mode_id) {
  1189. return typeof (this.modeOptions[mode_id]) !== 'undefined' && typeof (this.modeOptions[mode_id].name) !== 'undefined' ? this.modeOptions[mode_id].name : ''
  1190. },
  1191. getDialysisRecord() {debugger
  1192. this.loading = true
  1193. // getDialysisRecord(this.queryParams).then(response => {
  1194. var response = this.childResponse
  1195. if (response.data.state == 1) {
  1196. this.adminUser = response.data.data.users
  1197. this.users = response.data.data.users
  1198. this.patientInfo = response.data.data.patientInfo
  1199. this.patientInfo.birth = uParseTime(this.patientInfo.birthday, '{y}-{m}-{d}')
  1200. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1201. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1202. this.patientInfo.first_dialysis_date = uParseTime(response.data.data.patientInfo.first_dialysis_date, '{y}-{m}-{d}')
  1203. } else {
  1204. this.patientInfo.first_dialysis_date = ''
  1205. }
  1206. this.check = response.data.data.check
  1207. this.predialysis = response.data.data.PredialysisEvaluation
  1208. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(this.predialysis.blood_access_part_opera_id)
  1209. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1210. this.operators = response.data.data.operators
  1211. this.dialysisOrder = response.data.data.dialysisOrder === null ? null : response.data.data.dialysisOrder
  1212. if (this.operators.length > 0) {
  1213. var operatorsLen = this.operators.length
  1214. for (var index = 0; index < operatorsLen; index++) {
  1215. this.$set(this.operatorMaps, this.operators[index].creator, this.operators[index])
  1216. }
  1217. }
  1218. this.afterdialysis.txqnx = -1
  1219. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1220. this.afterdialysis.txqnx = 0
  1221. }
  1222. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1223. this.afterdialysis.txqnx = 1
  1224. }
  1225. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1226. this.afterdialysis.txqnx = 2
  1227. }
  1228. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1229. this.afterdialysis.txqnx = 3
  1230. }
  1231. this.afterdialysis.complications = this.afterdialysis.complication.split(',')
  1232. this.afterdialysis.complications_other = []
  1233. this.afterdialysis.complications_index = []
  1234. var acllen = this.afterdialysis.complications.length
  1235. for (let index = 0; index < acllen; index++) {
  1236. if (this.complications.indexOf(this.afterdialysis.complications[index]) >= 0) {
  1237. this.afterdialysis.complications_index.push(this.afterdialysis.complications[index])
  1238. } else if (this.complications.indexOf(this.afterdialysis.complications[index]) < 0 && this.afterdialysis.complications_other.indexOf(this.afterdialysis.complications[index]) < 0) {
  1239. this.afterdialysis.complications_other.push(this.afterdialysis.complications[index])
  1240. }
  1241. }
  1242. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(',')
  1243. this.prescription = response.data.data.dialysisPrescription
  1244. this.receiverTreatmentAccess = response.data.data.receiverTreatmentAccess
  1245. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1246. var rwLen = this.replacementWays.length
  1247. this.prescription.replacement = ''
  1248. for (let index = 0; index < rwLen; index++) {
  1249. if (this.replacementWays[index].id == this.prescription.replacement_way) {
  1250. this.prescription.replacement = this.replacementWays[index].name
  1251. break
  1252. }
  1253. }
  1254. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(this.prescription.dialysate_formulation)
  1255. var paLen = this.perfusionApparatus.length
  1256. this.prescription.perfusion_apparatus_name = ''
  1257. for (let index = 0; index < paLen; index++) {
  1258. if (this.perfusionApparatus[index].id == this.prescription.perfusion_apparatus) {
  1259. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[index].name
  1260. break
  1261. }
  1262. }
  1263. var acLen = this.anticoagulantsConfit.length
  1264. var thisALID = this.prescription.anticoagulant
  1265. this.prescription.anticoagulant_name = ''
  1266. if (typeof (this.anticoagulantsConfit[thisALID]) !== 'undefined' && this.anticoagulantsConfit[thisALID] != null) {
  1267. this.prescription.anticoagulant_name = this.anticoagulantsConfit[thisALID].name
  1268. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1269. }
  1270. this.advices = response.data.data.advices
  1271. this.monitors = response.data.data.monitors
  1272. this.summary = response.data.data.summary
  1273. this.org_template_info = response.data.data.org_template_info
  1274. if (this.monitors.length < 8) {
  1275. var nl = 8 - this.monitors.length
  1276. for (let index = 0; index < nl; index++) {
  1277. if (this.monitors[index] == undefined || this.monitors[index].length <= 0) {
  1278. this.monitors.push([])
  1279. } else {
  1280. continue
  1281. }
  1282. }
  1283. }
  1284. if (this.monitors.length > 13) {
  1285. const tempMonitors = []
  1286. const tempMonitors2 = []
  1287. for (let index = 0; index < this.monitors.length; index++) {
  1288. if (index < 13) {
  1289. tempMonitors.push(this.monitors[index])
  1290. } else {
  1291. tempMonitors2.push(this.monitors[index])
  1292. }
  1293. }
  1294. this.monitors = tempMonitors
  1295. this.monitors2 = tempMonitors2
  1296. }
  1297. this.jilurow = this.monitors.length + 1
  1298. this.advice_jilurow = this.advices.length + 1
  1299. var childMap = {}
  1300. for (const index in this.advices) {
  1301. if (this.advices[index].parent_id == 0) {
  1302. continue
  1303. }
  1304. if (!(this.advices[index].parent_id in childMap)) {
  1305. childMap[this.advices[index].parent_id] = []
  1306. }
  1307. childMap[this.advices[index].parent_id].push(this.advices[index])
  1308. }
  1309. var advices = []
  1310. for (const index in this.advices) {
  1311. if (this.advices[index].parent_id > 0) {
  1312. continue
  1313. }
  1314. var item = this.advices[index]
  1315. if (item.id in childMap) {
  1316. item.children = childMap[item.id]
  1317. } else {
  1318. item.children = []
  1319. }
  1320. advices.push(item)
  1321. }
  1322. var leftAdvice = []
  1323. var rightAdvice = []
  1324. var adlen = advices.length
  1325. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1326. for (var i = 0; i < halfLen; i++) {
  1327. leftAdvice.push(advices[i])
  1328. rightAdvice.push(advices[i + halfLen])
  1329. }
  1330. if (halfLen < 5) {
  1331. var nl = 5 - leftAdvice.length
  1332. for (let index = 0; index < nl; index++) {
  1333. leftAdvice.push([])
  1334. }
  1335. var nl = 5 - rightAdvice.length
  1336. for (let index = 0; index < nl; index++) {
  1337. rightAdvice.push([])
  1338. }
  1339. }
  1340. this.advices = []
  1341. for (var i = 0; i < halfLen; i++) {
  1342. var item = []
  1343. item.push(leftAdvice[i])
  1344. item.push(rightAdvice[i])
  1345. this.advices.push(item)
  1346. }
  1347. this.loading = false
  1348. this.doctor_advices = response.data.data.advices == null ? [] : response.data.data.advices
  1349. for (let index = 0; index < this.doctor_advices.length; index++) {
  1350. this.doctor_advices[index]['isShow'] = 2
  1351. }
  1352. if (this.doctor_advices.length > 0) {
  1353. var group = this.newAdviceGroupObject()
  1354. var initGroupBlock = function(group, advice) {
  1355. group.group_no = advice.groupno
  1356. }
  1357. for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
  1358. var new_advice_index = 0
  1359. if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
  1360. new_advice_index = index + this.doctor_advices[index].children.length + 1
  1361. var doctor_advice = {
  1362. delivery_way: this.doctor_advices[index].delivery_way,
  1363. execution_frequency: this.doctor_advices[index].execution_frequency,
  1364. groupno: this.doctor_advices[index].groupno,
  1365. id: this.doctor_advices[index].id,
  1366. parent_id: this.doctor_advices[index].parent_id,
  1367. children: this.doctor_advices[index].children,
  1368. remark: this.doctor_advices[index].remark,
  1369. execution_staff: this.doctor_advices[index].execution_staff,
  1370. checker: this.doctor_advices[index].checker,
  1371. execution_time: this.doctor_advices[index].execution_time,
  1372. advice_doctor: this.doctor_advices[index].advice_doctor
  1373. }
  1374. doctor_advice['isShow'] = 1
  1375. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  1376. // this.doctor_advices.push(doctor_advice)
  1377. }
  1378. }
  1379. var templength = 0
  1380. if (this.doctor_advices.length > 12) {
  1381. templength = 12
  1382. } else {
  1383. templength = this.doctor_advices.length
  1384. }
  1385. for (let index = 0; index < templength; index++) {
  1386. const advice = this.doctor_advices[index]
  1387. if (advice.groupno == 0) {
  1388. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1389. if (advice.parent_id > 0) {
  1390. if (this.advice_groups.length > 0) {
  1391. var parent_group = this.advice_groups[
  1392. this.advice_groups.length - 1
  1393. ]
  1394. if (parent_group.advices.length > 0) {
  1395. if (parent_group.advices[0].id == advice.parent_id) {
  1396. parent_group.advices.push(advice)
  1397. }
  1398. }
  1399. }
  1400. continue
  1401. } else {
  1402. if (group.group_no > 0) {
  1403. this.advice_groups.push(group)
  1404. group = this.newAdviceGroupObject()
  1405. }
  1406. initGroupBlock(group, advice)
  1407. group.advices.push(advice)
  1408. this.advice_groups.push(group)
  1409. group = this.newAdviceGroupObject()
  1410. continue
  1411. }
  1412. }
  1413. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1414. this.advice_groups.push(group)
  1415. group = this.newAdviceGroupObject()
  1416. }
  1417. if (group.group_no == 0) {
  1418. initGroupBlock(group, advice)
  1419. }
  1420. if (group.group_no == advice.groupno) {
  1421. group.advices.push(advice)
  1422. }
  1423. if (index == 11) {
  1424. this.advice_groups.push(group)
  1425. group = this.newAdviceGroupObject()
  1426. }
  1427. }
  1428. if (this.doctor_advices.length > 12) {
  1429. for (let index = 12; index < this.doctor_advices.length; index++) {
  1430. const advice = this.doctor_advices[index]
  1431. if (advice.groupno == 0) {
  1432. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1433. if (advice.parent_id > 0) {
  1434. if (this.advice_groups_2.length > 0) {
  1435. var parent_group = this.advice_groups_2[
  1436. this.advice_groups_2.length - 1
  1437. ]
  1438. if (parent_group.advices.length > 0) {
  1439. if (parent_group.advices[0].id == advice.parent_id) {
  1440. parent_group.advices.push(advice)
  1441. }
  1442. }
  1443. }
  1444. continue
  1445. } else {
  1446. if (group.group_no > 0) {
  1447. this.advice_groups_2.push(group)
  1448. group = this.newAdviceGroupObject()
  1449. }
  1450. initGroupBlock(group, advice)
  1451. group.advices.push(advice)
  1452. this.advice_groups_2.push(group)
  1453. group = this.newAdviceGroupObject()
  1454. continue
  1455. }
  1456. }
  1457. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1458. this.advice_groups_2.push(group)
  1459. group = this.newAdviceGroupObject()
  1460. }
  1461. if (group.group_no == 0) {
  1462. initGroupBlock(group, advice)
  1463. }
  1464. if (group.group_no == advice.groupno) {
  1465. group.advices.push(advice)
  1466. }
  1467. }
  1468. }
  1469. if (group.group_no > 0) {
  1470. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1471. if (this.doctor_advices.length > 12) {
  1472. this.advice_groups_2.push(group)
  1473. } else {
  1474. this.advice_groups.push(group)
  1475. }
  1476. }
  1477. }
  1478. } else {
  1479. this.loading = false
  1480. this.$message.error('请求数据失败')
  1481. return false
  1482. }
  1483. // })
  1484. },
  1485. bloodAccessParOperaName(id) {
  1486. if (id in this.bloodAccessParOpera) {
  1487. return this.bloodAccessParOpera[id].name
  1488. }
  1489. return ''
  1490. },
  1491. dialysateFormulationName(id) {
  1492. if (id in this.dialysateFormulationOptions) {
  1493. return this.dialysateFormulationOptions[id].name
  1494. }
  1495. return ''
  1496. }, getAge: function(val) {
  1497. if (this.org_template_info.template_id == 2 || this.org_template_info.template_id == 0) {
  1498. if (val.age == 0) {
  1499. return jsGetAge(val.birth, '-')
  1500. } else {
  1501. return val.age
  1502. }
  1503. } else {
  1504. return jsGetAge(val.birth, '-')
  1505. }
  1506. }, newAdviceGroupObject: function() {
  1507. return Object.assign(
  1508. {},
  1509. {
  1510. group_no: 0,
  1511. // advice_doctor: 0,
  1512. // start_time: 0,
  1513. advices: []
  1514. // exec_staff: 0,
  1515. // exec_time: 0,
  1516. // checker: 0,
  1517. }
  1518. )
  1519. }, getFloat: function(x) {
  1520. if(x == 0){
  1521. return "/"
  1522. }
  1523. if (x != '.') {
  1524. var f = Math.round(x * 100) / 100
  1525. var s = f.toString()
  1526. var rs = s.indexOf('.')
  1527. if (rs <= 0) {
  1528. rs = s.length
  1529. s += '.'
  1530. }
  1531. while (s.length <= rs + 1) {
  1532. s += '0'
  1533. }
  1534. return s
  1535. } else {
  1536. return '0.0'
  1537. }
  1538. }
  1539. },
  1540. watch: {
  1541. 'patientInfo.gender': function() {
  1542. if (this.patientInfo.gender == 1) {
  1543. this.patientInfo_gender_1 = true
  1544. this.patientInfo_gender_2 = false
  1545. } else if (this.patientInfo.gender == 2) {
  1546. this.patientInfo_gender_2 = true
  1547. this.patientInfo_gender_1 = false
  1548. } else {
  1549. this.patientInfo_gender_2 = false
  1550. this.patientInfo_gender_1 = false
  1551. }
  1552. },
  1553. 'patientInfo.source': function() {
  1554. if (this.patientInfo.source == 1) {
  1555. this.patientInfo_source_1 = true
  1556. this.patientInfo_source_2 = false
  1557. } else if (this.patientInfo.source == 2) {
  1558. this.patientInfo_source_2 = true
  1559. this.patientInfo_source_1 = false
  1560. } else {
  1561. this.patientInfo_source_2 = false
  1562. this.patientInfo_source_1 = false
  1563. }
  1564. }
  1565. },
  1566. created() {
  1567. this.way_arr = getDataConfig('hemodialysis', 'way')
  1568. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  1569. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  1570. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  1571. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  1572. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  1573. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  1574. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  1575. var xtuser = this.$store.getters.user;
  1576. this.orgname = xtuser.org.org_name;
  1577. // this.orgname = "遂溪方济医院";
  1578. this.modeOptions = this.$store.getters.treatment_mode;
  1579. this.replacementWays = this.$store.getters.replacement_ways;
  1580. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  1581. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  1582. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1583. var bloodAccessParOpera = getDataConfig(
  1584. "hemodialysis",
  1585. "vascular_access_desc"
  1586. );
  1587. for (var key in bloodAccessParOpera) {
  1588. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  1589. bloodAccessParOpera[key];
  1590. }
  1591. var dialysateFormulationOptions = getDataConfig(
  1592. "hemodialysis",
  1593. "dialysate_formulation"
  1594. );
  1595. for (var key in dialysateFormulationOptions) {
  1596. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1597. dialysateFormulationOptions[key];
  1598. }
  1599. const xtdate = this.$route.query && this.$route.query.xtdate;
  1600. const xtno = this.$route.query && this.$route.query.xtno;
  1601. if (
  1602. typeof xtdate == "string" &&
  1603. xtdate.length > 0 &&
  1604. typeof xtno == "string" &&
  1605. xtno.length > 0
  1606. ) {
  1607. this.queryParams.xtdate = xtdate;
  1608. this.queryParams.xtno = xtno;
  1609. this.getDialysisRecord();
  1610. } else {
  1611. this.$message.error("参数不齐");
  1612. return false;
  1613. }
  1614. this.getUser();
  1615. }
  1616. }
  1617. </script>
  1618. <style>
  1619. .print_page_main_content {
  1620. background-color: white;
  1621. width: 960px;
  1622. margin: 0 auto 50px;
  1623. padding: 0 0 0 0;
  1624. page-break-after: always;
  1625. }
  1626. .print_page_main_content .order-yy-name {
  1627. margin: auto;
  1628. text-align: center;
  1629. font-size: 20px;
  1630. letter-spacing: 5px;
  1631. }
  1632. .dialysis-print-order .order-title {
  1633. margin: auto;
  1634. font-weight: 600;
  1635. text-align: center;
  1636. font-size: 22px;
  1637. padding: 10px;
  1638. }
  1639. .print_page_main_content .order_title {
  1640. text-align: center;
  1641. font-size: 23px;
  1642. line-height: 50px;
  1643. font-weight: 500;
  1644. }
  1645. .row {
  1646. font-size: 14px;
  1647. line-height: 20px;
  1648. padding: 5px 0;
  1649. }
  1650. .inline_block {
  1651. display: inline-block;
  1652. }
  1653. .under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}
  1654. .under_line_two::before {content: "\00A0";}
  1655. .under_line_two::after {content: "\00A0";}
  1656. .under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap;width: 50%;}
  1657. .under_line::before {
  1658. content: "\00A0";
  1659. }
  1660. .under_line::after {
  1661. content: "\00A0";
  1662. }
  1663. .flex {
  1664. display: -webkit-box;
  1665. display: -moz-box;
  1666. display: -ms-flexbox;
  1667. display: -webkit-flex;
  1668. display: flex;
  1669. align-items: center;
  1670. -webkit-align-items: center;
  1671. box-align: center;
  1672. -moz-box-align: center;
  1673. -webkit-box-align: center;
  1674. text-align: center;
  1675. -webkit-justify-content: space-between;
  1676. justify-content: space-between;
  1677. -moz-box-pack: space-between;
  1678. -webkit--moz-box-pack: space-between;
  1679. box-pack: space-between;
  1680. }
  1681. .print_page_main_content .proj_table {
  1682. width: 100%;
  1683. border: 1px solid;
  1684. border-collapse: collapse;
  1685. padding: 2px;
  1686. }
  1687. .print_page_main_content .proj_table tbody tr td {
  1688. border: 1px solid;
  1689. /* text-align: center; */
  1690. font-size: 16px;
  1691. padding: 5px 8px;
  1692. line-height: 30px;
  1693. }
  1694. .print_page_main_content .proj_table .inside_table {
  1695. width: 100%;
  1696. border: hidden; /* 解决边框冲突 */
  1697. border-collapse: collapse;
  1698. }
  1699. .print_page_main_content .proj_table .inside_table tr td {
  1700. border: 1px solid;
  1701. text-align: center;
  1702. font-size: 14px;
  1703. padding: 6px 5px;
  1704. line-height: 16px;
  1705. }
  1706. .print-table-no {
  1707. width: 100%;
  1708. text-align: center;
  1709. border-collapse: collapse;
  1710. font-size: 14px;
  1711. }
  1712. .es-img {
  1713. height: 30px;
  1714. }
  1715. .advice-name {
  1716. text-align: left !important;
  1717. line-height: 16px !important;
  1718. }
  1719. .advice-children {
  1720. display: flex;
  1721. }
  1722. .margin-bottom-300 {
  1723. margin-bottom:450px;
  1724. }
  1725. .margin-bottom-600 {
  1726. margin-bottom:600px;
  1727. }
  1728. .margin-bottom-900 {
  1729. margin-bottom:900px;
  1730. }
  1731. </style>