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

DialysisPrintOrderFortyEight.vue 101KB

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