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

assessmentBefore.vue 21KB

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