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

DialysisPrintOrderFourteen.vue 90KB

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