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

DialysisPrintOrderTwentySeven.vue 114KB

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