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

assessmentBefore.vue 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  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="weight_before != '0'">{{
  11. weight_before
  12. }}</span>
  13. <span class="unit" v-if="weight_before != '0'">kg</span>
  14. </li>
  15. <li v-if="isShow('干体重')">
  16. <label>干体重 : </label>
  17. <span class="content" v-if="dry_weight != '0'">{{ dry_weight }}</span>
  18. <span class="unit" v-if="dry_weight != '0'">kg</span>
  19. </li>
  20. <li v-if="isShow('脉搏')">
  21. <label>脉搏 : </label>
  22. <span class="content" v-if="pulse_frequency != '0'">{{
  23. pulse_frequency
  24. }}</span>
  25. <span class="unit" v-if="pulse_frequency != '0'">次/分</span>
  26. </li>
  27. <li v-if="isShow('出血')">
  28. <label>出血</label>
  29. <span class="content">{{
  30. is_hemorrhage ? hemorrhage + ";" + hemorrhage_other : "无"
  31. }}</span>
  32. <span class="unit"> </span>
  33. </li>
  34. <li v-if="isShow('透析频次')">
  35. <label>透析频次: </label>
  36. <span class="content">{{
  37. dialysis_count ? dialysis_count : ""
  38. }}</span>
  39. <span class="unit">{{ dialysis_count ? "次/周" : "" }}</span>
  40. </li>
  41. <li v-if="isShow('穿刺针')">
  42. <label>穿刺针 : </label>
  43. <span class="content">{{ this.record.puncture_needle }}</span>
  44. </li>
  45. <li v-if="isShow('位置')">
  46. <label>位置</label>
  47. <span
  48. class="content"
  49. v-if="this.record.venous_catheterization_part != -1"
  50. >{{
  51. getVenousCatheterizationPart(
  52. this.record.venous_catheterization_part
  53. )
  54. }}</span
  55. >
  56. </li>
  57. <li v-if="isShow('其他中心静脉导管')">
  58. <label>其他中心静脉导管:</label>
  59. <span class="content">{{ ductus_arantii_other }}</span>
  60. <span class="unit"> </span>
  61. </li>
  62. <li v-if="isShow('其他感染情况')">
  63. <label>其他感染情况:</label>
  64. <span class="content">{{ infect_other }}</span>
  65. <span class="unit"> </span>
  66. </li>
  67. <li v-if="isShow('其他皮肤情况')">
  68. <label>其他皮肤情况:</label>
  69. <span class="content">{{ skin_other }}</span>
  70. <span class="unit"> </span>
  71. </li>
  72. </ul>
  73. <ul>
  74. <li v-if="isShow('收缩压')">
  75. <label>收缩压 : </label>
  76. <span class="content" v-if="systolic_blood_pressure != '0'">{{
  77. systolic_blood_pressure
  78. }}</span>
  79. <span class="unit" v-if="systolic_blood_pressure != '0'">mmHg</span>
  80. </li>
  81. <li v-if="isShow('导管打折')">
  82. <label>导管打折 : </label>
  83. <span class="content" v-if="this.record.catheter_bend == 0"></span>
  84. <span class="content" v-if="this.record.catheter_bend == 1">{{
  85. "有"
  86. }}</span>
  87. <span class="content" v-if="this.record.catheter_bend == 2">{{
  88. "无"
  89. }}</span>
  90. <span class="unit"></span>
  91. </li>
  92. <li v-if="isShow('导管')">
  93. <label>导管 : </label>
  94. <span class="content">{{ catheter }}</span>
  95. <span class="unit"></span>
  96. </li>
  97. <li v-if="isShow('呼吸频率')">
  98. <label>呼吸频率 : </label>
  99. <span class="content" v-if="breathing_rate != '0'">{{
  100. breathing_rate
  101. }}</span>
  102. <span class="unit" v-if="breathing_rate != '0'">次/分</span>
  103. </li>
  104. <li v-if="isShow('并发症')">
  105. <label>并发症: </label>
  106. <span class="content">{{ complication }}</span>
  107. <span class="unit"></span>
  108. </li>
  109. <li v-if="isShow('内瘘')">
  110. <label>内瘘: </label>
  111. <span class="content">{{ internal_fistula }}</span>
  112. <span class="unit"></span>
  113. </li>
  114. <li v-if="isShow('血管通路(内瘘)')">
  115. <label>血管通路(内瘘) : </label>
  116. <span class="content">{{ blood_access_internal_fistula }}</span>
  117. </li>
  118. <li v-if="isShow('穿刺方式')">
  119. <label>穿刺方式 : </label>
  120. <span class="content">{{ getWay(this.record.puncture_way) }}</span>
  121. </li>
  122. <li v-if="isShow('其他位置')">
  123. <label>其他位置</label>
  124. <span
  125. class="content"
  126. v-if="
  127. this.record.venous_catheterization_part_other &&
  128. this.record.venous_catheterization_part_other.length > 0
  129. "
  130. >{{ venous_catheterization_part_other }}</span
  131. >
  132. </li>
  133. <li v-if="isShow('急诊')">
  134. <label>急诊: </label>
  135. <span class="content">{{
  136. getEmergencyTreatment(this.record.emergency_treatment)
  137. }}</span>
  138. <span
  139. class="content"
  140. v-if="
  141. this.record.emergency_treatment_other &&
  142. this.record.emergency_treatment_other.length > 0
  143. "
  144. >,{{ emergency_treatment_other }}</span
  145. >
  146. </li>
  147. <li v-if="isShow('外露')">
  148. <label>外露:</label>
  149. <span class="content">{{
  150. this.record.exposed ? this.record.exposed : ""
  151. }}</span>
  152. <span class="unit">cm</span>
  153. </li>
  154. <li v-if="isShow('血管通路部位')">
  155. <label>血管通路部位:</label>
  156. <span class="content">{{
  157. getBloodAccessPart(this.record.blood_access_part_id)
  158. }}</span>
  159. <span class="unit"> </span>
  160. </li>
  161. </ul>
  162. <ul>
  163. <li v-if="isShow('舒张压')">
  164. <label>舒张压 : </label>
  165. <span class="content" v-if="diastolic_blood_pressure != '0'">{{
  166. diastolic_blood_pressure
  167. }}</span>
  168. <span class="unit" v-if="diastolic_blood_pressure != '0'">mmHg</span>
  169. </li>
  170. <li v-if="isShow('衣物重')">
  171. <label>衣物重 : </label>
  172. <span class="content" v-if="additional_weight != '0'">{{
  173. additional_weight
  174. }}</span>
  175. <span class="unit" v-if="additional_weight != '0'">kg</span>
  176. </li>
  177. <li v-if="isShow('体温')">
  178. <label>体温 : </label>
  179. <span class="content" v-if="temperature != '0'">{{
  180. temperature
  181. }}</span>
  182. <span class="unit" v-if="temperature != '0'">℃</span>
  183. </li>
  184. <li v-if="isShow('前次透析后症状')">
  185. <label>前次透析后症状: </label>
  186. <span class="content" v-if="last_post_dialysis != '0'">{{
  187. last_post_dialysis
  188. }}</span>
  189. <span class="unit" v-if="last_post_dialysis != '0'"></span>
  190. </li>
  191. <li v-if="isShow('透析前症状')">
  192. <label>透析前症状 : </label>
  193. <span class="content">{{ symptom_before_dialysis }}</span>
  194. <span class="unit"></span>
  195. </li>
  196. <li v-if="isShow('透析期间')">
  197. <label>透析期间 : </label>
  198. <span class="content" v-if="dialysis_interphase != '0'">{{
  199. dialysis_interphase
  200. }}</span>
  201. <span class="unit" v-if="dialysis_interphase != '0'"></span>
  202. </li>
  203. <li v-if="isShow('透析机型号')">
  204. <label>透析机型号:</label>
  205. <span class="content" v-if="machine_type != '0'">
  206. {{ machine_type }}
  207. </span>
  208. </li>
  209. <li v-if="isShow('血管杂音')">
  210. <label>血管杂音 : </label>
  211. <span class="content">{{
  212. getBloodAccessNoise(this.record.blood_access_noise)
  213. }}</span>
  214. </li>
  215. <li v-if="isShow('中心静脉置管')">
  216. <label>中心静脉置管</label>
  217. <span class="content">{{
  218. getVenousCatheterization(this.record.venous_catheterization)
  219. }}</span>
  220. <span class="unit"> </span>
  221. </li>
  222. <li v-if="isShow('中心静脉导管')">
  223. <label>中心静脉导管: </label>
  224. <span class="content">{{ this.record.ductus_arantii }}</span>
  225. </li>
  226. <li v-if="isShow('感染')">
  227. <label>感染:</label>
  228. <span class="content">{{
  229. this.record.is_infect == 1 ? "无" : "有"
  230. }}</span>
  231. <span class="unit"> </span>
  232. </li>
  233. <li v-if="isShow('皮肤')">
  234. <label>皮肤:</label>
  235. <span class="content">{{ getSkin(this.record.skin) }}</span>
  236. <span class="unit"></span>
  237. </li>
  238. <li v-if="isShow('血管通路操作')">
  239. <label>血管通路操作:</label>
  240. <span class="content">{{
  241. getBloodAccessOpera(this.record.blood_access_part_opera_id)
  242. }}</span>
  243. <span class="unit"> </span>
  244. </li>
  245. <li v-if="isShow('血管通路皮肤情况')">
  246. <label>血管通路皮肤情况: </label>
  247. <span class="content">{{ internal_fistula_skin }}</span>
  248. <span class="unit"></span>
  249. </li>
  250. </ul>
  251. </div>
  252. <div class="note">
  253. 备注 : <span>{{ remark }}</span>
  254. </div>
  255. <!-- <div class="note">处方医生 : {{doctor}}</div> -->
  256. <div class="middleLine"></div>
  257. </div>
  258. </template>
  259. <script>
  260. import store from "@/store";
  261. import { getDataConfig } from "@/utils/data";
  262. export default {
  263. name: "assessmentBefore",
  264. data() {
  265. return {
  266. title: "透前评估 "
  267. };
  268. },
  269. props: {
  270. record: {
  271. type: Object
  272. }
  273. },
  274. computed: {
  275. weight_before: function() {
  276. if (this.record.id == 0) {
  277. return "-";
  278. }
  279. return this.record.weight_before;
  280. },
  281. additional_weight: function() {
  282. if (this.record.id == 0) {
  283. return "-";
  284. }
  285. return this.record.additional_weight;
  286. },
  287. systolic_blood_pressure: function() {
  288. if (this.record.id == 0) {
  289. return "-";
  290. }
  291. return this.record.systolic_blood_pressure;
  292. },
  293. last_post_dialysis: function() {
  294. if (this.record.id == 0) {
  295. return "-";
  296. }
  297. return this.record.last_post_dialysis;
  298. },
  299. dry_weight: function() {
  300. if (this.record.id == 0) {
  301. return "-";
  302. }
  303. return this.record.dry_weight;
  304. },
  305. diastolic_blood_pressure: function() {
  306. if (this.record.id == 0) {
  307. return "-";
  308. }
  309. return this.record.diastolic_blood_pressure;
  310. },
  311. dialysis_interphase: function() {
  312. if (this.record.id == 0) {
  313. return "-";
  314. }
  315. return this.record.dialysis_interphase;
  316. },
  317. catheter: function() {
  318. if (this.record.id == 0) {
  319. return "-";
  320. }
  321. return this.record.catheter;
  322. console.log("导管", this.record.catheter);
  323. },
  324. temperature: function() {
  325. if (this.record.id == 0) {
  326. return "-";
  327. }
  328. return this.record.temperature;
  329. },
  330. pulse_frequency: function() {
  331. if (this.record.id == 0) {
  332. return "-";
  333. }
  334. return this.record.pulse_frequency;
  335. },
  336. machine_type: function() {
  337. if (this.record.id == 0) {
  338. return "-";
  339. }
  340. return this.record.machine_type;
  341. },
  342. breathing_rate: function() {
  343. if (this.record.id == 0) {
  344. return "-";
  345. }
  346. return this.record.breathing_rate;
  347. },
  348. symptom_before_dialysis: function() {
  349. if (this.record.id == 0) {
  350. return "-";
  351. }
  352. return this.record.symptom_before_dialysis;
  353. },
  354. complication: function() {
  355. if (this.record.id == 0) {
  356. return "-";
  357. }
  358. return this.record.complication;
  359. },
  360. internal_fistula: function() {
  361. if (this.record.id == 0) {
  362. return "-";
  363. }
  364. return this.record.internal_fistula;
  365. },
  366. internal_fistula_skin: function() {
  367. if (this.record.id == 0) {
  368. return "-";
  369. }
  370. return this.record.internal_fistula_skin;
  371. },
  372. is_hemorrhage: function() {
  373. if (this.record.id == 0) {
  374. return false;
  375. }
  376. return this.record.is_hemorrhage == 1;
  377. },
  378. hemorrhage: function() {
  379. if (this.record.id == 0) {
  380. return "-";
  381. }
  382. return this.record.hemorrhage;
  383. },
  384. hemorrhage_other: function() {
  385. if (this.record.id == 0) {
  386. return "-";
  387. }
  388. return this.record.hemorrhage_other;
  389. },
  390. remark: function() {
  391. if (this.record.id == 0) {
  392. return "";
  393. }
  394. return this.record.remark;
  395. },
  396. dialysis_count: function() {
  397. if (this.record == null || this.record.id == "") {
  398. return "-";
  399. }
  400. return this.record.dialysis_count;
  401. },
  402. internal_fistula_other: function() {
  403. if (this.record == null || this.record.id == "") {
  404. return "-";
  405. }
  406. return this.record.internal_fistula_other;
  407. },
  408. venous_catheterization_part_other: function() {
  409. if (this.record == null || this.record.id == "") {
  410. return "-";
  411. }
  412. return this.record.venous_catheterization_part_other;
  413. },
  414. emergency_treatment_other: function() {
  415. if (this.record == null || this.record.id == "") {
  416. return "-";
  417. }
  418. return this.record.emergency_treatment_other;
  419. },
  420. blood_access_internal_fistula: function() {
  421. var name1 = "";
  422. var name2 = "";
  423. if (this.record == null || this.record.id == "") {
  424. return "-";
  425. }
  426. if (this.record.blood_access_internal_fistula == undefined) {
  427. name1 = "";
  428. } else {
  429. name1 = this.record.blood_access_internal_fistula + ",";
  430. }
  431. if (this.record.internal_fistula_other == undefined) {
  432. name2 = "";
  433. } else {
  434. name2 = this.record.internal_fistula_other;
  435. }
  436. return name1 + name2;
  437. },
  438. ductus_arantii_other: function() {
  439. if (this.record == null || this.record.id == "") {
  440. return "-";
  441. }
  442. return this.record.ductus_arantii_other;
  443. },
  444. infect_other: function() {
  445. if (this.record == null || this.record.id == "") {
  446. return "-";
  447. }
  448. return this.record.infect_other;
  449. },
  450. skin_other: function() {
  451. if (this.record == null || this.record.id == "") {
  452. return "-";
  453. }
  454. return this.record.skin_other;
  455. }
  456. },
  457. methods: {
  458. getBloodAccessPart: function(id) {
  459. var BloodAccessPart = getDataConfig("hemodialysis", "vascular_access");
  460. var BloodAccessPartName = "";
  461. for (let i = 0; i < BloodAccessPart.length; i++) {
  462. if (BloodAccessPart[i].id == id) {
  463. BloodAccessPartName = BloodAccessPart[i].name;
  464. }
  465. }
  466. return BloodAccessPartName;
  467. },
  468. getBloodAccessOpera: function(id) {
  469. var BloodAccessOpera = getDataConfig(
  470. "hemodialysis",
  471. "vascular_access_desc"
  472. );
  473. var BloodAccessOperaName = "";
  474. for (let i = 0; i < BloodAccessOpera.length; i++) {
  475. if (BloodAccessOpera[i].id == id) {
  476. BloodAccessOperaName = BloodAccessOpera[i].name;
  477. }
  478. }
  479. return BloodAccessOperaName;
  480. },
  481. getBloodAccessInternalFistula: function(id) {
  482. var BloodAccessInternalFistulaOptions = this.$store.getters
  483. .blood_access_internal_fistula;
  484. var BloodAccessInternalFistulaName = "";
  485. for (let i = 0; i < BloodAccessInternalFistulaOptions.length; i++) {
  486. if (BloodAccessInternalFistulaOptions[i].id == id) {
  487. BloodAccessInternalFistulaName =
  488. BloodAccessInternalFistulaOptions[i].name;
  489. }
  490. }
  491. return BloodAccessInternalFistulaName;
  492. },
  493. getBloodAccessNoise: function(id) {
  494. var BloodAccessNoiseOptions = this.$store.getters.blood_access_noise;
  495. var BloodAccessNoiseName = "";
  496. for (let i = 0; i < BloodAccessNoiseOptions.length; i++) {
  497. if (BloodAccessNoiseOptions[i].id == id) {
  498. BloodAccessNoiseName = BloodAccessNoiseOptions[i].name;
  499. }
  500. }
  501. return BloodAccessNoiseName;
  502. },
  503. getVenousCatheterization: function(id) {
  504. var VenousCatheterizationOptions = this.$store.getters
  505. .venous_catheterization;
  506. var VenousCatheterizationName = "";
  507. for (let i = 0; i < VenousCatheterizationOptions.length; i++) {
  508. if (VenousCatheterizationOptions[i].id == id) {
  509. VenousCatheterizationName = VenousCatheterizationOptions[i].name;
  510. }
  511. }
  512. return VenousCatheterizationName;
  513. },
  514. getWay: function(id) {
  515. var PunctureWayOptions = this.$store.getters.puncture_way;
  516. var PunctureWayOptionsName = "";
  517. for (let i = 0; i < PunctureWayOptions.length; i++) {
  518. if (PunctureWayOptions[i].id == id) {
  519. PunctureWayOptionsName = PunctureWayOptions[i].name;
  520. }
  521. }
  522. return PunctureWayOptionsName;
  523. },
  524. getVenousCatheterizationPart: function(id) {
  525. var venousCatheterizationPartOptions = this.$store.getters
  526. .venous_catheterization_part;
  527. var venousCatheterizationPartName = "";
  528. for (let i = 0; i < venousCatheterizationPartOptions.length; i++) {
  529. if (venousCatheterizationPartOptions[i].id == id) {
  530. venousCatheterizationPartName =
  531. venousCatheterizationPartOptions[i].name;
  532. }
  533. }
  534. return venousCatheterizationPartName;
  535. },
  536. getDuctusArantii: function(id) {
  537. var ductusArantiiOptions = this.$store.getters.ductus_arantii;
  538. var ductusArantiiOptionsName = "";
  539. for (let i = 0; i < ductusArantiiOptions.length; i++) {
  540. if (ductusArantiiOptions[i].id == id) {
  541. ductusArantiiOptionsName = ductusArantiiOptions[i].name;
  542. }
  543. }
  544. return ductusArantiiOptionsName;
  545. },
  546. getEmergencyTreatment: function(id) {
  547. var emergencyTreatmentOptions = this.$store.getters.emergency_treatment;
  548. var emergencyTreatmentName = "";
  549. for (let i = 0; i < emergencyTreatmentOptions.length; i++) {
  550. if (emergencyTreatmentOptions[i].id == id) {
  551. emergencyTreatmentName = emergencyTreatmentOptions[i].name;
  552. }
  553. }
  554. return emergencyTreatmentName;
  555. },
  556. isShow(name) {
  557. var filedList = store.getters.xt_user.fileds;
  558. var arr = [];
  559. for (let i = 0; i < filedList.length; i++) {
  560. if (
  561. filedList[i].module == 3 &&
  562. filedList[i].filed_name_cn == name &&
  563. filedList[i].is_show == 1
  564. ) {
  565. return true;
  566. }
  567. }
  568. return false;
  569. },
  570. getSkin: function(id) {
  571. var skinOptions = this.$store.getters.skin;
  572. var skinName = "";
  573. for (let i = 0; i < skinOptions.length; i++) {
  574. if (skinOptions[i].id == id) {
  575. skinName = skinOptions[i].name;
  576. }
  577. }
  578. return skinName;
  579. }
  580. }
  581. };
  582. </script>
  583. <style rel="stylesheet/scss" lang="scss" scoped></style>