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

DialysisPrintOrderOne.vue 74KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815
  1. <template>
  2. <div id="dialysis-print-box">
  3. <div 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="30"></td>
  14. <td width="50">性 别:</td>
  15. <td width="120">
  16. <div>
  17. <label-box :isChecked="patientInfo_gender_1" showValue="男"></label-box>
  18. <label-box :isChecked="patientInfo_gender_2" showValue="女"></label-box>
  19. </div>
  20. </td>
  21. <td width="50">年 龄:</td>
  22. <td width="40">
  23. <div class="under-line">{{ getAge(patientInfo) }}</div>
  24. </td>
  25. <td>岁</td>
  26. <td width="30"></td>
  27. <td width="50">科 室:</td>
  28. <td width="200">
  29. <div>
  30. <label-box :isChecked="patientInfo_source_1" showValue="门 诊 透 析"></label-box>
  31. <label-box :isChecked="patientInfo_source_2" showValue="住 院"></label-box>
  32. </div>
  33. </td>
  34. <td width="120">住院号/透析卡号:</td>
  35. <td width="130">
  36. <div class="under-line">
  37. &nbsp;{{ patientInfo.admission_number ? patientInfo.admission_number : "无" }}/{{ patientInfo.dialysis_no }}
  38. </div>
  39. </td>
  40. <td></td>
  41. </tr>
  42. </tbody>
  43. </table>
  44. <table class="table-box" style="margin-top: 10px;">
  45. <tbody>
  46. <tr>
  47. <td width="40">诊 断:</td>
  48. <td width="">
  49. <div class="under-line">&nbsp;{{ patientInfo.diagnose }}</div>
  50. </td>
  51. <td width="80">治 疗 日 期:</td>
  52. <td width="120">
  53. <div class="under-line">
  54. &nbsp;<span>{{ queryParams.xtdate }}</span>
  55. </div>
  56. </td>
  57. </tr>
  58. </tbody>
  59. </table>
  60. <table class="print-table" border="1">
  61. <tbody>
  62. <tr>
  63. <td width="30px" class="title-box">透前评估</td>
  64. <td>
  65. <table class="table-box">
  66. <tbody>
  67. <tr>
  68. <td width="70">入院方式:</td>
  69. <td width="230">
  70. <div>
  71. <label-box v-for="(item, index) in way_arr" :key="index" :isChecked="receiverTreatmentAccess.way == item.id ? true : false" :showValue="item.name"></label-box>
  72. <!--&nbsp-->
  73. <!--<label-box :isChecked='receiverTreatmentAccess.way==2?true:false' showValue='扶行'></label-box>-->
  74. <!--&nbsp;-->
  75. <!--<label-box :isChecked='receiverTreatmentAccess.way==3?true:false' showValue='轮椅'></label-box>-->
  76. <!--&nbsp;-->
  77. <!--<label-box :isChecked='receiverTreatmentAccess.way==4?true:false' showValue='平车'></label-box>-->
  78. </div>
  79. </td>
  80. <td></td>
  81. <td width="50">意识:</td>
  82. <td width="230">
  83. <div>
  84. <label-box v-for="(item, index) in consciousness_arr" :key="index" :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false" :showValue="item.name"></label-box>
  85. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==1?true:false'-->
  86. <!--showValue='清醒'></label-box>-->
  87. <!--&nbsp;-->
  88. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==2?true:false'-->
  89. <!--showValue='嗜睡'></label-box>-->
  90. <!--&nbsp;-->
  91. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==3?true:false'-->
  92. <!--showValue='昏迷'></label-box>-->
  93. <!--<label-box :isChecked='receiverTreatmentAccess.consciousness==4?true:false'-->
  94. <!--showValue='模糊'></label-box>-->
  95. </div>
  96. </td>
  97. <td></td>
  98. <td width="50">体温:</td>
  99. <td width="100">
  100. <div class="under-line">
  101. &nbsp;{{ predialysis.temperature ? predialysis.temperature : "" }}
  102. </div>
  103. </td>
  104. <td width="35">℃</td>
  105. </tr>
  106. </tbody>
  107. </table>
  108. <table class="table-box">
  109. <tbody>
  110. <tr>
  111. <td width="40">体位:</td>
  112. <td width="400">
  113. <div>
  114. <label-box v-for="(item, index) in posture_arr" :key="index" :isChecked="receiverTreatmentAccess.posture == item.id ? true : false" :showValue="item.name"></label-box>
  115. <!--<label-box :isChecked='receiverTreatmentAccess.posture==1?true:false'-->
  116. <!--showValue='自动体位'></label-box>-->
  117. <!--&nbsp;-->
  118. <!--<label-box :isChecked='receiverTreatmentAccess.posture==2?true:false'-->
  119. <!--showValue='平卧位'></label-box>-->
  120. <!--&nbsp;-->
  121. <!--<label-box :isChecked='receiverTreatmentAccess.posture==3?true:false'-->
  122. <!--showValue='半卧位'></label-box>-->
  123. <!--&nbsp;-->
  124. <!--<label-box :isChecked='receiverTreatmentAccess.posture==4?true:false'-->
  125. <!--showValue='端坐位'></label-box>-->
  126. <!--&nbsp;-->
  127. <!--<label-box :isChecked='receiverTreatmentAccess.posture==5?true:false'-->
  128. <!--showValue='躁动不安'></label-box>-->
  129. <!--&nbsp;-->
  130. </div>
  131. </td>
  132. <td v-if="org_id == 9987" width="80">透前血压:</td>
  133. <td v-if="org_id == 9987" width="50">
  134. <div class="under-line">
  135. &nbsp;{{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : ""}}
  136. </div>
  137. </td>
  138. <td v-if="org_id == 9987" width='10'>/</td>
  139. <td v-if="org_id == 9987" width="50">
  140. <div class="under-line">
  141. &nbsp;{{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "" }}
  142. </div>
  143. </td>
  144. <td v-if="org_id == 9987" width='30'>mmHg</td>
  145. <td></td>
  146. </tr>
  147. </tbody>
  148. </table>
  149. <table class="table-box">
  150. <tbody>
  151. <tr>
  152. <td width="40">出血:</td>
  153. <td width="95">
  154. <div>
  155. <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
  156. &nbsp;
  157. <label-box :isChecked="predialysis.is_hemorrhage == 1 ? true : false" showValue="有"></label-box>
  158. </div>
  159. </td>
  160. <td width="10">(</td>
  161. <td width="380">
  162. <div>
  163. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('穿刺点渗血') > -1 ? true : false" showValue="穿刺点渗血"></label-box>
  164. &nbsp;
  165. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
  166. &nbsp;
  167. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('消化道出血') > -1 ? true : false" showValue="消化道出血"></label-box>
  168. &nbsp;
  169. <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('女性经期') > -1 ? true : false" showValue="女性经期"></label-box>
  170. </div>
  171. </td>
  172. <td width="35">其它</td>
  173. <td width="">
  174. <div class="under-line">
  175. &nbsp;
  176. <span v-if="predialysis.is_hemorrhage == 1">{{ predialysis.hemorrhage_other }}</span>
  177. </div>
  178. </td>
  179. <td width="10">)</td>
  180. </tr>
  181. </tbody>
  182. </table>
  183. <table class="table-box">
  184. <tbody>
  185. <tr>
  186. <td width="70">血管通路:</td>
  187. <td width="480">
  188. <div>
  189. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('自体内瘘') > -1 ? true : false" showValue="自体内瘘"></label-box>
  190. &nbsp;
  191. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') > -1 ? true : false" showValue="人造血管"></label-box>
  192. &nbsp;
  193. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('直穿') > -1 ? true : false" showValue="直穿"></label-box>
  194. &nbsp;
  195. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="颈内静脉"></label-box>
  196. &nbsp;
  197. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="股静脉"></label-box>
  198. &nbsp;
  199. <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('锁骨下') > -1 ? true : false" showValue="锁骨下"></label-box>
  200. &nbsp;
  201. </div>
  202. </td>
  203. <td width="65">穿刺方法:</td>
  204. <td width="100">
  205. <div class="under-line">
  206. &nbsp;
  207. <!-- <span v-if="predialysis.puncture_method">{{ predialysis.puncture_method }}</span> -->
  208. <span v-if="predialysis.puncture_way">{{ predialysis.puncture_way }}</span>
  209. </div>
  210. </td>
  211. <td></td>
  212. </tr>
  213. </tbody>
  214. </table>
  215. <table class="table-box">
  216. <tbody>
  217. <tr>
  218. <td width="40">内瘘:</td>
  219. <td width="35">震颤</td>
  220. <td width="10">(</td>
  221. <td width="180">
  222. <div>
  223. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
  224. &nbsp;
  225. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
  226. &nbsp;
  227. <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="无"></label-box>
  228. </div>
  229. </td>
  230. <td width="10">)</td>
  231. <td width="95">内瘘皮肤情况</td>
  232. <td width="10">(</td>
  233. <td width="220">
  234. <div>
  235. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('正常') > -1 ? true : false" showValue="正常"></label-box>
  236. &nbsp;
  237. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('瘀斑') > -1 ? true : false" showValue="瘀斑"></label-box>
  238. &nbsp;
  239. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红') > -1 ? true : false" showValue="红"></label-box>
  240. &nbsp;
  241. <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('肿') > -1 ? true : false" showValue="肿"></label-box>
  242. </div>
  243. </td>
  244. <td width="10">)</td>
  245. <td></td>
  246. </tr>
  247. </tbody>
  248. </table>
  249. <table class="table-box">
  250. <tbody>
  251. <tr>
  252. <td width="40">导管:</td>
  253. <td width="50">穿刺口</td>
  254. <td width="10">(</td>
  255. <td width="250">
  256. <div>
  257. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-干洁') > -1 ? true : false" showValue="干洁"></label-box>
  258. &nbsp;
  259. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-红肿') > -1 ? true : false" showValue="红肿"></label-box>
  260. &nbsp;
  261. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-分泌物') > -1 ? true : false" showValue="分泌物"></label-box>
  262. &nbsp;
  263. <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-渗血') > -1 ? true : false" showValue="渗血"></label-box>
  264. </div>
  265. </td>
  266. <td width="10">)</td>
  267. <td width="65">导管打折</td>
  268. <td width="10">(</td>
  269. <td width="80">
  270. <div>
  271. <label-box :isChecked="predialysis.catheter_bend == 1 ? true : false" showValue="有"></label-box>
  272. &nbsp;
  273. <label-box :isChecked="predialysis.catheter_bend == 2 ? true : false" showValue="无"></label-box>
  274. </div>
  275. </td>
  276. <td width="10">)</td>
  277. <td></td>
  278. </tr>
  279. </tbody>
  280. </table>
  281. </td>
  282. </tr>
  283. </tbody>
  284. </table>
  285. <table class="print-table" border="1">
  286. <tbody>
  287. <tr>
  288. <td width="30px" class="title-box">透析处方</td>
  289. <td>
  290. <table class="table-box">
  291. <tbody>
  292. <tr>
  293. <td width="70">透析时间:</td>
  294. <td width="40">
  295. <div class="under-line">
  296. &nbsp;{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}
  297. </div>
  298. </td>
  299. <td width="10">h</td>
  300. <td width="40">
  301. <div class="under-line">
  302. &nbsp;{{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}
  303. </div>
  304. </td>
  305. <td width="35">min</td>
  306. <td></td>
  307. <td width="55">血流量:</td>
  308. <td width="60">
  309. <div class="under-line">
  310. &nbsp;{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "" }}
  311. </div>
  312. </td>
  313. <td width="60">ml/min</td>
  314. <td></td>
  315. <td width="40">体重:</td>
  316. <td width="35">透前</td>
  317. <td width="50">
  318. <div class="under-line">
  319. &nbsp;{{ predialysis.weight_before ? predialysis.weight_before : "" }}
  320. </div>
  321. </td>
  322. <td width="20">Kg</td>
  323. <td width="45">干体重</td>
  324. <td width="50">
  325. <div class="under-line">
  326. &nbsp;{{ predialysis.dry_weight ? predialysis.dry_weight : "" }}
  327. </div>
  328. </td>
  329. <td width="20">Kg</td>
  330. <td></td>
  331. <td width="85">目标超滤量:</td>
  332. <td width="70">
  333. <div class="under-line">
  334. &nbsp;{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }}
  335. </div>
  336. </td>
  337. <td width="20">L</td>
  338. </tr>
  339. </tbody>
  340. </table>
  341. <table class="table-box">
  342. <tbody>
  343. <tr>
  344. <td width="70">抗凝方式:</td>
  345. <td width="80">
  346. <label-box :isChecked="prescription.anticoagulant == 2 ? true : false" showValue="普通肝素"></label-box>
  347. </td>
  348. <td width="10">(</td>
  349. <td width="35">首剂</td>
  350. <td width="50">
  351. <div class="under-line">
  352. &nbsp;
  353. <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_shouji }}</span>
  354. </div>
  355. </td>
  356. <td width="50">mg</td>
  357. <td width="10"></td>
  358. <td width="35">维持</td>
  359. <td width="40">
  360. <div class="under-line">
  361. &nbsp;
  362. <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_weichi }}</span>
  363. </div>
  364. </td>
  365. <td width="40">mg/h</td>
  366. <td width="10">)</td>
  367. <td width="100" v-if="prescription.anticoagulant == 3">
  368. <label-box :isChecked="prescription.anticoagulant == 3 ? true : false" showValue="低分子肝素"></label-box>
  369. </td>
  370. <td width="120" v-if="prescription.anticoagulant == 6">
  371. <label-box :isChecked="prescription.anticoagulant == 6 ? true : false" showValue="低分子肝素钙"></label-box>
  372. </td>
  373. <td width="120" v-if="prescription.anticoagulant == 7">
  374. <label-box :isChecked="prescription.anticoagulant == 7 ? true : false" showValue="低分子肝素钠"></label-box>
  375. </td>
  376. <td width="60">
  377. <div class="under-line">
  378. &nbsp;
  379. <span v-if="prescription.anticoagulant == 3">{{ prescription.anticoagulant_zongliang }}</span>
  380. <span v-if="prescription.anticoagulant == 6">{{ prescription.anticoagulant_zongliang }}</span>
  381. <span v-if="prescription.anticoagulant == 7">{{ prescription.anticoagulant_zongliang }}</span>
  382. </div>
  383. </td>
  384. <td width="20" v-if="isShowZero">mg</td>
  385. <td width="20" v-else>IU</td>
  386. <td width="80">
  387. <label-box :isChecked="prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
  388. </td>
  389. <td width="70">其他方式:</td>
  390. <td width="">
  391. <div class="under-line">
  392. &nbsp;
  393. <span v-if="prescription.anticoagulant == 4 || prescription.anticoagulant == 5">{{ prescription.anticoagulant_name }}</span>
  394. </div>
  395. </td>
  396. </tr>
  397. </tbody>
  398. </table>
  399. <table class="table-box">
  400. <tbody>
  401. <tr>
  402. <td width="85">透析液配方:</td>
  403. <td width="50">
  404. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : false" showValue="常规"></label-box>
  405. </td>
  406. <td width="50">
  407. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙') > -1 ? true : false" showValue="低钙"></label-box>
  408. </td>
  409. <td width="120">
  410. (
  411. <label class="radio-lebel-box">
  412. <!-- <span class="radio-inner">
  413. <span class="radio-fang " ></span>
  414. <input type="radio" class="radio-no" value="1">
  415. </span> -->
  416. <span> 1.25mmol/L</span>
  417. </label>
  418. )
  419. </td>
  420. <td width="50">
  421. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钙') > -1 ? true : false" showValue="高钙"></label-box>
  422. </td>
  423. <td width="100">
  424. ( 1.75mmol/L )
  425. </td>
  426. <td width="50">
  427. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钠') > -1 ? true : false" showValue="低钠"></label-box>
  428. </td>
  429. <td width="110">
  430. (
  431. <label class="radio-lebel-box">
  432. <!-- <span class="radio-inner">
  433. <span class="radio-fang " ></span>
  434. <input type="radio" class="radio-no" value="1">
  435. </span> -->
  436. <span> 135mmol/L</span>
  437. </label>
  438. )
  439. </td>
  440. <td width="50">
  441. <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钠') > -1 ? true : false" showValue="高钠"></label-box>
  442. </td>
  443. <td width="100">
  444. ( 145mmol/L )
  445. </td>
  446. <td></td>
  447. </tr>
  448. </tbody>
  449. </table>
  450. <table class="table-box">
  451. <tbody>
  452. <tr>
  453. <td width="55">置换量:</td>
  454. <td width="40">
  455. <div class="under-line">
  456. &nbsp;{{ prescription.replacement_total ? prescription.replacement_total : "" }}
  457. </div>
  458. </td>
  459. <td width="10">L</td>
  460. <td width="10"></td>
  461. <td width="70">治疗方式:</td>
  462. <td width="50">
  463. <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>
  464. </td>
  465. <td width="50">
  466. <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>
  467. </td>
  468. <td width="50">
  469. <label-box :isChecked="prescription.mode_id == 5 ? true : false" showValue="HF"></label-box>
  470. </td>
  471. <td width="50">
  472. <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box>
  473. </td>
  474. <td width="80">
  475. <label-box :isChecked="prescription.mode_id == 3 ? true : false" showValue="HD+HP"></label-box>
  476. </td>
  477. <td width="35">其他</td>
  478. <td width="100">
  479. <div class="under-line">
  480. &nbsp;
  481. <span v-if="prescription.mode_id > 5">{{ prescription.mode }}</span>
  482. </div>
  483. </td>
  484. <td width="140">透析器/灌流器型号:</td>
  485. <td width="">
  486. <div class="under-line">
  487. &nbsp;{{ prescription.dialyzer_perfusion_apparatus }}
  488. </div>
  489. </td>
  490. </tr>
  491. </tbody>
  492. </table>
  493. <table class="table-box">
  494. <tbody>
  495. <tr>
  496. <td width="70">透析机号:</td>
  497. <td width="100">
  498. <div class="under-line">{{ getNumber() }}</div>
  499. </td>
  500. <td width=""></td>
  501. <td width="70">医生签名:</td>
  502. <td width="100">
  503. <div class="under-line" v-if="org_id == 9987">
  504. <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:prescription.creater)) }} </span>
  505. <img class="es-img" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
  506. </div>
  507. <div class="under-line" v-else>
  508. <span v-if="advices.length == 0"></span>
  509. <span v-else-if="setAdminUserES(advices[0][0].advice_doctor) == ''">{{ getAdminUser(advices[0][0].advice_doctor) }}</span>
  510. <img class="es-img" :src="setAdminUserES(advices[0][0].advice_doctor)" alt="" srcset="" v-else />
  511. </div>
  512. </td>
  513. <td width="70">上机护士:</td>
  514. <td width="100">
  515. <div class="under-line">
  516. <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) == ''">
  517. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) }}</span>
  518. <img class="es-img" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse)" alt="" srcset="" v-else />
  519. </div>
  520. </td>
  521. </tr>
  522. </tbody>
  523. </table>
  524. </td>
  525. </tr>
  526. </tbody>
  527. </table>
  528. <table class="print-table" border="1">
  529. <tbody>
  530. <tr>
  531. <td :rowspan="jilurow" width="30px" class="title-box">
  532. 透析中记录
  533. </td>
  534. <td width="100">时间</td>
  535. <td width="80">血压<br />mmHg</td>
  536. <td width="40">脉率<br />次/分</td>
  537. <td width="40">呼吸<br />次/分</td>
  538. <td width="60">血流量<br />ml/min</td>
  539. <td width="60">超滤量<br />L</td>
  540. <td width="60">置换量<br />L</td>
  541. <td width="60">静脉压<br />mmHg</td>
  542. <td width="60">跨膜压<br />mmHg</td>
  543. <td width="60" v-if="org_id == 9987">ktv</td>
  544. <!-- <td width="60">钠浓度<br/>mmol/L</td>
  545. <td width="80">透析液温度<br/>℃</td>
  546. <td width="60">置换率<br/>ml/min</td> -->
  547. <td width="">备 注</td>
  548. </tr>
  549. <tr v-for="monitor in monitors" :key="monitor.id">
  550. <td>
  551. &nbsp;
  552. <!-- <template>
  553. <span v-if="monitor.monitoring_date">
  554. {{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}}
  555. </span>
  556. </template> -->
  557. {{ getTime(monitor.operate_time, "{h}:{i}") }}
  558. </td>
  559. <td>
  560. &nbsp;{{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
  561. {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
  562. </td>
  563. <td>
  564. &nbsp;{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
  565. </td>
  566. <td>
  567. &nbsp;{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
  568. </td>
  569. <td>
  570. &nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
  571. </td>
  572. <td v-if="isShowZero && monitor.operate_time">
  573. &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : 0 }}
  574. </td>
  575. <td v-else>
  576. &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
  577. </td>
  578. <td v-if="isShowZero && monitor.operate_time">
  579. &nbsp;{{ monitor.displacement_quantity ? monitor.displacement_quantity : 0 }}
  580. </td>
  581. <td v-else>
  582. &nbsp;{{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }}
  583. </td>
  584. <td>
  585. &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
  586. </td>
  587. <td>
  588. &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
  589. </td>
  590. <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
  591. <td>&nbsp;{{monitor.dialysate_temperature}}</td>
  592. <td>&nbsp;{{monitor.replacement_rate}}</td> -->
  593. <td v-if="org_id == 9987">
  594. &nbsp;{{monitor.ktv?monitor.ktv:""}}
  595. </td>
  596. <td>
  597. &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
  598. </td>
  599. </tr>
  600. </tbody>
  601. </table>
  602. <table class="print-table" border="1">
  603. <tbody>
  604. <tr>
  605. <td class="title-box" width="30px">透后评估</td>
  606. <td>
  607. <table class="table-box">
  608. <tbody>
  609. <tr>
  610. <td width="90">实际治疗时间</td>
  611. <td width="40">
  612. <div class="under-line">
  613. &nbsp;{{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : "0" }}
  614. </div>
  615. </td>
  616. <td width="10">h</td>
  617. <td width="40">
  618. <div class="under-line">
  619. &nbsp;{{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : "0" }}
  620. </div>
  621. </td>
  622. <td width="35">min</td>
  623. <td></td>
  624. <td width="75">实际超滤量</td>
  625. <td width="70">
  626. <div class="under-line">
  627. &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }}
  628. </div>
  629. </td>
  630. <td width="20">L</td>
  631. <td></td>
  632. <td width="60">透后体重</td>
  633. <td width="50">
  634. <div class="under-line">
  635. &nbsp;{{ afterdialysis.weight_after ? afterdialysis.weight_after : "" }}
  636. </div>
  637. </td>
  638. <td width="20">Kg</td>
  639. <td></td>
  640. <td width="95">透析器凝血:</td>
  641. <td width="220">
  642. <div class="under_line" style="width:150px;">
  643. {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
  644. </div>
  645. </td>
  646. </tr>
  647. </tbody>
  648. </table>
  649. <table class="table-box">
  650. <tbody>
  651. <tr>
  652. <td width="130">拔针后穿刺点渗血:</td>
  653. <td width="80">
  654. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 1 ? true : false" showValue="有"></label-box>
  655. <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="无"></label-box>
  656. </td>
  657. <td width="10"></td>
  658. <td width="85">穿刺处血肿:</td>
  659. <td width="80">
  660. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 1 ? true : false" showValue="有"></label-box>
  661. <label-box :isChecked="afterdialysis.puncture_point_haematoma == 2 ? true : false" showValue="无"></label-box>
  662. </td>
  663. <td width="10"></td>
  664. <td width="105" colspan="2">
  665. 压迫后内瘘震颤:
  666. <label-box :isChecked="afterdialysis.internal_fistula&&afterdialysis.internal_fistula.indexOf('存在') > -1 ? true : false" showValue="存在"></label-box>
  667. &nbsp;
  668. <label-box :isChecked="afterdialysis.internal_fistula&&afterdialysis.internal_fistula.indexOf('减弱') > -1 ? true : false" showValue="减弱"></label-box>
  669. &nbsp;
  670. <label-box :isChecked="afterdialysis.internal_fistula&&afterdialysis.internal_fistula.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
  671. </td>
  672. <td></td>
  673. </tr>
  674. </tbody>
  675. </table>
  676. <table class="table-box">
  677. <tbody>
  678. <tr>
  679. <td width="55">并发症:</td>
  680. <td :width="org_id == 9987 ? 670 : 600">
  681. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('低血压') > -1 ? true : false" showValue="低血压"></label-box>
  682. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('高血压') > -1 ? true : false" showValue="高血压"></label-box>
  683. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('心律失常') > -1 ? true : false" showValue="心律失常"></label-box>
  684. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('头晕') > -1 ? true : false" showValue="头晕"></label-box>
  685. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('头痛') > -1 ? true : false" showValue="头痛"></label-box>
  686. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('呕吐') > -1 ? true : false" showValue="呕吐"></label-box>
  687. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('抽搐') > -1 ? true : false" showValue="抽搐"></label-box>
  688. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('出血') > -1 ? true : false" showValue="出血"></label-box>
  689. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('心衰') > -1 ? true : false" showValue="心衰"></label-box>
  690. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('腹痛') > -1 ? true : false" showValue="腹痛"></label-box>
  691. <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
  692. <label-box v-if="org_id == 9987" :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('低血糖') > -1 ? true : false" showValue="低血糖"></label-box>
  693. </td>
  694. <td></td>
  695. </tr>
  696. </tbody>
  697. </table>
  698. <table class="table-box">
  699. <tbody>
  700. <tr>
  701. <!-- <td width="70">其他记录:</td> -->
  702. <td width="70">透析小结:</td>
  703. <td width="">
  704. <div style="width: 95%;line-height: 25px;text-align: left;margin-left: 2px;text-underline-position: under; text-decoration: underline;">
  705. {{ summary.dialysis_summary }}
  706. </div>
  707. </td>
  708. </tr>
  709. </tbody>
  710. </table>
  711. <!--<table class="table-box">-->
  712. <!--<tbody>-->
  713. <!--<tr>-->
  714. <!--<td width="">-->
  715. <!--<div class="under-line">&nbsp;{{summary.dialysis_summary.substring(56,120)}}&nbsp;</div>-->
  716. <!--</td>-->
  717. <!--</tr>-->
  718. <!--</tbody>-->
  719. <!--</table>-->
  720. <table class="table-box">
  721. <tbody>
  722. <tr>
  723. <td width="70">患者去向:</td>
  724. <td width="160">
  725. <label-box :isChecked="afterdialysis.patient_gose == 1 ? true : false" showValue="离院"></label-box>
  726. <label-box :isChecked="afterdialysis.patient_gose == 2 ? true : false" showValue="留观"></label-box>
  727. <label-box :isChecked="afterdialysis.patient_gose == 3 ? true : false" showValue="住院"></label-box>
  728. </td>
  729. <td width="10">(</td>
  730. <td width="35">科室</td>
  731. <td width="">
  732. <div class="under-line">
  733. &nbsp;
  734. <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.inpatient_department }}</span>
  735. </div>
  736. </td>
  737. <td width="220">交待病房护士/患者/陪人观察内容:</td>
  738. <td width="160">
  739. <label-box :isChecked=" afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('意识状态') > -1 ? true : false" showValue="意识状态"></label-box>
  740. <label-box :isChecked="afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('生命体征') > -1 ? true : false" showValue="生命体征"></label-box>
  741. </td>
  742. </tr>
  743. </tbody>
  744. </table>
  745. <table class="table-box">
  746. <tbody>
  747. <tr>
  748. <td width="530">
  749. <label-box :isChecked="afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('内瘘搏动/渗血') > -1 ? true : false" showValue="内瘘搏动/渗血"></label-box>
  750. <label-box :isChecked="afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('导管固定/穿刺口渗血') > -1 ? true : false" showValue="导管固定/穿刺口渗血"></label-box>
  751. <label-box :isChecked="afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('动静脉直接穿刺口渗血/肢端循环情况') > -1 ? true : false" showValue="动静脉直接穿刺口渗血/肢端循环情况"></label-box>
  752. </td>
  753. <td width="40">其他:</td>
  754. <td width="">
  755. <div class="under-line">
  756. &nbsp;
  757. <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.observation_content_other }}</span>
  758. </div>
  759. </td>
  760. </tr>
  761. </tbody>
  762. </table>
  763. <table class="table-box">
  764. <tbody>
  765. <tr>
  766. <td width="150">当班责任(核对)护士:</td>
  767. <td width="100">
  768. <div class="under-line">
  769. <!--<span v-if="afterdialysis.creater==0">&nbsp;</span>-->
  770. <!--<img class="es-img" :src="setAdminUserES(afterdialysis.creater)" alt="" srcset="" v-else>-->
  771. <span v-if="setAdminUserES(afterdialysis.creater) == ''">{{ getAdminUser(afterdialysis.creater) }}</span>
  772. <img class="es-img" :src="setAdminUserES(afterdialysis.creater)" alt="" srcset="" v-else />
  773. </div>
  774. </td>
  775. <td width=""></td>
  776. <td width="70">下机护士:</td>
  777. <td width="100">
  778. <div class="under-line">
  779. <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
  780. {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}</span>
  781. <img class="es-img" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
  782. </div>
  783. </td>
  784. </tr>
  785. </tbody>
  786. </table>
  787. </td>
  788. </tr>
  789. </tbody>
  790. </table>
  791. <table class="print-table-no" border="1" count="0">
  792. <tbody>
  793. <tr>
  794. <td width="40px">时间</td>
  795. <td width="120px">医嘱<br />内容</td>
  796. <td width="80px">医生<br />签名</td>
  797. <td width="80px">执行<br />护士</td>
  798. <td width="55px">执行<br />时间</td>
  799. <td width="75px">核对<br />护士</td>
  800. <td width="10px"></td>
  801. <td width="40px">时间</td>
  802. <td width="120px">医嘱<br />内容</td>
  803. <td width="80px">医生<br />签名</td>
  804. <td width="80px">执行<br />护士</td>
  805. <td width="55px">执行<br />时间</td>
  806. <td width="75px">核对<br />护士</td>
  807. </tr>
  808. <tr v-for="(advice, index) in advices" :key="index">
  809. <td height="10px">
  810. <span v-if="advice[0].start_time">
  811. {{ getTime(advice[0].start_time, "{h}:{i}") }}
  812. </span>
  813. <span v-else>&nbsp;<br />&nbsp;</span>
  814. </td>
  815. <td class="advice-name">
  816. <span v-if="advice[0].parent_id > 0">└</span>
  817. <span>{{ advice[0].advice_name }}</span>
  818. <span v-if="advice[0].advice_desc">{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span>
  819. <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
  820. <span v-if="advice[0].prescribing_number">* {{ advice[0].prescribing_number }}{{ advice[0].prescribing_number_unit }}</span>
  821. <span v-if="advice[0].single_dose != 0">单次用量 {{ advice[0].single_dose }}{{ advice[0].single_dose_unit }}</span>
  822. <span>{{ advice[0].delivery_way }}</span>
  823. <span>{{ advice[0].execution_frequency }}</span>
  824. <div v-for="(child, childindex) in advice[0].children" :key="childindex" class="advice-children">
  825. <div>▲</div>
  826. <div>
  827. <span>{{ child.advice_name }}</span>
  828. <span v-if="child.advice_desc">{{ child.advice_desc }}{{ child.drug_spec_unit }}</span>
  829. <span v-if="child.prescribing_number">* {{ child.prescribing_number }}{{ child.prescribing_number_unit }}</span>
  830. <span v-if="child.single_dose != 0">单次用量 {{ child.single_dose }}{{ child.single_dose_unit }}</span>
  831. </div>
  832. </div>
  833. </td>
  834. <td>
  835. <!--<img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)" alt="" srcset=""-->
  836. <!--v-show="advice[0].advice_doctor>0">-->
  837. <!---->
  838. <span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{ getAdminUser(advice[0].advice_doctor) }}</span>
  839. <img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)" alt="" srcset="" v-else />
  840. </td>
  841. <td>
  842. <!--<img class="es-img" :src="setAdminUserES(advice[0].execution_staff)" alt="" srcset=""-->
  843. <!--v-show="advice[0].execution_staff>0">-->
  844. <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{ getAdminUser(advice[0].execution_staff) }}</span>
  845. <img class="es-img" :src="setAdminUserES(advice[0].execution_staff)" alt="" srcset="" v-else />
  846. </td>
  847. <td>
  848. <span v-if="advice[0].execution_time">
  849. <!--{{advice[0].execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}-->
  850. {{ getTime(advice[0].execution_time, "{h}:{i}") }}
  851. </span>
  852. </td>
  853. <td>
  854. <!--<img class="es-img" :src="setAdminUserES(advice[0].checker)" alt="" srcset=""-->
  855. <!--v-show="advice[0].checker>0">-->
  856. <span v-if="setAdminUserES(advice[0].checker) == ''">{{ getAdminUser(advice[0].checker) }}</span>
  857. <img class="es-img" :src="setAdminUserES(advice[0].checker)" alt="" srcset="" v-else />
  858. </td>
  859. <td></td>
  860. <td v-if="advice[1] != undefined">
  861. <span v-if="advice[1].start_time">
  862. <!-- {{advice[1].start_time | parseTime('{y}-{m}-{d} {h}:{i}')}} -->
  863. {{ getTime(advice[1].start_time, "{h}:{i}") }}
  864. </span>
  865. </td>
  866. <td v-else>
  867. <span></span>
  868. </td>
  869. <td class="advice-name" v-if="advice[1] != undefined">
  870. <span>{{ advice[1].advice_name }}</span>
  871. <span>{{ advice[1].advice_desc }}{{ advice[1].drug_spec_unit }}</span>
  872. <!-- <span v-if="advice[1].drug_spec">{{advice[1].drug_spec}}{{advice[1].drug_spec_unit}}</span> -->
  873. <span v-if="advice[1].prescribing_number">* {{ advice[1].prescribing_number }}{{ advice[1].prescribing_number_unit }}</span>
  874. <span v-if="advice[1].single_dose != 0">单次用量 {{ advice[1].single_dose }}{{ advice[1].single_dose_unit }}</span>
  875. <span>{{ advice[1].delivery_way }}</span>
  876. <span>{{ advice[1].execution_frequency }}</span>
  877. <div v-for="(child, childindex) in advice[1].children" :key="childindex" class="advice-children">
  878. <div>▲</div>
  879. <div>
  880. <span>{{ child.advice_name }}</span>
  881. <span>{{ child.advice_desc }}</span>
  882. <span v-if="child.advice_desc">{{ child.advice_desc }}{{ child.drug_spec_unit }}</span>
  883. <span v-if="child.prescribing_number">* {{ child.prescribing_number }}{{ child.prescribing_number_unit }}</span>
  884. <span v-if="child.single_dose != 0">单次用量 {{ child.single_dose }}{{ child.single_dose_unit }}</span>
  885. </div>
  886. </div>
  887. </td>
  888. <td v-else>
  889. <span></span>
  890. </td>
  891. <td v-if="advice[1] != undefined">
  892. <!--<img class="es-img" :src="setAdminUserES(advice[1].advice_doctor)" alt="" srcset=""-->
  893. <!--v-show="advice[1].advice_doctor>0"></td>-->
  894. <span v-if="setAdminUserES(advice[1].advice_doctor) == ''">{{ getAdminUser(advice[1].advice_doctor) }}</span>
  895. <img class="es-img" :src="setAdminUserES(advice[1].advice_doctor)" alt="" srcset="" v-else />
  896. </td>
  897. <td v-else>
  898. <span></span>
  899. </td>
  900. <td v-if="advice[1] != undefined">
  901. <!--<img class="es-img" :src="setAdminUserES(advice[1].execution_staff)" alt="" srcset=""-->
  902. <!--v-show="advice[1].execution_staff>0">-->
  903. <span v-if="setAdminUserES(advice[1].execution_staff) == ''">{{ getAdminUser(advice[1].execution_staff) }}</span>
  904. <img class="es-img" :src="setAdminUserES(advice[1].execution_staff)" alt="" srcset="" v-else />
  905. </td>
  906. <!--<td><span v-if="advice[1].execution_time">{{advice[1].execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span>-->
  907. <!--</td>-->
  908. <td v-else>
  909. <span></span>
  910. </td>
  911. <td v-if="advice[1] != undefined">
  912. <span v-if="advice[1].execution_time">{{ getTime(advice[1].execution_time, "{h}:{i}") }}</span>
  913. </td>
  914. <td v-else>
  915. <span></span>
  916. </td>
  917. <td v-if="advice[1] != undefined">
  918. <!--<img class="es-img" :src="setAdminUserES(advice[1].checker)" alt="" srcset=""-->
  919. <!--v-show="advice[1].checker>0">-->
  920. <!--<span v-show="advice[1].checker>0">setAdminUserES(advice[1].checker)</span>-->
  921. <span v-if="setAdminUserES(advice[1].checker) == ''">{{ getAdminUser(advice[1].checker) }}</span>
  922. <img class="es-img" :src="setAdminUserES(advice[1].checker)" alt="" srcset="" v-else />
  923. </td>
  924. <td v-else>
  925. <span></span>
  926. </td>
  927. </tr>
  928. <!-- 使整个表有5行以上 -->
  929. <!-- <template v-if="advices.length < 5">
  930. <tr v-for="(num) in (5 - advices.length)" :key="'5_' + num">
  931. <td>&nbsp;</td>
  932. <td></td>
  933. <td></td>
  934. <td></td>
  935. <td></td>
  936. <td></td>
  937. <td></td>
  938. <td>&nbsp;</td>
  939. <td></td>
  940. <td></td>
  941. <td></td>
  942. <td></td>
  943. <td></td>
  944. </tr>
  945. </template> -->
  946. </tbody>
  947. </table>
  948. <table class="table-box" style="margin-top: 10px;">
  949. <tbody>
  950. <tr>
  951. <td width="" style="font-size:13px">
  952. 注:透析器凝血评价标准:“0 级” 无凝血或数条纤维束凝血,“Ⅰ 级”
  953. 少于10%纤维凝血,“Ⅱ 级” 少于50%纤维凝血,“Ⅲ 级” 大于50%纤维凝血。
  954. </td>
  955. </tr>
  956. </tbody>
  957. </table>
  958. </div>
  959. </div>
  960. </template>
  961. <script>
  962. import { getDialysisRecord } from '@/api/dialysis'
  963. import { getDataConfig } from '@/utils/data'
  964. import { jsGetAge, uParseTime } from '@/utils/tools'
  965. import LabelBox from '../printItem/LabelBox'
  966. import BreadCrumb from '@/xt_pages/components/bread-crumb'
  967. // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
  968. // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
  969. import print from 'print-js'
  970. export default {
  971. name: 'dialysisPrintOrderOne',
  972. components: {
  973. // DialysisPrintOrderOne,
  974. // DialysisPrintOrderTwo,
  975. LabelBox,
  976. BreadCrumb
  977. },
  978. data() {
  979. return {
  980. way_arr: [],
  981. consciousness_arr: [],
  982. appetite_arr: [],
  983. posture_arr: [],
  984. sick_condition_arr: [],
  985. precaution_arr: [],
  986. intake_arr: [],
  987. nutrition_arr: [],
  988. crumbs: [
  989. { path: false, name: '透析管理' },
  990. { path: false, name: '打印单' }
  991. ],
  992. operators: [],
  993. adminUser: [],
  994. check: {},
  995. dialysisOrder: {
  996. DeviceNumber: []
  997. },
  998. operatorMaps: {},
  999. complications: [
  1000. '低血压',
  1001. '高血压',
  1002. '心律失常',
  1003. '头晕',
  1004. '头痛',
  1005. '呕吐',
  1006. '抽搐',
  1007. '出血',
  1008. '心衰',
  1009. '腹痛',
  1010. '无'
  1011. ],
  1012. jilurow: 0,
  1013. advice_jilurow: 0,
  1014. loading: false,
  1015. orgname: '',
  1016. patientInfo_gender_1: false,
  1017. patientInfo_gender_2: false,
  1018. patientInfo_source_2: false,
  1019. patientInfo_source_1: false,
  1020. modeOptions: {},
  1021. replacementWays: [],
  1022. perfusionApparatus: [],
  1023. anticoagulantsConfit: {},
  1024. bloodAccessParOpera: {},
  1025. dialysateFormulationOptions: {},
  1026. queryParams: {
  1027. xtdate: '',
  1028. xtno: ''
  1029. },
  1030. patientInfo: {
  1031. birth: '',
  1032. age: '',
  1033. DialysisSchedule: {
  1034. device_number: { number: '' },
  1035. device_zone: { name: '' }
  1036. },
  1037. gender: 0
  1038. },
  1039. predialysis: {
  1040. score: '',
  1041. internal_fistula: '',
  1042. internal_fistula_skin: '',
  1043. catheter: '',
  1044. blood_access_part_opera_name: ''
  1045. },
  1046. afterdialysis: {
  1047. complications_index: ''
  1048. },
  1049. prescription: {
  1050. dialysate_formulation_name: '',
  1051. device: {}
  1052. },
  1053. advices: [],
  1054. users: [],
  1055. monitors: [],
  1056. summary: {},
  1057. receiverTreatmentAccess: {},
  1058. org_template_info: {},
  1059. isShowZero: false,
  1060. doctor_advices: [],
  1061. advice_groups: [],
  1062. AlPanel: {
  1063. id: 0,
  1064. name: '',
  1065. type: 1,
  1066. shouji: 2,
  1067. weichi: 2,
  1068. zongliang: 2,
  1069. gaimingcheng: -1,
  1070. gaijiliang: -1,
  1071. shouji_unit: 'mg',
  1072. weichi_unit: 'mg/h',
  1073. zongliang_unit: 'mg',
  1074. gaimingcheng_unit: '',
  1075. gaijiliang_unit: ''
  1076. },
  1077. org_id:0,
  1078. }
  1079. },
  1080. methods: {
  1081. getAdminUser(id) {
  1082. if (id == 0) {
  1083. return ''
  1084. }
  1085. if (id == undefined) {
  1086. return ''
  1087. }
  1088. for (let i = 0; i < this.adminUser.length; i++) {
  1089. if (this.adminUser[i].id == id) {
  1090. return this.adminUser[i].name
  1091. }
  1092. }
  1093. },
  1094. getTime(value, temp) {
  1095. if (value == 0) {
  1096. return ''
  1097. }
  1098. if (value != undefined) {
  1099. return uParseTime(value, temp)
  1100. }
  1101. return ''
  1102. },
  1103. printThisPage() {
  1104. var ptime = Math.round(new Date().getTime() / 1000)
  1105. this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
  1106. const style =
  1107. '@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;}'
  1108. if (this.org_template_info.template_id == 1) {
  1109. printJS({
  1110. printable: 'dialysis-print-box',
  1111. type: 'html',
  1112. style: style,
  1113. scanStyles: false
  1114. })
  1115. } else if (
  1116. this.org_template_info.template_id == 2 ||
  1117. this.org_template_info.template_id == 0
  1118. ) {
  1119. printJS({
  1120. printable: 'dialysis-print-box-1',
  1121. type: 'html',
  1122. style: style,
  1123. scanStyles: false
  1124. })
  1125. }
  1126. },
  1127. getNumber() {
  1128. if (this.dialysisOrder != null) {
  1129. return (
  1130. this.patientInfo.DialysisSchedule.device_zone.name +
  1131. this.dialysisOrder.DeviceNumber.number
  1132. )
  1133. } else {
  1134. return (
  1135. this.patientInfo.DialysisSchedule.device_zone.name +
  1136. this.patientInfo.DialysisSchedule.device_number.number
  1137. )
  1138. }
  1139. },
  1140. getXuserName(id) {
  1141. if (id <= 0) {
  1142. return ''
  1143. }
  1144. var name = ''
  1145. if (this.users == null || typeof this.users.length === 'undefined') {
  1146. return name
  1147. }
  1148. var leng = this.users.length
  1149. if (leng == 0) {
  1150. return name
  1151. }
  1152. for (let index = 0; index < leng; index++) {
  1153. if (this.users[index].id == id) {
  1154. name = this.users[index].name
  1155. break
  1156. }
  1157. }
  1158. return name
  1159. },
  1160. setAdminUserES(id) {
  1161. if (id == 0) {
  1162. return ''
  1163. }
  1164. if (id in this.operatorMaps) {
  1165. return this.operatorMaps[id].url
  1166. } else {
  1167. return ''
  1168. }
  1169. },
  1170. modeName(mode_id) {
  1171. return typeof this.modeOptions[mode_id] !== 'undefined' &&
  1172. typeof this.modeOptions[mode_id].name !== 'undefined'
  1173. ? this.modeOptions[mode_id].name
  1174. : ''
  1175. },
  1176. getDialysisRecord() {
  1177. this.loading = true
  1178. getDialysisRecord(this.queryParams).then(response => {
  1179. if (response.data.state == 1) {
  1180. this.adminUser = response.data.data.users
  1181. this.users = response.data.data.users
  1182. this.patientInfo = response.data.data.patientInfo
  1183. this.patientInfo.birth = uParseTime(
  1184. this.patientInfo.birthday,
  1185. '{y}-{m}-{d}'
  1186. )
  1187. // this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
  1188. if (response.data.data.patientInfo.first_dialysis_date != 0) {
  1189. this.patientInfo.first_dialysis_date = uParseTime(
  1190. response.data.data.patientInfo.first_dialysis_date,
  1191. '{y}-{m}-{d}'
  1192. )
  1193. } else {
  1194. this.patientInfo.first_dialysis_date = ''
  1195. }
  1196. this.check = response.data.data.check
  1197. this.predialysis = response.data.data.PredialysisEvaluation
  1198. console.log('透前评估', this.predialysis)
  1199. this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
  1200. this.predialysis.blood_access_part_opera_id
  1201. )
  1202. this.afterdialysis = response.data.data.AssessmentAfterDislysis
  1203. console.log('透后评估数据', this.afterdialysis)
  1204. this.operators = response.data.data.operators
  1205. this.dialysisOrder =
  1206. response.data.data.dialysisOrder === null
  1207. ? null
  1208. : response.data.data.dialysisOrder
  1209. if (this.operators.length > 0) {
  1210. var operatorsLen = this.operators.length
  1211. for (var index = 0; index < operatorsLen; index++) {
  1212. this.$set(
  1213. this.operatorMaps,
  1214. this.operators[index].creator,
  1215. this.operators[index]
  1216. )
  1217. }
  1218. }
  1219. this.afterdialysis.txqnx = -1
  1220. if (this.afterdialysis.cruor.indexOf('0度') > -1) {
  1221. this.afterdialysis.txqnx = 0
  1222. }
  1223. if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
  1224. this.afterdialysis.txqnx = 1
  1225. }
  1226. if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
  1227. this.afterdialysis.txqnx = 2
  1228. }
  1229. if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
  1230. this.afterdialysis.txqnx = 3
  1231. }
  1232. this.afterdialysis.complications = this.afterdialysis.complication.split(
  1233. ','
  1234. )
  1235. this.afterdialysis.complications_other = []
  1236. this.afterdialysis.complications_index = []
  1237. var acllen = this.afterdialysis.complications.length
  1238. for (let index = 0; index < acllen; index++) {
  1239. if (
  1240. this.complications.indexOf(
  1241. this.afterdialysis.complications[index]
  1242. ) >= 0
  1243. ) {
  1244. this.afterdialysis.complications_index.push(
  1245. this.afterdialysis.complications[index]
  1246. )
  1247. } else if (
  1248. this.complications.indexOf(
  1249. this.afterdialysis.complications[index]
  1250. ) < 0 &&
  1251. this.afterdialysis.complications_other.indexOf(
  1252. this.afterdialysis.complications[index]
  1253. ) < 0
  1254. ) {
  1255. this.afterdialysis.complications_other.push(
  1256. this.afterdialysis.complications[index]
  1257. )
  1258. }
  1259. }
  1260. this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
  1261. ','
  1262. )
  1263. this.prescription = response.data.data.dialysisPrescription
  1264. console.log('透析处方', this.prescription)
  1265. this.receiverTreatmentAccess =
  1266. response.data.data.receiverTreatmentAccess
  1267. this.prescription.mode = this.modeName(this.prescription.mode_id)
  1268. var rwLen = this.replacementWays.length
  1269. this.prescription.replacement = ''
  1270. for (let index = 0; index < rwLen; index++) {
  1271. if (
  1272. this.replacementWays[index].id ==
  1273. this.prescription.replacement_way
  1274. ) {
  1275. this.prescription.replacement = this.replacementWays[index].name
  1276. break
  1277. }
  1278. }
  1279. this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
  1280. this.prescription.dialysate_formulation
  1281. )
  1282. var paLen = this.perfusionApparatus.length
  1283. this.prescription.perfusion_apparatus_name = ''
  1284. for (let index = 0; index < paLen; index++) {
  1285. if (
  1286. this.perfusionApparatus[index].id ==
  1287. this.prescription.perfusion_apparatus
  1288. ) {
  1289. this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
  1290. index
  1291. ].name
  1292. break
  1293. }
  1294. }
  1295. var acLen = this.anticoagulantsConfit.length
  1296. var thisALID = this.prescription.anticoagulant
  1297. this.prescription.anticoagulant_name = ''
  1298. if (
  1299. typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
  1300. this.anticoagulantsConfit[thisALID] != null
  1301. ) {
  1302. this.prescription.anticoagulant_name = this.anticoagulantsConfit[
  1303. thisALID
  1304. ].name
  1305. this.AlPanel = this.anticoagulantsConfit[thisALID]
  1306. }
  1307. this.advices = response.data.data.advices
  1308. this.monitors = response.data.data.monitors
  1309. this.summary = response.data.data.summary
  1310. this.org_template_info = response.data.data.org_template_info
  1311. // 配置超滤量和置换量是否要显示0还是空
  1312. if (this.org_template_info.org_id == 9535) {
  1313. this.isShowZero = true
  1314. }
  1315. if (this.monitors.length < 8) {
  1316. var nl = 8 - this.monitors.length
  1317. for (let index = 0; index < nl; index++) {
  1318. this.monitors.push([])
  1319. }
  1320. }
  1321. this.jilurow = this.monitors.length + 1
  1322. this.advice_jilurow = this.advices.length + 1
  1323. var childMap = {}
  1324. for (const index in this.advices) {
  1325. if (this.advices[index].parent_id == 0) {
  1326. continue
  1327. }
  1328. if (!(this.advices[index].parent_id in childMap)) {
  1329. childMap[this.advices[index].parent_id] = []
  1330. }
  1331. childMap[this.advices[index].parent_id].push(this.advices[index])
  1332. }
  1333. var advices = []
  1334. for (const index in this.advices) {
  1335. if (this.advices[index].parent_id > 0) {
  1336. continue
  1337. }
  1338. var item = this.advices[index]
  1339. if (item.id in childMap) {
  1340. item.children = childMap[item.id]
  1341. } else {
  1342. item.children = []
  1343. }
  1344. advices.push(item)
  1345. }
  1346. var leftAdvice = []
  1347. var rightAdvice = []
  1348. var adlen = advices.length
  1349. var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
  1350. for (var i = 0; i < halfLen; i++) {
  1351. leftAdvice.push(advices[i])
  1352. rightAdvice.push(advices[i + halfLen])
  1353. }
  1354. if (halfLen < 5) {
  1355. var nl = 5 - leftAdvice.length
  1356. for (let index = 0; index < nl; index++) {
  1357. leftAdvice.push([])
  1358. }
  1359. var nl = 5 - rightAdvice.length
  1360. for (let index = 0; index < nl; index++) {
  1361. rightAdvice.push([])
  1362. }
  1363. }
  1364. this.advices = []
  1365. for (var i = 0; i < halfLen; i++) {
  1366. var item = []
  1367. item.push(leftAdvice[i])
  1368. item.push(rightAdvice[i])
  1369. this.advices.push(item)
  1370. }
  1371. this.loading = false
  1372. this.doctor_advices =
  1373. response.data.data.advices == null
  1374. ? []
  1375. : response.data.data.advices
  1376. for (let index = 0; index < this.doctor_advices.length; index++) {
  1377. this.doctor_advices[index]['isShow'] = 2
  1378. }
  1379. if (this.doctor_advices.length > 0) {
  1380. var group = this.newAdviceGroupObject()
  1381. var initGroupBlock = function(group, advice) {
  1382. group.group_no = advice.groupno
  1383. }
  1384. for (
  1385. let index = this.doctor_advices.length - 1;
  1386. index >= 0;
  1387. index--
  1388. ) {
  1389. var new_advice_index = 0
  1390. if (
  1391. 'children' in this.doctor_advices[index] &&
  1392. this.doctor_advices[index].children.length > 0
  1393. ) {
  1394. new_advice_index =
  1395. index + this.doctor_advices[index].children.length + 1
  1396. var doctor_advice = {
  1397. delivery_way: this.doctor_advices[index].delivery_way,
  1398. execution_frequency: this.doctor_advices[index]
  1399. .execution_frequency,
  1400. groupno: this.doctor_advices[index].groupno,
  1401. id: this.doctor_advices[index].id,
  1402. parent_id: this.doctor_advices[index].parent_id,
  1403. children: this.doctor_advices[index].children,
  1404. remark: this.doctor_advices[index].remark
  1405. }
  1406. doctor_advice['isShow'] = 1
  1407. this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
  1408. // this.doctor_advices.push(doctor_advice)
  1409. }
  1410. }
  1411. for (let index = 0; index < this.doctor_advices.length; index++) {
  1412. const advice = this.doctor_advices[index]
  1413. if (advice.groupno == 0) {
  1414. // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
  1415. if (advice.parent_id > 0) {
  1416. if (this.advice_groups.length > 0) {
  1417. var parent_group = this.advice_groups[
  1418. this.advice_groups.length - 1
  1419. ]
  1420. if (parent_group.advices.length > 0) {
  1421. if (parent_group.advices[0].id == advice.parent_id) {
  1422. parent_group.advices.push(advice)
  1423. }
  1424. }
  1425. }
  1426. continue
  1427. } else {
  1428. if (group.group_no > 0) {
  1429. this.advice_groups.push(group)
  1430. group = this.newAdviceGroupObject()
  1431. }
  1432. initGroupBlock(group, advice)
  1433. group.advices.push(advice)
  1434. this.advice_groups.push(group)
  1435. group = this.newAdviceGroupObject()
  1436. continue
  1437. }
  1438. }
  1439. if (group.group_no > 0 && group.group_no != advice.groupno) {
  1440. this.advice_groups.push(group)
  1441. group = this.newAdviceGroupObject()
  1442. }
  1443. if (group.group_no == 0) {
  1444. initGroupBlock(group, advice)
  1445. }
  1446. if (group.group_no == advice.groupno) {
  1447. group.advices.push(advice)
  1448. }
  1449. }
  1450. if (group.group_no > 0) {
  1451. // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
  1452. this.advice_groups.push(group)
  1453. }
  1454. }
  1455. console.log(this.advice_groups)
  1456. } else {
  1457. this.loading = false
  1458. this.$message.error('请求数据失败')
  1459. return false
  1460. }
  1461. })
  1462. },
  1463. bloodAccessParOperaName(id) {
  1464. if (id in this.bloodAccessParOpera) {
  1465. return this.bloodAccessParOpera[id].name
  1466. }
  1467. return ''
  1468. },
  1469. dialysateFormulationName(id) {
  1470. if (id in this.dialysateFormulationOptions) {
  1471. return this.dialysateFormulationOptions[id].name
  1472. }
  1473. return ''
  1474. },
  1475. getAge: function(val) {
  1476. if (val.birthday != 0) {
  1477. return jsGetAge(val.birth, '-')
  1478. }
  1479. return ''
  1480. },
  1481. newAdviceGroupObject: function() {
  1482. return Object.assign(
  1483. {},
  1484. {
  1485. group_no: 0,
  1486. // advice_doctor: 0,
  1487. // start_time: 0,
  1488. advices: []
  1489. // exec_staff: 0,
  1490. // exec_time: 0,
  1491. // checker: 0,
  1492. }
  1493. )
  1494. }
  1495. },
  1496. watch: {
  1497. 'patientInfo.gender': function() {
  1498. if (this.patientInfo.gender == 1) {
  1499. this.patientInfo_gender_1 = true
  1500. this.patientInfo_gender_2 = false
  1501. } else if (this.patientInfo.gender == 2) {
  1502. this.patientInfo_gender_2 = true
  1503. this.patientInfo_gender_1 = false
  1504. } else {
  1505. this.patientInfo_gender_2 = false
  1506. this.patientInfo_gender_1 = false
  1507. }
  1508. },
  1509. 'patientInfo.source': function() {
  1510. if (this.patientInfo.source == 1) {
  1511. this.patientInfo_source_1 = true
  1512. this.patientInfo_source_2 = false
  1513. } else if (this.patientInfo.source == 2) {
  1514. this.patientInfo_source_2 = true
  1515. this.patientInfo_source_1 = false
  1516. } else {
  1517. this.patientInfo_source_2 = false
  1518. this.patientInfo_source_1 = false
  1519. }
  1520. }
  1521. },
  1522. created() {
  1523. var xtuser = this.$store.getters.xt_user
  1524. this.org_id = xtuser.org.id
  1525. this.orgname = xtuser.org.org_name
  1526. // this.orgname = "遂溪方济医院";
  1527. this.modeOptions = this.$store.getters.treatment_mode
  1528. this.replacementWays = this.$store.getters.replacement_ways
  1529. this.perfusionApparatus = this.$store.getters.perfusion_apparatus
  1530. this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
  1531. this.way_arr = getDataConfig('hemodialysis', 'way')
  1532. this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
  1533. this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
  1534. this.posture_arr = getDataConfig('hemodialysis', 'posture')
  1535. this.sick_condition_arr = getDataConfig('hemodialysis', 'sick_condition')
  1536. this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
  1537. this.intake_arr = getDataConfig('hemodialysis', 'intake')
  1538. this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
  1539. // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
  1540. var bloodAccessParOpera = getDataConfig(
  1541. 'hemodialysis',
  1542. 'vascular_access_desc'
  1543. )
  1544. for (var key in bloodAccessParOpera) {
  1545. this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
  1546. bloodAccessParOpera[key]
  1547. }
  1548. var dialysateFormulationOptions = getDataConfig(
  1549. 'hemodialysis',
  1550. 'dialysate_formulation'
  1551. )
  1552. for (var key in dialysateFormulationOptions) {
  1553. this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
  1554. dialysateFormulationOptions[key]
  1555. }
  1556. const xtdate = this.$route.query && this.$route.query.xtdate
  1557. const xtno = this.$route.query && this.$route.query.xtno
  1558. if (
  1559. typeof xtdate === 'string' &&
  1560. xtdate.length > 0 &&
  1561. typeof xtno === 'string' &&
  1562. xtno.length > 0
  1563. ) {
  1564. this.queryParams.xtdate = xtdate
  1565. this.queryParams.xtno = xtno
  1566. this.getDialysisRecord()
  1567. } else {
  1568. this.$message.error('参数不齐')
  1569. return false
  1570. }
  1571. }
  1572. }
  1573. </script>
  1574. <style>
  1575. .dialysis-print-order {
  1576. width: 960px;
  1577. margin: 0 auto;
  1578. }
  1579. .dialysis-print-order .order-yy-name {
  1580. margin: auto;
  1581. text-align: center;
  1582. font-size: 20px;
  1583. letter-spacing: 5px;
  1584. }
  1585. .dialysis-print-order .order-title {
  1586. margin: auto;
  1587. font-weight: 600;
  1588. text-align: center;
  1589. font-size: 22px;
  1590. padding: 10px 20px 20px 20px;
  1591. }
  1592. .dialysis-print-order .table-box {
  1593. width: 100%;
  1594. line-height: 23px;
  1595. font-size: 14px;
  1596. }
  1597. .dialysis-print-order .print-table {
  1598. width: 100%;
  1599. text-align: center;
  1600. border-collapse: collapse;
  1601. line-height: 40px;
  1602. font-size: 14px;
  1603. }
  1604. .dialysis-print-order .print-table-no {
  1605. width: 100%;
  1606. text-align: center;
  1607. border-collapse: collapse;
  1608. font-size: 14px;
  1609. }
  1610. .dialysis-print-order .under-line {
  1611. border-bottom: 1px solid #999;
  1612. width: 95%;
  1613. text-align: center;
  1614. margin-left: 2px;
  1615. }
  1616. .dialysis-print-order .title-box {
  1617. text-align: center;
  1618. font-size: 16px;
  1619. }
  1620. .dialysis-print-order .radio-lebel-box {
  1621. font-weight: 400;
  1622. cursor: pointer;
  1623. }
  1624. .dialysis-print-order .radio-no {
  1625. opacity: 0;
  1626. outline: none;
  1627. position: absolute;
  1628. margin: 0;
  1629. width: 0;
  1630. height: 0;
  1631. z-index: -1;
  1632. }
  1633. .dialysis-print-order .radio-inner {
  1634. white-space: nowrap;
  1635. cursor: pointer;
  1636. outline: none;
  1637. display: inline-block;
  1638. line-height: 1;
  1639. position: relative;
  1640. vertical-align: middle;
  1641. }
  1642. .dialysis-print-order .radio-fang {
  1643. display: inline-block;
  1644. position: relative;
  1645. border: 1px solid #000;
  1646. box-sizing: border-box;
  1647. width: 14px;
  1648. height: 14px;
  1649. background-color: #fff;
  1650. z-index: 1;
  1651. transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
  1652. background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
  1653. }
  1654. .dialysis-print-order .is-checked-radio::after {
  1655. content: "√";
  1656. font-size: 15px;
  1657. }
  1658. .dialysis-print-order .print-table-no tr td {
  1659. padding: 8px 5px;
  1660. line-height: 25px;
  1661. }
  1662. .dialysis-print-order .print-table tr td {
  1663. padding: 1px 1px;
  1664. /*line-height: 25px;*/
  1665. }
  1666. .es-img {
  1667. height: 25px;
  1668. }
  1669. .advice-name {
  1670. text-align: left;
  1671. }
  1672. .advice-children {
  1673. display: flex;
  1674. }
  1675. .title-box-pro {
  1676. border: 0 #fff;
  1677. line-height: 25px;
  1678. height: 25px;
  1679. text-align: left;
  1680. padding-left: 10px !important;
  1681. }
  1682. .title-box-pro-tr {
  1683. border: 0 #fff;
  1684. }
  1685. .text-align-left {
  1686. text-align: left !important;
  1687. padding-left: 10px !important;
  1688. font-size: 14px !important;
  1689. line-height: 25px;
  1690. }
  1691. .print-table-tr-new td {
  1692. line-height: 20px !important;
  1693. }
  1694. .border-top-solid {
  1695. border: solid 1px #000;
  1696. }
  1697. .print-template-two tr {
  1698. line-height: 30px;
  1699. }
  1700. </style>