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

DialysisPrintOrderFourteen.vue 96KB

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