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

assessmentBefore.vue 25KB

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