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

dialysisPrintOrderTwelve.vue 86KB

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