DialysisPrintOrderSix.vue 103KB

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