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

assessmentBefore.vue 24KB

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