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

DialysisPrintOrderTwentySeven.vue 113KB

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