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

DialysisPrintOrderFiftyOne.vue 103KB

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