assessmentAfter.vue 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. <template>
  2. <div class="plate-box">
  3. <h2 class="DetailsTit">
  4. <span>{{ title }}</span>
  5. </h2>
  6. <div class="plate">
  7. <ul>
  8. <li v-if="isShow('舒张压')">
  9. <label>舒张压 : </label>
  10. <span class="content" v-if="diastolic_blood_pressure != '0'">{{
  11. diastolic_blood_pressure
  12. }}</span>
  13. <span class="unit" v-if="diastolic_blood_pressure != '0'">mmHg</span>
  14. </li>
  15. <li v-if="isShow('实际超滤量')">
  16. <label>实际超滤量: </label>
  17. <span class="content" v-if="actual_ultrafiltration != '0'">{{
  18. actual_ultrafiltration
  19. }}</span>
  20. <span
  21. class="unit"
  22. v-if="
  23. actual_ultrafiltration != '0' &&
  24. this.$store.getters.xt_user.template_info.template_id == 6
  25. "
  26. >ml</span
  27. >
  28. <span
  29. class="unit"
  30. v-if="
  31. actual_ultrafiltration != '0' &&
  32. this.$store.getters.xt_user.template_info.template_id != 6
  33. "
  34. >L</span
  35. >
  36. </li>
  37. <li v-if="isShow('导管')">
  38. <label>导管 : </label>
  39. <span class="content">{{ catheter }}</span>
  40. </li>
  41. <li v-if="isShow('体温')">
  42. <label>体温 : </label>
  43. <span class="content" v-if="this.record.temperature">{{
  44. this.record.temperature
  45. }}</span>
  46. <span class="unit" v-if="this.record.temperature">℃</span>
  47. </li>
  48. <li v-if="isShow('血管通路部位')">
  49. <label>血管通路部位 : </label>
  50. <span class="content">{{ blood_access_part }}</span>
  51. </li>
  52. <li v-if="isShow('实际置换量')">
  53. <label>实际置换量 : </label>
  54. <span class="content">{{ actual_displacement }}</span>
  55. <span class="unit">ml</span>
  56. </li>
  57. <li v-if="isShow('压迫后内瘘震颤')">
  58. <label>压迫后内瘘震颤: </label>
  59. <span class="content">{{ getInternal() }}</span>
  60. </li>
  61. <li v-if="isShow('实际治疗时长')">
  62. <label>实际治疗时长 : </label>
  63. <span class="content" v-if="this.record.actual_treatment_hour"
  64. >{{ this.record.actual_treatment_hour }}小时</span
  65. >
  66. <span class="content" v-if="this.record.actual_treatment_minute"
  67. >{{ this.record.actual_treatment_minute }}分钟</span
  68. >
  69. </li>
  70. <li v-if="isShow('其他观察内容') && patient_gose == 3">
  71. <label>其他观察内容 : </label>
  72. <span class="content">{{
  73. this.record.observation_content_other
  74. }}</span>
  75. </li>
  76. <li
  77. v-if="this.record.dialysis_process == 2 && isShow('透析过程提前原因')"
  78. >
  79. <label for="tw">透析过程提前原因 : </label>
  80. <span class="content" id="tw">{{
  81. this.record.in_advance_reason
  82. }}</span>
  83. </li>
  84. <li v-if="isShow('内瘘震颤和血管杂音')">
  85. <label for="sjzl">内瘘震颤和血管杂音 : </label>
  86. <span id="sjzl" class="content">{{
  87. getTremorNoise(this.record.tremor_noise)
  88. }}</span>
  89. </li>
  90. <li v-if="isShow('动脉管道')">
  91. <label for="xgtlcz">动脉管道: </label>
  92. <span id="xgtlcz" class="content">{{
  93. getArterialTubeName(this.record.arterial_tube)
  94. }}</span>
  95. </li>
  96. <li v-if="isShow('透析期间进食')">
  97. <label for="bzh">透析期间进食: </label>
  98. <span id="bzh" class="content">{{ eat_name }}</span>
  99. </li>
  100. <!-- <li style="height: 0.6rem;">
  101. <label></label>
  102. </li> -->
  103. </ul>
  104. <ul>
  105. <li v-if="isShow('收缩压')">
  106. <label>收缩压 : </label>
  107. <span class="content" v-if="systolic_blood_pressure != '0'">{{
  108. systolic_blood_pressure
  109. }}</span>
  110. <span class="unit" v-if="systolic_blood_pressure != '0'">mmHg</span>
  111. </li>
  112. <li v-if="isShow('透析器凝血')">
  113. <label>透析器凝血 : </label>
  114. <span class="content">{{ cruor }}</span>
  115. </li>
  116. <li v-if="isShow('穿刺处血肿')">
  117. <label>穿刺处血肿 : </label>
  118. <span class="content">{{ puncture_point_haematoma_name }}</span>
  119. </li>
  120. <li v-if="isShow('呼吸频率')">
  121. <label>呼吸频率 : </label>
  122. <span class="content" v-if="this.record.breathing_rate">{{
  123. this.record.breathing_rate
  124. }}</span>
  125. <span class="unit" v-if="this.record.breathing_rate">次/min</span>
  126. </li>
  127. <li v-if="isShow('血管通路操作')">
  128. <label>血管通路操作: </label>
  129. <span class="content">{{ blood_access_opera }}</span>
  130. </li>
  131. <li v-if="isShow('透后症状')">
  132. <label>透后症状 : </label>
  133. <span class="content">{{ symptom_after_dialysis }}</span>
  134. </li>
  135. <li v-if="isShow('透析中入量')">
  136. <label>透析中入量: </label>
  137. <span class="content"
  138. >{{ this.record.dialysis_intakes
  139. }}{{ getUnit(this.record.dialysis_intakes_unit) }}</span
  140. >
  141. </li>
  142. <li v-if="isShow('拔针后穿刺点渗血')">
  143. <label>拔针后穿刺点渗血: </label>
  144. <span class="content">{{ puncture_point_oozing_blood_name }}</span>
  145. </li>
  146. <li v-if="isShow('内瘘管拔针后压迫止血时间')">
  147. <label for="ml">内瘘管拔针后压迫止血时间 : </label>
  148. <span id="ml" class="content" v-if="this.record.hemostasis_minute"
  149. >{{ this.record.hemostasis_minute }}min</span
  150. >
  151. <span id="ml" class="content" v-else>-min</span>
  152. </li>
  153. <li v-if="isShow('失衡综合症')">
  154. <label for="txzrl">失衡综合症: </label>
  155. <span id="txzrl" class="content">{{
  156. getDisequilibriumSyndrome(this.record.disequilibrium_syndrome)
  157. }}</span>
  158. </li>
  159. <li v-if="isShow('静脉管道')">
  160. <label for="bzh">静脉管道: </label>
  161. <span id="bzh" class="content">{{
  162. getIntravenousTubeName(this.record.intravenous_tube)
  163. }}</span>
  164. </li>
  165. </ul>
  166. <ul>
  167. <li v-if="isShow('透后称重')">
  168. <label>透后称重 : </label>
  169. <span class="content" v-if="weight_after != '0'">{{
  170. weight_after
  171. }}</span>
  172. <span class="unit" v-if="weight_after != '0'">kg</span>
  173. </li>
  174. <li v-if="isShow('内瘘')">
  175. <label>内瘘 : </label>
  176. <span class="content">{{ internal_fistula }}</span>
  177. </li>
  178. <li v-if="isShow('科室') && patient_gose == 3">
  179. <label>科室 : </label>
  180. <span class="content">{{ inpatient_department }}</span>
  181. </li>
  182. <li v-if="isShow('脉搏')">
  183. <label>脉搏 : </label>
  184. <span class="content" v-if="this.record.pulse_frequency">{{
  185. this.record.pulse_frequency
  186. }}</span>
  187. <span class="unit" v-if="this.record.pulse_frequency">次/分</span>
  188. </li>
  189. <li v-if="isShow('体重减少')">
  190. <label>体重减少 : </label>
  191. <span class="content" v-if="weight_loss != '0'">{{
  192. weight_loss
  193. }}</span>
  194. <span class="unit" v-if="weight_loss != '0'">kg</span>
  195. </li>
  196. <li v-if="isShow('并发症')">
  197. <label>并发症: </label>
  198. <span class="content">{{ this.record.complication }}</span>
  199. </li>
  200. <li
  201. v-if="patient_gose == 3 && isShow('交待病房护士/患者/陪人观察内容')"
  202. >
  203. <label>交待病房护士/患者/陪人观察内容 : </label>
  204. <span class="content">{{ this.record.observation_content }}</span>
  205. </li>
  206. <li v-if="isShow('患者去向')">
  207. <label>患者去向: </label>
  208. <span class="content">{{ patient_gose_name }}</span>
  209. </li>
  210. <li v-if="isShow('透析过程')">
  211. <label for="tw">透析过程 : </label>
  212. <span class="content" id="tw" v-if="this.record.dialysis_process == 1"
  213. >完成</span
  214. >
  215. <span class="content" id="tw" v-if="this.record.dialysis_process == 2"
  216. >提前{{ this.record.in_advance_minute }}min</span
  217. >
  218. </li>
  219. <li v-if="isShow('内瘘管拔针后压迫止血操作')">
  220. <label for="ml">内瘘管拔针后压迫止血操作 : </label>
  221. <span id="ml" class="content">{{
  222. getOpera(this.record.hemostasis_opera)
  223. }}</span>
  224. </li>
  225. <li
  226. v-if="
  227. this.record.disequilibrium_syndrome == 2 && isShow('失衡综合症症状')
  228. "
  229. >
  230. <label for="txzrl">失衡综合症症状: </label>
  231. <span id="txzrl" class="content">{{
  232. this.record.disequilibrium_syndrome_option
  233. }}</span>
  234. </li>
  235. <li v-if="isShow('透析器')">
  236. <label for="hzqx">透析器: </label>
  237. <span id="hzqx" class="content">{{
  238. getDialyzer(this.record.dialyzer)
  239. }}</span>
  240. </li>
  241. <li v-if="isShow('透析器')">
  242. <label for="hzqx">透析器: </label>
  243. <span id="hzqx" class="content">{{
  244. getDialyzer(this.record.dialyzer)
  245. }}</span>
  246. </li>
  247. <li v-if="isShow('中心静脉封管(肝素-A端)')">
  248. <label for="bzh">中心静脉封管(肝素-A端): </label>
  249. <span class="content" id="tzjs">{{
  250. this.record.cvc_a ? this.record.cvc_a : ""
  251. }}</span>
  252. <span class="unit">{{ this.record.cvc_a ? "ml" : "" }}</span>
  253. </li>
  254. <li v-if="isShow('中心静脉封管(肝素-V端)')">
  255. <label for="bzh">中心静脉封管(肝素-V端): </label>
  256. <span class="content" id="tzjs">{{
  257. this.record.cvc_v ? this.record.cvc_v : ""
  258. }}</span>
  259. <span class="unit">{{ this.record.cvc_v ? "ml" : "" }}</span>
  260. </li>
  261. </ul>
  262. </div>
  263. <div class="note">
  264. 备注 : <span>{{ this.record.remark }}</span>
  265. </div>
  266. <div class="middleLine"></div>
  267. </div>
  268. </template>
  269. <script>
  270. import store from "@/store";
  271. export default {
  272. name: "DialysisPrescription",
  273. data() {
  274. return {
  275. title: "透后评估 "
  276. };
  277. },
  278. props: {
  279. record: {
  280. type: Object
  281. }
  282. },
  283. computed: {
  284. weight_after: function() {
  285. if (this.record.id == 0) {
  286. return "-";
  287. }
  288. return this.record.weight_after;
  289. },
  290. systolic_blood_pressure: function() {
  291. if (this.record.id == 0) {
  292. return "-";
  293. }
  294. return this.record.systolic_blood_pressure;
  295. },
  296. actual_ultrafiltration: function() {
  297. if (this.record.id == 0) {
  298. return "-";
  299. }
  300. return this.record.actual_ultrafiltration;
  301. },
  302. cruor: function() {
  303. if (this.record.id == 0) {
  304. return "-";
  305. }
  306. return this.record.cruor;
  307. },
  308. internal_fistula: function() {
  309. if (this.record == null || this.record.id == "") {
  310. return "-";
  311. }
  312. return this.record.internal_fistula;
  313. },
  314. weight_loss: function() {
  315. if (this.record.id == 0) {
  316. return "-";
  317. }
  318. return this.record.weight_loss;
  319. },
  320. inpatient_department: function() {
  321. if (this.record.id == 0) {
  322. return "-";
  323. }
  324. return this.record.inpatient_department;
  325. },
  326. patient_gose: function() {
  327. if (this.record.id == 0) {
  328. return 0;
  329. }
  330. return this.record.patient_gose;
  331. },
  332. diastolic_blood_pressure: function() {
  333. if (this.record.id == 0) {
  334. return "-";
  335. }
  336. return this.record.diastolic_blood_pressure;
  337. },
  338. actual_displacement: function() {
  339. if (this.record.id == 0) {
  340. return "-";
  341. }
  342. return this.record.actual_displacement;
  343. },
  344. symptom_after_dialysis: function() {
  345. if (this.record.id == 0) {
  346. return "-";
  347. }
  348. return this.record.symptom_after_dialysis;
  349. },
  350. blood_access_part: function() {
  351. if (this.record.id == 0) {
  352. return "-";
  353. }
  354. const vascular_access = this.$store.getters.vascular_access;
  355. const valen = vascular_access.length;
  356. let name = "-";
  357. for (var index in vascular_access) {
  358. if (vascular_access[index].id == this.record.blood_access_part_id) {
  359. name = vascular_access[index].name;
  360. break;
  361. }
  362. }
  363. return name;
  364. },
  365. puncture_point_oozing_blood_name: function() {
  366. if (this.record.id == 0) {
  367. return "-";
  368. }
  369. switch (this.record.puncture_point_oozing_blood) {
  370. case 1:
  371. return "有";
  372. break;
  373. case 2:
  374. return "无";
  375. break;
  376. default:
  377. return "-";
  378. break;
  379. }
  380. },
  381. eat_name: function() {
  382. if (this.record == null || this.record.id == "") {
  383. return "-";
  384. }
  385. switch (this.record.is_eat) {
  386. case 1:
  387. return "有";
  388. break;
  389. case 2:
  390. return "无";
  391. break;
  392. default:
  393. return "-";
  394. break;
  395. }
  396. },
  397. patient_gose_name: function() {
  398. if (this.record.id == 0) {
  399. return "-";
  400. }
  401. switch (this.record.patient_gose) {
  402. case 1:
  403. return "离院";
  404. break;
  405. case 2:
  406. return "留观";
  407. break;
  408. case 3:
  409. return "住院";
  410. break;
  411. default:
  412. return "-";
  413. break;
  414. }
  415. },
  416. blood_access_opera: function() {
  417. if (this.record.id == 0) {
  418. return "-";
  419. }
  420. const vascular_access = this.$store.getters.vascular_access_desc;
  421. // console.log(vascular_access);
  422. let name = "-";
  423. for (var index in vascular_access) {
  424. if (
  425. vascular_access[index].id == this.record.blood_access_part_opera_id
  426. ) {
  427. name = vascular_access[index].name;
  428. break;
  429. }
  430. }
  431. return name;
  432. },
  433. catheter: function() {
  434. if (this.record.id == 0) {
  435. return "-";
  436. }
  437. return this.record.catheter;
  438. },
  439. puncture_point_haematoma_name: function() {
  440. if (this.record.id == 0) {
  441. return;
  442. }
  443. switch (this.record.puncture_point_haematoma) {
  444. case 1:
  445. return "有";
  446. break;
  447. case 2:
  448. return "无";
  449. break;
  450. default:
  451. return "-";
  452. break;
  453. }
  454. }
  455. },
  456. breathing_rate: function() {
  457. if (this.record.id == 0) {
  458. return "-";
  459. }
  460. return this.record.breathing_rate;
  461. },
  462. temperature: function() {
  463. if (this.record.id == 0) {
  464. return "-";
  465. }
  466. return this.record.temperature;
  467. },
  468. pulse_frequency: function() {
  469. if (this.record.id == 0) {
  470. return "-";
  471. }
  472. return this.record.pulse_frequency;
  473. },
  474. actual_treatment_hour: function() {
  475. if (this.record.id == 0) {
  476. return "-";
  477. }
  478. return this.record.actual_treatment_hour;
  479. },
  480. actual_treatment_minute: function() {
  481. if (this.record.id == 0) {
  482. return "-";
  483. }
  484. return this.record.actual_treatment_minute;
  485. },
  486. observation_content_other: function() {
  487. if (this.record.id == 0) {
  488. return "-";
  489. }
  490. return this.record.observation_content_other;
  491. },
  492. observation_content: function() {
  493. if (this.record.id == 0) {
  494. return "-";
  495. }
  496. return this.record.observation_content;
  497. },
  498. complication: function() {
  499. if (this.record.id == 0) {
  500. return "-";
  501. }
  502. return this.record.complication;
  503. },
  504. temperature: function() {
  505. if (this.record.id == 0) {
  506. return "-";
  507. }
  508. return this.record.temperature;
  509. },
  510. pulse_frequency: function() {
  511. if (this.record.id == 0) {
  512. return "-";
  513. }
  514. return this.record.pulse_frequency;
  515. },
  516. actual_treatment_hour: function() {
  517. if (this.record.id == 0) {
  518. return "-";
  519. }
  520. return this.record.actual_treatment_hour;
  521. },
  522. actual_treatment_minute: function() {
  523. if (this.record.id == 0) {
  524. return "-";
  525. }
  526. return this.record.actual_treatment_minute;
  527. },
  528. dialysis_intakes: function() {
  529. if (this.record.id == 0) {
  530. return "-";
  531. }
  532. return this.record.dialysis_intakes;
  533. },
  534. observation_content_other: function() {
  535. if (this.record.id == 0) {
  536. return "-";
  537. }
  538. return this.record.observation_content_other;
  539. },
  540. observation_content: function() {
  541. if (this.record.id == 0) {
  542. return "-";
  543. }
  544. return this.record.observation_content;
  545. },
  546. complication: function() {
  547. if (this.record.id == 0) {
  548. return "-";
  549. }
  550. return this.record.complication;
  551. },
  552. remark: function() {
  553. if (this.record.id == 0) {
  554. return "";
  555. }
  556. return this.record.remark;
  557. },
  558. in_advance_minute: function() {
  559. if (this.record == null || this.record.id == "") {
  560. return "";
  561. }
  562. return this.record.in_advance_minute;
  563. },
  564. in_advance_reason: function() {
  565. if (this.record == null || this.record.id == "") {
  566. return "";
  567. }
  568. return (
  569. this.record.in_advance_reason + "," + this.record.in_advance_reason_other
  570. );
  571. },
  572. hemostasis_minute: function() {
  573. if (this.record == null || this.record.id == "") {
  574. return "";
  575. }
  576. return this.record.hemostasis_minute;
  577. },
  578. in_advance_reason_other: function() {
  579. if (this.record == null || this.record.id == "") {
  580. return "";
  581. }
  582. return this.record.in_advance_reason_other;
  583. },
  584. methods: {
  585. getInternal: function() {
  586. if (this.record.id == 0) {
  587. return "-";
  588. }
  589. switch (this.record.internal_fistula_tremor_ac) {
  590. case 1:
  591. return "存在";
  592. break;
  593. case 2:
  594. return "减弱";
  595. break;
  596. case 3:
  597. return "无";
  598. break;
  599. default:
  600. return "-";
  601. }
  602. },
  603. getOpera: function(id) {
  604. var hemostasis_opera = this.$store.getters.hemostasis_opera;
  605. var hemostasisOperaName = "";
  606. for (let i = 0; i < hemostasis_opera.length; i++) {
  607. if (hemostasis_opera[i].id == id) {
  608. hemostasisOperaName = hemostasis_opera[i].name;
  609. }
  610. }
  611. return hemostasisOperaName;
  612. },
  613. getTremorNoise: function(id) {
  614. var tremor_noise = this.$store.getters.tremor_noise;
  615. var tremorNoiseName = "";
  616. for (let i = 0; i < tremor_noise.length; i++) {
  617. if (tremor_noise[i].id == id) {
  618. tremorNoiseName = tremor_noise[i].name;
  619. }
  620. }
  621. return tremorNoiseName;
  622. },
  623. getUnit: function(val) {
  624. switch (val) {
  625. case 1:
  626. return "g";
  627. break;
  628. case 2:
  629. return "ml";
  630. break;
  631. }
  632. },
  633. getDisequilibriumSyndrome: function(id) {
  634. var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome;
  635. var disequilibriumSyndromeName = "";
  636. for (let i = 0; i < disequilibrium_syndrome.length; i++) {
  637. if (disequilibrium_syndrome[i].id == id) {
  638. disequilibriumSyndromeName = disequilibrium_syndrome[i].name;
  639. }
  640. }
  641. return disequilibriumSyndromeName;
  642. },
  643. getDisequilibriumSyndromeOptionName: function(id) {
  644. var disequilibrium_syndrome_option = this.$store.getters
  645. .disequilibrium_syndrome_option;
  646. var disequilibriumSyndromeOptionName = "";
  647. for (let i = 0; i < disequilibrium_syndrome_option.length; i++) {
  648. if (disequilibrium_syndrome_option[i].id == id) {
  649. disequilibriumSyndromeOptionName =
  650. disequilibrium_syndrome_option[i].name;
  651. }
  652. }
  653. return disequilibriumSyndromeOptionName;
  654. },
  655. getArterialTubeName: function(id) {
  656. var arterial_tube = this.$store.getters.arterial_tube;
  657. var arterialTubeName = "";
  658. for (let i = 0; i < arterial_tube.length; i++) {
  659. if (arterial_tube[i].id == id) {
  660. arterialTubeName = arterial_tube[i].name;
  661. }
  662. }
  663. return arterialTubeName;
  664. },
  665. getIntravenousTubeName: function(id) {
  666. var intravenous_tube = this.$store.getters.intravenous_tube;
  667. var intravenousTubeName = "";
  668. for (let i = 0; i < intravenous_tube.length; i++) {
  669. if (intravenous_tube[i].id == id) {
  670. intravenousTubeName = intravenous_tube[i].name;
  671. }
  672. }
  673. return intravenousTubeName;
  674. },
  675. getDialyzer: function(id) {
  676. var dialyzer = this.$store.getters.dialyzer;
  677. var dialyzerName = "";
  678. for (let i = 0; i < dialyzer.length; i++) {
  679. if (dialyzer[i].id == id) {
  680. dialyzerName = dialyzer[i].name;
  681. }
  682. }
  683. return dialyzerName;
  684. },
  685. isShow(name) {
  686. var filedList = store.getters.xt_user.fileds;
  687. for (let i = 0; i < filedList.length; i++) {
  688. if (
  689. filedList[i].module == 5 &&
  690. filedList[i].filed_name_cn == name &&
  691. filedList[i].is_show == 1
  692. ) {
  693. return true;
  694. }
  695. }
  696. return false;
  697. }
  698. }
  699. };
  700. </script>
  701. <style rel="stylesheet/scss" lang="scss" scoped></style>