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

DialysisPrintOrderTwentyFour.vue 106KB

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