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

DialysisPrintOrderSixtyTwo.vue 98KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688
  1. <template>
  2. <div>
  3. <el-button type="primary" @click="checkData">一键核对</el-button>
  4. <div id="dialysis-print-box">
  5. <div class="dialysis-print-order">
  6. <div class="order-yy-name"></div>
  7. <div class="order-title">
  8. {{ orgname }}&nbsp;&nbsp;&nbsp;血液净化治疗记录单
  9. </div>
  10. <table class="print-table" border="1" style="margin-top: 10px">
  11. <tr>
  12. <td style="text-align: left; width: 170px" colspan="1">
  13. <span style="display: inline-block; margin-left: 15px">
  14. {{ getDatge(queryParams.xtdate) }}
  15. </span>
  16. </td>
  17. <td style="text-align: center; width: 170px" colspan="1">
  18. 姓名:
  19. <span style="display: inline-block; margin-left: 10px">
  20. {{ patientInfo.name }}
  21. </span>
  22. </td>
  23. <td style="text-align: center" colspan="1">
  24. 性别:
  25. <span style="display: inline-block; margin-left: 10px">
  26. {{ patientInfo.gender }}
  27. </span>
  28. </td>
  29. <td style="text-align: center" colspan="1">
  30. 年龄:
  31. <span style="display: inline-block; margin-left: 10px">
  32. {{ getAge(patientInfo) }}
  33. </span>
  34. </td>
  35. <td style="text-align: center" colspan="2">
  36. 透析次数:
  37. <span style="display: inline-block; margin-left: 10px">
  38. {{
  39. patientInfo.total_dialysis + patientInfo.user_sys_before_count
  40. }}
  41. </span>
  42. </td>
  43. <!-- <td style="text-align:center;" colspan="1">
  44. <template v-if="receiverTreatmentAccess.condition == 1">
  45. 住院号:
  46. <span style="display:inline-block;margin-left:10px;">
  47. {{
  48. receiverTreatmentAccess.admission_number
  49. ? receiverTreatmentAccess.admission_number
  50. : "/"
  51. }}
  52. </span>
  53. </template>
  54. <template v-else>
  55. 门诊号:
  56. <span style="display:inline-block;margin-left:10px;">
  57. {{
  58. patientInfo.admission_number
  59. ? patientInfo.admission_number
  60. : "/"
  61. }}
  62. </span>
  63. </template>
  64. </td> -->
  65. <td style="text-align: center" colspan="1">
  66. 机器号:
  67. <span style="display: inline-block; margin-left: 10px">
  68. {{
  69. dialysisOrder &&
  70. dialysisOrder.DeviceNumber &&
  71. dialysisOrder.DeviceNumber.number > 0
  72. ? dialysisOrder.DeviceNumber.number
  73. : patientInfo.DialysisSchedule.device_number.number
  74. }}
  75. </span>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td style="text-align: left" colspan="2">
  80. <span style="display: inline-block; margin-left: 15px">治疗方式:</span>
  81. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!prescription.mode_id">
  82. /
  83. </span>
  84. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 1">
  85. HD
  86. </span>
  87. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 2">
  88. HDF
  89. </span>
  90. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 3">
  91. HD+HP
  92. </span>
  93. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 4">
  94. HP
  95. </span>
  96. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 5">
  97. HF
  98. </span>
  99. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 6">
  100. SCUF
  101. </span>
  102. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 7">
  103. IUF
  104. </span>
  105. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 8">
  106. HFHD
  107. </span>
  108. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 9">
  109. HFHD+HP
  110. </span>
  111. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 10">
  112. PHF
  113. </span>
  114. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 11">
  115. HFR
  116. </span>
  117. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 12">
  118. HDF+HP
  119. </span>
  120. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 13">
  121. CRRT
  122. </span>
  123. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 14">
  124. 腹水回输
  125. </span>
  126. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 15">
  127. HD前置换
  128. </span>
  129. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 16">
  130. HD后置换
  131. </span>
  132. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 17">
  133. HDF前置换
  134. </span>
  135. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 18">
  136. HDF后置换
  137. </span>
  138. <span class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 19">
  139. IUF+HD
  140. </span>
  141. <span class="under_line" style="width: 150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 22">
  142. 血浆胆红素吸附+HDF
  143. </span>
  144. <span class="under_line" style="bwidth: 150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 23">
  145. 血浆胆红素吸附
  146. </span>
  147. <span class="under_line" style="width:100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 29">
  148. PE
  149. </span>
  150. <span class="under_line" style="width:150px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 30">
  151. 血浆胆红素吸附+HP
  152. </span>
  153. </td>
  154. <td style="text-align: left" colspan="5">
  155. <span
  156. style="display: inline-block; margin-left: 15px; width: 100%"
  157. >诊断: {{ patientInfo.diagnose }}</span
  158. >
  159. </td>
  160. </tr>
  161. <tr>
  162. <td style="text-align: left" colspan="1">
  163. <span style="display: inline-block; margin-left: 15px">
  164. 干体重:
  165. {{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}kg
  166. </span>
  167. </td>
  168. <td style="text-align: left" colspan="1">
  169. <span style="display: inline-block; margin-left: 15px">
  170. 电导率:{{
  171. prescription.conductivity ? prescription.conductivity : "/"
  172. }}&nbsp;(mS/cm)
  173. </span>
  174. </td>
  175. <td style="text-align: left" colspan="2">
  176. <span style="display: inline-block; margin-left: 15px">
  177. 钙:
  178. {{
  179. prescription.calcium ? prescription.calcium : "/"
  180. }}&nbsp;mmol/L
  181. </span>
  182. </td>
  183. <td style="text-align: left" colspan="4">
  184. <span style="display: inline-block; margin-left: 15px">
  185. 透析液温度:{{
  186. prescription.dialysate_temperature
  187. ? prescription.dialysate_temperature
  188. : "/"
  189. }}&nbsp;℃
  190. </span>
  191. <span style="display: inline-block; margin-left: 20px">
  192. 钾:{{
  193. prescription.kalium ? prescription.kalium : "/"
  194. }}&nbsp;mmol/L
  195. </span>
  196. <span style="display: inline-block; margin-left: 20px">
  197. 葡萄糖:{{
  198. prescription.amylaceum ? prescription.amylaceum : ""
  199. }}&nbsp;mmol/L
  200. </span>
  201. </td>
  202. </tr>
  203. <tr>
  204. <td style="text-align: left" colspan="1">
  205. <span style="display: inline-block; margin-left: 15px">
  206. 透前体重:{{
  207. predialysis.weight_before ? predialysis.weight_before : "/"
  208. }}kg
  209. </span>
  210. </td>
  211. <td style="text-align: left" colspan="1">
  212. <span style="display: inline-block; margin-left: 15px">
  213. 设定脱水量:{{
  214. prescription.target_ultrafiltration
  215. ? prescription.target_ultrafiltration
  216. : "/"
  217. }}ml
  218. </span>
  219. </td>
  220. <td style="text-align: left" colspan="1">
  221. <span style="display: inline-block; margin-left: 15px">
  222. <label-box
  223. :isChecked="anticoagulant == 1 ? true : false"
  224. showValue="无肝素"
  225. ></label-box>
  226. </span>
  227. </td>
  228. <td style="text-align: left" colspan="2">
  229. <span style="display: inline-block; margin-left: 15px">
  230. <span v-if="prescription.anticoagulant == 2">普通肝素首剂:</span>
  231. <span v-if="prescription.anticoagulant == 3"
  232. >低分子肝素首剂:</span
  233. >
  234. <span v-if="prescription.anticoagulant == 4"
  235. >阿加曲班肝素首剂:</span
  236. >
  237. <span v-if="prescription.anticoagulant == 5"
  238. >枸橼酸钠肝素首剂:</span
  239. >
  240. <span v-if="prescription.anticoagulant == 6"
  241. >低分子肝素钙首剂:</span
  242. >
  243. <span v-if="prescription.anticoagulant == 7"
  244. >低分子肝素钠首剂:</span
  245. >
  246. <span v-if="prescription.anticoagulant == 8"
  247. >依诺肝素首剂:</span
  248. >
  249. <span v-if="prescription.anticoagulant == 9">达肝素首剂:</span>
  250. <span v-if="prescription.anticoagulant == 10"
  251. >体外抗凝肝素首剂:</span
  252. >
  253. <span v-if="prescription.anticoagulant == 11"
  254. >那屈肝素首剂:</span
  255. >
  256. {{
  257. prescription.anticoagulant_shouji
  258. ? prescription.anticoagulant_shouji
  259. : "/"
  260. }}
  261. </span>
  262. <span v-if="prescription.anticoagulant == 5">iu</span>
  263. <span v-if="prescription.anticoagulant == 6">iu</span>
  264. <span v-if="prescription.anticoagulant == 4">mg</span>
  265. <span v-if="prescription.anticoagulant == 3">iu</span>
  266. <span v-if="prescription.anticoagulant == 2">mg</span>
  267. <span v-if="prescription.anticoagulant == 1">mg</span>
  268. </td>
  269. <td style="text-align: left" colspan="1">
  270. <span style="display: inline-block; margin-left: 15px">
  271. 维持:
  272. {{
  273. prescription.anticoagulant_weichi
  274. ? prescription.anticoagulant_weichi
  275. : "/"
  276. }}
  277. </span>
  278. <span v-if="prescription.anticoagulant == 6">iu/h</span>
  279. <span v-if="prescription.anticoagulant == 5">ml/h</span>
  280. <span v-if="prescription.anticoagulant == 4">mg/h</span>
  281. <span v-if="prescription.anticoagulant == 3">iu/h</span>
  282. <span v-if="prescription.anticoagulant == 2">mg/h</span>
  283. <span v-if="prescription.anticoagulant == 1">mg/h</span>
  284. </td>
  285. <td style="text-align: left" colspan="2">
  286. <span style="display: inline-block; ">
  287. 总量:
  288. {{
  289. prescription.anticoagulant_zongliang
  290. ? prescription.anticoagulant_zongliang
  291. : "/"
  292. }}
  293. </span>
  294. <span v-if="prescription.anticoagulant == 5">iu</span>
  295. <span v-if="prescription.anticoagulant == 6">iu</span>
  296. <span v-if="prescription.anticoagulant == 4">mg</span>
  297. <span v-if="prescription.anticoagulant == 3">iu</span>
  298. <span v-if="prescription.anticoagulant == 2">mg</span>
  299. <span v-if="prescription.anticoagulant == 1">mg</span>
  300. </td>
  301. </tr>
  302. <tr>
  303. <td style="text-align: left" colspan="1">
  304. <span style="display: inline-block; margin-left: 15px">
  305. 透后体重:
  306. {{
  307. afterdialysis.weight_after
  308. ? parseFloat(
  309. afterdialysis.weight_after -
  310. afterdialysis.additional_weight
  311. ).toFixed(2)
  312. : "/"
  313. }}kg
  314. </span>
  315. </td>
  316. <td style="text-align: left" colspan="1">
  317. <span style="display: inline-block; margin-left: 15px">
  318. 实际脱水量:{{
  319. afterdialysis.actual_ultrafiltration
  320. ? afterdialysis.actual_ultrafiltration
  321. : "/"
  322. }}ml
  323. </span>
  324. </td>
  325. <td style="text-align: left" colspan="2">
  326. <span style="display: inline-block; margin-left: 15px">
  327. 实际治疗时长:
  328. {{
  329. afterdialysis.actual_treatment_hour
  330. ? afterdialysis.actual_treatment_hour
  331. : "0"
  332. }}小时{{
  333. afterdialysis.actual_treatment_minute
  334. ? afterdialysis.actual_treatment_minute
  335. : "0"
  336. }}分钟
  337. </span>
  338. </td>
  339. <td style="text-align: left" colspan="1">
  340. <span style="display: inline-block; margin-left: 15px">
  341. 透析/灌流器型号:{{
  342. prescription.dialysis_dialyszers
  343. ? prescription.dialysis_dialyszers
  344. : "/"
  345. }}&nbsp;&nbsp;{{
  346. prescription.dialysis_irrigation
  347. ? prescription.dialysis_irrigation
  348. : "/"
  349. }}
  350. </span>
  351. </td>
  352. <td style="text-align: left" colspan="2">
  353. <span style="display: inline-block; margin-left: 15px">
  354. 置换方式:
  355. <label-box
  356. :isChecked="
  357. prescription.displace_liqui_part == 1 ? true : false
  358. "
  359. showValue="前"
  360. ></label-box
  361. >&nbsp;
  362. <label-box
  363. :isChecked="
  364. prescription.displace_liqui_part == 2 ? true : false
  365. "
  366. showValue="后"
  367. ></label-box>
  368. &nbsp; (总量:{{
  369. prescription.displace_liqui_value
  370. ? prescription.displace_liqui_value
  371. : "/"
  372. }}L)
  373. </span>
  374. </td>
  375. </tr>
  376. <tr>
  377. <td style="text-align: left" colspan="1">
  378. <span style="display: inline-block; margin-left: 15px">
  379. <span
  380. v-if="orderForm.url === ''"
  381. style="display: flex; align-items: center"
  382. >责任护士:{{ orderForm.start_nurse }}</span
  383. >
  384. <span
  385. v-if="orderForm.url !== ''"
  386. style="display: flex; align-items: center; height: 36px"
  387. >
  388. 责任护士:
  389. <img :src="orderForm.url" style="height: 30px" />
  390. </span>
  391. </span>
  392. </td>
  393. <td style="text-align: left" colspan="1">
  394. <span style="display: inline-block; margin-left: 15px">
  395. <span
  396. v-if="orderForm.url === ''"
  397. style="display: flex; align-items: center"
  398. >上机护士:{{ orderForm.start_nurse }}</span
  399. >
  400. <span
  401. v-if="orderForm.url !== ''"
  402. style="display: flex; align-items: center; height: 36px"
  403. >
  404. 上机护士:
  405. <img :src="orderForm.url" style="height: 30px" />
  406. </span>
  407. </span>
  408. </td>
  409. <td style="text-align: left" colspan="3">
  410. <span style="display: inline-block; margin-left: 15px">
  411. <span
  412. v-if="orderForm.url === ''"
  413. style="display: flex; align-items: center"
  414. >抗凝剂执行护士:{{ orderForm.start_nurse }}</span
  415. >
  416. <span
  417. v-if="orderForm.url !== ''"
  418. style="display: flex; align-items: center; height: 36px"
  419. >
  420. 抗凝剂执行护士:
  421. <img :src="orderForm.url" style="height: 30px" />
  422. </span>
  423. </span>
  424. <span style="display: inline-block; margin-left: 15px">
  425. 核对护士:<span
  426. style="height: 30px; display: inline-block"
  427. v-if="setAdminUserES(check == null ? 0 : check.creater) == ''"
  428. >
  429. {{ getAdminUser(check == null ? 0 : check.creater) }}
  430. </span>
  431. <img
  432. style="height: 30px"
  433. :src="setAdminUserES(check == null ? 0 : check.creater)"
  434. alt=""
  435. srcset=""
  436. v-else
  437. />
  438. </span>
  439. </td>
  440. <td style="text-align: left" colspan="3">
  441. <span style="display: inline-block; margin-left: 15px">
  442. <span
  443. style="display: flex; align-items: center"
  444. v-if="
  445. setAdminUserES(
  446. prescription == null
  447. ? 0
  448. : prescription.prescription_doctor
  449. ? prescription.prescription_doctor
  450. : prescription.creater
  451. ) == ''
  452. "
  453. >医生签名:{{
  454. getAdminUser(
  455. prescription == null
  456. ? 0
  457. : prescription.prescription_doctor
  458. ? prescription.prescription_doctor
  459. : prescription.creater
  460. )
  461. }}</span
  462. >
  463. <span
  464. v-else
  465. style="display: flex; align-items: center; height: 36px"
  466. >医生签名:
  467. <img
  468. style="height: 30px"
  469. :src="
  470. setAdminUserES(
  471. prescription == null
  472. ? 0
  473. : prescription.prescription_doctor
  474. ? prescription.prescription_doctor
  475. : prescription.creater
  476. )
  477. "
  478. alt=""
  479. srcset=""
  480. />
  481. </span>
  482. </span>
  483. </td>
  484. </tr>
  485. <tr>
  486. <td style="text-align: left" colspan="4">
  487. <span style="display: inline-block; margin-left: 15px">
  488. 透前评估: 入科方式:
  489. <label-box
  490. :isChecked="receiverTreatmentAccess.way == 1 ? true : false"
  491. showValue="步行"
  492. ></label-box
  493. >&nbsp;
  494. <label-box
  495. :isChecked="receiverTreatmentAccess.way == 2 ? true : false"
  496. showValue="扶行"
  497. ></label-box
  498. >&nbsp;
  499. <label-box
  500. :isChecked="receiverTreatmentAccess.way == 3 ? true : false"
  501. showValue="轮椅"
  502. ></label-box
  503. >&nbsp;
  504. <label-box
  505. :isChecked="receiverTreatmentAccess.way == 4 ? true : false"
  506. showValue="平车"
  507. ></label-box
  508. >&nbsp;
  509. </span>
  510. </td>
  511. <td style="text-align: left" colspan="4">
  512. <span style="display: inline-block; margin-left: 15px">
  513. 意识:
  514. <label-box
  515. :isChecked="
  516. receiverTreatmentAccess.consciousness == 1 ? true : false
  517. "
  518. showValue="清醒"
  519. ></label-box
  520. >&nbsp;
  521. <label-box
  522. :isChecked="
  523. receiverTreatmentAccess.consciousness == 2 ? true : false
  524. "
  525. showValue="嗜睡"
  526. ></label-box
  527. >&nbsp;
  528. <label-box
  529. :isChecked="
  530. receiverTreatmentAccess.consciousness == 4 ? true : false
  531. "
  532. showValue="模糊"
  533. ></label-box
  534. >&nbsp;
  535. <label-box
  536. :isChecked="
  537. receiverTreatmentAccess.consciousness == 3 ? true : false
  538. "
  539. showValue="昏迷"
  540. ></label-box
  541. >&nbsp;
  542. </span>
  543. </td>
  544. </tr>
  545. <tr>
  546. <td colspan="2" style="text-align: left">
  547. <span style="display: inline-block; margin-left: 15px"
  548. >食欲:</span
  549. >
  550. <label-box
  551. :isChecked="
  552. receiverTreatmentAccess.appetite == 1 ? true : false
  553. "
  554. showValue="正常"
  555. ></label-box
  556. >&nbsp;
  557. <label-box
  558. :isChecked="
  559. receiverTreatmentAccess.appetite == 2 ? true : false
  560. "
  561. showValue="减退"
  562. ></label-box
  563. >&nbsp;
  564. <label-box
  565. :isChecked="
  566. receiverTreatmentAccess.appetite == 3 ? true : false
  567. "
  568. showValue="恶心"
  569. ></label-box
  570. >&nbsp;
  571. <label-box
  572. :isChecked="
  573. receiverTreatmentAccess.appetite == 4 ? true : false
  574. "
  575. showValue="呕吐"
  576. ></label-box
  577. >&nbsp;
  578. <label-box
  579. :isChecked="
  580. receiverTreatmentAccess.appetite == 5 ? true : false
  581. "
  582. showValue="腹泻"
  583. ></label-box
  584. >&nbsp;
  585. </td>
  586. <td colspan="2" style="text-align: left">
  587. <span style="display: inline-block; margin-left: 15px">
  588. 体温:{{
  589. predialysis.temperature ? predialysis.temperature : "/"
  590. }}
  591. </span>
  592. </td>
  593. <td colspan="3" style="text-align: left">
  594. <span style="display: inline-block; margin-left: 15px">
  595. 体位:
  596. <label-box
  597. v-for="(item, index) in posture_arr"
  598. :key="index"
  599. :isChecked="
  600. receiverTreatmentAccess.posture == item.id ? true : false
  601. "
  602. :showValue="item.name"
  603. ></label-box>
  604. <label-box
  605. :isChecked="
  606. receiverTreatmentAccess.posture == 1 ? true : false
  607. "
  608. showValue="自动体位"
  609. ></label-box
  610. >&nbsp;
  611. <label-box
  612. :isChecked="
  613. receiverTreatmentAccess.posture == 2 ? true : false
  614. "
  615. showValue="平卧位"
  616. ></label-box
  617. >&nbsp;
  618. <label-box
  619. :isChecked="
  620. receiverTreatmentAccess.posture == 3 ? true : false
  621. "
  622. showValue="半卧位"
  623. ></label-box
  624. >&nbsp;
  625. <label-box
  626. :isChecked="
  627. receiverTreatmentAccess.posture == 4 ? true : false
  628. "
  629. showValue="端坐位"
  630. ></label-box
  631. >&nbsp;
  632. <label-box
  633. :isChecked="
  634. receiverTreatmentAccess.posture == 5 ? true : false
  635. "
  636. showValue="躁动不安"
  637. ></label-box
  638. >&nbsp;
  639. </span>
  640. </td>
  641. </tr>
  642. <tr>
  643. <td colspan="8" style="text-align: left">
  644. <span style="display: inline-block; margin-left: 15px">
  645. 血管通路:内瘘波动及震颤: (&nbsp;
  646. <!-- <label-box
  647. v-for="(item, index) in arr"
  648. :key="index"
  649. :isChecked="
  650. predialysis.blood_access_part_opera_id == item.id
  651. ? true
  652. : false
  653. "
  654. :showValue="item.name"
  655. ></label-box> -->
  656. <label-box
  657. :isChecked="
  658. predialysis.blood_access_part_opera_name.indexOf(
  659. '内瘘波动及震颤-存在'
  660. ) > -1
  661. ? true
  662. : predialysis.internal_fistula.indexOf(
  663. '内瘘波动及震颤-存在'
  664. ) > -1
  665. ? true
  666. : false
  667. "
  668. showValue="存在"
  669. ></label-box>
  670. <label-box
  671. :isChecked="
  672. predialysis.blood_access_part_opera_name.indexOf(
  673. '内瘘波动及震颤-减弱'
  674. ) > -1
  675. ? true
  676. : predialysis.internal_fistula.indexOf(
  677. '内瘘波动及震颤-减弱'
  678. ) > -1
  679. ? true
  680. : false
  681. "
  682. showValue="减弱"
  683. ></label-box>
  684. <label-box
  685. :isChecked="
  686. predialysis.blood_access_part_opera_name.indexOf(
  687. '内瘘波动及震颤-消失'
  688. ) > -1
  689. ? true
  690. : predialysis.internal_fistula.indexOf(
  691. '内瘘波动及震颤-消失'
  692. ) > -1
  693. ? true
  694. : false
  695. "
  696. showValue="消失"
  697. ></label-box>
  698. )
  699. <label-box
  700. v-for="(item, index) in arrtwo"
  701. :key="index"
  702. :isChecked="
  703. predialysis.blood_access_part_opera_id == item.id
  704. ? true
  705. : false
  706. "
  707. :showValue="item.name"
  708. ></label-box>
  709. </span>
  710. <span style="display: inline-block; margin-left: 30px">
  711. 内瘘肢:<label-box
  712. :isChecked="
  713. predialysis.blood_access_part_opera_name.indexOf(
  714. '内瘘肢-左'
  715. ) > -1
  716. ? true
  717. : predialysis.internal_fistula.indexOf('内瘘肢-左') > -1
  718. ? true
  719. : false
  720. "
  721. showValue="左"
  722. ></label-box>
  723. <label-box
  724. :isChecked="
  725. predialysis.blood_access_part_opera_name.indexOf(
  726. '内瘘肢-右'
  727. ) > -1
  728. ? true
  729. : predialysis.internal_fistula.indexOf('内瘘肢-右') > -1
  730. ? true
  731. : false
  732. "
  733. showValue="右"
  734. ></label-box>
  735. </span>
  736. </td>
  737. </tr>
  738. <tr>
  739. <td colspan="8" style="text-align: left">
  740. <span style="display: inline-block; margin-left: 15px"
  741. >中心静脉导管:</span
  742. >
  743. <!-- (部位:{{ getPartName(predialysis.blood_access_part_id) }}) -->
  744. (部位:{{ predialysis.blood_access_part_id }})
  745. <label-box
  746. showValue="长期"
  747. :isChecked="
  748. predialysis.venous_catheterization == 1 ? true : false
  749. "
  750. ></label-box>
  751. <label-box
  752. showValue="临时"
  753. :isChecked="
  754. predialysis.venous_catheterization == 2 ? true : false
  755. "
  756. ></label-box
  757. >&nbsp;&nbsp; 感染:
  758. <label-box
  759. showValue="有"
  760. :isChecked="
  761. predialysis.catheter.indexOf('感染-有') > -1 ? true : false
  762. "
  763. ></label-box>
  764. <label-box
  765. showValue="无"
  766. :isChecked="
  767. predialysis.catheter.indexOf('感染-无') > -1 ? true : false
  768. "
  769. ></label-box
  770. >&nbsp;&nbsp;流畅度:
  771. <label-box
  772. showValue="正接"
  773. :isChecked="
  774. predialysis.catheter.indexOf('流畅度-正接') > -1
  775. ? true
  776. : false
  777. "
  778. ></label-box>
  779. <label-box
  780. showValue="反接"
  781. :isChecked="
  782. predialysis.catheter.indexOf('流畅度-反接') > -1
  783. ? true
  784. : false
  785. "
  786. ></label-box
  787. >&nbsp;&nbsp;溶栓:
  788. <label-box
  789. showValue="有"
  790. :isChecked="
  791. predialysis.catheter.indexOf('溶栓-有') > -1 ? true : false
  792. "
  793. ></label-box>
  794. <label-box
  795. showValue="无"
  796. :isChecked="
  797. predialysis.catheter.indexOf('溶栓-无') > -1 ? true : false
  798. "
  799. ></label-box>
  800. &nbsp;&nbsp;外露:{{ predialysis.exposed }}cm
  801. <span style="display: inline-block; margin-left: 15px"
  802. >容量:<span
  803. >A:{{
  804. afterdialysis.cvc_a ? afterdialysis.cvc_a : "/"
  805. }}ml</span
  806. >
  807. <span style="padding -left: 15px"
  808. >V:{{
  809. afterdialysis.cvc_v ? afterdialysis.cvc_v : "/"
  810. }}ml</span
  811. >
  812. </span>
  813. </td>
  814. </tr>
  815. <tr>
  816. <td style="text-align: left" colspan="8">
  817. <span style="display: inline-block; margin-left: 15px">
  818. 血管通路皮肤情况:
  819. <label-box
  820. :isChecked="
  821. predialysis.internal_fistula_skin.indexOf('正常') > -1
  822. ? true
  823. : false
  824. "
  825. showValue="正常"
  826. ></label-box
  827. >&nbsp;
  828. <label-box
  829. :isChecked="
  830. predialysis.internal_fistula_skin.indexOf('淤血') > -1
  831. ? true
  832. : false
  833. "
  834. showValue="淤血"
  835. ></label-box
  836. >&nbsp;
  837. <label-box
  838. :isChecked="
  839. predialysis.internal_fistula_skin.indexOf('红') > -1
  840. ? true
  841. : false
  842. "
  843. showValue="红"
  844. ></label-box
  845. >&nbsp;
  846. <label-box
  847. :isChecked="
  848. predialysis.internal_fistula_skin.indexOf('肿') > -1
  849. ? true
  850. : false
  851. "
  852. showValue="肿"
  853. ></label-box>
  854. <!-- 其他: -->
  855. </span>
  856. </td>
  857. </tr>
  858. <tr>
  859. <td style="text-align: left" colspan="8">
  860. <span style="display: inline-block; margin-left: 15px"
  861. >出血影响因素:</span
  862. >
  863. <label-box
  864. showValue="无"
  865. :isChecked="predialysis.is_hemorrhage == 2 ? true : false"
  866. ></label-box>
  867. <label-box
  868. showValue="异常"
  869. :isChecked="predialysis.is_hemorrhage == 1 ? true : false"
  870. ></label-box
  871. >&nbsp;
  872. <label-box
  873. showValue="穿刺点渗血"
  874. :isChecked="
  875. predialysis.is_hemorrhage == 1 &&
  876. predialysis.hemorrhage.indexOf('穿刺点渗血') > -1
  877. ? true
  878. : false
  879. "
  880. ></label-box>
  881. <label-box
  882. showValue="牙龈出血"
  883. :isChecked="
  884. predialysis.is_hemorrhage == 1 &&
  885. predialysis.hemorrhage.indexOf('牙龈出血') > -1
  886. ? true
  887. : false
  888. "
  889. ></label-box>
  890. <label-box
  891. showValue="消化道出血"
  892. :isChecked="
  893. predialysis.is_hemorrhage == 1 &&
  894. predialysis.hemorrhage.indexOf('消化道出血') > -1
  895. ? true
  896. : false
  897. "
  898. ></label-box>
  899. <label-box
  900. showValue="女性经期"
  901. :isChecked="
  902. predialysis.is_hemorrhage == 1 &&
  903. predialysis.hemorrhage.indexOf('女性经期') > -1
  904. ? true
  905. : false
  906. "
  907. ></label-box
  908. >其他:
  909. <span>{{ predialysis.hemorrhage_other }}</span>
  910. </td>
  911. </tr>
  912. </table>
  913. <table class="print-table" border="1" style="line-height: 30px">
  914. <tr style="line-height: 20px">
  915. <td style="min-width: 60px">时间</td>
  916. <td style="min-width: 60px">
  917. 血压
  918. <br />(mmHg)
  919. </td>
  920. <td style="min-width: 60px">
  921. 心率
  922. <br />次/分
  923. </td>
  924. <td style="min-width: 60px">
  925. 血流量
  926. <br />ml/min
  927. </td>
  928. <td style="min-width: 60px">
  929. 静脉压
  930. <br />(mmHg)
  931. </td>
  932. <td style="min-width: 60px">
  933. 动脉压
  934. <br />(mmHg)
  935. </td>
  936. <td style="min-width: 60px">
  937. 跨膜压
  938. <br />(mmHg)
  939. </td>
  940. <td style="min-width: 60px">
  941. 超滤率
  942. <br />ml/h
  943. </td>
  944. <td style="min-width: 60px">
  945. 超滤量
  946. <br />ml
  947. </td>
  948. <td style="min-width: 60px">
  949. 电导度
  950. <br />
  951. </td>
  952. <td style="min-width: 60px">病情变化及处理</td>
  953. <td style="min-width: 110px">护士签名核对者</td>
  954. </tr>
  955. <tr
  956. v-for="(monitor, monindex) in monitors"
  957. :key="monindex"
  958. style="height: 30px"
  959. >
  960. <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
  961. <td>
  962. {{
  963. monitor.systolic_blood_pressure
  964. ? monitor.systolic_blood_pressure + "/"
  965. : ""
  966. }}{{
  967. monitor.diastolic_blood_pressure
  968. ? monitor.diastolic_blood_pressure
  969. : ""
  970. }}
  971. </td>
  972. <td>{{ monitor.pulse_frequency }}</td>
  973. <td>{{ monitor.blood_flow_volume }}</td>
  974. <td>{{ monitor.venous_pressure }}</td>
  975. <td>
  976. {{ monitor.arterial_pressure ? monitor.arterial_pressure : "" }}
  977. </td>
  978. <td>{{ monitor.transmembrane_pressure }}</td>
  979. <td>{{ monitor.ultrafiltration_rate }}</td>
  980. <td>{{ monitor.ultrafiltration_volume }}</td>
  981. <td>{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
  982. <td>
  983. <span style="line-height: 18px; display: block">
  984. {{ monitor.symptom }}&nbsp;{{ monitor.dispose }}&nbsp;{{
  985. monitor.result
  986. }}
  987. </span>
  988. </td>
  989. <td>
  990. <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
  991. {{ getAdminUser(monitor.monitoring_nurse) }}
  992. </span>
  993. <span
  994. v-else
  995. style="
  996. display: flex;
  997. align-items: center;
  998. justify-content: space-around;
  999. height: 36px;
  1000. "
  1001. >
  1002. <img
  1003. style="height: 30px"
  1004. :src="setAdminUserES(monitor.monitoring_nurse)"
  1005. alt
  1006. srcset
  1007. />
  1008. </span>
  1009. </td>
  1010. </tr>
  1011. <tr>
  1012. <td style="text-align: left" colspan="12">
  1013. <span style="display: inline-block; margin-left: 15px"
  1014. >透析护理记录:{{ nursing_record }}</span
  1015. >
  1016. </td>
  1017. </tr>
  1018. <tr>
  1019. <td style="text-align: left" colspan="12">
  1020. <span style="display: inline-block; margin-left: 15px">
  1021. 透后评估: 透析过程:
  1022. <label-box
  1023. showValue="完成"
  1024. :isChecked="
  1025. afterdialysis.dialysis_process == 1 ? true : false
  1026. "
  1027. ></label-box>
  1028. <label-box
  1029. showValue="提前"
  1030. :isChecked="
  1031. afterdialysis.dialysis_process == 2 ? true : false
  1032. "
  1033. ></label-box
  1034. >&nbsp;&nbsp; 并发症:{{
  1035. afterdialysis.complication ? afterdialysis.complication : ""
  1036. }}
  1037. </span>
  1038. </td>
  1039. </tr>
  1040. <tr>
  1041. <td style="text-align: left" colspan="2">
  1042. <span style="display: inline-block; margin-left: 15px"
  1043. >实际置换量:{{
  1044. afterdialysis.actual_displacement
  1045. ? afterdialysis.actual_displacement
  1046. : "/"
  1047. }}
  1048. L</span
  1049. >
  1050. </td>
  1051. <td style="text-align: left" colspan="10">
  1052. <span>
  1053. 透析器及管路凝血情况:
  1054. <label-box
  1055. showValue="0级"
  1056. :isChecked="afterdialysis.cruor.indexOf('透析器-0级') > -1"
  1057. ></label-box>
  1058. <label-box
  1059. showValue="1级"
  1060. :isChecked="afterdialysis.cruor.indexOf('透析器-1级') > -1"
  1061. ></label-box>
  1062. <label-box
  1063. showValue="2级"
  1064. :isChecked="afterdialysis.cruor.indexOf('透析器-2级') > -1"
  1065. ></label-box>
  1066. <label-box
  1067. showValue="3级"
  1068. :isChecked="afterdialysis.cruor.indexOf('透析器-3级') > -1"
  1069. ></label-box
  1070. >&nbsp;&nbsp;
  1071. {{ getCruor(afterdialysis.cruor) }}
  1072. </span>
  1073. </td>
  1074. </tr>
  1075. <tr>
  1076. <td style="text-align: left" colspan="2">
  1077. <span style="display: inline-block; margin-left: 15px">
  1078. <span
  1079. v-if="finshForm.url === ''"
  1080. style="display: flex; align-items: center; height: 36px"
  1081. >下机护士:{{ finshForm.finish_nurse }}</span
  1082. >
  1083. <span
  1084. v-if="finshForm.url !== ''"
  1085. style="display: flex; align-items: center; height: 36px"
  1086. >
  1087. 下机护士:
  1088. <img :src="finshForm.url" style="height: 30px" />
  1089. </span>
  1090. </span>
  1091. </td>
  1092. </tr>
  1093. </table>
  1094. <div
  1095. v-if="tableAdvice.length > 8"
  1096. style="page-break-after: always"
  1097. ></div>
  1098. <div v-if="tableAdvice.length > 8" class="order-title">
  1099. {{ orgname }}&nbsp;&nbsp;&nbsp;血液净化治疗记录单续页
  1100. </div>
  1101. <table
  1102. v-if="tableAdvice.length > 8"
  1103. class="print-table"
  1104. border="1"
  1105. style="margin-top: 10px"
  1106. >
  1107. <tr>
  1108. <td style="text-align: left">
  1109. <span style="display: inline-block; margin-left: 15px">
  1110. {{ getDatge(queryParams.xtdate) }}
  1111. </span>
  1112. </td>
  1113. <td style="text-align: center">
  1114. 姓名:
  1115. <span style="display: inline-block; margin-left: 10px">
  1116. {{ patientInfo.name }}
  1117. </span>
  1118. </td>
  1119. <td style="text-align: center">
  1120. 性别:
  1121. <span style="display: inline-block; margin-left: 10px">
  1122. {{ patientInfo.gender }}
  1123. </span>
  1124. </td>
  1125. <td style="text-align: center">
  1126. 年龄:
  1127. <span style="display: inline-block; margin-left: 10px">
  1128. {{ getAge(patientInfo) }}
  1129. </span>
  1130. </td>
  1131. <td style="text-align: center" colspan="2">
  1132. 透析次数:
  1133. <span style="display: inline-block; margin-left: 10px">
  1134. {{
  1135. patientInfo.total_dialysis + patientInfo.user_sys_before_count
  1136. }}
  1137. </span>
  1138. </td>
  1139. <!-- <td style="text-align:center;">
  1140. <template v-if="receiverTreatmentAccess.condition == 1">
  1141. 住院号:
  1142. <span style="display:inline-block;margin-left:10px;">
  1143. {{
  1144. receiverTreatmentAccess.admission_number
  1145. ? receiverTreatmentAccess.admission_number
  1146. : "/"
  1147. }}
  1148. </span>
  1149. </template>
  1150. <template v-else>
  1151. 门诊号:
  1152. <span style="display:inline-block;margin-left:10px;">
  1153. {{
  1154. patientInfo.admission_number
  1155. ? patientInfo.admission_number
  1156. : "/"
  1157. }}
  1158. </span>
  1159. </template>
  1160. </td> -->
  1161. <td style="text-align: center">
  1162. 机器号:
  1163. <span style="display: inline-block; margin-left: 10px">
  1164. {{
  1165. dialysisOrder &&
  1166. dialysisOrder.DeviceNumber &&
  1167. dialysisOrder.DeviceNumber.number > 0
  1168. ? dialysisOrder.DeviceNumber.number
  1169. : patientInfo.DialysisSchedule.device_number.number
  1170. }}
  1171. </span>
  1172. </td>
  1173. </tr>
  1174. </table>
  1175. <table class="print-table" border="1">
  1176. <tr>
  1177. <td>时间</td>
  1178. <td>医生</td>
  1179. <td>临时医嘱</td>
  1180. <td>执行者</td>
  1181. <td>执行时间</td>
  1182. <!-- <td>核对者</td> -->
  1183. </tr>
  1184. <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
  1185. <td style="height: 30px; line-height: 30px">
  1186. {{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}
  1187. </td>
  1188. <td>
  1189. <span v-if="setAdminUserES(advice.advice_doctor) == ''">
  1190. {{ getAdminUser(advice.advice_doctor) }}
  1191. </span>
  1192. <span
  1193. v-else
  1194. style="
  1195. display: flex;
  1196. align-items: center;
  1197. justify-content: space-around;
  1198. height: 36px;
  1199. "
  1200. >
  1201. <img
  1202. style="height: 30px"
  1203. :src="setAdminUserES(advice.advice_doctor)"
  1204. alt
  1205. srcset
  1206. />
  1207. </span>
  1208. </td>
  1209. <td
  1210. class="parent"
  1211. style="text-align: left; padding-left: 20px !important"
  1212. >
  1213. <span v-if="advice.parent_id > 0">&nbsp;&nbsp;&nbsp;</span>
  1214. <span>{{ advice.advice_name }}</span>
  1215. <span v-if="advice && advice.advice_desc"
  1216. >({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span
  1217. >
  1218. <span v-if="advice.prescribing_number">
  1219. &nbsp;&nbsp; {{ advice.prescribing_number
  1220. }}{{ advice.prescribing_number_unit }}
  1221. </span>
  1222. <span v-if="advice.single_dose != 0"
  1223. >{{ advice.single_dose }}{{ advice.single_dose_unit }}</span
  1224. >
  1225. <span v-if="advice.parent_id == 0">{{
  1226. advice.delivery_way
  1227. }}</span>
  1228. <span v-if="advice.parent_id == 0">
  1229. {{ advice.execution_frequency }}
  1230. </span>
  1231. <span v-if="advice.parent_id == 0 && advice.remark.length > 0"
  1232. >({{ advice.remark }})</span
  1233. >
  1234. </td>
  1235. <td>
  1236. <span v-if="setAdminUserES(advice.execution_staff) == ''">
  1237. {{ getAdminUser(advice.execution_staff) }}
  1238. </span>
  1239. <span
  1240. v-else
  1241. style="
  1242. display: flex;
  1243. align-items: center;
  1244. justify-content: space-around;
  1245. height: 36px;
  1246. "
  1247. >
  1248. <img
  1249. style="height: 30px"
  1250. :src="setAdminUserES(advice.execution_staff)"
  1251. alt
  1252. srcset
  1253. />
  1254. </span>
  1255. </td>
  1256. <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
  1257. <!-- <td>
  1258. <span v-if="setAdminUserES(advice.checker) == ''">
  1259. {{ getAdminUser(advice.checker) }}
  1260. </span>
  1261. <span
  1262. v-else
  1263. style="
  1264. display: flex;
  1265. align-items: center;
  1266. justify-content: space-around;
  1267. height: 36px;
  1268. "
  1269. >
  1270. <img
  1271. style="height: 30px"
  1272. :src="setAdminUserES(advice.checker)"
  1273. alt
  1274. srcset
  1275. />
  1276. </span>
  1277. </td> -->
  1278. </tr>
  1279. <tr>
  1280. <td style="text-align: left" colspan="6">
  1281. <span style="display: inline-block; margin-left: 15px"
  1282. >特殊记录:{{ special_record }}</span
  1283. >
  1284. </td>
  1285. </tr>
  1286. <!-- <tr>
  1287. <td style="text-align:left;" colspan="3">
  1288. <span style="display:inline-block;margin-left:15px;">医生签名:</span>
  1289. <span v-if="doctorForm.url === ''">{{doctorForm.doctor}}</span>
  1290. <span v-if="doctorForm.url!==''">
  1291. <img style="height:20px" :src="doctorForm.url" />
  1292. </span>
  1293. </td>
  1294. <td style="text-align:left;" colspan="6">
  1295. <span style="display:inline-block;margin-left:15px;">质控护士签名:
  1296. <span v-if="dialysisOrder!=null&&dialysisOrder.quality_nurse_id">
  1297. {{dialysisOrder!=null&&dialysisOrder.quality_nurse_id?getAdminUser(dialysisOrder.quality_nurse_id):''}}
  1298. </span>
  1299. <span
  1300. v-else style="align-items:center;justify-content:space-around;height:36px;"
  1301. >
  1302. <img style="height:30px;" :src="dialysisOrder!=null&&dialysisOrder.quality_nurse_id?setAdminUserES(dialysisOrder.quality_nurse_id):''" alt srcset />
  1303. </span>
  1304. </span>
  1305. </td>
  1306. </tr> -->
  1307. </table>
  1308. <!-- <div style="margin-top:20px">
  1309. <span style="margin-left:280px;">肝素浓度:每毫升肝素生理盐水含肝素钠2.5毫克</span>
  1310. </div>-->
  1311. </div>
  1312. </div>
  1313. </div>
  1314. </template>
  1315. <script>
  1316. import { getDialysisRecord } from "@/api/dialysis";
  1317. import { getDataConfig } from "@/utils/data";
  1318. import { jsGetAge, uParseTime } from "@/utils/tools";
  1319. import LabelBox from "../printItem/LabelBox";
  1320. import CheckBox from "../batch_print/option_check_box";
  1321. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  1322. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  1323. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  1324. export default {
  1325. name: "dialysisPrintOrderOne",
  1326. components: {
  1327. // DialysisPrintOrderOne,
  1328. // DialysisPrintOrderTwo,
  1329. LabelBox,
  1330. BreadCrumb,
  1331. CheckBox,
  1332. },
  1333. data() {
  1334. return {
  1335. crumbs: [
  1336. { path: false, name: "透析管理" },
  1337. { path: false, name: "打印单" },
  1338. ],
  1339. operators: [],
  1340. adminUser: [],
  1341. check: {},
  1342. dialysisOrder: {
  1343. DeviceNumber: [],
  1344. },
  1345. posture_arr: [],
  1346. operatorMaps: {},
  1347. complications: [
  1348. "低血压",
  1349. "高血压",
  1350. "心律失常",
  1351. "头晕",
  1352. "头痛",
  1353. "呕吐",
  1354. "抽搐",
  1355. "出血",
  1356. "心衰",
  1357. "腹痛",
  1358. "无",
  1359. ],
  1360. consciousness_arr: [],
  1361. jilurow: 0,
  1362. advice_jilurow: 0,
  1363. loading: false,
  1364. orgname: "",
  1365. patientInfo_gender_1: false,
  1366. patientInfo_gender_2: false,
  1367. patientInfo_source_2: false,
  1368. patientInfo_source_1: false,
  1369. modeOptions: {},
  1370. replacementWays: [],
  1371. perfusionApparatus: [],
  1372. anticoagulantsConfit: {},
  1373. bloodAccessParOpera: {},
  1374. dialysateFormulationOptions: {},
  1375. queryParams: {
  1376. xtdate: "",
  1377. xtno: "",
  1378. },
  1379. patientInfo: {
  1380. birth: "",
  1381. age: "",
  1382. DialysisSchedule: {
  1383. device_number: { number: "" },
  1384. device_zone: { name: "" },
  1385. },
  1386. gender: 0,
  1387. },
  1388. predialysis: {
  1389. score: "",
  1390. internal_fistula: "",
  1391. internal_fistula_skin: "",
  1392. catheter: "",
  1393. blood_access_part_opera_name: "",
  1394. },
  1395. afterdialysis: {
  1396. complications_index: "",
  1397. },
  1398. prescription: {
  1399. dialysate_formulation_name: "",
  1400. device: {},
  1401. },
  1402. advices: [],
  1403. users: [],
  1404. monitors: [],
  1405. summary: {},
  1406. receiverTreatmentAccess: {},
  1407. org_template_info: {},
  1408. doctor_advices: [],
  1409. advice_groups: [],
  1410. schedule: [],
  1411. AlPanel: {
  1412. id: 0,
  1413. name: "",
  1414. type: 1,
  1415. shouji: 2,
  1416. weichi: 2,
  1417. zongliang: 2,
  1418. gaimingcheng: -1,
  1419. gaijiliang: -1,
  1420. shouji_unit: "mg",
  1421. weichi_unit: "mg/h",
  1422. zongliang_unit: "mg",
  1423. gaimingcheng_unit: "",
  1424. gaijiliang_unit: "",
  1425. },
  1426. list: 5,
  1427. replacement_total: "",
  1428. actual_treatment_hour: "",
  1429. actual_treatment_minute: "",
  1430. anticoagulant: "",
  1431. anticoagulant_shouji: "",
  1432. anticoagulant_zongliang: "",
  1433. prescription_dewatering: "",
  1434. blood_flow_volume: "",
  1435. dialysate_flow: "",
  1436. bed: "",
  1437. dialyzer_perfusion_apparatus: "",
  1438. dialysate_formulation: "",
  1439. blood_access: "",
  1440. doctor: "",
  1441. nurse: "",
  1442. doctorAdvice: [],
  1443. total: "",
  1444. weight_before: "",
  1445. dry_weight: "",
  1446. weight_after: "",
  1447. weightloss_after: "",
  1448. actual_ultrafiltration: "",
  1449. temperature: "",
  1450. systolic_blood_pressure: "",
  1451. diastolic_blood_pressure: "",
  1452. mission: "",
  1453. dialysis_summary: "",
  1454. orderForm: {
  1455. start_nurse: "",
  1456. url: "",
  1457. },
  1458. doctorForm: {
  1459. doctor: "",
  1460. url: "",
  1461. },
  1462. finshForm: {
  1463. finish_nurse: "",
  1464. url: "",
  1465. },
  1466. tableAdvice: [],
  1467. monitor: [],
  1468. displace_liqui: "",
  1469. kalium: "",
  1470. sodium: "",
  1471. calcium: "",
  1472. weight_gain: "",
  1473. afterWeightLast: "",
  1474. anticoagulant_weichi: "",
  1475. target_ultrafiltration: "",
  1476. blood_access_internal_fistula: "",
  1477. venous_catheterization: "",
  1478. blood_access_part_opera_id: "",
  1479. dryWeight_add: "",
  1480. weight: "",
  1481. vascularId: 0,
  1482. PunctureNurse: {
  1483. user_name: "",
  1484. url: "",
  1485. },
  1486. arr: [],
  1487. arrtwo: [],
  1488. bloodAccess: [],
  1489. vascularAccess: [],
  1490. nursing_record: "",
  1491. special_record: "",
  1492. newTableAdvice: [],
  1493. qualityNurse: {},
  1494. };
  1495. },
  1496. methods: {
  1497. checkData() {
  1498. if (this.receiverTreatmentAccess.condition == 0) {
  1499. this.$message.error("门诊或住院未填");
  1500. } else if (
  1501. this.receiverTreatmentAccess.condition == 1 &&
  1502. this.receiverTreatmentAccess.admission_number == ""
  1503. ) {
  1504. this.$message.error("住院号未填");
  1505. } else if (
  1506. this.receiverTreatmentAccess.condition == 2 &&
  1507. this.patientInfo.admission_number == ""
  1508. ) {
  1509. this.$message.error("门诊号未填");
  1510. } else if (this.prescription.mode_id == "") {
  1511. this.$message.error("治疗方式未填");
  1512. } else if (this.predialysis.dry_weight == 0) {
  1513. this.$message.error("干体重未填");
  1514. } else if (this.prescription.conductivity == 0) {
  1515. this.$message.error("电导率未填");
  1516. } else if (this.prescription.calcium == 0) {
  1517. this.$message.error("钙未填");
  1518. } else if (this.prescription.dialysate_temperature == 0) {
  1519. this.$message.error("透析液温度未填");
  1520. } else if (this.predialysis.weight_before == 0) {
  1521. this.$message.error("透前体重未填");
  1522. } else if (this.prescription.target_ultrafiltration == 0) {
  1523. this.$message.error("设定脱水量未填");
  1524. } else if (this.prescription.anticoagulant == 0) {
  1525. this.$message.error("抗凝剂未填");
  1526. } else if (this.afterdialysis.weight_after == 0) {
  1527. this.$message.error("透后体重未填");
  1528. } else if (this.afterdialysis.actual_ultrafiltration == 0) {
  1529. this.$message.error("实际脱水量未填");
  1530. } else if (
  1531. this.prescription.dialysis_duration_hour == 0 &&
  1532. this.prescription.dialysis_duration_minute == 0
  1533. ) {
  1534. this.$message.error("透析时间未填");
  1535. } else if (this.prescription.dialyzer_perfusion_apparatus == "") {
  1536. this.$message.error("透析器型号未填");
  1537. } else if (
  1538. this.prescription.displace_liqui_part == 0 &&
  1539. (this.prescription.mode_id == 2 ||
  1540. this.prescription.mode_id == 5 ||
  1541. this.prescription.mode_id == 12)
  1542. ) {
  1543. this.$message.error("置换方式未填");
  1544. } else if (
  1545. this.prescription.displace_liqui_value == 0 &&
  1546. (this.prescription.mode_id == 2 ||
  1547. this.prescription.mode_id == 5 ||
  1548. this.prescription.mode_id == 12)
  1549. ) {
  1550. this.$message.error("置换量未填");
  1551. } else if (this.orderForm.start_nurse == "") {
  1552. this.$message.error("责任护士未填");
  1553. } else if (this.orderForm.start_nurse == "") {
  1554. this.$message.error("上机护士未填");
  1555. } else if (this.orderForm.start_nurse == "") {
  1556. this.$message.error("抗凝剂执行护士未填");
  1557. } else if (
  1558. this.prescription.prescription_doctor == 0 &&
  1559. this.prescription.creater == 0
  1560. ) {
  1561. this.$message.error("医生签名未填");
  1562. } else if (this.receiverTreatmentAccess.way == 0) {
  1563. this.$message.error("入科方式未填");
  1564. } else if (this.receiverTreatmentAccess.consciousness == 0) {
  1565. this.$message.error("意识未填");
  1566. } else if (this.receiverTreatmentAccess.appetite == 0) {
  1567. this.$message.error("食欲未填");
  1568. } else if (this.predialysis.temperature == 0) {
  1569. this.$message.error("透前体温未填");
  1570. } else if (this.receiverTreatmentAccess.posture == 0) {
  1571. this.$message.error("体位未填");
  1572. } else if (this.predialysis.blood_access_part_opera_name == "") {
  1573. this.$message.error("内瘘波动及震颤未填");
  1574. } else if (this.predialysis.blood_access_part_id == 0) {
  1575. this.$message.error("中心静脉导管部位未填");
  1576. } else if (this.predialysis.venous_catheterization == 0) {
  1577. this.$message.error("中心静脉导管未填");
  1578. } else if (this.predialysis.catheter == "") {
  1579. this.$message.error("中心静脉导管感染未填");
  1580. } else if (this.predialysis.internal_fistula_skin == "") {
  1581. this.$message.error("血管通路皮肤情况未填");
  1582. } else if (this.predialysis.skin == "") {
  1583. this.$message.error("皮肤未填");
  1584. } else if (this.predialysis.is_hemorrhage == 0) {
  1585. this.$message.error("是否出血未填");
  1586. } else if (
  1587. this.predialysis.is_hemorrhage == 1 &&
  1588. this.predialysis.hemorrhage == ""
  1589. ) {
  1590. this.$message.error("出血影响因素未填");
  1591. } else if (this.predialysis.special_medicine_other == "") {
  1592. this.$message.error("使用特殊药物未填");
  1593. } else if (this.receiverTreatmentAccess.danger_level == 0) {
  1594. this.$message.error("跌倒风险未填");
  1595. } else if (this.receiverTreatmentAccess.precaution == "") {
  1596. this.$message.error("跌倒风险预防措施未填");
  1597. } else if (this.nursing_record == "") {
  1598. this.$message.error("透析护理记录未填");
  1599. } else if (this.afterdialysis.dialysis_process == 0) {
  1600. this.$message.error("透析过程未填");
  1601. } else if (this.afterdialysis.complication == "") {
  1602. this.$message.error("透后并发症未填");
  1603. } else if (this.afterdialysis.actual_displacement == 0) {
  1604. this.$message.error("实际置换量未填");
  1605. } else if (this.afterdialysis.internal_fistula == "") {
  1606. this.$message.error("内瘘搏动及震颤音未填");
  1607. } else if (this.afterdialysis.cruor == "") {
  1608. this.$message.error("透析器及管路凝血情况未填");
  1609. } else if (this.afterdialysis.is_eat == 0) {
  1610. this.$message.error("透析中进食未填");
  1611. } else if (this.afterdialysis.patient_gose == 0) {
  1612. this.$message.error("患者去向未填");
  1613. } else if (this.finshForm.finish_nurse == "") {
  1614. this.$message.error("下机护士未填");
  1615. } else if (this.special_record == "") {
  1616. this.$message.error("特殊记录未填");
  1617. } else if (this.tableAdvice.length > 0 || this.monitors.length > 0) {
  1618. let num = 0;
  1619. if (this.monitors.length > 0) {
  1620. this.monitors.map((item) => {
  1621. if (item.id > 0 && item.operate_time) {
  1622. this.users.map((it) => {
  1623. if (it.id == item.monitoring_nurse) {
  1624. if (it.user_type == 2) {
  1625. num++;
  1626. this.$message.closeAll();
  1627. this.$message.error("存在不是护士保存的监测");
  1628. }
  1629. }
  1630. });
  1631. }
  1632. });
  1633. }
  1634. if (this.tableAdvice.length > 0) {
  1635. this.tableAdvice.map((item) => {
  1636. if (item.id > 0 && (item.created_time || item.start_time)) {
  1637. this.users.map((it) => {
  1638. if (it.id == item.advice_doctor) {
  1639. if (it.user_type == 3) {
  1640. num++;
  1641. this.$message.closeAll();
  1642. this.$message.error("存在不是医生保存的医嘱");
  1643. } else if (
  1644. it.id == item.execution_staff &&
  1645. item.execution_staff > 0
  1646. ) {
  1647. if (it.user_type == 2) {
  1648. num++;
  1649. this.$message.closeAll();
  1650. this.$message.error("存在不是护士执行的医嘱");
  1651. }
  1652. } else if (it.id == item.checker && item.checker > 0) {
  1653. if (it.user_type == 2) {
  1654. num++;
  1655. this.$message.closeAll();
  1656. this.$message.error("存在不是护士核对的医嘱");
  1657. }
  1658. }
  1659. } else if (
  1660. it.id == item.execution_staff &&
  1661. item.execution_staff > 0
  1662. ) {
  1663. if (it.user_type == 2) {
  1664. num++;
  1665. this.$message.closeAll();
  1666. this.$message.error("存在不是护士执行的医嘱");
  1667. }
  1668. } else if (it.id == item.checker && item.checker > 0) {
  1669. if (it.user_type == 2) {
  1670. num++;
  1671. this.$message.closeAll();
  1672. this.$message.error("存在不是护士核对的医嘱");
  1673. }
  1674. }
  1675. });
  1676. }
  1677. });
  1678. }
  1679. if (num == 0) {
  1680. this.$message.success("核对完成");
  1681. }
  1682. } else {
  1683. this.$message.success("核对完成");
  1684. }
  1685. },
  1686. getCruor(cruor) {
  1687. if (cruor.indexOf(",") == -1) {
  1688. let str = cruor;
  1689. if (
  1690. ["透析器-0级", "透析器-1级", "透析器-2级", "透析器-3级"].indexOf(
  1691. str
  1692. ) == -1
  1693. ) {
  1694. return str;
  1695. }
  1696. } else if (cruor.indexOf(",") > -1) {
  1697. let str = cruor;
  1698. if (
  1699. ["透析器-0级", "透析器-1级", "透析器-2级", "透析器-3级"].indexOf(
  1700. str
  1701. ) == -1
  1702. ) {
  1703. let newStr = "";
  1704. str.split(",").map((item) => {
  1705. if (
  1706. ["透析器-0级", "透析器-1级", "透析器-2级", "透析器-3级"].indexOf(
  1707. item
  1708. ) == -1
  1709. ) {
  1710. newStr += item + ",";
  1711. }
  1712. });
  1713. return newStr.substring(0, newStr.length - 1);
  1714. }
  1715. }
  1716. },
  1717. getAdminUser(id) {
  1718. if (id == 0) {
  1719. return "";
  1720. }
  1721. if (id == undefined) {
  1722. return "";
  1723. }
  1724. for (let i = 0; i < this.adminUser.length; i++) {
  1725. if (this.adminUser[i].id == id) {
  1726. return this.adminUser[i].name;
  1727. }
  1728. }
  1729. },
  1730. getDatge(value) {
  1731. var times = Date.parse(value) / 1000;
  1732. var timestr = uParseTime(times, "{y}年{m}月{d}日");
  1733. return timestr;
  1734. },
  1735. getTime(value, temp) {
  1736. if (value == 0) {
  1737. return "";
  1738. }
  1739. if (value != undefined) {
  1740. return uParseTime(value, temp);
  1741. }
  1742. return "";
  1743. },
  1744. getTimes(time) {
  1745. if (time === "") {
  1746. return "";
  1747. }
  1748. return uParseTime(time, "{y}-{m}-{d} {h}:{i}");
  1749. },
  1750. printThisPage() {
  1751. var ptime = Math.round(new Date().getTime() / 1000);
  1752. this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
  1753. const style =
  1754. '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
  1755. if (this.org_template_info.template_id == 1) {
  1756. printJS({
  1757. printable: "dialysis-print-box",
  1758. type: "html",
  1759. style: style,
  1760. scanStyles: false,
  1761. });
  1762. } else if (
  1763. this.org_template_info.template_id == 2 ||
  1764. this.org_template_info.template_id == 0
  1765. ) {
  1766. printJS({
  1767. printable: "dialysis-print-box-1",
  1768. type: "html",
  1769. style: style,
  1770. scanStyles: false,
  1771. });
  1772. }
  1773. },
  1774. getNumber() {
  1775. if (this.dialysisOrder != null) {
  1776. return (
  1777. this.patientInfo.DialysisSchedule.device_zone.name +
  1778. this.dialysisOrder.DeviceNumber.number
  1779. );
  1780. } else {
  1781. return (
  1782. this.patientInfo.DialysisSchedule.device_zone.name +
  1783. this.patientInfo.DialysisSchedule.device_number.number
  1784. );
  1785. }
  1786. },
  1787. getXuserName(id) {
  1788. if (id <= 0) {
  1789. return "";
  1790. }
  1791. var name = "";
  1792. if (this.users == null || typeof this.users.length === "undefined") {
  1793. return name;
  1794. }
  1795. var leng = this.users.length;
  1796. if (leng === 0) {
  1797. return name;
  1798. }
  1799. for (let index = 0; index < leng; index++) {
  1800. if (this.users[index].id === id) {
  1801. name = this.users[index].name;
  1802. break;
  1803. }
  1804. }
  1805. return name;
  1806. },
  1807. setAdminUserES(id) {
  1808. if (id === 0) {
  1809. return "";
  1810. }
  1811. if (id in this.operatorMaps) {
  1812. return this.operatorMaps[id].url;
  1813. } else {
  1814. return "";
  1815. }
  1816. },
  1817. modeName(mode_id) {
  1818. return typeof this.modeOptions[mode_id] !== "undefined" &&
  1819. typeof this.modeOptions[mode_id].name !== "undefined"
  1820. ? this.modeOptions[mode_id].name
  1821. : "";
  1822. },
  1823. getDialysisRecord() {
  1824. this.loading = true;
  1825. getDialysisRecord(this.queryParams).then((response) => {
  1826. if (response.data.state === 1) {
  1827. this.adminUser = response.data.data.users;
  1828. this.users = response.data.data.users;
  1829. var patientInfo = response.data.data.patientInfo;
  1830. if (patientInfo.gender === 1) {
  1831. patientInfo.gender = "男";
  1832. }
  1833. if (patientInfo.gender === 2) {
  1834. patientInfo.gender = "女";
  1835. }
  1836. this.patientInfo = response.data.data.patientInfo;
  1837. // console.log("透析记录", this.patientInfo);
  1838. this.patientInfo.birth = uParseTime(
  1839. this.patientInfo.birthday,
  1840. "{y}-{m}-{d}"
  1841. );
  1842. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1843. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1844. this.patientInfo.first_dialysis_date = uParseTime(
  1845. response.data.data.patientInfo.first_dialysis_date,
  1846. "{y}-{m}-{d}"
  1847. );
  1848. } else {
  1849. this.patientInfo.first_dialysis_date = "";
  1850. }
  1851. this.check = response.data.data.check;
  1852. var predialysis = response.data.data.PredialysisEvaluation;
  1853. console.log("透前评估", predialysis);
  1854. var predialysName = response.data.data.predialysName;
  1855. this.blood_access_part_opera_id = predialysName.name;
  1856. // console.log('血管', predialysName)
  1857. // this.weight_before = predialysis.weight_before
  1858. this.dry_weight = predialysis.dry_weight;
  1859. this.weight_gain = predialysis.weight_gain;
  1860. this.blood_access_internal_fistula =
  1861. predialysis.blood_access_internal_fistula;
  1862. this.venous_catheterization = predialysis.venous_catheterization;
  1863. // this.blood_access_part_opera_id = predialysis.blood_access_part_opera_id
  1864. // console.log('血管通路', this.blood_access_part_opera_id)
  1865. var arry = [];
  1866. arry = getDataConfig("hemodialysis", "vascular_access_desc");
  1867. // eslint-disable-next-line no-empty
  1868. var id = 0;
  1869. for (let i = 0; i < arry.length; i++) {
  1870. if (arry[i].id === predialysis.blood_access_part_opera_id) {
  1871. id = predialysis.blood_access_part_opera_id;
  1872. }
  1873. this.vascularId = id;
  1874. }
  1875. this.predialysis = predialysis;
  1876. // console.log('透前评估', this.predialysis)
  1877. this.predialysis.blood_access_part_opera_name =
  1878. this.bloodAccessParOperaName(
  1879. this.predialysis.blood_access_part_opera_id
  1880. );
  1881. var afterdialysis = response.data.data.AssessmentAfterDislysis;
  1882. // eslint-disable-next-line no-undef
  1883. console.log("透后评估", afterdialysis);
  1884. this.temperature = afterdialysis.temperature;
  1885. this.actual_ultrafiltration = afterdialysis.actual_ultrafiltration;
  1886. this.actual_treatment_hour = afterdialysis.actual_treatment_hour;
  1887. this.actual_treatment_minute = afterdialysis.actual_treatment_minute;
  1888. this.systolic_blood_pressure = afterdialysis.systolic_blood_pressure;
  1889. this.diastolic_blood_pressure =
  1890. afterdialysis.diastolic_blood_pressure;
  1891. this.afterdialysis = afterdialysis;
  1892. // eslint-disable-next-line no-unused-vars
  1893. var doctoradvce = response.data.data.doctorAdvice;
  1894. var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
  1895. this.newTableAdvice = response.data.data.doctorAdevieInfo;
  1896. console.log("哈哈哈哈哈哈哈哈哈", this.newTableAdvice);
  1897. var tableAdvice = doctorAdevieInfo;
  1898. console.log("tableAdvice", tableAdvice);
  1899. // console.log('医生', tableAdvice.length)
  1900. if (tableAdvice.length === 0) {
  1901. var obj = { advice_name: "", start_time: "" };
  1902. var obj1 = { advice_name: "", start_time: "" };
  1903. var obj2 = { advice_name: "", start_time: "" };
  1904. var obj3 = { advice_name: "", start_time: "" };
  1905. var obj4 = { advice_name: "", start_time: "" };
  1906. var obj5 = { advice_name: "", start_time: "" };
  1907. var obj6 = { advice_name: "", start_time: "" };
  1908. tableAdvice.push(obj);
  1909. tableAdvice.push(obj1);
  1910. tableAdvice.push(obj2);
  1911. tableAdvice.push(obj3);
  1912. tableAdvice.push(obj4);
  1913. tableAdvice.push(obj5);
  1914. tableAdvice.push(obj6);
  1915. this.tableAdvice = tableAdvice;
  1916. }
  1917. if (tableAdvice.length === 1) {
  1918. var obj = { advice_name: "", start_time: "" };
  1919. var obj1 = { advice_name: "", start_time: "" };
  1920. var obj2 = { advice_name: "", start_time: "" };
  1921. var obj3 = { advice_name: "", start_time: "" };
  1922. var obj4 = { advice_name: "", start_time: "" };
  1923. var obj5 = { advice_name: "", start_time: "" };
  1924. tableAdvice.push(obj);
  1925. tableAdvice.push(obj1);
  1926. tableAdvice.push(obj2);
  1927. tableAdvice.push(obj3);
  1928. tableAdvice.push(obj4);
  1929. tableAdvice.push(obj5);
  1930. this.tableAdvice = tableAdvice;
  1931. }
  1932. if (tableAdvice.length === 2) {
  1933. var obj = { advice_name: "", start_time: "" };
  1934. var obj1 = { advice_name: "", start_time: "" };
  1935. var obj2 = { advice_name: "", start_time: "" };
  1936. var obj3 = { advice_name: "", start_time: "" };
  1937. var obj4 = { advice_name: "", start_time: "" };
  1938. tableAdvice.push(obj);
  1939. tableAdvice.push(obj1);
  1940. tableAdvice.push(obj2);
  1941. tableAdvice.push(obj3);
  1942. tableAdvice.push(obj4);
  1943. this.tableAdvice = tableAdvice;
  1944. }
  1945. if (tableAdvice.length === 3) {
  1946. // eslint-disable-next-line no-redeclare
  1947. var obj = { advice_name: "", start_time: "" };
  1948. // eslint-disable-next-line no-redeclare
  1949. var obj1 = { advice_name: "", start_time: "" };
  1950. // eslint-disable-next-line no-redeclare
  1951. var obj2 = { advice_name: "", start_time: "" };
  1952. // eslint-disable-next-line no-redeclare
  1953. var obj3 = { advice_name: "", start_time: "" };
  1954. tableAdvice.push(obj);
  1955. tableAdvice.push(obj1);
  1956. tableAdvice.push(obj2);
  1957. tableAdvice.push(obj3);
  1958. this.tableAdvice = tableAdvice;
  1959. }
  1960. if (tableAdvice.length === 4) {
  1961. // eslint-disable-next-line no-redeclare
  1962. var obj = { advice_name: "", start_time: "" };
  1963. // eslint-disable-next-line no-redeclare
  1964. var obj1 = { advice_name: "", start_time: "" };
  1965. // eslint-disable-next-line no-redeclare
  1966. var obj2 = { advice_name: "", start_time: "" };
  1967. tableAdvice.push(obj);
  1968. tableAdvice.push(obj1);
  1969. tableAdvice.push(obj2);
  1970. this.tableAdvice = tableAdvice;
  1971. }
  1972. if (tableAdvice.length === 5) {
  1973. // eslint-disable-next-line no-redeclare
  1974. var obj = { advice_name: "", start_time: "" };
  1975. // eslint-disable-next-line no-redeclare
  1976. var obj1 = { advice_name: "", start_time: "" };
  1977. tableAdvice.push(obj);
  1978. tableAdvice.push(obj1);
  1979. this.tableAdvice = tableAdvice;
  1980. }
  1981. if (tableAdvice.length === 6) {
  1982. // eslint-disable-next-line no-redeclare
  1983. var obj = { advice_name: "", start_time: "" };
  1984. tableAdvice.push(obj);
  1985. this.tableAdvice = tableAdvice;
  1986. }
  1987. if (tableAdvice.length >= 7) {
  1988. this.tableAdvice = tableAdvice;
  1989. }
  1990. var doctor = response.data.data.doctor;
  1991. this.doctor = doctor.user_name;
  1992. // console.log('医生', doctor)
  1993. this.PunctureNurse = response.data.data.nurse;
  1994. // console.log('穿刺护士', this.PunctureNurse)
  1995. var operators = response.data.data.operators;
  1996. // console.log('operators', operators)
  1997. var total = response.data.data.total;
  1998. console.log("total", total);
  1999. this.total = total;
  2000. this.operators = operators;
  2001. this.dialysisOrder =
  2002. response.data.data.dialysisOrder === null
  2003. ? null
  2004. : response.data.data.dialysisOrder;
  2005. if (this.operators.length > 0) {
  2006. var operatorsLen = this.operators.length;
  2007. for (var index = 0; index < operatorsLen; index++) {
  2008. this.$set(
  2009. this.operatorMaps,
  2010. this.operators[index].creator,
  2011. this.operators[index]
  2012. );
  2013. }
  2014. }
  2015. this.afterdialysis.txqnx = -1;
  2016. if (this.afterdialysis.cruor.indexOf("0度") > -1) {
  2017. this.afterdialysis.txqnx = 0;
  2018. }
  2019. if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
  2020. this.afterdialysis.txqnx = 1;
  2021. }
  2022. if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
  2023. this.afterdialysis.txqnx = 2;
  2024. }
  2025. if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
  2026. this.afterdialysis.txqnx = 3;
  2027. }
  2028. this.afterdialysis.complications =
  2029. this.afterdialysis.complication.split(",");
  2030. this.afterdialysis.complications_other = [];
  2031. this.afterdialysis.complications_index = [];
  2032. var acllen = this.afterdialysis.complications.length;
  2033. for (let index = 0; index < acllen; index++) {
  2034. if (
  2035. this.complications.indexOf(
  2036. this.afterdialysis.complications[index]
  2037. ) >= 0
  2038. ) {
  2039. this.afterdialysis.complications_index.push(
  2040. this.afterdialysis.complications[index]
  2041. );
  2042. } else if (
  2043. this.complications.indexOf(
  2044. this.afterdialysis.complications[index]
  2045. ) < 0 &&
  2046. this.afterdialysis.complications_other.indexOf(
  2047. this.afterdialysis.complications[index]
  2048. ) < 0
  2049. ) {
  2050. this.afterdialysis.complications_other.push(
  2051. this.afterdialysis.complications[index]
  2052. );
  2053. }
  2054. }
  2055. this.afterdialysis.complications_other =
  2056. this.afterdialysis.complications_other.join(",");
  2057. var prescription = response.data.data.dialysisPrescription;
  2058. this.prescription = prescription;
  2059. var schedule = response.data.data.schedule;
  2060. // console.log('排班', schedule)
  2061. this.schedule = schedule;
  2062. var receiverTreatmentAccess =
  2063. response.data.data.receiverTreatmentAccess;
  2064. console.log("接诊评估", receiverTreatmentAccess);
  2065. var obj = receiverTreatmentAccess.precaution;
  2066. var arr = obj.split(",");
  2067. console.log("arr", arr);
  2068. var arr2 = [];
  2069. for (let i = 0; i < this.precautions.length; i++) {
  2070. for (let j = 0; j < arr.length; j++) {
  2071. if (this.precautions[i].id == parseInt(arr[j])) {
  2072. arr2.push(this.precautions[i].name);
  2073. }
  2074. }
  2075. }
  2076. var obj2 = arr2.join(",");
  2077. console.log("obj2", obj2);
  2078. receiverTreatmentAccess.precaution = obj2;
  2079. console.log("接诊评估", receiverTreatmentAccess);
  2080. this.receiverTreatmentAccess = receiverTreatmentAccess;
  2081. var dialysisway = response.data.data.dialysisway;
  2082. console.log("透析处方", dialysisway);
  2083. this.target_ultrafiltration = dialysisway.target_ultrafiltration;
  2084. var order = response.data.data.order;
  2085. // console.log('上下机', order)
  2086. var start_nurse = response.data.data.startNuse;
  2087. // console.log('上机护士', start_nurse)
  2088. this.orderForm.start_nurse = start_nurse.user_name;
  2089. this.orderForm.url = start_nurse.url;
  2090. var finish_nurse = response.data.data.FinishNuse;
  2091. // console.log('下机护士', finish_nurse)
  2092. this.finshForm.url = finish_nurse.url;
  2093. this.finshForm.finish_nurse = finish_nurse.user_name;
  2094. var doctorname = response.data.data.DoctorName;
  2095. // console.log('医师签名', doctorname)
  2096. this.doctorForm.doctor = doctorname.user_name;
  2097. this.doctorForm.url = doctorname.url;
  2098. this.bed = order.number;
  2099. this.replacement_total = dialysisway.replacement_total;
  2100. this.anticoagulant = dialysisway.anticoagulant;
  2101. this.anticoagulant_shouji = dialysisway.anticoagulant_shouji;
  2102. this.anticoagulant_zongliang = dialysisway.anticoagulant_zongliang;
  2103. this.prescription_dewatering = dialysisway.prescription_dewatering;
  2104. this.blood_flow_volume = dialysisway.blood_flow_volume;
  2105. this.dialysate_flow = dialysisway.dialysate_flow;
  2106. this.dialyzer_perfusion_apparatus =
  2107. dialysisway.dialyzer_perfusion_apparatus;
  2108. this.dialysate_formulation = dialysisway.dialysate_formulation;
  2109. this.blood_access = dialysisway.blood_access;
  2110. this.displace_liqui = dialysisway.displace_liqui;
  2111. this.kalium = dialysisway.kalium;
  2112. this.sodium = dialysisway.sodium;
  2113. this.calcium = dialysisway.calcium;
  2114. this.anticoagulant_weichi = dialysisway.anticoagulant_weichi;
  2115. // var afterWeightLast = response.data.data.assessmentAfterDislysis
  2116. // this.afterWeightLast = afterWeightLast.weight_after
  2117. // eslint-disable-next-line no-undef
  2118. // console.log('透前体重', this.weight_before)
  2119. // console.log('干体中', this.dry_weight)
  2120. // console.log('什么体重', predialysis.additional_weight)
  2121. // console.log('较干体中增加量', this.dryWeight_add)
  2122. // this.afterWeightLast = afterWeightLast.weight_after
  2123. this.prescription.mode = this.modeName(this.prescription.mode_id);
  2124. var rwLen = this.replacementWays.length;
  2125. this.prescription.replacement = "";
  2126. for (let index = 0; index < rwLen; index++) {
  2127. if (
  2128. this.replacementWays[index].id ==
  2129. this.prescription.replacement_way
  2130. ) {
  2131. this.prescription.replacement = this.replacementWays[index].name;
  2132. break;
  2133. }
  2134. }
  2135. this.prescription.dialysate_formulation_name =
  2136. this.dialysateFormulationName(
  2137. this.prescription.dialysate_formulation
  2138. );
  2139. var paLen = this.perfusionApparatus.length;
  2140. this.prescription.perfusion_apparatus_name = "";
  2141. for (let index = 0; index < paLen; index++) {
  2142. if (
  2143. this.perfusionApparatus[index].id ==
  2144. this.prescription.perfusion_apparatus
  2145. ) {
  2146. this.prescription.perfusion_apparatus_name =
  2147. this.perfusionApparatus[index].name;
  2148. break;
  2149. }
  2150. }
  2151. // eslint-disable-next-line no-unused-vars
  2152. var acLen = this.anticoagulantsConfit.length;
  2153. var thisALID = this.prescription.anticoagulant;
  2154. this.prescription.anticoagulant_name = "";
  2155. if (
  2156. typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
  2157. this.anticoagulantsConfit[thisALID] != null
  2158. ) {
  2159. this.prescription.anticoagulant_name =
  2160. this.anticoagulantsConfit[thisALID].name;
  2161. this.AlPanel = this.anticoagulantsConfit[thisALID];
  2162. }
  2163. this.advices = response.data.data.advices;
  2164. // console.log('医嘱', this.advices)
  2165. var monitor = response.data.data.monitor;
  2166. // console.log('透析监测', monitor)
  2167. this.monitor = monitor;
  2168. // console.log('monitor', monitor)
  2169. this.monitors = response.data.data.monitors;
  2170. // console.log("透析监测", this.monitors);
  2171. var summary = response.data.data.summary;
  2172. console.log("透析小结", summary);
  2173. this.mission = summary.mission;
  2174. this.dialysis_summary = summary.dialysis_summary;
  2175. this.nursing_record = summary.nursing_record;
  2176. this.special_record = summary.special_record;
  2177. this.org_template_info = response.data.data.org_template_info;
  2178. if (this.monitors.length < 7) {
  2179. var nl = 8 - this.monitors.length;
  2180. for (let index = 0; index < nl; index++) {
  2181. this.monitors.push([]);
  2182. }
  2183. }
  2184. this.jilurow = this.monitors.length + 1;
  2185. this.advice_jilurow = this.advices.length + 1;
  2186. var childMap = {};
  2187. for (const index in this.advices) {
  2188. if (this.advices[index].parent_id == 0) {
  2189. continue;
  2190. }
  2191. if (!(this.advices[index].parent_id in childMap)) {
  2192. childMap[this.advices[index].parent_id] = [];
  2193. }
  2194. childMap[this.advices[index].parent_id].push(this.advices[index]);
  2195. }
  2196. var advices = [];
  2197. for (const index in this.advices) {
  2198. if (this.advices[index].parent_id > 0) {
  2199. continue;
  2200. }
  2201. var item = this.advices[index];
  2202. if (item.id in childMap) {
  2203. item.children = childMap[item.id];
  2204. } else {
  2205. item.children = [];
  2206. }
  2207. advices.push(item);
  2208. }
  2209. var leftAdvice = [];
  2210. var rightAdvice = [];
  2211. var adlen = advices.length;
  2212. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
  2213. for (var i = 0; i < halfLen; i++) {
  2214. leftAdvice.push(advices[i]);
  2215. rightAdvice.push(advices[i + halfLen]);
  2216. }
  2217. if (halfLen < 5) {
  2218. var nl = 5 - leftAdvice.length;
  2219. for (let index = 0; index < nl; index++) {
  2220. leftAdvice.push([]);
  2221. }
  2222. var nl = 5 - rightAdvice.length;
  2223. for (let index = 0; index < nl; index++) {
  2224. rightAdvice.push([]);
  2225. }
  2226. }
  2227. this.advices = [];
  2228. for (var i = 0; i < halfLen; i++) {
  2229. var item = [];
  2230. item.push(leftAdvice[i]);
  2231. item.push(rightAdvice[i]);
  2232. this.advices.push(item);
  2233. }
  2234. this.loading = false;
  2235. this.doctor_advices =
  2236. response.data.data.advices == null
  2237. ? []
  2238. : response.data.data.advices;
  2239. for (let index = 0; index < this.doctor_advices.length; index++) {
  2240. this.doctor_advices[index]["isShow"] = 2;
  2241. }
  2242. if (this.doctor_advices.length > 0) {
  2243. var group = this.newAdviceGroupObject();
  2244. var initGroupBlock = function (group, advice) {
  2245. group.group_no = advice.groupno;
  2246. };
  2247. for (
  2248. let index = this.doctor_advices.length - 1;
  2249. index >= 0;
  2250. index--
  2251. ) {
  2252. var new_advice_index = 0;
  2253. if (
  2254. "children" in this.doctor_advices[index] &&
  2255. this.doctor_advices[index].children.length > 0
  2256. ) {
  2257. new_advice_index =
  2258. index + this.doctor_advices[index].children.length + 1;
  2259. var doctor_advice = {
  2260. delivery_way: this.doctor_advices[index].delivery_way,
  2261. execution_frequency:
  2262. this.doctor_advices[index].execution_frequency,
  2263. groupno: this.doctor_advices[index].groupno,
  2264. id: this.doctor_advices[index].id,
  2265. parent_id: this.doctor_advices[index].parent_id,
  2266. children: this.doctor_advices[index].children,
  2267. remark: this.doctor_advices[index].remark,
  2268. };
  2269. doctor_advice["isShow"] = 1;
  2270. this.doctor_advices.splice(new_advice_index, 0, doctor_advice);
  2271. // this.doctor_advices.push(doctor_advice)
  2272. }
  2273. }
  2274. for (let index = 0; index < this.doctor_advices.length; index++) {
  2275. const advice = this.doctor_advices[index];
  2276. if (advice.groupno == 0) {
  2277. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  2278. if (advice.parent_id > 0) {
  2279. if (this.advice_groups.length > 0) {
  2280. var parent_group =
  2281. this.advice_groups[this.advice_groups.length - 1];
  2282. if (parent_group.advices.length > 0) {
  2283. if (parent_group.advices[0].id == advice.parent_id) {
  2284. parent_group.advices.push(advice);
  2285. }
  2286. }
  2287. }
  2288. continue;
  2289. } else {
  2290. if (group.group_no > 0) {
  2291. this.advice_groups.push(group);
  2292. group = this.newAdviceGroupObject();
  2293. }
  2294. initGroupBlock(group, advice);
  2295. group.advices.push(advice);
  2296. this.advice_groups.push(group);
  2297. group = this.newAdviceGroupObject();
  2298. continue;
  2299. }
  2300. }
  2301. if (group.group_no > 0 && group.group_no != advice.groupno) {
  2302. this.advice_groups.push(group);
  2303. group = this.newAdviceGroupObject();
  2304. }
  2305. if (group.group_no == 0) {
  2306. initGroupBlock(group, advice);
  2307. }
  2308. if (group.group_no == advice.groupno) {
  2309. group.advices.push(advice);
  2310. }
  2311. }
  2312. if (group.group_no > 0) {
  2313. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  2314. this.advice_groups.push(group);
  2315. }
  2316. }
  2317. } else {
  2318. this.loading = false;
  2319. this.$message.error("请求数据失败");
  2320. return false;
  2321. }
  2322. });
  2323. },
  2324. bloodAccessParOperaName(id) {
  2325. if (id in this.bloodAccessParOpera) {
  2326. return this.bloodAccessParOpera[id].name;
  2327. }
  2328. return "";
  2329. },
  2330. dialysateFormulationName(id) {
  2331. if (id in this.dialysateFormulationOptions) {
  2332. return this.dialysateFormulationOptions[id].name;
  2333. }
  2334. return "";
  2335. },
  2336. getAge: function (val) {
  2337. if (val.birthday != 0) {
  2338. return jsGetAge(val.birth, "-");
  2339. } else {
  2340. return "";
  2341. }
  2342. },
  2343. newAdviceGroupObject: function () {
  2344. return Object.assign(
  2345. {},
  2346. {
  2347. group_no: 0,
  2348. // advice_doctor: 0,
  2349. // start_time: 0,
  2350. advices: [],
  2351. // exec_staff: 0,
  2352. // exec_time: 0,
  2353. // checker: 0,
  2354. }
  2355. );
  2356. },
  2357. getPartName(id) {
  2358. for (let i = 0; i < this.vascularAccess.length; i++) {
  2359. if (this.vascularAccess[i].id == id) {
  2360. return this.vascularAccess[i].name;
  2361. }
  2362. }
  2363. },
  2364. },
  2365. watch: {
  2366. "patientInfo.gender": function () {
  2367. if (this.patientInfo.gender == 1) {
  2368. this.patientInfo_gender_1 = true;
  2369. this.patientInfo_gender_2 = false;
  2370. } else if (this.patientInfo.gender == 2) {
  2371. this.patientInfo_gender_2 = true;
  2372. this.patientInfo_gender_1 = false;
  2373. } else {
  2374. this.patientInfo_gender_2 = false;
  2375. this.patientInfo_gender_1 = false;
  2376. }
  2377. },
  2378. "patientInfo.source": function () {
  2379. if (this.patientInfo.source == 1) {
  2380. this.patientInfo_source_1 = true;
  2381. this.patientInfo_source_2 = false;
  2382. } else if (this.patientInfo.source == 2) {
  2383. this.patientInfo_source_2 = true;
  2384. this.patientInfo_source_1 = false;
  2385. } else {
  2386. this.patientInfo_source_2 = false;
  2387. this.patientInfo_source_1 = false;
  2388. }
  2389. },
  2390. },
  2391. created() {
  2392. var xtuser = this.$store.getters.xt_user;
  2393. this.orgname = xtuser.org.org_name;
  2394. // this.orgname = "遂溪方济医院";
  2395. this.modeOptions = this.$store.getters.treatment_mode;
  2396. this.replacementWays = this.$store.getters.replacement_ways;
  2397. this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
  2398. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
  2399. var vascularAccess = getDataConfig("hemodialysis", "vascular_access");
  2400. this.vascularAccess = vascularAccess;
  2401. // console.log("hhe", vascularAccess);
  2402. console.log(
  2403. "血管通路部位",
  2404. getDataConfig("hemodialysis", "vascular_access")
  2405. );
  2406. this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
  2407. var bloodAccessParOpera = getDataConfig(
  2408. "hemodialysis",
  2409. "vascular_access_desc"
  2410. );
  2411. var arr = [];
  2412. var arrtwo = [];
  2413. for (let i = 0; i < bloodAccessParOpera.length; i++) {
  2414. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-存在") {
  2415. bloodAccessParOpera[i].name = "存在";
  2416. arr.push(bloodAccessParOpera[i]);
  2417. }
  2418. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-减弱") {
  2419. bloodAccessParOpera[i].name = "减弱";
  2420. arr.push(bloodAccessParOpera[i]);
  2421. }
  2422. if (bloodAccessParOpera[i].name == "内瘘波动及震颤-消失") {
  2423. bloodAccessParOpera[i].name = "消失";
  2424. arr.push(bloodAccessParOpera[i]);
  2425. }
  2426. if (bloodAccessParOpera[i].name == "直穿") {
  2427. arrtwo.push(bloodAccessParOpera[i]);
  2428. }
  2429. if (bloodAccessParOpera[i].name == "人造血管") {
  2430. arrtwo.push(bloodAccessParOpera[i]);
  2431. }
  2432. if (bloodAccessParOpera[i].name == "移植血管") {
  2433. arrtwo.push(bloodAccessParOpera[i]);
  2434. }
  2435. this.arr = arr;
  2436. this.arrtwo = arrtwo;
  2437. }
  2438. console.log("arr", arr);
  2439. console.log("arrtwo", arrtwo);
  2440. var bloodAccessParOpera = getDataConfig(
  2441. "hemodialysis",
  2442. "vascular_access_desc"
  2443. );
  2444. for (var key in bloodAccessParOpera) {
  2445. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  2446. bloodAccessParOpera[key];
  2447. }
  2448. var dialysateFormulationOptions = getDataConfig(
  2449. "hemodialysis",
  2450. "dialysate_formulation"
  2451. );
  2452. for (var key in dialysateFormulationOptions) {
  2453. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  2454. dialysateFormulationOptions[key];
  2455. }
  2456. const xtdate = this.$route.query && this.$route.query.xtdate;
  2457. const xtno = this.$route.query && this.$route.query.xtno;
  2458. if (
  2459. typeof xtdate === "string" &&
  2460. xtdate.length > 0 &&
  2461. typeof xtno === "string" &&
  2462. xtno.length > 0
  2463. ) {
  2464. this.queryParams.xtdate = xtdate;
  2465. this.queryParams.xtno = xtno;
  2466. this.getDialysisRecord();
  2467. } else {
  2468. this.$message.error("参数不齐");
  2469. return false;
  2470. }
  2471. this.ways = getDataConfig("hemodialysis", "way");
  2472. console.log("ways", this.ways);
  2473. this.consciousnesses = getDataConfig("hemodialysis", "consciousness");
  2474. this.appetites = getDataConfig("hemodialysis", "appetite");
  2475. this.postures = getDataConfig("hemodialysis", "posture");
  2476. this.sick_condition = getDataConfig("hemodialysis", "sick_condition");
  2477. this.precautions = getDataConfig("hemodialysis", "precaution");
  2478. console.log("跌倒", this.precautions);
  2479. this.intake = getDataConfig("hemodialysis", "intake");
  2480. this.nutrition = getDataConfig("hemodialysis", "nutrition");
  2481. },
  2482. };
  2483. </script>
  2484. <style>
  2485. .dialysis-print-order {
  2486. width: 960px;
  2487. margin: 0 auto;
  2488. }
  2489. .dialysis-print-order .order-yy-name {
  2490. margin: auto;
  2491. text-align: center;
  2492. font-size: 20px;
  2493. letter-spacing: 5px;
  2494. }
  2495. .dialysis-print-order .order-title {
  2496. margin: auto;
  2497. font-weight: 600;
  2498. text-align: center;
  2499. font-size: 22px;
  2500. padding: 10px 20px 20px 20px;
  2501. }
  2502. .dialysis-print-order .table-box {
  2503. width: 100%;
  2504. line-height: 23px;
  2505. font-size: 14px;
  2506. }
  2507. .dialysis-print-order .print-table {
  2508. width: 100%;
  2509. text-align: center;
  2510. border-collapse: collapse;
  2511. line-height: 40px;
  2512. font-size: 14px;
  2513. }
  2514. .dialysis-print-order .print-table-no {
  2515. width: 100%;
  2516. text-align: center;
  2517. border-collapse: collapse;
  2518. font-size: 14px;
  2519. }
  2520. .dialysis-print-order .under-line {
  2521. border-bottom: 1px solid #999;
  2522. width: 95%;
  2523. text-align: center;
  2524. margin-left: 2px;
  2525. }
  2526. .dialysis-print-order .title-box {
  2527. text-align: center;
  2528. font-size: 16px;
  2529. }
  2530. .dialysis-print-order .radio-lebel-box {
  2531. font-weight: 400;
  2532. cursor: pointer;
  2533. }
  2534. .dialysis-print-order .radio-no {
  2535. opacity: 0;
  2536. outline: none;
  2537. position: absolute;
  2538. margin: 0;
  2539. width: 0;
  2540. height: 0;
  2541. z-index: -1;
  2542. }
  2543. .dialysis-print-order .radio-inner {
  2544. white-space: nowrap;
  2545. cursor: pointer;
  2546. outline: none;
  2547. display: inline-block;
  2548. line-height: 1;
  2549. position: relative;
  2550. vertical-align: middle;
  2551. }
  2552. .dialysis-print-order .radio-fang {
  2553. display: inline-block;
  2554. position: relative;
  2555. border: 1px solid #000;
  2556. box-sizing: border-box;
  2557. width: 14px;
  2558. height: 14px;
  2559. background-color: #fff;
  2560. z-index: 1;
  2561. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  2562. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  2563. }
  2564. .dialysis-print-order .is-checked-radio::after {
  2565. content: "√";
  2566. font-size: 15px;
  2567. }
  2568. .dialysis-print-order .print-table-no tr td {
  2569. padding: 8px 5px;
  2570. line-height: 25px;
  2571. }
  2572. .dialysis-print-order .print-table tr td {
  2573. padding: 1px 1px;
  2574. /*line-height: 25px;*/
  2575. }
  2576. .es-img {
  2577. height: 25px;
  2578. }
  2579. .advice-name {
  2580. text-align: left;
  2581. }
  2582. .advice-children {
  2583. display: flex;
  2584. }
  2585. .title-box-pro {
  2586. border: 0 #fff;
  2587. line-height: 25px;
  2588. height: 25px;
  2589. text-align: left;
  2590. padding-left: 10px !important;
  2591. }
  2592. .title-box-pro-tr {
  2593. border: 0 #fff;
  2594. }
  2595. .text-align-left {
  2596. text-align: left !important;
  2597. padding-left: 10px !important;
  2598. font-size: 14px !important;
  2599. line-height: 25px;
  2600. }
  2601. .print-table-tr-new td {
  2602. line-height: 20px !important;
  2603. }
  2604. .border-top-solid {
  2605. border: solid 1px #000;
  2606. }
  2607. .print-template-two tr {
  2608. line-height: 30px;
  2609. }
  2610. .parent {
  2611. text-align: left;
  2612. padding-left: 20px !important;
  2613. }
  2614. </style>